/* VMware partner page */

:root {
  --vmw-blue: #1D428A;
  --vmw-blue-dark: #152f69;
  --vmw-accent: #00A1E0;
  --vmw-ink: #1b2430;
  --vmw-muted: #55606e;
}

body {
  overflow-x: hidden;
}

.vendor-color {
  color: var(--vmw-blue);
}

/* ── buttons ── */
.btn-vmware,
.btn-vmware:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.75rem;
  border: 1.5px solid var(--vmw-blue);
  border-radius: 10px;
  background: transparent;
  color: var(--vmw-blue);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.2s, color 0.2s;
}

.btn-vmware::after {
  content: '\f061';
  font-family: 'Font Awesome 6 Free';
  font-size: 0.75rem;
  font-weight: 900;
  transition: transform 0.2s ease;
}

.btn-vmware:hover,
.btn-vmware:focus-visible {
  background: var(--vmw-blue);
  color: #fff;
  box-shadow: none;
}

.btn-vmware:hover::after {
  transform: translateX(4px);
}

.btn-vmware:focus-visible {
  outline: 3px solid #9fc2ff;
  outline-offset: 3px;
}

/* transparent button with white border, for dark backgrounds */
.btn-vmware-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.75rem;
  border: 2px solid #fff;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btn-vmware-light:hover,
.btn-vmware-light:focus-visible {
  background: #fff;
  color: var(--vmw-blue);
  transform: translateY(-2px);
}

.btn-vmware-light:focus-visible {
  outline: 3px solid #9fc2ff;
  outline-offset: 3px;
}

/* ── hero + product overview banner ── */
.vmw-hero {
  position: relative;
  color: #fff;
  text-align: center;
}

.vmw-hero {
  padding: 6rem 0;
  text-align: left;
  background: #1a1b36 url('/images/vmware/70384-vcf-hp-bnr-2800x1000-v3b.webp') right center / cover no-repeat;
}

.vmw-hero .vmw-hero-logo {
  display: block;
  width: 200px;
  height: auto;
  margin-bottom: 1.75rem;
}

.vmw-hero .lead {
  margin-left: 0;
}

.vmw-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
}

.vmw-hero .lead {
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ── sections ── */
.vmw-section {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.vmw-section p {
  line-height: 1.65;
  color: var(--vmw-muted);
}

.vmw-section h2,
.vmw-section h3 {
  color: var(--vmw-ink);
}

.vmw-section h2.vendor-color {
  color: var(--vmw-blue);
}

/* ── what can we help you solve ── */
.vmw-lead {
  max-width: 46rem;
  margin: 0.75rem auto 0;
  font-size: 1.1rem;
}

.vmw-solve {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(27, 36, 48, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

.vmw-solve:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(29, 66, 138, 0.18);
}

.vmw-img-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 210px;
  padding: 1rem;
  background: linear-gradient(160deg, #eef3fc 0%, #dfe9f8 100%);
}

.vmw-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.vmw-text-wrapper {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem;
}

.vmw-text-wrapper h3 {
  font-size: 1.2rem;
}

.vmw-text-wrapper p {
  flex: 1;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

/* ── advanced services ── */
.vmw-cat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(27, 36, 48, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
}

.vmw-cat p {
  flex: 1;
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.vmw-adv {
  background: #f8f9fa;
}

/* rows of cards share one grid, so icon, title, text, fold and button line up across a row */
.vmw-adv .row {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 1.5rem;
  row-gap: 0;
  margin: 0;
}

@media (min-width: 768px) {
  .vmw-adv .row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  .vmw-adv .row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.vmw-adv .row > [class*='col-'] {
  display: grid;
  grid-row: span 5;
  grid-template-rows: subgrid;
  row-gap: 0;
  width: auto;
  max-width: none;
  margin: 0 0 1.5rem;
  padding: 0;
}

.vmw-adv .row > [class*='col-'] > .vmw-cat {
  display: grid;
  grid-row: 1 / span 5;
  grid-template-rows: subgrid;
  row-gap: 0;
  justify-items: start;
  align-items: start;
}

.vmw-adv .vmw-cat .vmw-fold,
.vmw-adv .vmw-cat .btn-vmware {
  justify-self: stretch;
}

.vmw-adv .vmw-cat .btn-vmware {
  align-self: end;
}

.vmw-adv .vmw-cat {
  position: relative;
  overflow: hidden;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid rgba(29, 66, 138, 0.1);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(27, 36, 48, 0.04), 0 12px 32px rgba(29, 66, 138, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.vmw-adv .vmw-cat::before {
  content: '';
  position: absolute;
  top: -70px;
  right: -70px;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 161, 224, 0.2) 0%, transparent 70%);
  pointer-events: none;
  transition: transform 0.4s ease;
}

.vmw-adv .vmw-cat:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 161, 224, 0.5);
  box-shadow: 0 2px 4px rgba(27, 36, 48, 0.05), 0 24px 48px rgba(29, 66, 138, 0.18);
}

.vmw-adv .vmw-cat:hover::before {
  transform: scale(1.35);
}

.vmw-adv .vmw-cat > * {
  position: relative;
}

.vmw-adv .vmw-cat p {
  flex: 0 0 auto;
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.vmw-cat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--vmw-accent) 0%, var(--vmw-blue) 100%);
  box-shadow: 0 10px 20px rgba(29, 66, 138, 0.28);
  color: #fff;
  font-size: 1.4rem;
}

.vmw-adv .vmw-cat h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
  line-height: 1.3;
}

.vmw-adv .vmw-cat .btn-vmware {
  width: 100%;
  gap: 0.5rem;
  border: 1.5px solid var(--vmw-blue);
  background: transparent;
  box-shadow: none;
  color: var(--vmw-blue);
  font-size: 0.92rem;
  transform: none;
}

.vmw-adv .vmw-cat .btn-vmware::after {
  content: '\f061';
  font-family: 'Font Awesome 6 Free';
  font-size: 0.75rem;
  font-weight: 900;
  transition: transform 0.2s ease;
}

.vmw-adv .vmw-cat .btn-vmware:hover,
.vmw-adv .vmw-cat .btn-vmware:focus-visible {
  background: var(--vmw-blue);
  box-shadow: none;
  color: #fff;
}

.vmw-adv .vmw-cat .btn-vmware:hover::after {
  transform: translateX(4px);
}

.vmw-fold {
  flex: 1;
  width: 100%;
  margin-bottom: 1.25rem;
}

.vmw-fold summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-top: 1px solid #dfe5f0;
  color: var(--vmw-ink);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.vmw-fold summary::-webkit-details-marker {
  display: none;
}

.vmw-fold summary::after {
  content: '\f078';
  color: var(--vmw-blue);
  font-family: 'Font Awesome 6 Free';
  font-size: 0.7rem;
  font-weight: 900;
  transition: transform 0.2s ease;
}

.vmw-fold[open] summary::after {
  transform: rotate(180deg);
}

.vmw-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.5rem 0 0;
  padding: 0;
  list-style: none;
}

.vmw-pills li {
  display: flex;
  max-width: 100%;
}

.vmw-pill {
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(29, 66, 138, 0.18);
  border-radius: 999px;
  line-height: 1.35;
  text-align: left;
  background: #fff;
  color: var(--vmw-ink);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.vmw-pill:hover,
.vmw-pill:focus-visible {
  border-color: var(--vmw-blue);
  background: var(--vmw-blue);
  color: #fff;
}

.vmw-pill:focus-visible {
  outline: 3px solid #9fc2ff;
  outline-offset: 2px;
}

/* ── video ── */
.ratio-rounded {
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(27, 36, 48, 0.2);
}

/* ── stat cards ── */
.vmware-stat-card {
  height: 100%;
  padding: 2rem 1.5rem;
  border: 1px solid #e4e8f0;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  box-shadow: 0 6px 18px rgba(27, 36, 48, 0.07);
  transition: transform 0.25s, box-shadow 0.25s;
}

.vmware-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(29, 66, 138, 0.15);
}

.vmware-stat-card h2 {
  font-size: 3rem;
  line-height: 1;
}

.vmware-stat-card h2 i {
  font-size: 2rem;
  vertical-align: 0.1em;
}

.vmware-stat-card p {
  margin: 1rem 0 0;
  font-weight: 600;
}

/* ── why vmware ── */
.vmw-why {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%;
  padding: 1.75rem 1.5rem;
  border: 1px solid #e4e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(27, 36, 48, 0.06);
}

.vmw-why h3 {
  font-size: 1.3rem;
}

.vmw-why p {
  flex: 1;
}

@media (max-width: 991px) {
  .vmw-hero {
    background-position: 75% center;
  }
}

@media (max-width: 767px) {
  .vmw-hero {
    padding: 3rem 0;
  }

  .vmw-section {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vmw-solve,
  .vmw-cat,
  .vmw-cat::before,
  .vmw-pill,
  .vmware-stat-card,
  .btn-vmware,
  .btn-vmware-light {
    transition: none;
  }

  .vmw-solve:hover,
  .vmw-adv .vmw-cat:hover,
  .vmw-adv .vmw-cat:hover::before,
  .vmw-cat:hover,
  .vmware-stat-card:hover,
  .btn-vmware:hover,
  .btn-vmware-light:hover {
    transform: none;
  }
}

/* ── private cloud platform ── */
.vmw-platform {
  margin-top: 3.5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(29, 66, 138, 0.12);
}

.vmw-pcard {
  height: 100%;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(29, 66, 138, 0.12);
  border-radius: 20px;
  background: var(--vmw-light, #f5f7fa);
  transition: border-color 0.25s;
}

.vmw-pcard:hover {
  border-color: var(--vmw-accent);
}

.vmw-pcard-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--vmw-accent) 0%, var(--vmw-blue) 100%);
  color: #fff;
  font-size: 1.4rem;
}

.vmw-pcard h3 {
  margin-bottom: 0.6rem;
  font-size: 1.2rem;
  line-height: 1.3;
}

.vmw-pcard p {
  margin: 0;
  font-size: 0.95rem;
}
