.post-tags-section {
  width: 100%;
  padding: 20px 115px;
  box-sizing: border-box;
}

.tag-feature {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  font-family: var(--accent-font);
  width: 100%;
}

/* Each feature card */
.post-tags .tag-feature a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 20px;
  gap: 25px;
  background: var(--accent-color);
  color: var(--primary-color);
  border-radius: 12px;
  padding: 45px 40px;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Circle icon background */
.post-tags .tag-feature a .icon-box {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--primary-color);
  border-radius: 50%;
  transition: all 0.3s ease-in-out;
}

/* Icon inside */
.post-tags .tag-feature a .icon-box i {
  font-size: 22px;
  color: var(--accent-color);
  transition: all 0.3s ease-in-out;
}

/* Hover Effects */
.post-tags .tag-feature a:hover {
  background: var(--primary-color);
  color: var(--accent-color);
  transform: translateY(-5px);
}

.post-tags .tag-feature a:hover .icon-box {
  background: var(--accent-color);
  transform: scale(1.1);
}

.post-tags .tag-feature a:hover .icon-box i {
  color: var(--primary-color);
}

/* Responsive */
@media (max-width: 1200px) {
  .tag-feature {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .tag-feature {
    grid-template-columns: repeat(2, 1fr);
  }

  .post-tags-section {
    width: 100%;
    padding: 20px 40px;
    box-sizing: border-box;
  }

  .userrole-row-single {
    justify-content: center !important;
  }

  .userrole-box {
    max-width: none !important;
  }
}

@media (max-width: 480px) {
  .tag-feature {
    grid-template-columns: 1fr;
  }

  .post-tags-section {
    width: 100%;
    padding: 20px 40px;
    box-sizing: border-box;
  }
}





.userrole-container {
  max-width: 1400px;
  margin: 0 auto;

}

.userrole-row-single {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  flex-wrap: wrap;
}

.userrole-box {
  flex: 1;
  min-width: 220px;
  max-width: 250px;
  height: 280px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.userrole-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* 🖼️ Full-size background image */
.userrole-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.4s ease;
}

/* Optional hover zoom effect */
.userrole-box:hover img {
  transform: scale(1.05);
}

/* 🔲 Overlay for text */
.userrole-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

/* ✍️ Text over image */
.userrole-box h3,
.userrole-box p {
  position: relative;
  z-index: 3;
  color: #fff;
}

.userrole-box h3 {
  font-size: 18px;
  margin-top: 223px;
  font-weight: 600;
}

.userrole-box p {
  padding: 0 10px;
  font-size: 14px;
  margin-top: 5px;
}

.wow_fadeInUp{
  margin-top: 10px;
  color: #ffffff;
}

.wow_fadeInUp_signup a{
  justify-items: end;
  color: #ffffff;
}

.field-error,
.help-block.with-errors {
    color: #e74c3c; /* bright red */
    font-size: 13px;
    margin-top: 4px;
}

/* For input borders when invalid */
.input-error {
    border: 1px solid #e74c3c !important;
    box-shadow: 0 0 4px rgba(231, 76, 60, 0.5);
}

.field-error {
    color: rgb(255, 0, 0);
    font-size: 14px;
    margin-top: 5px;
    font-weight: 500;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-3px); }
    to { opacity: 1; transform: translateY(0); }
}

