/* =============================================
   Digituskh — Extra CSS for About, Contact
   & Advertise page templates
   Add this file to your theme via:
   Appearance → Theme File Editor → add
   @import url('pages-extra.css'); at the
   bottom of digituskh.css
   OR use the instructions in INSTALL.txt
   ============================================= */

/* ── Shared: Page Hero Banner ── */
.dgtk-page-hero {
  background: var(--dark);
  color: #fff;
  padding: 36px 0 28px;
}
.dgtk-page-hero__icon {
  font-size: 40px;
  margin-bottom: 10px;
  line-height: 1;
}
.dgtk-page-hero__title {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.2;
}
.dgtk-page-hero__desc {
  color: #aaa;
  font-size: 14px;
  line-height: 1.6;
}

/* ── Shared: Page content wrapper (max 820px centred) ── */
.dgtk-page-wrap {
  max-width: 820px;
  padding: 20px 0 32px;
}

/* ── Shared: Body text ── */
.dgtk-body-text {
  font-size: 15px;
  line-height: 1.75;
  color: #2a2a2a;
  margin-bottom: 14px;
}
[data-theme="dark"] .dgtk-body-text { color: #ccc; }

/* ── Shared: 3-column standards / why-us grid ── */
.dgtk-standards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 16px;
}
.dgtk-standard-item {
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 16px 14px;
  text-align: center;
}
[data-theme="dark"] .dgtk-standard-item {
  background: #1e1e30;
  border-color: #2a2a3e;
}
.dgtk-standard-icon {
  font-size: 28px;
  margin-bottom: 8px;
}
.dgtk-standard-label {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.dgtk-standard-desc {
  font-size: 11px;
  color: #888;
  line-height: 1.55;
}

/* ── Shared: Stats row ── */
.dgtk-stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 4px;
}
.dgtk-stat {
  text-align: center;
  padding: 16px 8px;
  background: #f9f9f9;
  border-radius: 8px;
  border: 1px solid #eee;
}
[data-theme="dark"] .dgtk-stat {
  background: #1e1e30;
  border-color: #2a2a3e;
}
.dgtk-stat-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--red);
  line-height: 1.1;
  margin-bottom: 4px;
}
.dgtk-stat-label {
  font-size: 10px;
  color: #888;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* ── Shared: Buttons ── */
.dgtk-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
  text-decoration: none;
  border: 2px solid transparent;
}
.dgtk-btn--primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.dgtk-btn--primary:hover {
  background: #c0000f;
  border-color: #c0000f;
  color: #fff;
}
.dgtk-btn--outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.dgtk-btn--outline:hover {
  background: var(--red);
  color: #fff;
}

/* ── Shared: CTA card at the bottom of each page ── */
.dgtk-cta-card {
  background: var(--dark);
  border-radius: 8px;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.dgtk-cta-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.dgtk-cta-desc {
  font-size: 12px;
  color: #aaa;
}
.dgtk-cta-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.dgtk-cta-card .dgtk-btn--outline {
  color: #fff;
  border-color: #555;
}
.dgtk-cta-card .dgtk-btn--outline:hover {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
}

/* ── Shared: Form styles ── */
.dgtk-contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.dgtk-form-row--2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.dgtk-form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.dgtk-form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}
.dgtk-required { color: var(--red); }
.dgtk-form-group input,
.dgtk-form-group select,
.dgtk-form-group textarea {
  width: 100%;
  padding: 9px 11px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  font-family: var(--font);
  outline: none;
  background: #fff;
  color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.dgtk-form-group input:focus,
.dgtk-form-group select:focus,
.dgtk-form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(227,6,19,.08);
}
.dgtk-form-group textarea { resize: vertical; min-height: 110px; }
[data-theme="dark"] .dgtk-form-group input,
[data-theme="dark"] .dgtk-form-group select,
[data-theme="dark"] .dgtk-form-group textarea {
  background: #1e1e30;
  border-color: #3a3a54;
  color: #eee;
}
.dgtk-form-footer {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.dgtk-form-note {
  font-size: 11px;
  color: #aaa;
}
.dgtk-submit-btn { min-width: 160px; justify-content: center; }

/* Success message */
.dgtk-success-msg {
  text-align: center;
  padding: 32px 16px;
  background: #f0fff4;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  margin-bottom: 16px;
}
.dgtk-success-icon { font-size: 40px; margin-bottom: 10px; }
.dgtk-success-msg h3 { font-size: 17px; font-weight: 700; color: #27ae60; margin-bottom: 6px; }
.dgtk-success-msg p  { font-size: 13px; color: #555; }

/* ── ABOUT PAGE ── */

/* Team grid */
.dgtk-team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 4px;
}
.dgtk-team-card {
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 18px 14px;
  text-align: center;
  transition: box-shadow .2s, transform .15s;
}
.dgtk-team-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
  transform: translateY(-2px);
}
[data-theme="dark"] .dgtk-team-card {
  background: #1e1e30;
  border-color: #2a2a3e;
}
.dgtk-team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  margin: 0 auto 10px;
  flex-shrink: 0;
}
.dgtk-team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.dgtk-team-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
}
.dgtk-team-role {
  font-size: 10px;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 8px;
}
.dgtk-team-bio {
  font-size: 11px;
  color: #888;
  line-height: 1.55;
}

/* ── CONTACT PAGE ── */

/* Contact info grid */
.dgtk-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 4px;
}
.dgtk-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 8px;
}
[data-theme="dark"] .dgtk-contact-item {
  background: #1e1e30;
  border-color: #2a2a3e;
}
.dgtk-contact-icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.dgtk-contact-label {
  font-size: 11px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: .4px;
  margin-bottom: 3px;
}
.dgtk-contact-value {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  display: block;
}
a.dgtk-contact-value:hover { color: var(--red); }

/* Social buttons row */
.dgtk-social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.dgtk-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  transition: opacity .2s, transform .15s;
  text-decoration: none;
}
.dgtk-social-btn:hover { opacity: .85; transform: translateY(-1px); color: #fff; }
.dgtk-social-btn--twitter   { background: #000; }
.dgtk-social-btn--facebook  { background: #1877f2; }
.dgtk-social-btn--instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.dgtk-social-btn--youtube   { background: #ff0000; }
.dgtk-social-btn--tiktok    { background: #010101; }

/* ── ADVERTISE PAGE ── */

/* 4-column packages grid */
.dgtk-packages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 4px;
}
.dgtk-package-card {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: box-shadow .2s, transform .15s;
  background: #fff;
}
.dgtk-package-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
  transform: translateY(-3px);
}
[data-theme="dark"] .dgtk-package-card {
  background: #1e1e30;
  border-color: #2a2a3e;
}
.dgtk-package-card--featured {
  border-color: var(--red);
  box-shadow: 0 4px 16px rgba(227,6,19,.15);
}
.dgtk-package-badge {
  position: absolute;
  top: 10px; right: 10px;
  background: #fff;
  color: var(--red);
  font-size: 9px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.dgtk-package-header {
  padding: 20px 16px 14px;
  text-align: center;
}
.dgtk-package-icon { font-size: 28px; margin-bottom: 6px; }
.dgtk-package-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.dgtk-package-body { padding: 14px 16px 16px; }
.dgtk-package-features {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}
.dgtk-package-features li {
  font-size: 11px;
  color: #555;
  padding: 4px 0;
  border-bottom: 1px solid #f5f5f5;
  line-height: 1.4;
}
.dgtk-package-features li:last-child { border-bottom: none; }
[data-theme="dark"] .dgtk-package-features li { color: #bbb; border-bottom-color: #2a2a3e; }
.dgtk-package-price {
  font-size: 12px;
  color: #888;
  text-align: center;
}
.dgtk-package-price strong {
  font-size: 18px;
  color: var(--red);
  font-weight: 800;
}

/* Brand logo row */
.dgtk-brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.dgtk-brand-logo {
  padding: 10px 20px;
  background: #f5f5f5;
  border: 1px solid #eee;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #888;
  letter-spacing: .5px;
}
[data-theme="dark"] .dgtk-brand-logo {
  background: #1e1e30;
  border-color: #2a2a3e;
  color: #666;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .dgtk-packages-grid { grid-template-columns: 1fr 1fr; }
  .dgtk-stats-row     { grid-template-columns: repeat(3, 1fr); }
  .dgtk-team-grid     { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .dgtk-standards-grid  { grid-template-columns: 1fr; }
  .dgtk-packages-grid   { grid-template-columns: 1fr; }
  .dgtk-stats-row       { grid-template-columns: 1fr 1fr; }
  .dgtk-team-grid       { grid-template-columns: 1fr 1fr; }
  .dgtk-contact-grid    { grid-template-columns: 1fr; }
  .dgtk-form-row--2col  { grid-template-columns: 1fr; }
  .dgtk-page-hero__title { font-size: 22px; }
  .dgtk-cta-card        { flex-direction: column; }
  .dgtk-cta-actions     { width: 100%; }
  .dgtk-cta-actions .dgtk-btn { flex: 1; justify-content: center; }
}
