/* =========================
ROOT COLORS
========================= */
:root {
  --pinnacle-blue: #104AD4;
  --pinnacle-yellow: #FCB11A;
  --pinnacle-grey: #BDC3CB;
  --text-dark: #fff;
}

/* =========================
WRAPPER
========================= */
.wrapper {
  margin: auto;
}
.pncl-hero-content h1 {
    font-family: Ubuntu;
    font-weight: 400;
    font-size: 58px;
    line-height: 120%;
    letter-spacing: 0%;
    color: #fff;
}
/* =========================
grid-header
========================= */
.grid-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  gap: 15px;
}
.grid-header h2 {
  font-family: Ubuntu;
  font-weight: 400;
  font-size: 48px;
  line-height: 120%;
  color: #111111;
  margin: 0;
}

.btn-results {
  background-color: #FCB11A;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  color: #000 !important;
  transition: 0.3s;
  font-family: Ubuntu;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0px;

}

.btn-results:hover {
  transform: translateY(-2px);
  text-decoration:none;
}

/* =========================
GRID
========================= */
.grid-container {
  display: grid;
  gap: 15px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 200px;
}

/* =========================
CARD
========================= */
.card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  transition: 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

/* =========================
IMAGE
========================= */
.card img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.process h3 {
    color: #fff;
}
.card.tech
Specificity: (0,2,0)
 {
    justify-content: center;
    align-items: center;
}
.card.process {
    justify-content: center;
    align-items: center;
}
.card.security {
    justify-content: center;
    align-items: center;
}
.card.risk {
    justify-content: center;
    align-items: center;
}
.process p {
    color: #fff;
}
.cost h3 {
     color: #fff;
}
.cost p {
     color: #fff;
}
.risk h3 {
    color: #000;
}
.risk p {
    color: #000;
}
.staffing h3 {
    color: #fff;
}
.staffing p {
    color: #fff;
}
.customer h3 {
     color: #fff;
}
.customer p {
     color: #fff;
}

.security h3 {
    color: #000;
}
.security p {
    color: #000;
}
.tech h3 {
    color: #000;
}
.tech p {
    color: #000;
}


/* =========================
OVERLAY (IMAGE CARDS)
========================= */
.img-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}

/* =========================
CONTENT
========================= */
.card-content {
  position: relative;
  z-index: 2;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  width: 100%;
}

.card-content h3 {
  font-family: Ubuntu;
  font-weight: 700;
  font-size: 22px;
  line-height: 150%;
  letter-spacing: 0%;
  margin: 0 0 6px;
}

.card p {
  margin: 0;
  font-family: Cabin !important;
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  letter-spacing: 0%;
}

/* =========================
COLOR CLASSES
========================= */
.process {
  background: var(--pinnacle-blue);
  color: #fff;
}

.risk {
  background: var(--pinnacle-grey);
  color: var(--text-dark);
}

.security {
  background: var(--pinnacle-yellow);
  color: var(--text-dark);
}

.tech {
  background: #ffffff;
  color: var(--text-dark);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* =========================
GRID LAYOUT (DESKTOP)
========================= */
.cost {
  grid-column: 1;
  grid-row: span 2;
}

.security {
  grid-column: 1;
}

.process {
  grid-column: 2;
}

.risk {
  grid-column: 3;
}

.customer {
  grid-column: 2 / span 2;
  grid-row: span 2;
}

.staffing {
  grid-column: 4;
  grid-row: span 2;
}

.tech {
  grid-column: 4;
}

/* =========================
TABLET
========================= */
@media (max-width: 992px) {
  .grid-container {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
  }

  .cost,
  .staffing,
  .process,
  .risk,
  .security,
  .tech {
    grid-column: span 1;
    grid-row: span 1;
  }

  .customer {
    grid-column: span 2;
    grid-row: span 1;
  }
}

/* =========================
MOBILE
========================= */
@media (max-width: 768px) {
  .grid-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .grid-header h2 {
    font-size: 22px;
  }

  .grid-container {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .card {
    height: 220px;
  }

  .customer,
  .cost,
  .staffing {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* =========================
SMALL MOBILE
========================= */
@media (max-width: 480px) {
  .card {
    height: 200px;
  }

  .card-content {
    padding: 15px;
  }

  .card h3 {
    font-size: 15px;
  }

  .card p {
    font-size: 12px;
  }
}