﻿/* =========================================================
   DigitalGrid360 Enhanced Design System
   Colorful cards, infographic components, modern styling
   ========================================================= */

:root {
  --dg-blue: #134cb3;
  --dg-navy: #010d4c;
  --dg-ink: #16243e;
  --dg-purple: #7b2ff7;
  --dg-orange: #ff6b35;
  --dg-pink: #f5576c;
  --dg-teal: #00c2a8;
  --dg-green: #28a745;
  --dg-gold: #f7b32b;
  --dg-sky: #4facfe;
  --dg-cyan: #00f2fe;
  --dg-soft: #f5f7fb;
  --dg-muted: #5b6478;
  --dg-radius: 18px;
  --dg-radius-lg: 26px;
  --dg-shadow: 0 14px 40px rgba(19, 76, 179, 0.10);
  --dg-shadow-hover: 0 22px 55px rgba(19, 76, 179, 0.18);
}

/* ---------- Header logo (reduced width, at least 30% smaller) ---------- */
.header-style-twelve .logo-box .logo img {
  width: 200px;
  max-width: 100%;
  height: auto;
}

/* ---------- Generic ---------- */
.dg-band {
  background: linear-gradient(135deg, #f5f7fb 0%, #eef2fa 100%);
}

.dg-grad-blue {
  background: linear-gradient(135deg, #134cb3 0%, #010d4c 100%);
}

.dg-grad-purple {
  background: linear-gradient(135deg, #7b2ff7 0%, #4a1fb0 100%);
}

.dg-grad-orange {
  background: linear-gradient(135deg, #ff6b35 0%, #f5576c 100%);
}

.dg-grad-green {
  background: linear-gradient(135deg, #28a745 0%, #00c2a8 100%);
}

.dg-grad-teal {
  background: linear-gradient(135deg, #00c2a8 0%, #4facfe 100%);
}

.dg-grad-gold {
  background: linear-gradient(135deg, #f7b32b 0%, #ff6b35 100%);
}

/* ---------- Page hero ---------- */
.dg-hero {
  position: relative;
  padding: 90px 0;
  overflow: hidden;
}

.dg-hero .dg-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.dg-hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.dg-hero p {
  font-size: 18px;
  line-height: 1.8;
  color: #3f4a63;
  max-width: 640px;
}

.dg-hero .dg-chip-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  border-radius: 50px;
  background: rgba(19, 76, 179, 0.08);
  color: var(--dg-blue);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

/* ---------- Section titles ---------- */
.dg-sec-title {
  margin-bottom: 48px;
}

.dg-sec-title .dg-kicker {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 40px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}

.dg-sec-title h2 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--dg-ink);
  margin-bottom: 14px;
}

.dg-sec-title p {
  color: var(--dg-muted);
  font-size: 17px;
  line-height: 1.75;
}

/* ---------- Feature / offer cards ---------- */
.dg-feature-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -14px -28px;
}

.dg-col {
  padding: 0 14px 28px;
  width: 100%;
}

@media (min-width: 576px) { .dg-col { width: 50%; } }
@media (min-width: 992px) { .dg-col { width: 33.3333%; } }
@media (min-width: 1200px) { .dg-col { width: 33.3333%; } }

.dg-card {
  position: relative;
  height: 100%;
  border-radius: var(--dg-radius);
  background: #fff;
  padding: 34px 30px;
  box-shadow: var(--dg-shadow);
  overflow: hidden;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}

.dg-card::before {
  content: "";
  position: absolute;
  right: -46px;
  top: -46px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  opacity: 0.08;
  background: var(--dg-blue);
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}

.dg-card:hover {
  -webkit-transform: translateY(-8px);
  transform: translateY(-8px);
  box-shadow: var(--dg-shadow-hover);
}

.dg-card:hover::before {
  -webkit-transform: scale(2.4);
  transform: scale(2.4);
  opacity: 0.05;
}

.dg-card--blue { background: linear-gradient(160deg, #eaf1ff 0%, #ffffff 70%); }
.dg-card--purple { background: linear-gradient(160deg, #f0eaff 0%, #ffffff 70%); }
.dg-card--green { background: linear-gradient(160deg, #e5f9ef 0%, #ffffff 70%); }
.dg-card--orange { background: linear-gradient(160deg, #fff1ea 0%, #ffffff 70%); }
.dg-card--pink { background: linear-gradient(160deg, #ffe9ee 0%, #ffffff 70%); }
.dg-card--teal { background: linear-gradient(160deg, #e2faf6 0%, #ffffff 70%); }
.dg-card--gold { background: linear-gradient(160deg, #fff7e0 0%, #ffffff 70%); }

.dg-card--solid-blue,
.dg-card--solid-purple,
.dg-card--solid-green,
.dg-card--solid-orange,
.dg-card--solid-pink,
.dg-card--solid-navy {
  color: #fff;
}

.dg-card--solid-blue { background: linear-gradient(135deg, #134cb3, #1f6af0); }
.dg-card--solid-purple { background: linear-gradient(135deg, #7b2ff7, #9b62ff); }
.dg-card--solid-green { background: linear-gradient(135deg, #1e9e4f, #34c268); }
.dg-card--solid-orange { background: linear-gradient(135deg, #ff5f2e, #ff8a5c); }
.dg-card--solid-pink { background: linear-gradient(135deg, #f3415c, #f77a8c); }
.dg-card--solid-navy { background: linear-gradient(135deg, #010d4c, #16243e); }

.dg-card--solid-blue h4,
.dg-card--solid-purple h4,
.dg-card--solid-green h4,
.dg-card--solid-orange h4,
.dg-card--solid-pink h4,
.dg-card--solid-navy h4,
.dg-card--solid-blue p,
.dg-card--solid-purple p,
.dg-card--solid-green p,
.dg-card--solid-orange p,
.dg-card--solid-pink p,
.dg-card--solid-navy p {
  color: #fff;
}

.dg-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 28px;
  color: #fff;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--dg-blue), var(--dg-sky));
  box-shadow: 0 10px 24px rgba(19, 76, 179, 0.25);
}

.dg-card--purple .dg-card__icon { background: linear-gradient(135deg, #7b2ff7, #c084fc); box-shadow: 0 10px 24px rgba(123, 47, 247, 0.25); }
.dg-card--green .dg-card__icon { background: linear-gradient(135deg, #28a745, #7cd39a); box-shadow: 0 10px 24px rgba(40, 167, 69, 0.25); }
.dg-card--orange .dg-card__icon { background: linear-gradient(135deg, #ff6b35, #ffb199); box-shadow: 0 10px 24px rgba(255, 107, 53, 0.25); }
.dg-card--pink .dg-card__icon { background: linear-gradient(135deg, #f5576c, #ffa8b5); box-shadow: 0 10px 24px rgba(245, 87, 108, 0.25); }
.dg-card--teal .dg-card__icon { background: linear-gradient(135deg, #00c2a8, #6ee7d8); box-shadow: 0 10px 24px rgba(0, 194, 168, 0.25); }
.dg-card--gold .dg-card__icon { background: linear-gradient(135deg, #f7b32b, #ffd97a); box-shadow: 0 10px 24px rgba(247, 179, 43, 0.25); }

.dg-card--solid-blue .dg-card__icon,
.dg-card--solid-purple .dg-card__icon,
.dg-card--solid-green .dg-card__icon,
.dg-card--solid-orange .dg-card__icon,
.dg-card--solid-pink .dg-card__icon,
.dg-card--solid-navy .dg-card__icon {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.dg-card h4 {
  font-size: 21px;
  font-weight: 700;
  color: var(--dg-ink);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.dg-card p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--dg-muted);
  margin-bottom: 0;
}

/* ---------- Stat / infographic cards ---------- */
.dg-stats {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -12px -24px;
}

.dg-stat {
  padding: 0 12px 24px;
  width: 50%;
}

@media (min-width: 992px) {
  .dg-stat { width: 25%; }
}

.dg-stat__inner {
  height: 100%;
  border-radius: var(--dg-radius);
  padding: 30px 24px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.dg-stat__inner::after {
  content: "";
  position: absolute;
  bottom: -34px;
  right: -34px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}

.dg-stat__num {
  font-family: "Jost", sans-serif;
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.dg-stat__label {
  font-size: 15px;
  opacity: 0.94;
  font-weight: 500;
}

/* ---------- Step / process ---------- */
.dg-steps {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -14px -28px;
}

.dg-step { padding: 0 14px 28px; width: 100%; }
@media (min-width: 576px) { .dg-step { width: 50%; } }
@media (min-width: 992px) { .dg-step { width: 25%; } }

.dg-step__card {
  height: 100%;
  background: #fff;
  border-radius: var(--dg-radius);
  padding: 30px 26px;
  box-shadow: var(--dg-shadow);
  position: relative;
  border-top: 5px solid var(--dg-blue);
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}

.dg-step__card:hover {
  -webkit-transform: translateY(-6px);
  transform: translateY(-6px);
  box-shadow: var(--dg-shadow-hover);
}

.dg-step:nth-child(4n+2) .dg-step__card { border-top-color: var(--dg-purple); }
.dg-step:nth-child(4n+3) .dg-step__card { border-top-color: var(--dg-orange); }
.dg-step:nth-child(4n+4) .dg-step__card { border-top-color: var(--dg-teal); }

.dg-step__num {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-family: "Jost", sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--dg-blue), var(--dg-sky));
}

.dg-step:nth-child(4n+2) .dg-step__num { background: linear-gradient(135deg, var(--dg-purple), #c084fc); }
.dg-step:nth-child(4n+3) .dg-step__num { background: linear-gradient(135deg, var(--dg-orange), #ffb199); }
.dg-step:nth-child(4n+4) .dg-step__num { background: linear-gradient(135deg, var(--dg-teal), #6ee7d8); }

.dg-step__card h4 {
  font-size: 19px;
  font-weight: 700;
  color: var(--dg-ink);
  margin-bottom: 10px;
}

.dg-step__card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--dg-muted);
  margin-bottom: 0;
}

/* ---------- Checklist (no icons in text; pure CSS markers) ---------- */
.dg-check { list-style: none; padding: 0; margin: 0; }
.dg-check li {
  position: relative;
  padding-left: 34px;
  margin-bottom: 14px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--dg-muted);
}
.dg-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--dg-teal), var(--dg-green));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3.2 3.2L13 4.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.dg-check--blue li::before { background: linear-gradient(135deg, var(--dg-blue), var(--dg-sky)); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3.2 3.2L13 4.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.dg-check--orange li::before { background: linear-gradient(135deg, var(--dg-orange), var(--dg-pink)); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3 8.5l3.2 3.2L13 4.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }

/* ---------- CSS bar chart infographic ---------- */
.dg-chart {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  gap: 18px;
  height: 230px;
  padding: 24px;
  border-radius: var(--dg-radius);
  background: #fff;
  box-shadow: var(--dg-shadow);
}

.dg-chart__bar {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  border-radius: 10px 10px 4px 4px;
  position: relative;
  min-width: 34px;
  -webkit-animation: dg-rise 0.9s ease both;
  animation: dg-rise 0.9s ease both;
}

.dg-chart__bar--1 { background: linear-gradient(180deg, #134cb3, #4facfe); height: 40%; -webkit-animation-delay: 0.05s; animation-delay: 0.05s; }
.dg-chart__bar--2 { background: linear-gradient(180deg, #7b2ff7, #c084fc); height: 58%; -webkit-animation-delay: 0.15s; animation-delay: 0.15s; }
.dg-chart__bar--3 { background: linear-gradient(180deg, #f7b32b, #ffd97a); height: 72%; -webkit-animation-delay: 0.25s; animation-delay: 0.25s; }
.dg-chart__bar--4 { background: linear-gradient(180deg, #28a745, #7cd39a); height: 88%; -webkit-animation-delay: 0.35s; animation-delay: 0.35s; }
.dg-chart__bar--5 { background: linear-gradient(180deg, #ff6b35, #ffb199); height: 100%; -webkit-animation-delay: 0.45s; animation-delay: 0.45s; }

.dg-chart__bar span {
  position: absolute;
  bottom: -28px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  font-size: 13px;
  font-weight: 600;
  color: var(--dg-muted);
  white-space: nowrap;
}

@-webkit-keyframes dg-rise {
  from { height: 0; }
}
@keyframes dg-rise {
  from { height: 0; }
}

/* ---------- Donut ring infographic ---------- */
.dg-ring-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 34px;
}

.dg-ring {
  --dg-progress: 0;
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: conic-gradient(var(--dg-blue) calc(var(--dg-progress) * 1%), #e8eef8 0);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.dg-ring--purple { background: conic-gradient(var(--dg-purple) calc(var(--dg-progress) * 1%), #eee7ff 0); }
.dg-ring--orange { background: conic-gradient(var(--dg-orange) calc(var(--dg-progress) * 1%), #ffede4 0); }
.dg-ring--green { background: conic-gradient(var(--dg-green) calc(var(--dg-progress) * 1%), #e2f5e8 0); }
.dg-ring--pink { background: conic-gradient(var(--dg-pink) calc(var(--dg-progress) * 1%), #ffe1e7 0); }

.dg-ring__inner {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

.dg-ring__val {
  font-family: "Jost", sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--dg-ink);
  line-height: 1;
}

.dg-ring__lab {
  font-size: 13px;
  color: var(--dg-muted);
  font-weight: 600;
  margin-top: 4px;
  text-align: center;
  line-height: 1.3;
}

/* ---------- Chips / tags ---------- */
.dg-chip-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 12px;
}

.dg-chip {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: var(--dg-ink);
  background: #fff;
  box-shadow: 0 6px 18px rgba(19, 76, 179, 0.10);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border: 1px solid #e6ebf5;
}

.dg-chip:hover {
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
  background: var(--dg-blue);
  color: #fff;
  border-color: var(--dg-blue);
}

.dg-chip--solid { color: #fff; border: none; }
.dg-chip--solid-blue { background: linear-gradient(135deg, var(--dg-blue), var(--dg-sky)); color: #fff; }
.dg-chip--solid-purple { background: linear-gradient(135deg, var(--dg-purple), #c084fc); color: #fff; }
.dg-chip--solid-green { background: linear-gradient(135deg, var(--dg-green), #7cd39a); color: #fff; }
.dg-chip--solid-orange { background: linear-gradient(135deg, var(--dg-orange), #ffb199); color: #fff; }
.dg-chip--solid-pink { background: linear-gradient(135deg, var(--dg-pink), #ffa8b5); color: #fff; }
.dg-chip--solid-teal { background: linear-gradient(135deg, var(--dg-teal), #6ee7d8); color: #fff; }
.dg-chip--solid-gold { background: linear-gradient(135deg, var(--dg-gold), #ffd97a); color: #fff; }

/* ---------- Location pills ---------- */
.dg-loc-pill a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 14px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  color: var(--dg-navy);
  background: #fff;
  box-shadow: 0 8px 22px rgba(19, 76, 179, 0.10);
  text-decoration: none;
  height: 100%;
  min-height: 66px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  border: 1px solid rgba(19, 76, 179, 0.08);
}

.dg-loc-pill a:hover {
  -webkit-transform: translateY(-4px);
  transform: translateY(-4px);
  color: #fff;
  background: linear-gradient(135deg, var(--dg-blue), var(--dg-sky));
  box-shadow: 0 14px 30px rgba(19, 76, 179, 0.28);
}

/* ---------- CTA banner ---------- */
.dg-cta {
  position: relative;
  border-radius: var(--dg-radius-lg);
  background: linear-gradient(120deg, #134cb3 0%, #7b2ff7 55%, #ff6b35 130%);
  padding: 56px 44px;
  overflow: hidden;
  color: #fff;
}

.dg-cta::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
}

.dg-cta::after {
  content: "";
  position: absolute;
  bottom: -90px;
  left: 20%;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.dg-cta h2 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.dg-cta p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 17px;
  margin-bottom: 26px;
}

.dg-btn-white {
  display: inline-block;
  padding: 15px 34px;
  border-radius: 50px;
  background: #fff;
  color: var(--dg-blue) !important;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.dg-btn-white:hover {
  -webkit-transform: translateY(-3px);
  transform: translateY(-3px);
  color: var(--dg-purple) !important;
}

/* ---------- Related service mini cards ---------- */
.dg-mini {
  height: 100%;
  border-radius: var(--dg-radius);
  padding: 26px 24px;
  background: #fff;
  box-shadow: var(--dg-shadow);
  text-align: center;
  -webkit-transition: all 0.35s ease;
  transition: all 0.35s ease;
}

.dg-mini:hover {
  -webkit-transform: translateY(-6px);
  transform: translateY(-6px);
  box-shadow: var(--dg-shadow-hover);
}

.dg-mini .dg-mini__icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--dg-blue), var(--dg-sky));
}

.dg-mini--purple .dg-mini__icon { background: linear-gradient(135deg, var(--dg-purple), #c084fc); }
.dg-mini--green .dg-mini__icon { background: linear-gradient(135deg, var(--dg-green), #7cd39a); }
.dg-mini--orange .dg-mini__icon { background: linear-gradient(135deg, var(--dg-orange), #ffb199); }

.dg-mini h4 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dg-ink);
  margin-bottom: 8px;
}

.dg-mini p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--dg-muted);
  margin-bottom: 14px;
}

/* ---------- Section padding helper ---------- */
.dg-section { padding: 84px 0; }
.dg-section--tight { padding: 60px 0; }

@media (max-width: 767px) {
  .dg-section { padding: 56px 0; }
}

/* ---------- Hero right-side visual ---------- */
.dg-hero-card {
  position: relative;
  border-radius: var(--dg-radius-lg);
  padding: 36px 32px;
  background: #fff;
  box-shadow: var(--dg-shadow-hover);
}

.dg-hero-card .dg-stat-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}

.dg-hero-card .dg-stat-row .dg-mini-stat {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 120px;
  padding: 14px;
  border-radius: 14px;
  background: var(--dg-soft);
  text-align: center;
}

.dg-hero-card .dg-mini-stat b {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: var(--dg-blue);
}

.dg-hero-card .dg-mini-stat span {
  font-size: 13px;
  color: var(--dg-muted);
  font-weight: 600;
}

/* ---------- FAQ tidy ---------- */
.dg-faq .accordion-item {
  border: none;
  border-radius: 14px;
  margin-bottom: 14px;
  box-shadow: 0 6px 20px rgba(19, 76, 179, 0.08);
  overflow: hidden;
}

.dg-faq .accordion-button {
  font-weight: 700;
  font-size: 17px;
  color: var(--dg-ink);
  padding: 20px 24px;
  background: #fff;
}

.dg-faq .accordion-button:not(.collapsed) {
  color: var(--dg-blue);
  background: #eef4ff;
  box-shadow: none;
}

.dg-faq .accordion-body {
  color: var(--dg-muted);
  font-size: 15.5px;
  line-height: 1.75;
  padding: 6px 24px 22px;
}

/* ---------- FAQ (self contained accordion, no JS) ---------- */
.dg-faq { max-width: 860px; margin: 0 auto; }

.dg-faq details {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(19, 76, 179, 0.08);
  margin-bottom: 14px;
  padding: 0 26px;
  overflow: hidden;
  -webkit-transition: box-shadow 0.3s ease;
  transition: box-shadow 0.3s ease;
}

.dg-faq details[open] {
  box-shadow: 0 12px 32px rgba(19, 76, 179, 0.14);
}

.dg-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 34px 20px 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--dg-ink);
  position: relative;
  line-height: 1.5;
}

.dg-faq summary::-webkit-details-marker { display: none; }

.dg-faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--dg-blue), var(--dg-sky));
}

.dg-faq details[open] summary::after {
  content: "âˆ’";
  background: linear-gradient(135deg, var(--dg-teal), var(--dg-green));
}

.dg-faq details[open] summary { color: var(--dg-blue); }

.dg-faq .dg-faq-body {
  padding: 0 0 22px;
}

.dg-faq .dg-faq-body p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--dg-muted);
}

/* ---------- Logo / brand strip ---------- */
.dg-brand-strip {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 18px;
}

.dg-brand-strip .dg-brand {
  padding: 16px 30px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(19, 76, 179, 0.08);
  font-family: "Jost", sans-serif;
  font-size: 19px;
  font-weight: 800;
  color: var(--dg-ink);
  letter-spacing: 0.02em;
}

/* ---------- Contact info cards ---------- */
.dg-contact-grid {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -14px -28px;
}

.dg-contact-col { padding: 0 14px 28px; width: 100%; }
@media (min-width: 768px) { .dg-contact-col { width: 50%; } }
@media (min-width: 992px) { .dg-contact-col { width: 33.3333%; } }

.dg-contact-card {
  height: 100%;
  border-radius: var(--dg-radius);
  padding: 30px 28px;
  text-align: center;
  background: #fff;
  box-shadow: var(--dg-shadow);
  color: var(--dg-muted);
  font-size: 16px;
  line-height: 1.7;
}

.dg-contact-card b {
  display: block;
  color: var(--dg-ink);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.dg-contact-card a { color: var(--dg-blue); font-weight: 600; text-decoration: none; }
.dg-contact-card a:hover { color: var(--dg-purple); }

.dg-contact-card .dg-contact-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 6px 18px;
  border-radius: 40px;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Professional contact person cards ---------- */
.dg-person-card {
  position: relative;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.dg-person-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.06);
}

.dg-person-avatar {
  position: relative;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #fff;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin: 6px auto 14px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.dg-person-name {
  margin: 0 0 8px;
  color: var(--dg-ink);
  font-size: 20px;
  font-weight: 800;
}

.dg-person-role {
  display: inline-block;
  padding: 5px 16px;
  margin-bottom: 20px;
  border-radius: 30px;
  background: #eef2ff;
  color: var(--dg-blue);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dg-person-meta {
  position: relative;
  width: 100%;
  text-align: left;
  margin: 0 0 20px;
  font-size: 14px;
  line-height: 1.7;
}

.dg-person-meta p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  color: var(--dg-ink);
  font-size: 14.5px;
}

.dg-person-meta p:last-child { margin-bottom: 0; }

.dg-person-meta .dg-meta-icon {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 34px;
  flex: 0 0 34px;
  height: 34px;
  border-radius: 10px;
  background: #e7edff;
  color: var(--dg-blue);
  font-size: 14px;
  font-weight: 400;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.dg-contact-card .dg-person-meta a,
.dg-contact-card .dg-person-meta a:link,
.dg-contact-card .dg-person-meta a:visited {
  color: var(--dg-blue);
  font-weight: 700;
  text-decoration: none;
  word-break: break-word;
}
.dg-contact-card .dg-person-meta a:hover { color: var(--dg-purple); text-decoration: underline; }

.dg-person-actions {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  width: 100%;
}

.dg-person-actions .dg-btn { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; }

.dg-btn {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  -webkit-transition: -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
  transition: -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
  transition: transform 0.2s, box-shadow 0.2s;
  transition: transform 0.2s, box-shadow 0.2s, -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
}

.dg-btn:hover { -webkit-transform: translateY(-2px); transform: translateY(-2px); }

.dg-btn-solid { background: var(--dg-blue); color: #fff; }
.dg-btn-solid:hover { color: #fff; background: var(--dg-purple); }

.dg-btn-wa { background: #25d366; color: #fff; }
.dg-btn-wa:hover { color: #fff; background: #128c7e; }

/* ---------- Footer office contacts ---------- */
.dg-footer-offices { margin-top: 14px; }

.dg-footer-office {
  padding: 12px 14px;
  margin-bottom: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.dg-footer-office:last-child { margin-bottom: 0; }

.dg-footer-office h5 {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.dg-footer-office p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 8px;
  margin: 5px 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.78);
}

.dg-footer-office p a {
  color: rgba(255, 255, 255, 0.85);
  font-weight: 600;
  text-decoration: none;
}

.dg-footer-office p a:hover { color: #fff; }

.dg-footer-office i {
  width: 16px;
  text-align: center;
  color: var(--dg-blue);
}

.dg-footer-office h5 i { color: #4facfe; }

/* ---------- Stylish contact form ---------- */
.dg-form-card {
  background: #fff;
  border-radius: var(--dg-radius-lg);
  padding: 40px 36px;
  box-shadow: var(--dg-shadow-hover);
  position: relative;
  overflow: hidden;
}

.dg-form-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #134cb3, #4facfe, #7b2ff7);
}

.dg-field { margin-bottom: 20px; }

.dg-field__label {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dg-ink);
  letter-spacing: 0.02em;
}

.dg-field__label span { color: #e11d48; }

.dg-field__control { position: relative; }

.dg-field__icon {
  position: absolute;
  left: 15px;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  color: var(--dg-blue);
  font-size: 14px;
  z-index: 2;
  pointer-events: none;
}

.dg-field__icon--top {
  top: 18px;
  -webkit-transform: none;
  transform: none;
}

.dg-input {
  width: 100%;
  height: 52px;
  padding: 12px 16px 12px 44px;
  border: 2px solid #e6e9f2;
  border-radius: 12px;
  background: #fafbfe;
  font-size: 14.5px;
  color: var(--dg-ink);
  outline: none;
  -webkit-transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.dg-input:focus {
  border-color: var(--dg-blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

textarea.dg-input {
  height: auto;
  min-height: 132px;
  resize: vertical;
  padding-top: 16px;
}

select.dg-input {
  padding-right: 40px;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%236b7280" d="M6 8L0 0h12z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.dg-input::-webkit-input-placeholder { color: #9ca3b3; }
.dg-input::-moz-placeholder { color: #9ca3b3; }

.dg-btn--lg {
  padding: 15px 44px;
  font-size: 15px;
  border-radius: 50px;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.28);
}

.dg-alert {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  margin-bottom: 24px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.5;
}

.dg-alert--success {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.dg-alert--error {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.dg-alert--error a { color: #b91c1c; text-decoration: underline; }

/* ---------- Get-a-quote slide drawer ---------- */
.dg-quote-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  max-width: 460px;
  background: #fff;
  z-index: 10002;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  -webkit-transition: -webkit-transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  transition: -webkit-transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), -webkit-transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -18px 0 50px rgba(1, 13, 76, 0.25);
  overflow: hidden;
}

.dg-quote-drawer--open { -webkit-transform: translateX(0); transform: translateX(0); }

.dg-quote-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 10, 33, 0.55);
  z-index: 10001;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.35s ease, visibility 0.35s ease;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.dg-quote-drawer-backdrop--show { opacity: 1; visibility: visible; }

.dg-quote-lock { overflow: hidden; }

.dg-quote-drawer__header {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 26px 30px 22px;
  background: linear-gradient(135deg, #010d4c 0%, #134cb3 100%);
  color: #fff;
}

.dg-quote-drawer__kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9db8ff;
  margin-bottom: 4px;
}

.dg-quote-drawer__header h3 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  font-weight: 800;
}

.dg-quote-drawer__close {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 17px;
  cursor: pointer;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-transition: background 0.2s, -webkit-transform 0.2s;
  transition: background 0.2s, -webkit-transform 0.2s;
  transition: background 0.2s, transform 0.2s;
  transition: background 0.2s, transform 0.2s, -webkit-transform 0.2s;
}

.dg-quote-drawer__close:hover { background: rgba(255, 255, 255, 0.28); -webkit-transform: rotate(90deg); transform: rotate(90deg); }

.dg-quote-drawer__body {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 26px 30px 30px;
  overflow-y: auto;
}

.dg-quote-drawer__lead {
  margin: 0 0 20px;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--dg-muted);
}

.dg-quote-drawer__body .dg-field { margin-bottom: 16px; }

.dg-quote-drawer__footer {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 auto;
  flex: 0 0 auto;
  padding: 16px 30px;
  text-align: center;
  font-size: 13.5px;
  color: var(--dg-muted);
  background: #f6f8fd;
  border-top: 1px solid #edf0f7;
}

.dg-quote-drawer__footer a { color: var(--dg-blue); font-weight: 700; text-decoration: none; }
.dg-quote-drawer__footer a:hover { color: var(--dg-purple); }

/* Keep the header quote button text-only (no theme icon) */
.header-style-twelve .main-box .outer-box .dg-quote-open i,
.header-style-twelve .main-box .outer-box .dg-quote-open::after { display: none; }

@media (min-width: 992px) {
  .dg-quote-drawer-toggle-fallback { display: none; }
}

/* ---------- Image frame ---------- */
.dg-frame {
  border-radius: var(--dg-radius-lg);
  overflow: hidden;
  box-shadow: var(--dg-shadow-hover);
  position: relative;
}

.dg-frame img {
  width: 100%;
  height: auto;
  display: block;
}

.dg-frame--blue::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19,76,179,0.6), transparent 70%);
  z-index: 1;
  pointer-events: none;
}

/* ---------- Soft callout panel ---------- */
.dg-callout {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 18px;
  border-radius: var(--dg-radius);
  padding: 22px 26px;
  background: #fff;
  box-shadow: var(--dg-shadow);
}

.dg-callout__badge {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 52px;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-family: "Jost", sans-serif;
  font-size: 20px;
  background: linear-gradient(135deg, var(--dg-blue), var(--dg-sky));
}

.dg-callout--purple .dg-callout__badge { background: linear-gradient(135deg, var(--dg-purple), #c084fc); }
.dg-callout--green .dg-callout__badge { background: linear-gradient(135deg, var(--dg-green), #7cd39a); }
.dg-callout--orange .dg-callout__badge { background: linear-gradient(135deg, var(--dg-orange), #ffb199); }
.dg-callout--pink .dg-callout__badge { background: linear-gradient(135deg, var(--dg-pink), #ffa8b5); }
.dg-callout--teal .dg-callout__badge { background: linear-gradient(135deg, var(--dg-teal), #6ee7d8); }

.dg-callout p {
  margin: 0;
  font-size: 16px;
  line-height: 1.65;
  color: var(--dg-muted);
}

.dg-callout p b {
  color: var(--dg-ink);
}

/* =========================================================
   UNIQUE PAGE LAYOUT TEMPLATES
   Each page gets a distinct visual structure
   ========================================================= */

/* ---------- 1. Zigzag Layout (alternating rows) ---------- */
.dg-zigzag-row {
  display: flex;
  align-items: center;
  gap: 60px;
  margin-bottom: 80px;
}
.dg-zigzag-row:last-child { margin-bottom: 0; }
.dg-zigzag-row.reverse { flex-direction: row-reverse; }
.dg-zigzag-row .dg-zigzag-text { flex: 1; }
.dg-zigzag-row .dg-zigzag-visual { flex: 1; }
.dg-zigzag-num {
  font-family: "Jost", sans-serif;
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--dg-blue), var(--dg-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.dg-zigzag-text h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--dg-ink);
  margin-bottom: 14px;
  line-height: 1.25;
}
.dg-zigzag-text p {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--dg-muted);
  margin-bottom: 0;
}
.dg-zigzag-visual {
  border-radius: var(--dg-radius-lg);
  padding: 40px;
  background: linear-gradient(160deg, #f5f7fb 0%, #e8edf8 100%);
  position: relative;
  overflow: hidden;
}
.dg-zigzag-visual::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(123, 47, 247, 0.08);
}
.dg-zigzag-visual .dg-stat-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.dg-zigzag-visual .dg-zigzag-stat {
  flex: 1;
  min-width: 100px;
  text-align: center;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(19, 76, 179, 0.08);
}
.dg-zigzag-visual .dg-zigzag-stat b {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--dg-blue);
}
.dg-zigzag-visual .dg-zigzag-stat span {
  font-size: 13px;
  color: var(--dg-muted);
  font-weight: 600;
}
@media (max-width: 991px) {
  .dg-zigzag-row, .dg-zigzag-row.reverse { flex-direction: column; gap: 30px; }
}

/* ---------- 2. Split Sidebar Layout ---------- */
.dg-split {
  display: flex;
  gap: 50px;
}
.dg-split-sidebar {
  flex: 0 0 320px;
  position: sticky;
  top: 120px;
  align-self: flex-start;
}
.dg-split-sidebar .dg-split-nav {
  background: #fff;
  border-radius: var(--dg-radius);
  box-shadow: var(--dg-shadow);
  padding: 8px;
}
.dg-split-sidebar .dg-split-nav a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--dg-muted);
  text-decoration: none;
  transition: all 0.3s ease;
}
.dg-split-sidebar .dg-split-nav a:hover,
.dg-split-sidebar .dg-split-nav a.active {
  background: linear-gradient(135deg, var(--dg-blue), var(--dg-sky));
  color: #fff;
}
.dg-split-sidebar .dg-split-nav a .dg-split-nav-num {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  background: var(--dg-soft);
  color: var(--dg-blue);
  flex-shrink: 0;
}
.dg-split-sidebar .dg-split-nav a:hover .dg-split-nav-num,
.dg-split-sidebar .dg-split-nav a.active .dg-split-nav-num {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.dg-split-content { flex: 1; }
.dg-split-block {
  background: #fff;
  border-radius: var(--dg-radius);
  padding: 40px;
  box-shadow: var(--dg-shadow);
  margin-bottom: 30px;
}
.dg-split-block h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--dg-ink);
  margin-bottom: 16px;
}
.dg-split-block p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--dg-muted);
  margin-bottom: 20px;
}
.dg-split-block .dg-split-block-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
}
@media (max-width: 991px) {
  .dg-split { flex-direction: column; }
  .dg-split-sidebar { position: static; flex: none; width: 100%; }
}

/* ---------- 3. Vertical Timeline Layout ---------- */
.dg-timeline {
  position: relative;
  padding-left: 60px;
}
.dg-timeline::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--dg-blue), var(--dg-purple), var(--dg-orange), var(--dg-teal));
  border-radius: 3px;
}
.dg-timeline-item {
  position: relative;
  margin-bottom: 50px;
}
.dg-timeline-item:last-child { margin-bottom: 0; }
.dg-timeline-dot {
  position: absolute;
  left: -60px;
  top: 0;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Jost", sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--dg-blue), var(--dg-sky));
  box-shadow: 0 8px 24px rgba(19, 76, 179, 0.3);
  z-index: 2;
}
.dg-timeline-item:nth-child(2) .dg-timeline-dot { background: linear-gradient(135deg, var(--dg-purple), #c084fc); box-shadow: 0 8px 24px rgba(123, 47, 247, 0.3); }
.dg-timeline-item:nth-child(3) .dg-timeline-dot { background: linear-gradient(135deg, var(--dg-orange), #ffb199); box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3); }
.dg-timeline-item:nth-child(4) .dg-timeline-dot { background: linear-gradient(135deg, var(--dg-teal), #6ee7d8); box-shadow: 0 8px 24px rgba(0, 194, 168, 0.3); }
.dg-timeline-item:nth-child(5) .dg-timeline-dot { background: linear-gradient(135deg, var(--dg-pink), #ffa8b5); box-shadow: 0 8px 24px rgba(245, 87, 108, 0.3); }
.dg-timeline-item:nth-child(6) .dg-timeline-dot { background: linear-gradient(135deg, var(--dg-green), #7cd39a); box-shadow: 0 8px 24px rgba(40, 167, 69, 0.3); }
.dg-timeline-card {
  background: #fff;
  border-radius: var(--dg-radius);
  padding: 32px;
  box-shadow: var(--dg-shadow);
  transition: all 0.35s ease;
}
.dg-timeline-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dg-shadow-hover);
}
.dg-timeline-card h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--dg-ink);
  margin-bottom: 10px;
}
.dg-timeline-card p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--dg-muted);
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .dg-timeline { padding-left: 40px; }
  .dg-timeline::before { left: 14px; }
  .dg-timeline-dot { left: -40px; width: 38px; height: 38px; font-size: 14px; border-radius: 12px; }
}

/* ---------- 4. Bento Grid Layout ---------- */
.dg-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.dg-bento-card {
  border-radius: var(--dg-radius);
  padding: 34px;
  box-shadow: var(--dg-shadow);
  overflow: hidden;
  position: relative;
  transition: all 0.35s ease;
}
.dg-bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--dg-shadow-hover);
}
.dg-bento-card.span-4 { grid-column: span 4; }
.dg-bento-card.span-6 { grid-column: span 6; }
.dg-bento-card.span-8 { grid-column: span 8; }
.dg-bento-card.span-12 { grid-column: span 12; }
.dg-bento-card.span-3 { grid-column: span 3; }
.dg-bento-card.bg-white { background: #fff; }
.dg-bento-card.bg-soft { background: linear-gradient(160deg, #f5f7fb 0%, #eef2fa 100%); }
.dg-bento-card.bg-blue { background: linear-gradient(135deg, #134cb3, #1f6af0); color: #fff; }
.dg-bento-card.bg-purple { background: linear-gradient(135deg, #7b2ff7, #9b62ff); color: #fff; }
.dg-bento-card.bg-navy { background: linear-gradient(135deg, #010d4c, #16243e); color: #fff; }
.dg-bento-card.bg-orange { background: linear-gradient(135deg, #ff6b35, #ff8a5c); color: #fff; }
.dg-bento-card.bg-teal { background: linear-gradient(135deg, #00c2a8, #6ee7d8); color: #fff; }
.dg-bento-card.bg-green { background: linear-gradient(135deg, #1e9e4f, #34c268); color: #fff; }
.dg-bento-card h4 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
}
.dg-bento-card.bg-blue h4, .dg-bento-card.bg-purple h4,
.dg-bento-card.bg-navy h4, .dg-bento-card.bg-orange h4,
.dg-bento-card.bg-teal h4, .dg-bento-card.bg-green h4 { color: #fff; }
.dg-bento-card p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0;
}
.dg-bento-card.bg-blue p, .dg-bento-card.bg-purple p,
.dg-bento-card.bg-navy p, .dg-bento-card.bg-orange p,
.dg-bento-card.bg-teal p, .dg-bento-card.bg-green p { color: rgba(255,255,255,0.9); }
.dg-bento-card .dg-bento-num {
  font-family: "Jost", sans-serif;
  font-size: 48px;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 12px;
  opacity: 0.15;
  position: absolute;
  top: 20px;
  right: 24px;
}
@media (max-width: 991px) {
  .dg-bento-card.span-4, .dg-bento-card.span-6,
  .dg-bento-card.span-8, .dg-bento-card.span-3 { grid-column: span 6; }
}
@media (max-width: 575px) {
  .dg-bento-card.span-4, .dg-bento-card.span-6,
  .dg-bento-card.span-8, .dg-bento-card.span-3, .dg-bento-card.span-12 { grid-column: span 12; }
}

/* ---------- 5. Two-Column with Stats Sidebar ---------- */
.dg-content-sidebar {
  display: flex;
  gap: 40px;
}
.dg-content-main { flex: 1; }
.dg-content-aside {
  flex: 0 0 300px;
}
.dg-content-aside .dg-sticky-card {
  position: sticky;
  top: 120px;
  background: linear-gradient(135deg, #010d4c 0%, #134cb3 100%);
  border-radius: var(--dg-radius-lg);
  padding: 36px 28px;
  color: #fff;
}
.dg-content-aside .dg-sticky-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}
.dg-content-aside .dg-sticky-stat {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.dg-content-aside .dg-sticky-stat:last-child { border-bottom: none; }
.dg-content-aside .dg-sticky-stat b {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 4px;
}
.dg-content-aside .dg-sticky-stat span {
  font-size: 14px;
  opacity: 0.8;
}
.dg-content-feature {
  background: #fff;
  border-radius: var(--dg-radius);
  padding: 30px;
  box-shadow: var(--dg-shadow);
  margin-bottom: 20px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s ease;
}
.dg-content-feature:hover {
  transform: translateY(-3px);
  box-shadow: var(--dg-shadow-hover);
}
.dg-content-feature .dg-content-feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  background: linear-gradient(135deg, var(--dg-blue), var(--dg-sky));
  flex-shrink: 0;
}
.dg-content-feature h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dg-ink);
  margin-bottom: 8px;
}
.dg-content-feature p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--dg-muted);
  margin-bottom: 0;
}
@media (max-width: 991px) {
  .dg-content-sidebar { flex-direction: column; }
  .dg-content-aside { flex: none; width: 100%; }
  .dg-content-aside .dg-sticky-card { position: static; }
}

/* ---------- 6. Full-Width Showcase ---------- */
.dg-showcase {
  border-radius: var(--dg-radius-lg);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--dg-shadow);
}
.dg-showcase-header {
  padding: 48px 48px 0;
}
.dg-showcase-header h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--dg-ink);
  margin-bottom: 12px;
}
.dg-showcase-header p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--dg-muted);
}
.dg-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.dg-showcase-item {
  padding: 32px;
  border-right: 1px solid #f0f2f7;
  border-bottom: 1px solid #f0f2f7;
  transition: all 0.3s ease;
  position: relative;
}
.dg-showcase-item:hover {
  background: var(--dg-soft);
}
.dg-showcase-item .dg-showcase-item-num {
  font-family: "Jost", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--dg-blue);
  margin-bottom: 12px;
}
.dg-showcase-item h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dg-ink);
  margin-bottom: 8px;
}
.dg-showcase-item p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--dg-muted);
  margin-bottom: 0;
}
@media (max-width: 991px) {
  .dg-showcase-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .dg-showcase-grid { grid-template-columns: 1fr; }
  .dg-showcase-item { border-right: none; }
}

/* ---------- 7. Magazine / Story Layout ---------- */
.dg-magazine {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.dg-magazine-featured {
  grid-row: span 2;
  border-radius: var(--dg-radius-lg);
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  min-height: 420px;
  color: #fff;
}
.dg-magazine-featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(1,13,76,0.92) 100%);
  z-index: 1;
}
.dg-magazine-featured > * { position: relative; z-index: 2; }
.dg-magazine-featured .dg-magazine-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 40px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
  width: fit-content;
}
.dg-magazine-featured h3 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 14px;
  color: #fff;
}
.dg-magazine-featured p {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.9);
}
.dg-magazine-card {
  background: #fff;
  border-radius: var(--dg-radius);
  padding: 32px;
  box-shadow: var(--dg-shadow);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.35s ease;
}
.dg-magazine-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dg-shadow-hover);
}
.dg-magazine-card .dg-magazine-tag {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 40px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 14px;
  width: fit-content;
}
.dg-magazine-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dg-ink);
  margin-bottom: 10px;
}
.dg-magazine-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--dg-muted);
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .dg-magazine { grid-template-columns: 1fr; }
  .dg-magazine-featured { grid-row: span 1; min-height: 300px; }
}

/* ---------- 8. Horizontal Feature Sections ---------- */
.dg-horizontal-features {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.dg-hfeature {
  display: flex;
  align-items: stretch;
  min-height: 200px;
}
.dg-hfeature:nth-child(even) { flex-direction: row-reverse; }
.dg-hfeature-text {
  flex: 1;
  padding: 44px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.dg-hfeature-text h4 {
  font-size: 22px;
  font-weight: 800;
  color: var(--dg-ink);
  margin-bottom: 12px;
}
.dg-hfeature-text p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--dg-muted);
  margin-bottom: 0;
}
.dg-hfeature-visual {
  flex: 0 0 40%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  position: relative;
}
.dg-hfeature-visual .dg-hfeature-num {
  font-family: "Jost", sans-serif;
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  opacity: 0.1;
  position: absolute;
}
.dg-hfeature:nth-child(odd) .dg-hfeature-text { background: #fff; }
.dg-hfeature:nth-child(odd) .dg-hfeature-visual { background: linear-gradient(135deg, #eaf1ff, #f5f7fb); }
.dg-hfeature:nth-child(even) .dg-hfeature-text { background: var(--dg-soft); }
.dg-hfeature:nth-child(even) .dg-hfeature-visual { background: #fff; }
.dg-hfeature .dg-hfeature-stat-row {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}
.dg-hfeature .dg-hfeature-stat {
  padding: 14px 20px;
  border-radius: 12px;
  background: rgba(19, 76, 179, 0.06);
  text-align: center;
}
.dg-hfeature .dg-hfeature-stat b {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--dg-blue);
}
.dg-hfeature .dg-hfeature-stat span {
  font-size: 12px;
  color: var(--dg-muted);
  font-weight: 600;
}
@media (max-width: 991px) {
  .dg-hfeature, .dg-hfeature:nth-child(even) { flex-direction: column; }
  .dg-hfeature-visual { flex: none; min-height: 160px; }
}

/* ---------- 9. Dashboard Card Layout ---------- */
.dg-dashboard {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.dg-dash-card {
  background: #fff;
  border-radius: var(--dg-radius);
  padding: 28px 24px;
  box-shadow: var(--dg-shadow);
  text-align: center;
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}
.dg-dash-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 4px 4px 0 0;
}
.dg-dash-card:nth-child(1)::before { background: linear-gradient(90deg, var(--dg-blue), var(--dg-sky)); }
.dg-dash-card:nth-child(2)::before { background: linear-gradient(90deg, var(--dg-purple), #c084fc); }
.dg-dash-card:nth-child(3)::before { background: linear-gradient(90deg, var(--dg-orange), #ffb199); }
.dg-dash-card:nth-child(4)::before { background: linear-gradient(90deg, var(--dg-green), #7cd39a); }
.dg-dash-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dg-shadow-hover);
}
.dg-dash-card .dg-dash-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
}
.dg-dash-card:nth-child(1) .dg-dash-icon { background: linear-gradient(135deg, var(--dg-blue), var(--dg-sky)); }
.dg-dash-card:nth-child(2) .dg-dash-icon { background: linear-gradient(135deg, var(--dg-purple), #c084fc); }
.dg-dash-card:nth-child(3) .dg-dash-icon { background: linear-gradient(135deg, var(--dg-orange), #ffb199); }
.dg-dash-card:nth-child(4) .dg-dash-icon { background: linear-gradient(135deg, var(--dg-green), #7cd39a); }
.dg-dash-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dg-ink);
  margin-bottom: 10px;
}
.dg-dash-card p {
  font-size: 14px;
  line-height: 1.65;
  color: var(--dg-muted);
  margin-bottom: 0;
}
@media (max-width: 991px) {
  .dg-dashboard { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .dg-dashboard { grid-template-columns: 1fr; }
}

/* ---------- 10. Asymmetric Offset Layout ---------- */
.dg-asymmetric {
  position: relative;
}
.dg-asym-block {
  display: flex;
  gap: 60px;
  align-items: center;
  margin-bottom: 0;
}
.dg-asym-block:nth-child(even) { flex-direction: row-reverse; }
.dg-asym-text { flex: 1; }
.dg-asym-visual {
  flex: 1;
  border-radius: var(--dg-radius-lg);
  padding: 48px;
  position: relative;
}
.dg-asym-text .dg-asym-chip {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 40px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}
.dg-asym-text h3 {
  font-size: 28px;
  font-weight: 800;
  color: var(--dg-ink);
  margin-bottom: 16px;
  line-height: 1.25;
}
.dg-asym-text p {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--dg-muted);
  margin-bottom: 20px;
}
.dg-asym-visual .dg-asym-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.dg-asym-visual .dg-asym-mini {
  padding: 20px;
  border-radius: 14px;
  background: rgba(255,255,255,0.12);
  text-align: center;
}
.dg-asym-visual .dg-asym-mini b {
  display: block;
  font-family: "Jost", sans-serif;
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.dg-asym-visual .dg-asym-mini span {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}
@media (max-width: 991px) {
  .dg-asym-block, .dg-asym-block:nth-child(even) { flex-direction: column; gap: 30px; }
}

/* ---------- 11. Conversational Card Layout ---------- */
.dg-chat-layout {
  max-width: 800px;
  margin: 0 auto;
}
.dg-chat-msg {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}
.dg-chat-msg.right { flex-direction: row-reverse; }
.dg-chat-avatar {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #fff;
  flex-shrink: 0;
}
.dg-chat-msg:not(.right) .dg-chat-avatar { background: linear-gradient(135deg, var(--dg-blue), var(--dg-sky)); }
.dg-chat-msg.right .dg-chat-avatar { background: linear-gradient(135deg, var(--dg-purple), #c084fc); }
.dg-chat-bubble {
  background: #fff;
  border-radius: 20px;
  padding: 24px 28px;
  box-shadow: var(--dg-shadow);
  max-width: 85%;
  position: relative;
}
.dg-chat-msg.right .dg-chat-bubble {
  background: linear-gradient(135deg, var(--dg-blue), var(--dg-purple));
  color: #fff;
}
.dg-chat-bubble h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.dg-chat-msg:not(.right) .dg-chat-bubble h4 { color: var(--dg-ink); }
.dg-chat-msg.right .dg-chat-bubble h4 { color: #fff; }
.dg-chat-bubble p {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0;
}
.dg-chat-msg:not(.right) .dg-chat-bubble p { color: var(--dg-muted); }
.dg-chat-msg.right .dg-chat-bubble p { color: rgba(255,255,255,0.9); }

/* ---------- 12. Process Steps - Alternating ---------- */
.dg-alt-steps {
  position: relative;
}
.dg-alt-step {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 50px;
}
.dg-alt-step:last-child { margin-bottom: 0; }
.dg-alt-step:nth-child(even) { flex-direction: row-reverse; }
.dg-alt-step-num {
  flex: 0 0 80px;
  height: 80px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Jost", sans-serif;
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--dg-blue), var(--dg-sky));
}
.dg-alt-step:nth-child(2) .dg-alt-step-num { background: linear-gradient(135deg, var(--dg-purple), #c084fc); }
.dg-alt-step:nth-child(3) .dg-alt-step-num { background: linear-gradient(135deg, var(--dg-orange), #ffb199); }
.dg-alt-step:nth-child(4) .dg-alt-step-num { background: linear-gradient(135deg, var(--dg-teal), #6ee7d8); }
.dg-alt-step-content {
  flex: 1;
  background: #fff;
  border-radius: var(--dg-radius);
  padding: 30px;
  box-shadow: var(--dg-shadow);
}
.dg-alt-step-content h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--dg-ink);
  margin-bottom: 10px;
}
.dg-alt-step-content p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--dg-muted);
  margin-bottom: 0;
}
@media (max-width: 767px) {
  .dg-alt-step, .dg-alt-step:nth-child(even) { flex-direction: column; gap: 16px; }
  .dg-alt-step-num { flex: none; }
}

/* ---------- H1 Title Reduction ---------- */
.page-title .title {
  font-size: 43px;
}
@media only screen and (max-width: 768px) {
  .page-title .title {
    font-size: 29px;
  }
}



/* =========================================================
   Dropdown caret for twelve nav (FA6 Pro f107), restored.
   ========================================================= */
.header-style-twelve .main-box .nav-outer .navigation > li.dropdown > a,
.header-style-twelve .main-box .nav-outer .navigation > li.has-dropdown > a {
  position: relative;
  padding-right: 18px !important;
}
.header-style-twelve .main-box .nav-outer .navigation > li.dropdown > a::after {
  content: "\f107";
  font-family: "Font Awesome 6 Pro";
  font-weight: 900;
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: 0 !important;
  width: auto;
  height: auto;
  line-height: 1;
  display: block;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 12px;
}

/* =========================================================
   Footer redesign: social icons + horizontal contact strip
   ========================================================= */
.footer-style-twelve .dg-footer-social {
  margin-top: 22px;
}
.footer-style-twelve .dg-footer-social h5 {
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}
.dg-footer-social__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 12px;
}
.dg-footer-social__list li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255,255,255,0.09);
  color: #e6ebf5;
  font-size: 22px;
  border: 1px solid rgba(255,255,255,0.14);
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}
.dg-footer-social__list li a svg {
  width: 24px;
  height: 24px;
}
.dg-footer-social__list li a:hover {
  background: var(--theme-color1);
  color: #fff;
  -webkit-transform: translateY(-4px);
          transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(19, 76, 179, 0.5);
}
.dg-footer-social__list li a .fab { line-height: 1; }
.dg-footer-contact {
  margin-top: 50px;
  padding: 40px 0 10px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 22px;
}
.dg-footer-contact__office {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 300px;
          flex: 1 1 300px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 16px;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  padding: 20px 22px;
  border-radius: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}
.dg-footer-contact__office:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  -webkit-transform: translateY(-3px);
          transform: translateY(-3px);
}
.dg-footer-contact__flag {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 46px;
          flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-transform: uppercase;
}
.dg-flag-us { background: linear-gradient(135deg, #1f4e9c, #2f6fd6); }
.dg-flag-sa { background: linear-gradient(135deg, #0c7a4a, #19b56d); }
.dg-flag-pk { background: linear-gradient(135deg, #0b5c2e, #14a458); }
.dg-footer-contact__body h5 {
  color: #fff;
  font-size: 16px;
  margin: 0 0 6px;
}
.dg-footer-contact__body p {
  color: #b9c2d4;
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}
.dg-footer-contact__body p a { color: #cfd6e4; }
.dg-footer-contact__body p a:hover { color: #fff; }
.dg-footer-contact__body p i { color: var(--theme-color1); margin-right: 6px; }
.dg-footer-contact__wa {
  display: inline-block;
  margin-top: 8px;
  padding: 7px 14px;
  border-radius: 8px;
  background: #25d366;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}
.dg-footer-contact__wa:hover { background: #1fb557; color: #fff; -webkit-transform: translateY(-2px); transform: translateY(-2px); }
@media (max-width: 575px) {
  .dg-footer-contact__office { -webkit-box-flex: 1; -ms-flex: 1 1 100%; flex: 1 1 100%; }
}

/* =========================================================
   Floating Quick Contact (right-center) + WhatsApp modal
   ========================================================= */
.dg-float-contact {
  position: fixed;
  right: 16px;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  z-index: 9000;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: linear-gradient(135deg, #2bd96b 0%, #128c7e 100%);
  color: #fff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 3px;
  cursor: pointer;
  box-shadow: 0 12px 34px rgba(18, 140, 126, 0.5), 0 4px 14px rgba(43, 217, 107, 0.35);
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}
.dg-float-contact:hover {
  -webkit-transform: translateY(-50%) scale(1.07);
          transform: translateY(-50%) scale(1.07);
  background: linear-gradient(135deg, #2bd96b 0%, #0f7a6e 100%);
  box-shadow: 0 16px 42px rgba(18, 140, 126, 0.6), 0 6px 18px rgba(43, 217, 107, 0.45);
}
.dg-float-contact__icon {
  width: 34px;
  height: 34px;
}
.dg-float-contact__text {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.05;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}
.dg-float-contact__br { display: block; }

/* WhatsApp modal */
.dg-wa-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(1, 13, 76, 0.55);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 300ms ease, visibility 300ms ease;
  transition: opacity 300ms ease, visibility 300ms ease;
  z-index: 9500;
}
.dg-wa-backdrop--show {
  opacity: 1;
  visibility: visible;
}
.dg-wa-modal {
  position: fixed;
  right: 18px;
  top: 50%;
  -webkit-transform: translateY(-50%) scale(0.94);
          transform: translateY(-50%) scale(0.94);
  width: min(90vw, 400px);
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 70px rgba(1, 13, 76, 0.35);
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 300ms ease, visibility 300ms ease, -webkit-transform 300ms ease;
  transition: opacity 300ms ease, visibility 300ms ease, transform 300ms ease;
  z-index: 9600;
  overflow: hidden;
}
.dg-wa-modal--open {
  opacity: 1;
  visibility: visible;
  -webkit-transform: translateY(-50%) scale(1);
          transform: translateY(-50%) scale(1);
}
.dg-wa-modal__header {
  position: relative;
  padding: 28px 26px 22px;
  background: linear-gradient(135deg, #134cb3 0%, #010d4c 100%);
  color: #fff;
}
.dg-wa-modal__kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7fd68c;
  margin-bottom: 6px;
}
.dg-wa-modal__header h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
}
.dg-wa-modal__header p {
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
  margin: 0;
}
.dg-wa-modal__close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}
.dg-wa-modal__close:hover { background: #f5576c; }
.dg-wa-modal__body {
  padding: 22px 24px 26px;
}
.dg-wa-card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 14px;
  padding: 14px 16px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: #f4f7fd;
  border: 1px solid #e6ecf8;
  -webkit-transition: all 300ms ease;
  transition: all 300ms ease;
}
.dg-wa-card:last-child { margin-bottom: 0; }
.dg-wa-card:hover {
  background: #eef4ff;
  border-color: #134cb3;
  -webkit-transform: translateX(-4px);
          transform: translateX(-4px);
}
.dg-wa-card__flag {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 42px;
          flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.03em;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.dg-wa-flag--us { background: linear-gradient(135deg, #1f4e9c, #2f6fd6); }
.dg-wa-flag--sa { background: linear-gradient(135deg, #0c7a4a, #19b56d); }
.dg-wa-flag--pk { background: linear-gradient(135deg, #0b5c2e, #14a458); }
.dg-wa-card__info {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.dg-wa-card__info strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #16243e;
}
.dg-wa-card__info small {
  font-size: 12.5px;
  color: #5b6478;
}
.dg-wa-card__cta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 2px;
  font-size: 11px;
  font-weight: 700;
  color: #25d366;
}
.dg-wa-card__cta svg {
  width: 22px;
  height: 22px;
}
.dg-quote-lock { overflow: hidden; }
@media (max-width: 575px) {
  .dg-float-contact { width: 68px; height: 68px; right: 12px; border-width: 2px; }
  .dg-float-contact__icon { width: 26px; height: 26px; }
  .dg-float-contact__text { font-size: 9px; }
  .dg-wa-modal { width: calc(100vw - 24px); right: 12px; }
}

/* =========================================================
   Header flush @ theme-natural 80px: logo fits rail, blue
   button fills full height (no white gap below button)
   ========================================================= */
.header-style-twelve .header-lower {
  min-height: 80px;
}
.header-style-twelve .header-lower .logo-box {
  min-height: 80px;
  padding: 0;
}
.header-style-twelve .header-lower .logo-box .logo img {
  height: 56px;
  width: auto;
  max-width: none;
}
.header-style-twelve .main-box .nav-outer .outer-box {
  height: 100%;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}
.header-style-twelve .main-box .outer-box .theme-btn {
  height: 100% !important;
  min-height: 100% !important;
  max-height: 100% !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  border-radius: 0;
}
.header-style-twelve .main-box .outer-box .theme-btn .btn-title {
  position: relative;
  z-index: 2;
}

/* =========================================================
   Legal pages (Privacy Policy / Terms of Services)
   ========================================================= */
.dg-legal {
  max-width: 920px;
  margin: 0 auto;
}
.dg-legal .dg-updated {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dg-blue);
  background: #eef4ff;
  border: 1px solid #d7e4ff;
  border-radius: 999px;
  padding: 8px 18px;
  margin: 0 0 8px;
}
.dg-toc {
  background: #f7f9fc;
  border: 1px solid #e6ebf3;
  border-radius: 16px;
  padding: 26px 30px;
  margin: 26px 0 8px;
}
.dg-toc h4 {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--dg-ink);
  margin: 0 0 16px;
}
.dg-toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 40px;
}
.dg-toc li {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 9px;
  break-inside: avoid;
}
.dg-toc a {
  color: var(--dg-blue);
  font-weight: 600;
  text-decoration: none;
}
.dg-toc a:hover { text-decoration: underline; }
.dg-legal h2 {
  font-size: 25px;
  font-weight: 800;
  color: var(--dg-ink);
  margin: 46px 0 14px;
  padding-top: 14px;
  border-top: 1px solid #eef1f6;
  scroll-margin-top: 110px;
}
.dg-legal h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--dg-ink);
  margin: 26px 0 10px;
  scroll-margin-top: 110px;
}
.dg-legal p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--dg-muted);
  margin: 0 0 14px;
}
.dg-legal ul,
.dg-legal ol { margin: 0 0 16px; padding-left: 22px; }
.dg-legal li {
  font-size: 16px;
  line-height: 1.85;
  color: var(--dg-muted);
  margin-bottom: 7px;
}
.dg-legal a {
  color: var(--dg-blue);
  font-weight: 600;
}
.dg-legal strong { color: var(--dg-ink); }
.dg-legal .dg-legal-note {
  background: #fffbe8;
  border: 1px solid #f5e7ad;
  border-left: 4px solid #f0c419;
  border-radius: 12px;
  padding: 18px 22px;
  margin: 0 0 22px;
}
.dg-legal .dg-legal-note p { margin: 0; font-size: 15px; }
@media (max-width: 575.98px) {
  .dg-toc { padding: 20px; }
  .dg-toc ol { columns: 1; }
  .dg-legal h2 { font-size: 22px; }
}
