/**
 * Trust Center Widget Styles
 *
 * @package Worxogo
 * @since 1.0.0
 */

.worxogo-trust-center,
.worxogo-trust-center * {
  box-sizing: border-box;
}

.worxogo-trust-center {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0) 100%
  );
  border-radius: 8px 8px 0px 0px;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  overflow: hidden;
}

.worxogo-trust-header {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}

.worxogo-trust-title {
  text-align: center;
  font-family: "Albert Sans", sans-serif;
  font-size: 40px;
  line-height: 110%;
  letter-spacing: -0.02em;
  font-weight: 700;
  position: relative;
  width: 100%;
  margin: 0;
  color: #290074;
}

.worxogo-title-highlight {
  color: #4000a9;
}

.worxogo-trust-description {
  color: #4c4c4c;
  text-align: center;
  font-family: "Albert Sans", sans-serif;
  font-size: 20px;
  line-height: 150%;
  font-weight: 400;
  position: relative;
  align-self: stretch;
}

.worxogo-top-tabs {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.worxogo-top-tab {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 40px;
  border: 1px solid #4000a9;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  color: #4000a9;
  font-family: "Albert Sans", sans-serif;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.worxogo-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}

.worxogo-feature-item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
  flex: 1;
  position: relative;
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e5e5e5;
  padding: 30px;
  transition: all 0.3s ease;
}

.worxogo-feature-item:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.worxogo-feature-content {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}

.worxogo-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  position: relative;
  overflow: visible;
}

.worxogo-feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.worxogo-feature-text {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}

.worxogo-feature-title {
  color: #4000a9 !important;
  text-align: left;
  font-family: "Albert Sans", sans-serif;
  font-size: 20px !important;
  line-height: 120%;
  font-weight: 600;
  position: relative;
  align-self: stretch;
  margin: 0;
  text-transform: uppercase;
}

.worxogo-feature-list {
  color: #4c4c4c;
  text-align: left;
  font-family: "Albert Sans", sans-serif;
  font-size: 16px;
  line-height: 150%;
  font-weight: 400;
  position: relative;
  align-self: stretch;
  margin: 0;
  padding-left: 20px;
}

.worxogo-feature-list li {
  margin-bottom: 10px;
}

.worxogo-feature-list li:last-child {
  margin-bottom: 0;
}

.worxogo-trust-button-wrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  flex-shrink: 0;
  position: relative;
}

.worxogo-trust-button {
  border-radius: 60px;
  border: 1px solid #323232;
  padding: 20px 40px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 48px;
  min-width: 100px;
  position: relative;
  color: #323232;
  text-align: center;
  font-family: "Albert Sans", sans-serif;
  font-size: 16px;
  letter-spacing: -0.02em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.worxogo-trust-button:hover {
  background: #323232;
  color: #ffffff !important;
}

.worxogo-trust-button-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.worxogo-trust-button-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(0);
  transition: filter 0.3s ease;
  display: block;
  margin: auto;
}

.worxogo-trust-button:hover .worxogo-trust-button-icon img {
  filter: brightness(0) invert(1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .worxogo-trust-center {
    padding: 60px 40px;
    gap: 30px;
  }

  .worxogo-trust-header {
    gap: 30px;
  }

  .worxogo-trust-title {
    font-size: 32px;
  }

  .worxogo-trust-description {
    font-size: 18px;
  }

  .worxogo-top-tabs {
    flex-wrap: wrap;
    gap: 15px;
  }

  .worxogo-top-tab {
    font-size: 14px;
    padding: 10px 18px;
  }

  .worxogo-features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .worxogo-feature-item {
    padding: 25px 20px;
    gap: 15px;
  }

  .worxogo-feature-icon {
    width: 50px;
    height: 50px;
  }

  .worxogo-feature-title {
    font-size: 18px;
  }

  .worxogo-feature-list {
    font-size: 14px;
  }

  .worxogo-trust-button {
    padding: 16px 32px;
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .worxogo-trust-center {
    padding: 40px 20px !important;
    gap: 25px;
  }

  .worxogo-trust-header {
    gap: 25px;
  }

  .worxogo-trust-title {
    font-size: 28px;
  }

  .worxogo-trust-description {
    font-size: 16px;
  }

  .worxogo-top-tabs {
    gap: 10px;
  }

  .worxogo-top-tab {
    font-size: 13px;
    padding: 8px 14px;
  }

  .worxogo-features-grid {
    gap: 25px;
  }

  .worxogo-feature-item {
    padding: 20px 15px;
    gap: 12px;
  }

  .worxogo-feature-icon {
    width: 40px;
    height: 40px;
  }

  .worxogo-feature-title {
    font-size: 16px;
  }

  .worxogo-feature-list {
    font-size: 14px;
  }

  .worxogo-trust-button {
    padding: 14px 28px;
    font-size: 14px;
    width: 100%;
  }
}
