.main {
  padding-top: 40px;
  padding-bottom: 60px;
}

.contact {
  margin: 20px 0 0 0;
}

.contact h3 {
  font-size: clamp(20px, 1.88vw, 36px);
  font-weight: bold;
  color: #333;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.contact hr {
  width: 21px;
  height: 3px;
  background: #14171a;
  margin: 20px auto 0;
}

.contact h4 {
  font-size: clamp(14px, 0.94vw, 18px);
  color: #666;
  font-weight: 300;
  text-align: center;
  margin: 15px 0 0;
}

.contact ul {
  margin: 40px 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px 0;
}

.contact ul li {
  width: calc(33.333% - 16px);
  margin: 0 8px;
  padding: 28px 20px 24px;
  box-sizing: border-box;
  height: 220px;
  text-align: center;
  background: #FFF4E6;
  border-radius: 12px;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.contact ul li:nth-child(4),
.contact ul li:nth-child(5) {
  width: calc(50% - 16px);
}

@media(min-width:992px){
.contact ul li:hover {
  box-shadow: 0 8px 24px rgba(255, 152, 0, 0.18);
  transform: translateY(-3px);
}
}


.contact ul li em {
  background: var(--color-primary);
  width: 64px;
  height: 64px;
  line-height: 64px;
  font-size: 30px;
  color: #fff;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.contact ul li em i {
  font-size: 30px;
  color: #fff;
}

.contact ul li h6 {
  font-size: clamp(16px, 0.89vw, 17px);
  font-weight: bold;
  color: #333;
  margin: 16px 0 0 0;
  text-transform: uppercase;
}

.contact ul li p {
  color: #555;
  margin: 10px 0 0;
  font-size: clamp(14px, 0.78vw, 15px);
  line-height: 22px;
  word-break: break-word;
}

.contact ul li p a {
  color: #444;
  transition: color 0.2s ease;
}

.contact ul li p a:hover {
  color: var(--color-primary);
}

@media screen and (max-width: 991px) {
  .contact ul {
    flex-direction: column;
    gap: 15px 0;
  }
  .contact ul li {
    width: 100% !important;
    margin: 0 0 10px !important;
    height: auto;
    min-height: 180px;
  }
  .contact ul li:last-child {
    margin-bottom: 0 !important;
  }
}
