/* === Block 1 === */
.dersec-card-widget {
  max-width: 1200px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 60px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.dcw-inner {
  display: flex;
  gap: 60px;
  align-items: center;
}
.dcw-inner.dcw-reversed {
  flex-direction: row;
}
.dcw-image {
  flex: 0 0 45%;
}
.dcw-image img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.dcw-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.dcw-text h2 {
  font-size: 36px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.2;
  margin: 0;
}
.dcw-text p {
  font-size: 17px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}
.dcw-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #3b82f6;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  transition: all 0.2s ease;
}
.dcw-btn:hover {
  background: #2563eb;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59,130,246,0.4);
}
@media (max-width: 1024px) {
  .dcw-inner, .dcw-inner.dcw-reversed {
    flex-direction: column;
  }
  .dcw-image {
    flex: 0 0 100%;
  }
}
@media (max-width: 768px) {
  .dersec-card-widget {
    padding: 32px 24px;
  }
  .dcw-text h2 {
    font-size: 28px;
  }
  .dcw-inner {
    gap: 32px;
  }
}


/* Dark widget buttons and links - BRIGHT BLUE (same as white widgets) */

/* Card widget buttons in dark theme */
.dersec-card-widget.dark .dcw-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #3b82f6 !important;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.dersec-card-widget.dark .dcw-btn:hover {
  background: #2563eb !important;
  transform: translateY(-1px);
}

/* Capabilities widget links in dark theme */
.dc3-wrapper.dark .dc3-link,
.dc4-wrapper.dark .dc4-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}

.dc3-wrapper.dark .dc3-link:hover,
.dc4-wrapper.dark .dc4-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Grid widget links in dark theme */
.dgw-card.dark .dgw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dgw-card.dark .dgw-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* Program card links in dark theme */
.dp-card.dark .dp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dp-card.dark .dp-card-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Stories widget links in dark theme */
.dst-card.dark .dst-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dst-card.dark .dst-link:hover {
  gap: 10px;
  color: #93c5fd !important;
}

/* News card links in dark theme */
.dn-card.dark .dn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dn-card.dark .dn-card-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* SVG arrows in links - make them visible in dark theme */
.dersec-card-widget.dark .dcw-btn svg,
.dc3-wrapper.dark svg,
.dc4-wrapper.dark svg,
.dgw-card.dark svg,
.dp-card.dark svg,
.dst-card.dark svg,
.dn-card.dark svg {
  stroke: currentColor;
}



/* Active Tab - Bright Blue Gradient */
.dc3-wrapper.dark .dc3-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

.dc4-wrapper.dark .dc4-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

/* === Block 2 === */
/* === DERSec Flexible Grid Widget === */
.dersec-grid-widget {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.dersec-grid-widget .dgw-heading {
  font-size: 36px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 40px 0;
}
.dgw-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.dgw-card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 44px 36px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
.dgw-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59,130,246,0.25);
}
/* Image card variant */
.dgw-card.dgw-image-card {
  padding: 0;
  overflow: hidden;
  min-height: 280px;
}
.dgw-card.dgw-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}
/* Text content inside cards */
.dgw-card h3 {
  font-size: 22px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.4;
  margin: 0 0 auto 0;
}
.dgw-card p {
  font-size: 15px;
  color: #475569;
  line-height: 1.6;
  margin: 16px 0 0 0;
}
.dgw-card .dgw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}
.dgw-card .dgw-link:hover {
  gap: 12px;
}
.dgw-card .dgw-link svg {
  width: 20px;
  height: 20px;
}
/* Responsive */
@media (max-width: 768px) {
  .dgw-grid {
    grid-template-columns: 1fr;
  }
  .dersec-grid-widget .dgw-heading {
    font-size: 28px;
  }
  .dgw-card {
    padding: 32px 28px;
    min-height: 220px;
  }
}


/* Dark widget buttons and links - BRIGHT BLUE (same as white widgets) */

/* Card widget buttons in dark theme */
.dersec-card-widget.dark .dcw-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #3b82f6 !important;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.dersec-card-widget.dark .dcw-btn:hover {
  background: #2563eb !important;
  transform: translateY(-1px);
}

/* Capabilities widget links in dark theme */
.dc3-wrapper.dark .dc3-link,
.dc4-wrapper.dark .dc4-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}

.dc3-wrapper.dark .dc3-link:hover,
.dc4-wrapper.dark .dc4-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Grid widget links in dark theme */
.dgw-card.dark .dgw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dgw-card.dark .dgw-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* Program card links in dark theme */
.dp-card.dark .dp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dp-card.dark .dp-card-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Stories widget links in dark theme */
.dst-card.dark .dst-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dst-card.dark .dst-link:hover {
  gap: 10px;
  color: #93c5fd !important;
}

/* News card links in dark theme */
.dn-card.dark .dn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dn-card.dark .dn-card-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* SVG arrows in links - make them visible in dark theme */
.dersec-card-widget.dark .dcw-btn svg,
.dc3-wrapper.dark svg,
.dc4-wrapper.dark svg,
.dgw-card.dark svg,
.dp-card.dark svg,
.dst-card.dark svg,
.dn-card.dark svg {
  stroke: currentColor;
}



/* Active Tab - Bright Blue Gradient */
.dc3-wrapper.dark .dc3-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

.dc4-wrapper.dark .dc4-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

/* === Block 3 === */
/* === DERSec Program Cards Widget (AWS Accelerator style) === */
.dersec-programs {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.dersec-programs .dp-intro {
  font-size: 17px;
  color: #475569;
  line-height: 1.7;
  margin: 0 0 40px 0;
  max-width: 900px;
}
.dp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.dp-card {
  background: #FFFFFF;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.dp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  border-color: #cbd5e1;
}
.dp-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}
.dp-card-body {
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.dp-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
  margin: 0 0 16px 0;
}
.dp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.dp-tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}
.dp-card-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}
.dp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}
.dp-card-link:hover {
  gap: 10px;
  color: #2563eb;
}
.dp-card-link svg {
  width: 18px;
  height: 18px;
}
@media (max-width: 1024px) {
  .dp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .dp-grid {
    grid-template-columns: 1fr;
  }
  .dp-card-body {
    padding: 24px 20px 20px;
  }
}


/* Dark widget buttons and links - BRIGHT BLUE (same as white widgets) */

/* Card widget buttons in dark theme */
.dersec-card-widget.dark .dcw-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #3b82f6 !important;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.dersec-card-widget.dark .dcw-btn:hover {
  background: #2563eb !important;
  transform: translateY(-1px);
}

/* Capabilities widget links in dark theme */
.dc3-wrapper.dark .dc3-link,
.dc4-wrapper.dark .dc4-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}

.dc3-wrapper.dark .dc3-link:hover,
.dc4-wrapper.dark .dc4-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Grid widget links in dark theme */
.dgw-card.dark .dgw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dgw-card.dark .dgw-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* Program card links in dark theme */
.dp-card.dark .dp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dp-card.dark .dp-card-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Stories widget links in dark theme */
.dst-card.dark .dst-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dst-card.dark .dst-link:hover {
  gap: 10px;
  color: #93c5fd !important;
}

/* News card links in dark theme */
.dn-card.dark .dn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dn-card.dark .dn-card-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* SVG arrows in links - make them visible in dark theme */
.dersec-card-widget.dark .dcw-btn svg,
.dc3-wrapper.dark svg,
.dc4-wrapper.dark svg,
.dgw-card.dark svg,
.dp-card.dark svg,
.dst-card.dark svg,
.dn-card.dark svg {
  stroke: currentColor;
}



/* Active Tab - Bright Blue Gradient */
.dc3-wrapper.dark .dc3-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

.dc4-wrapper.dark .dc4-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

/* === Block 4 === */
/* === DERSec Product Showcase 2x2 Grid === */
.dersec-showcase {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.ds-wrapper {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 52px 48px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.ds-wrapper.ds-dark {
  background: linear-gradient(135deg, #0a0f1e 0%, #141b2e 100%);
  border-color: rgba(255,255,255,0.06);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
.ds-header {
  margin-bottom: 40px;
}
.ds-heading {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 12px 0;
  line-height: 1.2;
}
.ds-dark .ds-heading {
  color: #f1f5f9;
}
.ds-subtext {
  font-size: 16px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
  max-width: 800px;
}
.ds-dark .ds-subtext {
  color: #94a3b8;
}
.ds-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.ds-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px 24px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: all 0.3s ease;
}
.ds-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}
.ds-dark .ds-card {
  background: rgba(15,23,42,0.6);
  border-color: rgba(255,255,255,0.08);
}
.ds-dark .ds-card:hover {
  background: rgba(255,255,255,0.04);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  border-color: rgba(255,255,255,0.12);
}
.ds-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ds-card-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.ds-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 2px;
  width: fit-content;
}
.ds-card-name {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}
.ds-card-name a {
  text-decoration: none;
  transition: opacity 0.2s;
}
.ds-card-name a:hover {
  opacity: 0.8;
}
.ds-card-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}
.ds-dark .ds-card-desc {
  color: #94a3b8;
}
.ds-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 8px;
  transition: gap 0.3s ease;
}
.ds-card-cta:hover {
  gap: 10px;
}
.ds-card-cta svg {
  width: 16px;
  height: 16px;
}
@media (max-width: 768px) {
  .ds-wrapper {
    padding: 32px 24px;
    border-radius: 12px;
  }
  .ds-grid {
    grid-template-columns: 1fr;
  }
  .ds-heading {
    font-size: 26px;
  }
}


/* Dark widget buttons and links - BRIGHT BLUE (same as white widgets) */

/* Card widget buttons in dark theme */
.dersec-card-widget.dark .dcw-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #3b82f6 !important;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.dersec-card-widget.dark .dcw-btn:hover {
  background: #2563eb !important;
  transform: translateY(-1px);
}

/* Capabilities widget links in dark theme */
.dc3-wrapper.dark .dc3-link,
.dc4-wrapper.dark .dc4-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}

.dc3-wrapper.dark .dc3-link:hover,
.dc4-wrapper.dark .dc4-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Grid widget links in dark theme */
.dgw-card.dark .dgw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dgw-card.dark .dgw-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* Program card links in dark theme */
.dp-card.dark .dp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dp-card.dark .dp-card-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Stories widget links in dark theme */
.dst-card.dark .dst-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dst-card.dark .dst-link:hover {
  gap: 10px;
  color: #93c5fd !important;
}

/* News card links in dark theme */
.dn-card.dark .dn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dn-card.dark .dn-card-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* SVG arrows in links - make them visible in dark theme */
.dersec-card-widget.dark .dcw-btn svg,
.dc3-wrapper.dark svg,
.dc4-wrapper.dark svg,
.dgw-card.dark svg,
.dp-card.dark svg,
.dst-card.dark svg,
.dn-card.dark svg {
  stroke: currentColor;
}



/* Active Tab - Bright Blue Gradient */
.dc3-wrapper.dark .dc3-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

.dc4-wrapper.dark .dc4-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

/* === Block 5 === */
/* === DERSec Customer Stories Grid === */
.dersec-stories {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.dst-heading {
  font-size: 36px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 48px 0;
  line-height: 1.2;
}
.dst-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.dst-card {
  background: #1a2332;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}
.dst-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 15px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(59,130,246,0), rgba(59,130,246,0), rgba(139,92,246,0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
.dst-card:hover::before {
  background: linear-gradient(135deg, rgba(59,130,246,0.6), rgba(139,92,246,0.4), rgba(6,182,212,0.5));
  opacity: 1;
}
.dst-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 0 20px rgba(59,130,246,0.15),
    0 0 40px rgba(59,130,246,0.08),
    0 20px 40px rgba(0,0,0,0.25);
  border-color: rgba(59,130,246,0.3);
}
.dst-video {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, #111827 0%, #0a0f1e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.dst-video::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(59,130,246,0.05) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.dst-card:hover .dst-video::after {
  opacity: 1;
}
.dst-logo {
  position: absolute;
  top: 20px;
  left: 20px;
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.3s ease;
}
.dst-card:hover .dst-logo {
  opacity: 1;
}
.dst-play {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  z-index: 2;
}
.dst-card:hover .dst-play {
  transform: scale(1.12);
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(59,130,246,0.3);
}
.dst-body {
  padding: 24px;
}
.dst-title {
  font-size: 17px;
  font-weight: 600;
  color: #f1f5f9;
  line-height: 1.45;
  margin: 0 0 10px 0;
  transition: color 0.3s ease;
}
.dst-card:hover .dst-title {
  color: #ffffff;
}
.dst-desc {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0 0 16px 0;
  transition: color 0.3s ease;
}
.dst-card:hover .dst-desc {
  color: #cbd5e1;
}
.dst-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}
.dst-link:hover {
  gap: 10px;
  color: #93c5fd;
}
.dst-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}
.dst-card:hover .dst-link svg {
  transform: translateX(2px);
}
@media (max-width: 1024px) {
  .dst-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .dst-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .dst-heading {
    font-size: 28px;
  }
}


/* Dark widget buttons and links - BRIGHT BLUE (same as white widgets) */

/* Card widget buttons in dark theme */
.dersec-card-widget.dark .dcw-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #3b82f6 !important;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.dersec-card-widget.dark .dcw-btn:hover {
  background: #2563eb !important;
  transform: translateY(-1px);
}

/* Capabilities widget links in dark theme */
.dc3-wrapper.dark .dc3-link,
.dc4-wrapper.dark .dc4-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}

.dc3-wrapper.dark .dc3-link:hover,
.dc4-wrapper.dark .dc4-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Grid widget links in dark theme */
.dgw-card.dark .dgw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dgw-card.dark .dgw-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* Program card links in dark theme */
.dp-card.dark .dp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dp-card.dark .dp-card-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Stories widget links in dark theme */
.dst-card.dark .dst-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dst-card.dark .dst-link:hover {
  gap: 10px;
  color: #93c5fd !important;
}

/* News card links in dark theme */
.dn-card.dark .dn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dn-card.dark .dn-card-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* SVG arrows in links - make them visible in dark theme */
.dersec-card-widget.dark .dcw-btn svg,
.dc3-wrapper.dark svg,
.dc4-wrapper.dark svg,
.dgw-card.dark svg,
.dp-card.dark svg,
.dst-card.dark svg,
.dn-card.dark svg {
  stroke: currentColor;
}



/* Active Tab - Bright Blue Gradient */
.dc3-wrapper.dark .dc3-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

.dc4-wrapper.dark .dc4-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

/* === Block 6 === */
/* === DERSec Latest News Cards === */
.dersec-news {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.dn-heading {
  font-size: 32px;
  font-weight: 700;
  color: #f1f5f9;
  margin: 0 0 36px 0;
  line-height: 1.2;
}
.dn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.dn-card {
  background: #FFFFFF;
  border-radius: 16px;
  display: flex;
  align-items: stretch;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid #e2e8f0;
  transition: all 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
  min-height: 260px;
}
.dn-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(59,130,246,0.2);
  border-color: rgba(59,130,246,0.15);
}
.dn-card-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
}
.dn-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 auto 0;
}
.dn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}
.dn-card-link:hover {
  gap: 12px;
  color: #2563eb;
}
.dn-card-link svg {
  width: 18px;
  height: 18px;
}
.dn-card-img-wrap {
  width: 220px;
  min-width: 220px;
  position: relative;
  overflow: hidden;
}
.dn-card-img-wrap::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 12px;
  background: radial-gradient(ellipse at center, rgba(59,130,246,0.12) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.dn-card:hover .dn-card-img-wrap::after {
  opacity: 1;
}
.dn-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0 16px 16px 0;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94);
}
.dn-card:hover .dn-card-img {
  transform: scale(1.04);
}
@media (max-width: 1024px) {
  .dn-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .dn-card {
    flex-direction: column;
  }
  .dn-card-img-wrap {
    width: 100%;
    min-width: 0;
    height: 180px;
    order: -1;
  }
  .dn-card-img {
    border-radius: 16px 16px 0 0;
  }
}

/* === DERSec Capabilities Tabs v3 === */
.dersec-cap3 {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.dc3-wrapper {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 56px 52px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.dc3-header {
  margin-bottom: 40px;
}
.dc3-heading {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px 0;
  line-height: 1.2;
}
.dc3-subtext {
  font-size: 16px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
  max-width: 820px;
}
.dc3-main {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.dc3-left {
  flex: 1;
  min-width: 0;
}
.dc3-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.dc3-tab {
  padding: 10px 22px;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.dc3-tab:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #1e293b;
}
.dc3-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}
.dc3-tab.visited {
  background: linear-gradient(135deg, #bfdbfe, #dbeafe);
  color: #1d4ed8;
  border-color: rgba(37,99,235,0.15);
}
.dc3-panel {
  display: none;
  animation: dc3FadeIn 0.35s ease;
}
.dc3-panel.active {
  display: block;
}
@keyframes dc3FadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.dc3-panel h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px 0;
  line-height: 1.3;
}
.dc3-panel p {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  margin: 0 0 20px 0;
}
.dc3-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}
.dc3-link:hover {
  gap: 10px;
  color: #2563eb;
}
.dc3-link svg {
  width: 18px;
  height: 18px;
}
.dc3-right {
  width: 400px;
  min-width: 400px;
}
.dc3-img-wrap {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.dc3-img-wrap::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: radial-gradient(ellipse at 60% 40%, rgba(59,130,246,0.15) 0%, transparent 65%);
  pointer-events: none;
}
.dc3-img-wrap img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.dc3-img-wrap:hover img {
  transform: scale(1.03);
}
/* Dynamic image variant */
.dc3-dyn-img {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  border-radius: 16px;
}
.dc3-dyn-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.6s ease;
}
.dc3-dyn-img img.active {
  opacity: 1;
}
.dc3-dyn-img:hover img.active {
  transform: scale(1.03);
}
@media (max-width: 900px) {
  .dc3-main {
    flex-direction: column;
  }
  .dc3-right {
    width: 100%;
    min-width: 0;
  }
  .dc3-wrapper {
    padding: 36px 28px;
  }
}


/* Dark widget buttons and links - BRIGHT BLUE (same as white widgets) */

/* Card widget buttons in dark theme */
.dersec-card-widget.dark .dcw-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #3b82f6 !important;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.dersec-card-widget.dark .dcw-btn:hover {
  background: #2563eb !important;
  transform: translateY(-1px);
}

/* Capabilities widget links in dark theme */
.dc3-wrapper.dark .dc3-link,
.dc4-wrapper.dark .dc4-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}

.dc3-wrapper.dark .dc3-link:hover,
.dc4-wrapper.dark .dc4-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Grid widget links in dark theme */
.dgw-card.dark .dgw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dgw-card.dark .dgw-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* Program card links in dark theme */
.dp-card.dark .dp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dp-card.dark .dp-card-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Stories widget links in dark theme */
.dst-card.dark .dst-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dst-card.dark .dst-link:hover {
  gap: 10px;
  color: #93c5fd !important;
}

/* News card links in dark theme */
.dn-card.dark .dn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dn-card.dark .dn-card-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* SVG arrows in links - make them visible in dark theme */
.dersec-card-widget.dark .dcw-btn svg,
.dc3-wrapper.dark svg,
.dc4-wrapper.dark svg,
.dgw-card.dark svg,
.dp-card.dark svg,
.dst-card.dark svg,
.dn-card.dark svg {
  stroke: currentColor;
}



/* Active Tab - Bright Blue Gradient */
.dc3-wrapper.dark .dc3-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

.dc4-wrapper.dark .dc4-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

/* === Block 7 === */
/* === DERSec Capabilities v4 - Bedrock-Style Gradient Tabs === */
.dersec-cap4 {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
.dc4-wrapper {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 56px 52px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.dc4-header { margin-bottom: 40px; }
.dc4-heading {
  font-size: 32px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px 0;
  line-height: 1.2;
}
.dc4-subtext {
  font-size: 16px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
  max-width: 820px;
}
.dc4-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 40px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}
.dc4-tab {
  flex: 1;
  padding: 14px 20px;
  border: none;
  background: #f8fafc;
  color: #475569;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
  border-right: 1px solid #e2e8f0;
}
.dc4-tab:last-child { border-right: none; }
.dc4-tab:hover {
  background: #f1f5f9;
  color: #1e293b;
}
.dc4-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3);
}
.dc4-tab.visited {
  background: linear-gradient(135deg, #bfdbfe, #dbeafe);
  color: #1d4ed8;
  border-color: rgba(37,99,235,0.15);
}
.dc4-main {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.dc4-left { flex: 1; min-width: 0; }
.dc4-panel {
  display: none;
  animation: dc4Fade 0.35s ease;
}
.dc4-panel.active { display: block; }
@keyframes dc4Fade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.dc4-panel h3 {
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 14px 0;
  line-height: 1.3;
}
.dc4-panel p {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  margin: 0 0 20px 0;
}
.dc4-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}
.dc4-link:hover { gap: 10px; color: #2563eb; }
.dc4-link svg { width: 18px; height: 18px; }
.dc4-right {
  width: 400px;
  min-width: 400px;
}
.dc4-img-stack {
  position: relative;
  width: 100%;
  height: 340px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.dc4-img-stack::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: radial-gradient(ellipse at 60% 40%, rgba(59,130,246,0.12) 0%, transparent 65%);
  pointer-events: none;
  z-index: 2;
}
.dc4-img-stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.6s ease;
}
.dc4-img-stack img.active {
  opacity: 1;
}
.dc4-img-stack:hover img.active {
  transform: scale(1.03);
}
@media (max-width: 900px) {
  .dc4-main { flex-direction: column; }
  .dc4-right { width: 100%; min-width: 0; }
  .dc4-wrapper { padding: 36px 28px; }
  .dc4-tabs { flex-wrap: wrap; }
  .dc4-tab { flex: none; }
}

.dc3-tab {
  border-radius: 0 !important;
  border: none !important;
  border-right: 1px solid #e2e8f0 !important;
  flex: 1 !important;
  padding: 12px 18px !important;
  background: #f8fafc !important;
  font-size: 14px !important;
  text-align: center !important;
}
.dc3-tab:last-child { border-right: none !important; }
.dc3-tab:hover {
  background: #f1f5f9 !important;
  color: #1e293b !important;
}
.dc3-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}
.dc3-tab.visited {
  background: linear-gradient(135deg, #bfdbfe, #dbeafe) !important;
  color: #1d4ed8 !important;
  border-color: rgba(37,99,235,0.15) !important;
}


/* Dark widget buttons and links - BRIGHT BLUE (same as white widgets) */

/* Card widget buttons in dark theme */
.dersec-card-widget.dark .dcw-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #3b82f6 !important;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.dersec-card-widget.dark .dcw-btn:hover {
  background: #2563eb !important;
  transform: translateY(-1px);
}

/* Capabilities widget links in dark theme */
.dc3-wrapper.dark .dc3-link,
.dc4-wrapper.dark .dc4-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}

.dc3-wrapper.dark .dc3-link:hover,
.dc4-wrapper.dark .dc4-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Grid widget links in dark theme */
.dgw-card.dark .dgw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dgw-card.dark .dgw-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* Program card links in dark theme */
.dp-card.dark .dp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dp-card.dark .dp-card-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Stories widget links in dark theme */
.dst-card.dark .dst-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dst-card.dark .dst-link:hover {
  gap: 10px;
  color: #93c5fd !important;
}

/* News card links in dark theme */
.dn-card.dark .dn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dn-card.dark .dn-card-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* SVG arrows in links - make them visible in dark theme */
.dersec-card-widget.dark .dcw-btn svg,
.dc3-wrapper.dark svg,
.dc4-wrapper.dark svg,
.dgw-card.dark svg,
.dp-card.dark svg,
.dst-card.dark svg,
.dn-card.dark svg {
  stroke: currentColor;
}



/* Active Tab - Bright Blue Gradient */
.dc3-wrapper.dark .dc3-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

.dc4-wrapper.dark .dc4-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

/* === Block 8 === */
/* === DERSec Product Showcase v3 — Clean Enterprise (No color lines) === */
.ds-card {
  border-left: none !important;
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 14px !important;
  padding: 28px 24px !important;
  display: flex !important;
  gap: 18px !important;
  align-items: flex-start !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
  cursor: pointer !important;
}
.ds-card:hover {
  transform: none !important;
  border-color: #cbd5e1 !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06) !important;
  background: #ffffff !important;
}
.ds-dark .ds-card {
  background: rgba(255,255,255,0.03) !important;
  border-color: rgba(255,255,255,0.08) !important;
}
.ds-dark .ds-card:hover {
  background: rgba(255,255,255,0.06) !important;
  border-color: rgba(255,255,255,0.14) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2) !important;
  transform: none !important;
}


/* Dark widget buttons and links - BRIGHT BLUE (same as white widgets) */

/* Card widget buttons in dark theme */
.dersec-card-widget.dark .dcw-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #3b82f6 !important;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.dersec-card-widget.dark .dcw-btn:hover {
  background: #2563eb !important;
  transform: translateY(-1px);
}

/* Capabilities widget links in dark theme */
.dc3-wrapper.dark .dc3-link,
.dc4-wrapper.dark .dc4-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}

.dc3-wrapper.dark .dc3-link:hover,
.dc4-wrapper.dark .dc4-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Grid widget links in dark theme */
.dgw-card.dark .dgw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dgw-card.dark .dgw-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* Program card links in dark theme */
.dp-card.dark .dp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dp-card.dark .dp-card-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Stories widget links in dark theme */
.dst-card.dark .dst-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dst-card.dark .dst-link:hover {
  gap: 10px;
  color: #93c5fd !important;
}

/* News card links in dark theme */
.dn-card.dark .dn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dn-card.dark .dn-card-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* SVG arrows in links - make them visible in dark theme */
.dersec-card-widget.dark .dcw-btn svg,
.dc3-wrapper.dark svg,
.dc4-wrapper.dark svg,
.dgw-card.dark svg,
.dp-card.dark svg,
.dst-card.dark svg,
.dn-card.dark svg {
  stroke: currentColor;
}



/* Active Tab - Bright Blue Gradient */
.dc3-wrapper.dark .dc3-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

.dc4-wrapper.dark .dc4-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

/* === Block 9 === */
/* === DERSec Trust Wall Widget Variants === */

/* --- Variant A: Scrolling Marquee --- */
.tw-v-a {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Outfit', -apple-system, sans-serif;
  text-align: center;
}
.tw-v-a .twa-label {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.tw-v-a .twa-strip {
  position: relative;
  overflow: hidden;
  padding: 0;
}
.tw-v-a .twa-strip::before,
.tw-v-a .twa-strip::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.tw-v-a .twa-strip::before {
  left: 0;
  background: linear-gradient(to right, #0f172a, transparent);
}
.tw-v-a .twa-strip::after {
  right: 0;
  background: linear-gradient(to left, #0f172a, transparent);
}
.tw-v-a .twa-track {
  display: flex;
  align-items: center;
  animation: twaScroll 40s linear infinite;
  width: max-content;
}
.tw-v-a .twa-track:hover {
  animation-play-state: paused;
}
@keyframes twaScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.tw-v-a .tw-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 36px;
  height: 60px;
}
.tw-v-a .tw-logo img {
  max-height: 38px;
  max-width: 140px;
  object-fit: contain;
  opacity: 0.7;
  transition: all 0.4s ease;
}
.tw-v-a .tw-logo img:hover {
  opacity: 1;
  transform: scale(1.08);
  filter: drop-shadow(0 0 8px rgba(148,163,184,0.3));
}

/* --- Variant B: Glass Pills --- */
.tw-v-b {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Outfit', -apple-system, sans-serif;
  text-align: center;
}
.tw-v-b .twb-label {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.tw-v-b .twb-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 1100px;
  margin: 0 auto;
}
.tw-v-b .tw-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  height: 60px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 12px;
  transition: all 0.35s ease;
  cursor: pointer;
}
.tw-v-b .tw-pill:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(96,165,250,0.3);
  box-shadow: 0 0 24px rgba(59,130,246,0.1), 0 0 0 1px rgba(96,165,250,0.12);
  transform: translateY(-2px);
}
.tw-v-b .tw-pill img {
  max-height: 30px;
  max-width: 130px;
  object-fit: contain;
  opacity: 0.75;
  transition: all 0.4s ease;
}
.tw-v-b .tw-pill:hover img {
  opacity: 1;
}

/* --- Variant C: Minimal Row --- */
.tw-v-c {
  max-width: 1200px;
  margin: 0 auto;
  font-family: 'Outfit', -apple-system, sans-serif;
  text-align: center;
}
.tw-v-c .twc-label {
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 32px;
}
.tw-v-c .twc-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
  padding: 24px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tw-v-c .tw-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 44px;
  height: 54px;
  position: relative;
}
.tw-v-c .tw-item::after {
  content: '';
  position: absolute;
  right: 0;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: rgba(255,255,255,0.08);
}
.tw-v-c .tw-item:last-child::after {
  display: none;
}
.tw-v-c .tw-item img {
  max-height: 34px;
  max-width: 130px;
  object-fit: contain;
  opacity: 0.8;
  transition: all 0.3s ease;
}
.tw-v-c .tw-item:hover img {
  opacity: 1;
}


/* Dark widget buttons and links - BRIGHT BLUE (same as white widgets) */

/* Card widget buttons in dark theme */
.dersec-card-widget.dark .dcw-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #3b82f6 !important;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.dersec-card-widget.dark .dcw-btn:hover {
  background: #2563eb !important;
  transform: translateY(-1px);
}

/* Capabilities widget links in dark theme */
.dc3-wrapper.dark .dc3-link,
.dc4-wrapper.dark .dc4-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}

.dc3-wrapper.dark .dc3-link:hover,
.dc4-wrapper.dark .dc4-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Grid widget links in dark theme */
.dgw-card.dark .dgw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dgw-card.dark .dgw-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* Program card links in dark theme */
.dp-card.dark .dp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dp-card.dark .dp-card-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Stories widget links in dark theme */
.dst-card.dark .dst-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dst-card.dark .dst-link:hover {
  gap: 10px;
  color: #93c5fd !important;
}

/* News card links in dark theme */
.dn-card.dark .dn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dn-card.dark .dn-card-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* SVG arrows in links - make them visible in dark theme */
.dersec-card-widget.dark .dcw-btn svg,
.dc3-wrapper.dark svg,
.dc4-wrapper.dark svg,
.dgw-card.dark svg,
.dp-card.dark svg,
.dst-card.dark svg,
.dn-card.dark svg {
  stroke: currentColor;
}



/* Active Tab - Bright Blue Gradient */
.dc3-wrapper.dark .dc3-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

.dc4-wrapper.dark .dc4-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

/* === Block 10 === */
/* ============================================================
   DARK THEME VERSIONS - DERSec Widget Library
   ============================================================ */

/* === Dark Card Widget === */
.dersec-card-widget.dark {
  background: linear-gradient(135deg, #0a0f1e 0%, #141b2e 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
}
.dersec-card-widget.dark .dcw-text h2 {
  color: #f1f5f9;
}
.dersec-card-widget.dark .dcw-text p {
  color: #94a3b8;
}

/* === Dark Grid Cards === */
.dgw-card.dark {
  background: linear-gradient(135deg, #0a0f1e 0%, #141b2e 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.dgw-card.dark:hover {
  border-color: rgba(59,130,246,0.3);
  box-shadow: 0 12px 40px rgba(59,130,246,0.15);
}
.dgw-card.dark h3 {
  color: #f1f5f9;
}
.dgw-card.dark p {
  color: #94a3b8;
}

/* === Dark Program Cards === */
.dp-card.dark {
  background: linear-gradient(135deg, #0a0f1e 0%, #141b2e 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.dp-card.dark:hover {
  border-color: rgba(59,130,246,0.25);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}
.dp-card.dark .dp-card-title {
  color: #f1f5f9;
}
.dp-card.dark .dp-card-desc {
  color: #94a3b8;
}
.dp-card.dark .dp-tag {
  border-color: rgba(255,255,255,0.12);
  color: #94a3b8;
  background: rgba(255,255,255,0.03);
}

/* === Dark Showcase Wrapper === */
.ds-wrapper.ds-dark {
  /* Already has dark theme in original CSS */
  background: linear-gradient(135deg, #0a0f1e 0%, #141b2e 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* === Dark Capabilities Tabs (v3) === */
.dc3-wrapper.dark {
  background: linear-gradient(135deg, #0a0f1e 0%, #141b2e 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.dc3-wrapper.dark .dc3-heading {
  color: #f1f5f9;
}
.dc3-wrapper.dark .dc3-subtext {
  color: #94a3b8;
}
.dc3-wrapper.dark .dc3-tab {
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: #94a3b8;
}
.dc3-wrapper.dark .dc3-tab:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.12);
  color: #cbd5e1;
}
.dc3-wrapper.dark .dc3-panel h3 {
  color: #f1f5f9;
}
.dc3-wrapper.dark .dc3-panel p {
  color: #94a3b8;
}

/* === Dark Capabilities Tabs (v4) === */
.dc4-wrapper.dark {
  background: linear-gradient(135deg, #0a0f1e 0%, #141b2e 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.dc4-wrapper.dark .dc4-heading {
  color: #f1f5f9;
}
.dc4-wrapper.dark .dc4-subtext {
  color: #94a3b8;
}
.dc4-wrapper.dark .dc4-tab {
  background: rgba(255,255,255,0.03);
  color: #94a3b8;
  border-color: rgba(255,255,255,0.08);
}
.dc4-wrapper.dark .dc4-tab:hover {
  background: rgba(255,255,255,0.06);
  color: #cbd5e1;
}
.dc4-wrapper.dark .dc4-panel h3 {
  color: #f1f5f9;
}
.dc4-wrapper.dark .dc4-panel p {
  color: #94a3b8;
}

/* === Dark News Cards === */
.dn-card.dark {
  background: linear-gradient(135deg, #0a0f1e 0%, #141b2e 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.dn-card.dark:hover {
  border-color: rgba(59,130,246,0.3);
  box-shadow: 0 12px 40px rgba(59,130,246,0.15);
}
.dn-card.dark .dn-card-title {
  color: #f1f5f9;
}

/* ============================================================
   MATCHING BORDER & RADIUS STYLES
   All dark widgets inherit same border styling as white versions:
   - border-radius: 12px-20px (varies by widget)
   - border: 1px solid rgba(255,255,255,0.08)
   - Same rounded edges maintained
   ============================================================ */



/* Dark widget buttons and links - BRIGHT BLUE (same as white widgets) */

/* Card widget buttons in dark theme */
.dersec-card-widget.dark .dcw-btn {
  display: inline-block;
  padding: 12px 28px;
  background: #3b82f6 !important;
  color: white !important;
  text-decoration: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  align-self: flex-start;
  margin-top: 8px;
  transition: all 0.2s ease;
}

.dersec-card-widget.dark .dcw-btn:hover {
  background: #2563eb !important;
  transform: translateY(-1px);
}

/* Capabilities widget links in dark theme */
.dc3-wrapper.dark .dc3-link,
.dc4-wrapper.dark .dc4-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: gap 0.3s ease;
}

.dc3-wrapper.dark .dc3-link:hover,
.dc4-wrapper.dark .dc4-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Grid widget links in dark theme */
.dgw-card.dark .dgw-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dgw-card.dark .dgw-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* Program card links in dark theme */
.dp-card.dark .dp-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dp-card.dark .dp-card-link:hover {
  gap: 10px;
  color: #60a5fa !important;
}

/* Stories widget links in dark theme */
.dst-card.dark .dst-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #60a5fa !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
}

.dst-card.dark .dst-link:hover {
  gap: 10px;
  color: #93c5fd !important;
}

/* News card links in dark theme */
.dn-card.dark .dn-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #3b82f6 !important;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  margin-top: 24px;
  transition: gap 0.3s ease;
}

.dn-card.dark .dn-card-link:hover {
  gap: 12px;
  color: #60a5fa !important;
}

/* SVG arrows in links - make them visible in dark theme */
.dersec-card-widget.dark .dcw-btn svg,
.dc3-wrapper.dark svg,
.dc4-wrapper.dark svg,
.dgw-card.dark svg,
.dp-card.dark svg,
.dst-card.dark svg,
.dn-card.dark svg {
  stroke: currentColor;
}



/* Active Tab - Bright Blue Gradient */
.dc3-wrapper.dark .dc3-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}

.dc4-wrapper.dark .dc4-tab.active {
  background: linear-gradient(135deg, #2563eb, #3b82f6, #60a5fa) !important;
  color: #ffffff !important;
  border-color: transparent !important;
  box-shadow: 0 2px 8px rgba(37,99,235,0.3) !important;
}
/* Hide menu items marked as hidden */
.hidden-menu-item { display: none !important; }



/* Contact Form 7 Native DERSec Styling - FIXED VERSION */
/* DERSec Contact Form 7 - Native Dark Styling */

/* Force dark background on page for forms */
body.page-template-default {
    background: #0a0f1e !important;
    color: #ffffff !important;
}

/* Main Form Container - Matching native modal style */
.wpcf7-form,
div.wpcf7 {
    background: rgba(20, 27, 46, 0.95) !important;
    border: 1px solid rgba(148, 163, 184, 0.15) !important;
    border-radius: 16px !important;
    padding: 40px !important;
    margin: 40px auto !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
    backdrop-filter: blur(10px) !important;
    max-width: 600px !important;
    position: relative !important;
}

/* Form Title Styling */
.wpcf7 h3,
.wpcf7-form h3,
h2 + .wpcf7,
h2 + div.wpcf7 {
    color: #ffffff !important;
}

/* ALL Input Fields - Dark Theme */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 textarea,
.wpcf7 select,
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form textarea,
.wpcf7-form select {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    transition: all 0.3s ease !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    margin-bottom: 16px !important;
    line-height: 1.4 !important;
}

/* Input Focus States */
.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 input[type="url"]:focus,
.wpcf7 input[type="number"]:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus,
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form input[type="number"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    border-color: #60a5fa !important;
    outline: none !important;
    background: rgba(15, 23, 42, 1) !important;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1) !important;
}

/* Placeholder Styling */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder,
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}

/* Submit Buttons - Blue Gradient */
.wpcf7 input[type="submit"],
.wpcf7-form input[type="submit"],
.wpcf7-submit {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(96, 165, 250, 0.2) !important;
    border-radius: 8px !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    min-width: 150px !important;
    margin-top: 20px !important;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7-form input[type="submit"]:hover,
.wpcf7-submit:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 15px rgba(96, 165, 250, 0.2) !important;
}

/* Radio Button Container */
.wpcf7 .wpcf7-radio,
.wpcf7-form .wpcf7-radio {
    margin: 16px 0 !important;
}

/* Radio Button Items */
.wpcf7 .wpcf7-list-item,
.wpcf7-form .wpcf7-list-item {
    margin: 0 0 12px 0 !important;
    padding: 16px !important;
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(148, 163, 184, 0.1) !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    display: block !important;
    list-style: none !important;
}

.wpcf7 .wpcf7-list-item:hover,
.wpcf7-form .wpcf7-list-item:hover {
    background: rgba(15, 23, 42, 0.8) !important;
    border-color: rgba(96, 165, 250, 0.3) !important;
}

/* Radio Button Labels */
.wpcf7 .wpcf7-list-item label,
.wpcf7-form .wpcf7-list-item label {
    color: #f1f5f9 !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    font-size: 14px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    line-height: 1.5 !important;
}

/* Radio Button Inputs */
.wpcf7 .wpcf7-list-item input[type="radio"],
.wpcf7-form .wpcf7-list-item input[type="radio"],
.wpcf7 .wpcf7-list-item input[type="checkbox"],
.wpcf7-form .wpcf7-list-item input[type="checkbox"] {
    accent-color: #60a5fa !important;
    margin-right: 12px !important;
    margin-top: 2px !important;
    width: auto !important;
    min-width: 16px !important;
    flex-shrink: 0 !important;
}

/* Acceptance Checkboxes */
.wpcf7 .wpcf7-acceptance,
.wpcf7-form .wpcf7-acceptance {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(148, 163, 184, 0.1) !important;
    border-radius: 8px !important;
    padding: 16px !important;
    margin: 16px 0 !important;
    transition: all 0.3s ease !important;
}

.wpcf7 .wpcf7-acceptance:hover,
.wpcf7-form .wpcf7-acceptance:hover {
    background: rgba(15, 23, 42, 0.8) !important;
    border-color: rgba(96, 165, 250, 0.3) !important;
}

.wpcf7 .wpcf7-acceptance label,
.wpcf7-form .wpcf7-acceptance label {
    color: #f1f5f9 !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    display: flex !important;
    align-items: flex-start !important;
    margin: 0 !important;
}

.wpcf7 .wpcf7-acceptance input[type="checkbox"],
.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
    margin-right: 12px !important;
    margin-top: 2px !important;
    flex-shrink: 0 !important;
    accent-color: #60a5fa !important;
    width: auto !important;
}

.wpcf7 .wpcf7-acceptance a,
.wpcf7-form .wpcf7-acceptance a {
    color: #60a5fa !important;
    text-decoration: none !important;
}

.wpcf7 .wpcf7-acceptance a:hover,
.wpcf7-form .wpcf7-acceptance a:hover {
    text-decoration: underline !important;
}

/* Form Section Labels */
.wpcf7 .form-section,
.wpcf7-form .form-section {
    margin-bottom: 20px !important;
}

.wpcf7 .form-section label,
.wpcf7-form .form-section label {
    color: #f1f5f9 !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
    display: block !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Side-by-side inputs (Name fields) */
.wpcf7 .form-section input[type="text"],
.wpcf7-form .form-section input[type="text"] {
    display: inline-block !important;
    width: calc(50% - 8px) !important;
    margin-right: 16px !important;
}

.wpcf7 .form-section input[type="text"]:last-child,
.wpcf7-form .form-section input[type="text"]:last-child {
    margin-right: 0 !important;
}

/* Select Dropdown */
.wpcf7 select,
.wpcf7-form select {
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    padding-right: 40px !important;
}

/* Textarea Specific */
.wpcf7 textarea,
.wpcf7-form textarea {
    min-height: 120px !important;
    resize: vertical !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

/* Response Messages */
.wpcf7-response-output {
    background: rgba(34, 197, 94, 0.1) !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
    border-radius: 8px !important;
    padding: 16px !important;
    margin: 16px 0 !important;
    color: #22c55e !important;
    text-align: center !important;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    border-radius: 8px !important;
    padding: 16px !important;
    margin: 16px 0 !important;
    color: #ef4444 !important;
    text-align: center !important;
}

.wpcf7-mail-sent-ok {
    background: rgba(34, 197, 94, 0.1) !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
    border-radius: 8px !important;
    padding: 16px !important;
    margin: 16px 0 !important;
    color: #22c55e !important;
    text-align: center !important;
}

/* reCAPTCHA Container */
.wpcf7 .wpcf7-recaptcha,
.wpcf7-form .wpcf7-recaptcha {
    display: flex !important;
    justify-content: center !important;
    margin: 20px 0 !important;
}

/* Loading State */
.wpcf7 .ajax-loader,
.wpcf7-form .ajax-loader {
    display: inline-block !important;
    width: 16px !important;
    height: 16px !important;
    border: 2px solid transparent !important;
    border-top: 2px solid #ffffff !important;
    border-radius: 50% !important;
    animation: cf7-spin 1s linear infinite !important;
    margin-left: 8px !important;
}

@keyframes cf7-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Disabled Submit Button */
.wpcf7 input[type="submit"]:disabled,
.wpcf7-form input[type="submit"]:disabled {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .wpcf7,
    .wpcf7-form {
        padding: 24px !important;
        margin: 20px 10px !important;
        border-radius: 12px !important;
    }
    
    .wpcf7 .form-section input[type="text"],
    .wpcf7-form .form-section input[type="text"] {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 12px !important;
    }
}

/* Remove default CF7 styling */
.wpcf7 p {
/* Force Dark Form Styling - DERSec Native */
body .wpcf7,
body .wpcf7-form {
    background: rgba(20, 27, 46, 0.95) !important;
    border: 1px solid rgba(148, 163, 184, 0.15) !important;
    border-radius: 16px !important;
    padding: 40px !important;
    margin: 40px auto !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
    max-width: 600px !important;
    backdrop-filter: blur(10px) !important;
}

/* All Input Fields - Dark Theme */
body .wpcf7 input[type="text"],
body .wpcf7 input[type="email"],
body .wpcf7 input[type="tel"],
body .wpcf7-form input[type="text"],
body .wpcf7-form input[type="email"],
body .wpcf7-form input[type="tel"],
body .wpcf7 textarea,
body .wpcf7-form textarea,
body .wpcf7 select,
body .wpcf7-form select {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 16px !important;
    font-family: Inter, system-ui, sans-serif !important;
    transition: all 0.3s ease !important;
}

/* Input Focus States */
body .wpcf7 input:focus,
body .wpcf7-form input:focus,
body .wpcf7 textarea:focus,
body .wpcf7-form textarea:focus,
body .wpcf7 select:focus,
body .wpcf7-form select:focus {
    border-color: #60a5fa !important;
    outline: none !important;
    background: rgba(15, 23, 42, 1) !important;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1) !important;
}

/* Placeholder Styling */
body .wpcf7 input::placeholder,
body .wpcf7-form input::placeholder,
body .wpcf7 textarea::placeholder,
body .wpcf7-form textarea::placeholder {
    color: #64748b !important;
}

/* Submit Button Styling */
body .wpcf7 input[type="submit"],
body .wpcf7-form input[type="submit"] {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(96, 165, 250, 0.2) !important;
    border-radius: 8px !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 20px !important;
    min-width: 150px !important;
    width: auto !important;
}

body .wpcf7 input[type="submit"]:hover,
body .wpcf7-form input[type="submit"]:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 15px rgba(96, 165, 250, 0.2) !important;
}

/* Radio and Checkbox List Items */
body .wpcf7 .wpcf7-list-item,
body .wpcf7-form .wpcf7-list-item {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(148, 163, 184, 0.1) !important;
    border-radius: 8px !important;
    padding: 16px !important;
    margin-bottom: 12px !important;
    list-style: none !important;
    transition: all 0.3s ease !important;
}

body .wpcf7 .wpcf7-list-item:hover,
body .wpcf7-form .wpcf7-list-item:hover {
    background: rgba(15, 23, 42, 0.8) !important;
    border-color: rgba(96, 165, 250, 0.3) !important;
}

body .wpcf7 .wpcf7-list-item label,
body .wpcf7-form .wpcf7-list-item label {
    color: #f1f5f9 !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    font-size: 14px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    line-height: 1.5 !important;
}

body .wpcf7 .wpcf7-list-item input[type="radio"],
body .wpcf7-form .wpcf7-list-item input[type="radio"],
body .wpcf7 .wpcf7-list-item input[type="checkbox"],
body .wpcf7-form .wpcf7-list-item input[type="checkbox"] {
    accent-color: #60a5fa !important;
    margin-right: 12px !important;
    margin-top: 2px !important;
    width: auto !important;
    flex-shrink: 0 !important;
}

/* Acceptance/Agreement Checkboxes */
body .wpcf7 .wpcf7-acceptance,
body .wpcf7-form .wpcf7-acceptance {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(148, 163, 184, 0.1) !important;
    border-radius: 8px !important;
    padding: 16px !important;
    margin: 16px 0 !important;
    transition: all 0.3s ease !important;
}

body .wpcf7 .wpcf7-acceptance:hover,
body .wpcf7-form .wpcf7-acceptance:hover {
    background: rgba(15, 23, 42, 0.8) !important;
    border-color: rgba(96, 165, 250, 0.3) !important;
}

body .wpcf7 .wpcf7-acceptance label,
body .wpcf7-form .wpcf7-acceptance label {
    color: #f1f5f9 !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
}

body .wpcf7 .wpcf7-acceptance input[type="checkbox"],
body .wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
    accent-color: #60a5fa !important;
    margin-right: 12px !important;
    margin-top: 2px !important;
    width: auto !important;
    flex-shrink: 0 !important;
}

body .wpcf7 .wpcf7-acceptance a,
body .wpcf7-form .wpcf7-acceptance a {
    color: #60a5fa !important;
    text-decoration: none !important;
}

body .wpcf7 .wpcf7-acceptance a:hover,
body .wpcf7-form .wpcf7-acceptance a:hover {
    text-decoration: underline !important;
}

/* Select Dropdown Styling */
body .wpcf7 select,
body .wpcf7-form select {
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    padding-right: 40px !important;
}

/* Textarea Styling */
body .wpcf7 textarea,
body .wpcf7-form textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

/* Response Messages */
body .wpcf7-response-output {
    background: rgba(34, 197, 94, 0.1) !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
    border-radius: 8px !important;
    padding: 16px !important;
    margin: 16px 0 !important;
    color: #22c55e !important;
    text-align: center !important;
}

body .wpcf7-validation-errors {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    border-radius: 8px !important;
    padding: 16px 0 !important;
    margin: 16px 0 !important;
    color: #ef4444 !important;
    text-align: center !important;
}

/* Form Section Labels */
body .wpcf7 .form-section label,
body .wpcf7-form .form-section label {
    color: #f1f5f9 !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
    display: block !important;
}

/* Name Fields Side by Side */
body .wpcf7 .form-section input[type="text"],
body .wpcf7-form .form-section input[type="text"] {
    display: inline-block !important;
    width: calc(50% - 8px) !important;
    margin-right: 16px !important;
}

body .wpcf7 .form-section input[type="text"]:last-child,
body .wpcf7-form .form-section input[type="text"]:last-child {
    margin-right: 0 !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    body .wpcf7,
    body .wpcf7-form {
        padding: 24px !important;
        margin: 20px 10px !important;
    }
    
    body .wpcf7 .form-section input[type="text"],
    body .wpcf7-form .form-section input[type="text"] {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 12px !important;
    }
}
/* Contact Form 7 Dark Theme - Added Thu Mar 19 01:22:08 UTC 2026 */
/* Contact Form 7 Dark Theme Styling - DERSec Native */
body .wpcf7,
body .wpcf7-form {
    background: rgba(20, 27, 46, 0.95) !important;
    border: 1px solid rgba(148, 163, 184, 0.15) !important;
    border-radius: 16px !important;
    padding: 40px !important;
    margin: 40px auto !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
    max-width: 600px !important;
    backdrop-filter: blur(10px) !important;
}

/* Contact Form 7 - All Input Fields */
body .wpcf7 input[type="text"],
body .wpcf7 input[type="email"],
body .wpcf7 input[type="tel"],
body .wpcf7-form input[type="text"],
body .wpcf7-form input[type="email"],
body .wpcf7-form input[type="tel"],
body .wpcf7 textarea,
body .wpcf7-form textarea,
body .wpcf7 select,
body .wpcf7-form select {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 8px !important;
    color: #ffffff !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 16px !important;
    font-family: Inter, system-ui, sans-serif !important;
    transition: all 0.3s ease !important;
}

/* Contact Form 7 - Input Focus States */
body .wpcf7 input:focus,
body .wpcf7-form input:focus,
body .wpcf7 textarea:focus,
body .wpcf7-form textarea:focus,
body .wpcf7 select:focus,
body .wpcf7-form select:focus {
    border-color: #60a5fa !important;
    outline: none !important;
    background: rgba(15, 23, 42, 1) !important;
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1) !important;
}

/* Contact Form 7 - Placeholder Styling */
body .wpcf7 input::placeholder,
body .wpcf7-form input::placeholder,
body .wpcf7 textarea::placeholder,
body .wpcf7-form textarea::placeholder {
    color: #64748b !important;
}

/* Contact Form 7 - Submit Button */
body .wpcf7 input[type="submit"],
body .wpcf7-form input[type="submit"] {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%) !important;
    color: #ffffff !important;
    border: 1px solid rgba(96, 165, 250, 0.2) !important;
    border-radius: 8px !important;
    padding: 14px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    margin-top: 20px !important;
    min-width: 150px !important;
    width: auto !important;
}

body .wpcf7 input[type="submit"]:hover,
body .wpcf7-form input[type="submit"]:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 5px 15px rgba(96, 165, 250, 0.2) !important;
}

/* Contact Form 7 - Radio and Checkbox List Items */
body .wpcf7 .wpcf7-list-item,
body .wpcf7-form .wpcf7-list-item {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(148, 163, 184, 0.1) !important;
    border-radius: 8px !important;
    padding: 16px !important;
    margin-bottom: 12px !important;
    list-style: none !important;
    transition: all 0.3s ease !important;
}

body .wpcf7 .wpcf7-list-item:hover,
body .wpcf7-form .wpcf7-list-item:hover {
    background: rgba(15, 23, 42, 0.8) !important;
    border-color: rgba(96, 165, 250, 0.3) !important;
}

body .wpcf7 .wpcf7-list-item label,
body .wpcf7-form .wpcf7-list-item label {
    color: #f1f5f9 !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    font-size: 14px !important;
    margin: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
    line-height: 1.5 !important;
}

body .wpcf7 .wpcf7-list-item input[type="radio"],
body .wpcf7-form .wpcf7-list-item input[type="radio"],
body .wpcf7 .wpcf7-list-item input[type="checkbox"],
body .wpcf7-form .wpcf7-list-item input[type="checkbox"] {
    accent-color: #60a5fa !important;
    margin-right: 12px !important;
    margin-top: 2px !important;
    width: auto !important;
    flex-shrink: 0 !important;
}

/* Contact Form 7 - Acceptance/Agreement Checkboxes */
body .wpcf7 .wpcf7-acceptance,
body .wpcf7-form .wpcf7-acceptance {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(148, 163, 184, 0.1) !important;
    border-radius: 8px !important;
    padding: 16px !important;
    margin: 16px 0 !important;
    transition: all 0.3s ease !important;
}

body .wpcf7 .wpcf7-acceptance:hover,
body .wpcf7-form .wpcf7-acceptance:hover {
    background: rgba(15, 23, 42, 0.8) !important;
    border-color: rgba(96, 165, 250, 0.3) !important;
}

body .wpcf7 .wpcf7-acceptance label,
body .wpcf7-form .wpcf7-acceptance label {
    color: #f1f5f9 !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: flex-start !important;
}

body .wpcf7 .wpcf7-acceptance input[type="checkbox"],
body .wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
    accent-color: #60a5fa !important;
    margin-right: 12px !important;
    margin-top: 2px !important;
    width: auto !important;
    flex-shrink: 0 !important;
}

body .wpcf7 .wpcf7-acceptance a,
body .wpcf7-form .wpcf7-acceptance a {
    color: #60a5fa !important;
    text-decoration: none !important;
}

body .wpcf7 .wpcf7-acceptance a:hover,
body .wpcf7-form .wpcf7-acceptance a:hover {
    text-decoration: underline !important;
}

/* Contact Form 7 - Select Dropdown */
body .wpcf7 select,
body .wpcf7-form select {
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    background-size: 16px !important;
    padding-right: 40px !important;
}

/* Contact Form 7 - Textarea */
body .wpcf7 textarea,
body .wpcf7-form textarea {
    min-height: 120px !important;
    resize: vertical !important;
}

/* Contact Form 7 - Response Messages */
body .wpcf7-response-output {
    background: rgba(34, 197, 94, 0.1) !important;
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
    border-radius: 8px !important;
    padding: 16px !important;
    margin: 16px 0 !important;
    color: #22c55e !important;
    text-align: center !important;
}

body .wpcf7-validation-errors {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
    border-radius: 8px !important;
    padding: 16px 0 !important;
    margin: 16px 0 !important;
    color: #ef4444 !important;
    text-align: center !important;
}

/* Contact Form 7 - Form Section Labels */
body .wpcf7 .form-section label,
body .wpcf7-form .form-section label {
    color: #f1f5f9 !important;
    font-weight: 500 !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
    display: block !important;
}

/* Contact Form 7 - Mobile Responsive */
@media (max-width: 768px) {
    body .wpcf7,
    body .wpcf7-form {
        padding: 24px !important;
        margin: 20px 10px !important;
    }
}

/* Contact Form 7 - Additional Theme Override */
.wpcf7 * {
    color: inherit !important;
}

.wpcf7 input,
.wpcf7 textarea,
.wpcf7 select,
.wpcf7-form input,
.wpcf7-form textarea,
.wpcf7-form select {
    background-color: rgba(15, 23, 42, 0.8) !important;
    color: #ffffff !important;
    border-color: rgba(148, 163, 184, 0.2) !important;
}
/* ============================================
   WP Forms - Elementor Form Style Match
   Matches the Contact page Elementor Pro form
   ============================================ */

/* Override WP Forms CSS Variables for dark theme */
.wpforms-container {
    --wpforms-field-border-radius: 6px !important;
    --wpforms-field-border-style: solid !important;
    --wpforms-field-border-size: 1px !important;
    --wpforms-field-background-color: #131c2e !important;
    --wpforms-field-border-color: rgba(148, 163, 184, 0.2) !important;
    --wpforms-field-border-color-spare: rgba(148, 163, 184, 0.2) !important;
    --wpforms-field-text-color: #ffffff !important;
    --wpforms-field-menu-color: #1a2540 !important;
    --wpforms-label-color: #cbd5e1 !important;
    --wpforms-label-sublabel-color: #64748b !important;
    --wpforms-button-background-color: #3b82f6 !important;
    --wpforms-button-border-color: transparent !important;
    --wpforms-button-text-color: #ffffff !important;
    --wpforms-page-break-color: #3b82f6 !important;
}

/* Form Container - blend into page, no distinct card */
.wpforms-container,
.wpforms-container-full {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 auto !important;
    box-shadow: none !important;
    max-width: 100% !important;
}

/* When inside an Elementor section/widget, inherit the section style */
.elementor-widget-container .wpforms-container,
.elementor-widget-container .wpforms-container-full {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* Standalone form container (on plain pages) - add card style */
body:not(.elementor-page) .wpforms-container,
body:not(.elementor-page) .wpforms-container-full {
    background: rgba(17, 24, 42, 0.95) !important;
    border: 1px solid rgba(148, 163, 184, 0.12) !important;
    border-radius: 12px !important;
    padding: 36px 40px !important;
    margin: 20px auto !important;
    max-width: 600px !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2) !important;
}

/* Form element itself */
.wpforms-container .wpforms-form {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    max-width: 100% !important;
}

/* Field Labels - match Elementor label */
.wpforms-container .wpforms-field-label,
.wpforms-form .wpforms-field-label {
    color: #cbd5e1 !important;
    font-weight: 400 !important;
    margin-bottom: 8px !important;
    font-size: 14px !important;
    display: block !important;
    letter-spacing: 0 !important;
    line-height: 1.3 !important;
}

/* Sub-labels (First, Last under Name) */
.wpforms-container .wpforms-field-sublabel,
.wpforms-form .wpforms-field-sublabel {
    color: #64748b !important;
    font-size: 12px !important;
}

/* Required asterisk */
.wpforms-container .wpforms-required-label {
    color: #ef4444 !important;
}

/* All Input Fields - match Elementor input exactly */
.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="tel"],
.wpforms-container input[type="url"],
.wpforms-container input[type="password"],
.wpforms-container input[type="number"],
.wpforms-container input[type="date"],
.wpforms-container textarea,
.wpforms-container select,
.wpforms-container .choices__inner,
.wpforms-container .wpforms-field-name-first,
.wpforms-container .wpforms-field-name-last {
    background: #131c2e !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-family: inherit !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    height: auto !important;
    min-height: 42px !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

/* Focus States - subtle blue glow like Elementor */
.wpforms-container input:focus,
.wpforms-container textarea:focus,
.wpforms-container select:focus,
.wpforms-container .choices__inner.is-focused {
    border-color: rgba(96, 165, 250, 0.5) !important;
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.08) !important;
    background: #131c2e !important;
}

/* Placeholder text - match Elementor gray */
.wpforms-container input::placeholder,
.wpforms-container textarea::placeholder {
    color: #64748b !important;
    opacity: 1 !important;
}

/* Textarea sizing */
.wpforms-container textarea {
    min-height: 110px !important;
    resize: vertical !important;
}

/* Select dropdown arrow */
.wpforms-container select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%2394a3b8' d='M5 6L0 0h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 14px center !important;
    padding-right: 36px !important;
    cursor: pointer !important;
}

/* Select dropdown options */
.wpforms-container select option {
    background: #1a2540 !important;
    color: #ffffff !important;
    padding: 8px !important;
}

/* Choices.js dropdown (WP Forms Pro modern select) */
.wpforms-container .choices__inner {
    min-height: 42px !important;
    padding: 6px 14px !important;
}

.wpforms-container .choices__list--single .choices__item {
    color: #ffffff !important;
}

.wpforms-container .choices__list--dropdown,
.wpforms-container .choices__list[aria-expanded] {
    background: #1a2540 !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 6px !important;
    margin-top: 2px !important;
}

.wpforms-container .choices__list--dropdown .choices__item,
.wpforms-container .choices__item--selectable {
    color: #e2e8f0 !important;
    padding: 8px 14px !important;
}

.wpforms-container .choices__list--dropdown .choices__item--selectable.is-highlighted {
    background: rgba(59, 130, 246, 0.15) !important;
    color: #ffffff !important;
}

/* Field spacing - tighter like Elementor */
.wpforms-container .wpforms-field {
    margin-bottom: 16px !important;
    padding: 0 !important;
}

/* Submit Button Container */
/* Submit Container - must be full width */
.wpforms-container .wpforms-submit-container,
div.wpforms-container-full .wpforms-form .wpforms-submit-container {
    margin-top: 10px !important;
    padding: 0 !important;
    width: 100% !important;
    display: block !important;
}

/* Submit Button - full-width blue like Elementor */
div.wpforms-container-full button[type="submit"].wpforms-submit,
div.wpforms-container-full .wpforms-form button[type="submit"],
div.wpforms-container-full .wpforms-form .wpforms-submit,
.wpforms-container button[type="submit"],
.wpforms-container .wpforms-submit,
.wpforms-container input[type="submit"] {
    background: #3b82f6 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 13px 32px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease !important;
    width: 100% !important;
    display: block !important;
    min-height: 46px !important;
    letter-spacing: 0.01em !important;
    text-transform: none !important;
    line-height: 1.4 !important;
}

.wpforms-container button[type="submit"]:hover,
.wpforms-container .wpforms-submit:hover,
.wpforms-container input[type="submit"]:hover {
    background: #2563eb !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25) !important;
}

.wpforms-container button[type="submit"]:active,
.wpforms-container .wpforms-submit:active {
    transform: translateY(0) !important;
}

/* Checkbox / Radio styling */
.wpforms-container .wpforms-field-checkbox ul,
.wpforms-container .wpforms-field-radio ul,
.wpforms-container .wpforms-field-gdpr-checkbox ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.wpforms-container .wpforms-field-checkbox li,
.wpforms-container .wpforms-field-radio li,
.wpforms-container .wpforms-field-gdpr-checkbox li {
    margin-bottom: 6px !important;
}

.wpforms-container .wpforms-field-checkbox li label,
.wpforms-container .wpforms-field-radio li label,
.wpforms-container .wpforms-field-gdpr-checkbox li label {
    color: #e2e8f0 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}

.wpforms-container input[type="checkbox"],
.wpforms-container input[type="radio"] {
    width: 16px !important;
    height: 16px !important;
    min-height: auto !important;
    padding: 0 !important;
    accent-color: #3b82f6 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
    border-radius: 3px !important;
}

/* Honeypot field - hide it */
.wpforms-container .wpforms-field-hp {
    display: none !important;
}

/* Error messages */
.wpforms-container .wpforms-error,
.wpforms-container label.wpforms-error {
    color: #f87171 !important;
    font-size: 12px !important;
    margin-top: 4px !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.wpforms-container input.wpforms-error,
.wpforms-container textarea.wpforms-error,
.wpforms-container select.wpforms-error {
    border-color: rgba(248, 113, 113, 0.5) !important;
}

/* Success / Confirmation message */
.wpforms-container .wpforms-confirmation-container-full,
.wpforms-confirmation-container-full {
    background: rgba(17, 24, 42, 0.95) !important;
    border: 1px solid rgba(34, 197, 94, 0.25) !important;
    border-radius: 8px !important;
    color: #e2e8f0 !important;
    padding: 28px !important;
    text-align: center !important;
}

.wpforms-container .wpforms-confirmation-container-full p,
.wpforms-confirmation-container-full p {
    color: #e2e8f0 !important;
    font-size: 15px !important;
}

/* Name field row (First / Last side-by-side) */
.wpforms-container .wpforms-field-row {
    display: flex !important;
    gap: 12px !important;
}

.wpforms-container .wpforms-field-row .wpforms-field-row-block {
    flex: 1 !important;
}

/* Description / helper text */
.wpforms-container .wpforms-field-description {
    color: #64748b !important;
    font-size: 12px !important;
    margin-top: 4px !important;
}

/* reCAPTCHA container */
.wpforms-container .wpforms-recaptcha-container {
    margin-top: 10px !important;
}

/* WP Forms powered-by - hide */
.wpforms-container .wpforms-field-payment-total,
.wpforms-container .wpforms-pagebreak-top {
    border-color: rgba(148, 163, 184, 0.15) !important;
}

/* Modern theme overrides (WP Forms Pro modern renderer) */
.wpforms-container.wpforms-render-modern .wpforms-field-label,
div.wpforms-container-full.wpforms-render-modern .wpforms-field-label {
    color: #cbd5e1 !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    padding: 0 !important;
    margin-bottom: 8px !important;
}

.wpforms-render-modern input.wpforms-field-medium,
.wpforms-render-modern input.wpforms-field-large,
.wpforms-render-modern textarea.wpforms-field-medium,
.wpforms-render-modern textarea.wpforms-field-large,
.wpforms-render-modern select.wpforms-field-medium,
.wpforms-render-modern select.wpforms-field-large,
div.wpforms-container-full.wpforms-render-modern input[type="text"],
div.wpforms-container-full.wpforms-render-modern input[type="email"],
div.wpforms-container-full.wpforms-render-modern input[type="tel"],
div.wpforms-container-full.wpforms-render-modern textarea,
div.wpforms-container-full.wpforms-render-modern select {
    background: #131c2e !important;
    border: 1px solid rgba(148, 163, 184, 0.2) !important;
    border-radius: 6px !important;
    color: #ffffff !important;
    padding: 10px 14px !important;
    font-size: 14px !important;
    min-height: 42px !important;
    height: auto !important;
}

div.wpforms-container-full.wpforms-render-modern input:focus,
div.wpforms-container-full.wpforms-render-modern textarea:focus,
div.wpforms-container-full.wpforms-render-modern select:focus {
    border-color: rgba(96, 165, 250, 0.5) !important;
    box-shadow: 0 0 0 2px rgba(96, 165, 250, 0.08) !important;
    background: #131c2e !important;
}

div.wpforms-container-full.wpforms-render-modern button[type="submit"],
div.wpforms-container-full.wpforms-render-modern .wpforms-submit {
    background: #3b82f6 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 13px 32px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    width: 100% !important;
    display: block !important;
    min-height: 46px !important;
    cursor: pointer !important;
}

div.wpforms-container-full.wpforms-render-modern button[type="submit"]:hover,
div.wpforms-container-full.wpforms-render-modern .wpforms-submit:hover {
    background: #2563eb !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25) !important;
}

div.wpforms-container-full.wpforms-render-modern .wpforms-field-sublabel {
    color: #64748b !important;
}

div.wpforms-container-full.wpforms-render-modern .wpforms-required-label {
    color: #ef4444 !important;
}

div.wpforms-container-full.wpforms-render-modern .wpforms-field {
    margin-bottom: 16px !important;
    padding: 0 !important;
}

div.wpforms-container-full.wpforms-render-modern .wpforms-field-checkbox li label,
div.wpforms-container-full.wpforms-render-modern .wpforms-field-radio li label {
    color: #e2e8f0 !important;
    font-size: 13px !important;
}

div.wpforms-container-full.wpforms-render-modern input[type="checkbox"],
div.wpforms-container-full.wpforms-render-modern input[type="radio"] {
    width: 16px !important;
    height: 16px !important;
    min-height: auto !important;
    accent-color: #3b82f6 !important;
}

div.wpforms-container-full.wpforms-render-modern .wpforms-confirmation-container-full,
div.wpforms-container-full.wpforms-render-modern .wpforms-confirmation-container-full p {
    color: #e2e8f0 !important;
}

div.wpforms-container-full.wpforms-render-modern label.wpforms-error {
    color: #f87171 !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    body:not(.elementor-page) .wpforms-container,
    body:not(.elementor-page) .wpforms-container-full {
        padding: 24px 20px !important;
        margin: 16px auto !important;
        border-radius: 10px !important;
    }

    .wpforms-container .wpforms-field-row {
        flex-direction: column !important;
        gap: 0 !important;
    }

    .wpforms-container button[type="submit"],
    .wpforms-container .wpforms-submit {
        padding: 12px 24px !important;
    }
}
