/* ==========================================================================
   NUTANIX MODERNIZE & ASSESSMENT SECTION STYLES
   100% Offline / Zero External URLs
   ========================================================================== */

/* --- 1. Cloud-Native Assessment Banner (100% Full Width Edge-to-Edge) --- */
.assessment-section {
  width: 100%;
  background-color: #55198b;
  background-image: url('bg-assessment.avif');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  padding: 55px 0;
  color: #ffffff;
  margin: 0;
}

.assessment-content {
  max-width: 640px;
  position: relative;
  z-index: 2;
}

.assessment-heading {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 14px;
}

.assessment-subtext {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.55;
  margin-bottom: 26px;
}

.btn-assessment {
  background-color: #ffffff;
  color: #0f172a;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 9999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: all 0.2s ease;
}

.btn-assessment:hover {
  background-color: #f8fafc;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

/* --- 2. Modernize On Your Own Terms Section --- */
.modernize-section {
  background-color: #ffffff;
  padding: 20px 0 90px;
  color: #0f172a;
}

.modernize-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 55px auto;
}

.modernize-title {
  font-size: 2.35rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: #0b132b;
  margin-bottom: 14px;
}

.modernize-subtitle {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
}

/* Two-Column Feature Block */
.modernize-block-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-start;
  gap: 56px;
}

/* Left Column: Intro & Card Image */
.block-left-col {
  display: flex;
  flex-direction: column;
}

.block-title {
  font-size: 1.45rem;
  font-weight: 700;
  color: #0b132b;
  margin-bottom: 10px;
  line-height: 1.3;
}

.block-desc {
  font-size: 0.96rem;
  color: #475569;
  line-height: 1.55;
  margin-bottom: 14px;
}

.block-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #6d28d9;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  margin-bottom: 22px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.block-link:hover {
  color: #55198b;
  transform: translateX(4px);
}

.block-card-img-wrap {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.block-card-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.block-card-img-wrap:hover .block-card-img {
  transform: scale(1.02);
}

/* Right Column: 3 Feature Items with 3D Icons */
.block-right-col {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.feature-iso-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.feature-iso-icon-wrap {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-iso-icon {
  width: 100%;
  height: auto;
  max-width: 64px;
  max-height: 64px;
  object-fit: contain;
  display: block;
}

.feature-iso-text {
  font-size: 0.94rem;
  color: #475569;
  line-height: 1.55;
}

.feature-iso-text strong {
  color: #0b132b;
  font-weight: 700;
  margin-right: 4px;
}

/* Subtle Dotted Section Divider (Matching Screenshot 3) */
.modernize-divider {
  border: none;
  border-top: 1px dashed #cbd5e1;
  margin: 60px 0;
  width: 100%;
}

/* --- Responsive Layout --- */
@media (max-width: 960px) {
  .modernize-block-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .assessment-banner-card {
    padding: 34px 28px;
  }

  .assessment-heading {
    font-size: 1.6rem;
  }

  .modernize-title {
    font-size: 2rem;
  }
}

@media (max-width: 540px) {
  .assessment-heading {
    font-size: 1.4rem;
  }

  .feature-iso-item {
    gap: 14px;
  }

  .feature-iso-icon-wrap {
    width: 48px;
    height: 48px;
  }

  .modernize-title {
    font-size: 1.7rem;
  }
}
