@import url("https://fonts.googleapis.com/css2?family=Barlow+Semi+Condensed:wght@200;300;400;700&display=swap");

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: #edf2f8;
  font-family: "Barlow Semi Condensed", sans-serif;
  line-height: 1.7;
  font-size: 13px;
}

.grid__design {
  max-width: 1440px;
  margin: 30px auto;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
}

.card__header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

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

.card__header p {
  opacity: 50%;
}

.card__img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid #996ed9;
  margin-right: 10px;
}

.card__lead {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 20px;
}

.card__quote {
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  opacity: 80%;
  margin-bottom: 20px;
}

.contact__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  margin: 6px 0;
  border-radius: 7px;
  border-left: 3px solid transparent;
  text-decoration: none;
  color: #000;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.8;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    opacity 0.2s ease;
}

.contact__item:hover {
  border-left-color: #996ed9;
  background: rgba(153, 110, 217, 0.07);
  opacity: 1;
}

.contact__item span {
  font-size: 13px;
  font-weight: 400;
  opacity: 0;
  transform: translateX(6px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.contact__item:hover span {
  opacity: 0.6;
  transform: translateX(0);
}

.contact__status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 500;
  opacity: 0.6;
  margin-top: 10px;
  margin-bottom: 4px;
  padding: 0 12px;
}

.contact__status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf7d;
  box-shadow: 0 0 0 0 rgba(76, 175, 125, 0.5);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(76, 175, 125, 0.5);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(76, 175, 125, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(76, 175, 125, 0);
  }
}

.contact__copyright {
  font-size: 12px;
  opacity: 0.35;
  text-align: center;
  padding: 0 12px;
  margin-top: auto;
  padding-top: 18px;
}

.card__button {
  background-color: #fff;
  border: 0 solid #e2e8f0;
  border-radius: 1.5rem;
  box-sizing: border-box;
  color: #000;
  padding: 8px 8px;
  text-align: center;
  font-size: 10px;
  opacity: 0.8;
  transition: 0.3s;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

.card__button:hover {
  opacity: 1;
}

.card--bg-purple {
  background: hsl(263, 55%, 52%);
  color: #fff;
  /* background-image: url('./images/bg-pattern-quotation.svg');
  background-repeat: no-repeat;
  background-position: top 10px right 100px; */
}

.card--bg-gray-blue {
  background: hsl(217, 19%, 35%);
  color: #fff;
}

.card--bg-black-blue {
  background: hsl(219, 29%, 14%);
  color: #fff;
}

.card:nth-of-type(1) {
  grid-column: 1 / 3;
}

.card:nth-of-type(4) {
  grid-column: 2 / 4;
  grid-row: 2;
}

.card:nth-of-type(5) {
  grid-column: 4;
  grid-row: 1 / 3;
}

footer {
  text-align: center;
}

@media (max-width: 768px) {
  .grid__design {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .card:nth-of-type(1) {
    grid-column: 1;
  }

  .card:nth-of-type(4) {
    grid-column: 1;
    grid-row: 4;
  }

  .card:nth-of-type(5) {
    grid-column: 1;
    grid-row: 5;
  }
}
