
.ndj-home-welcome-line {
  display: block;
  margin-bottom: 0.28em;
}

.ndj-home-a {
  --ndj-home-card: #ffffff;
  --ndj-home-text: #172033;
  --ndj-home-muted: #617086;
  --ndj-home-border: rgba(15, 23, 42, 0.12);
  --ndj-home-blue: #2563eb;
  --ndj-home-blue-dark: #1d4ed8;
  --ndj-home-green: #047857;
  --ndj-home-radius-lg: 28px;
  --ndj-home-radius-md: 20px;
  --ndj-home-shadow: 0 24px 70px rgba(15, 23, 42, 0.14);
  --ndj-home-shadow-soft: 0 16px 45px rgba(15, 23, 42, 0.08);

  color: var(--ndj-home-text);
  font-family: inherit;
  background:
    radial-gradient(circle at top left, rgba(37, 99, 235, 0.16), transparent 34rem),
    radial-gradient(circle at top right, rgba(4, 120, 87, 0.12), transparent 30rem),
    linear-gradient(180deg, #f8fafc 0%, #eff6ff 44%, #f8fafc 100%);
  padding: clamp(24px, 5vw, 64px) 16px clamp(18px, 3vw, 36px);
}

.ndj-home-a * {
  box-sizing: border-box;
}

.ndj-home-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.ndj-home-hero {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  border-radius: var(--ndj-home-radius-lg);
  padding: clamp(30px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.97), rgba(30, 64, 175, 0.92)),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.12), transparent 18rem);
  box-shadow: var(--ndj-home-shadow);
}

.ndj-home-hero::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  right: -110px;
  top: -110px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.ndj-home-eyebrow,
.ndj-home-section-label {
  margin: 0 0 12px;
  color: #bfdbfe;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ndj-home-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(2.35rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.065em;
}

.ndj-home-hero-text {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 24px 0 0;
  color: #e5edff;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.75;
}

.ndj-home-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.ndj-home-button,
.ndj-home-a a.ndj-home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.ndj-home-button:hover,
.ndj-home-a a.ndj-home-button:hover {
  transform: translateY(-2px);
}

.ndj-home-button-primary {
  background: #ffffff;
  color: var(--ndj-home-blue-dark);
  box-shadow: 0 12px 35px rgba(255, 255, 255, 0.18);
}

.ndj-home-button-secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.ndj-home-trust-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 36px;
}

.ndj-home-trust-card {
  padding: 18px;
  border-radius: var(--ndj-home-radius-md);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.ndj-home-trust-card span {
  display: block;
  margin-bottom: 7px;
  color: #bfdbfe;
  font-size: 0.8rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.ndj-home-trust-card strong {
  display: block;
  color: #ffffff;
  font-size: 1rem;
  line-height: 1.4;
}

.ndj-home-section {
  margin-top: 28px;
}

.ndj-home-section-heading {
  background:
    linear-gradient(180deg, rgba(219, 234, 254, 0.64), rgba(255, 255, 255, 1) 38%),
    #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.22);
  border-radius: var(--ndj-home-radius-lg);
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--ndj-home-shadow-soft);
}

.ndj-home-section-heading .ndj-home-section-label {
  color: var(--ndj-home-blue-dark);
}

.ndj-home-section-heading h2 {
  margin: 0 0 14px;
  color: #111827;
  font-size: clamp(1.55rem, 3.3vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.ndj-home-section-heading p {
  max-width: 900px;
  margin: 0;
  color: var(--ndj-home-text);
  font-size: 1rem;
  line-height: 1.75;
}

/* Image portal grid */

.ndj-home-icon-portal-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.ndj-home-icon-portal-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 100%;
  border-radius: var(--ndj-home-radius-lg);
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.18);
  text-decoration: none;
  box-shadow: var(--ndj-home-shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.ndj-home-icon-portal-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.38);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.16);
}

.ndj-home-icon-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  overflow: hidden;
}

.ndj-home-icon-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ndj-home-icon-card-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px;
  background:
    radial-gradient(circle at top right, rgba(37, 99, 235, 0.08), transparent 14rem),
    #ffffff;
}

.ndj-home-icon-card-body span {
  color: var(--ndj-home-blue-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ndj-home-icon-card-body strong {
  color: #111827;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

.ndj-home-icon-card-body em {
  color: var(--ndj-home-muted);
  font-style: normal;
  font-size: 0.94rem;
  line-height: 1.55;
}

.ndj-home-mini-link {
  display: inline-flex;
  margin-top: 18px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ndj-home-blue-dark);
  color: #ffffff !important;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.18);
}

.ndj-home-mini-link:hover {
  background: #1e40af;
}

.ndj-home-youtube-grid,
.ndj-home-dynamic.ndj-home-youtube-grid {
  width: min(1120px, calc(100% - 32px));
  margin: 18px auto 34px;
  padding: clamp(18px, 3vw, 28px);
  border-radius: var(--ndj-home-radius-lg);
  background: #ffffff;
  border: 1px solid rgba(37, 99, 235, 0.16);
  box-shadow: var(--ndj-home-shadow-soft);
}

.ndj-home-youtube-grid iframe,
.ndj-home-youtube-grid .wp-block-embed iframe {
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

@media (max-width: 1180px) {
  .ndj-home-icon-portal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1020px) {
  .ndj-home-trust-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .ndj-home-icon-portal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .ndj-home-a {
    padding-left: 12px;
    padding-right: 12px;
  }

  .ndj-home-hero,
  .ndj-home-section-heading,
  .ndj-home-icon-portal-card,
  .ndj-home-youtube-grid {
    border-radius: 22px;
  }

  .ndj-home-actions {
    flex-direction: column;
  }

  .ndj-home-button,
  .ndj-home-a a.ndj-home-button,
  .ndj-home-mini-link {
    width: 100%;
  }

  .ndj-home-icon-portal-grid {
    grid-template-columns: 1fr;
  }
}
