/* ========================================================= 
   AZ MANAGED IT — HERO SECTION 5 (STATIC CYAN GRID + HEADER OFFSET)
   ========================================================= */

.dnn-hero-s5 {
  --bg-s5: #0F0F0F;
  --grid-line-s5: rgba(0,191,255,0.04);
  position: relative;
  color: #e8edf4;
  background: var(--bg-s5);
  border-top: 1px solid #111;
  overflow: hidden;
  min-height: 470px;
  display: flex;
  align-items: center;
  font-family: "Segoe UI", system-ui, Roboto, Arial, sans-serif;
  padding-top: 100px; /* clears fixed header overlap */
}

@media (max-width: 900px) {
  .dnn-hero-s5 {
    padding-top: 60px; /* smaller spacing for mobile */
  }
}

/* ===== STATIC GRID BACKGROUND ===== */
.servergrid-s5-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    /* soft radial depth tint */
    radial-gradient(circle at 50% 50%, rgba(0,191,255,0.06), transparent 70%),
    /* diagonal shadow fade */
    linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(10,10,15,0.85) 60%, rgba(15,15,15,0.95) 100%),
    /* wide cyan grid */
    repeating-linear-gradient(0deg, var(--grid-line-s5) 0 1px, transparent 1px 80px),
    repeating-linear-gradient(90deg, var(--grid-line-s5) 0 1px, transparent 1px 80px);
  background-blend-mode: normal;
  opacity: 0.9;
}

/* ===== LAYOUT ===== */
.dnn-hero-s5__wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 60px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
  min-height: 470px;
}

@media (max-width: 1200px) {
  .dnn-hero-s5__wrap {
    gap: 40px;
    padding: 0 40px;
  }
}

@media (max-width: 900px) {
  .dnn-hero-s5__wrap {
    flex-direction: column;
    text-align: center;
    padding: 0 20px;
  }
}

/* ===== CONTENT ===== */
.dnn-hero-s5__content {
  flex: 1 1 640px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ===== TEXT STYLES ===== */
.eyebrow-s5 {
  color: #00bfff;
  letter-spacing: 1px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.dnn-hero-s5__title {
  color: #ffd700;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 14px;
}
.lead-s5 {
  color: #cdd6e3;
  opacity: 0.95;
  margin-bottom: 22px;
  font-size: 1.05rem;
  max-width: 60ch;
}
@media (max-width: 900px) {
  .dnn-hero-s5__title {
    font-size: 2rem;
  }
}

/* ===== BUTTONS ===== */
.dnn-hero-s5__buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.dnn-hero-s5__cta {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 10px;
  background: #00bfff;
  color: #0c1320;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #00ace6;
  transition: all 0.3s ease;
}
.dnn-hero-s5__cta:hover {
  background: #00ace6;
  color: #fff;
}
.dnn-hero-s5__cta--outline {
  background: transparent;
  color: #e8edf4;
  border: 1px solid #395083;
}
.dnn-hero-s5__cta--outline:hover {
  background: #1a2a48;
}

/* ===== RIGHT SIDE: RESOURCE CARDS ===== */
.resources-side {
  flex: 1 1 420px;
  display: flex;
  justify-content: flex-start; /* aligns with left text block */
  align-items: center;
  z-index: 1;
}

.resource-cards {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 360px;
  margin-left: 0;
}

.resource-cards .card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 18px 22px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.15s ease;
}
.resource-cards .card:hover {
  background: rgba(0, 191, 255, 0.08);
  border-color: rgba(0, 191, 255, 0.25);
  transform: translateY(-2px);
}
.resource-cards h4 {
  margin: 0 0 6px;
  color: #ffd700;
  font-size: 1.1rem;
  font-weight: 700;
}
.resource-cards p {
  margin: 0;
  color: #cfd7e3;
  font-size: 0.95rem;
  line-height: 1.45;
}

/* ===== FADE-UP INTRO ===== */
.fade-up-s5 {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUpS5 1.2s ease-out 0.3s forwards;
}
@keyframes fadeUpS5 {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
