/*
 * Worxogo Performance Behavior Card Widget CSS
 *
 * Elementor Performance Behavior Card Widget Styles
 */

/* ===== BEHAVIOR CARDS SECTION ===== */
.behavior-cards-section {
  width: 100%;
  box-sizing: border-box;
}

/* ===== HEADER SECTION ===== */
.behavior-cards-header {
  text-align: center;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* ===== BADGE STYLING ===== */
.behavior-cards-badge {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 40px;
  border: 1px solid #4000a9;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  color: #4000a9;
  font-family: "Albert Sans", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.03em;
  align-self: center;
}

/* ===== TITLE STYLING ===== */
.behavior-cards-title {
  color: #290074;
  font-family: "Albert Sans", sans-serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 110%;
  letter-spacing: -0.02em;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.behavior-cards-title__normal {
  color: inherit;
  font-weight: inherit;
}

.behavior-cards-title__highlight {
  color: #4000a9;
  font-weight: 800;
}

/* ===== DESCRIPTION STYLING ===== */
.behavior-cards-description {
  color: #494948;
  text-align: center;
  font-family: "Albert Sans", sans-serif;
  font-weight: 500;
  font-size: 18px;
  line-height: 140%;
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 600px;
  align-self: center;
}

.behavior-cards {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.behavior-card {
  background: #ffffff;
  border-radius: 17px;
  border: 1px solid #b1b1af;
  display: flex;
  flex-direction: column;
  gap: 0px;
  align-items: center;
  justify-content: flex-start;
  flex: 1;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.behavior-card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.15);
}

.behavior-card-image {
  border-radius: 8px;
  border: 1px solid #b1b1af;
  padding: 1px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.behavior-card-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.behavior-card-icon {
  width: 35px;
  height: 54px;
  position: absolute;
  left: 140.5px;
  top: 65px;
  object-fit: cover;
  aspect-ratio: 35/54;
}

.behavior-card-content {
  background: #ffffff;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  justify-content: flex-start;
  width: 100%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.behavior-card-title {
  color: #212121;
  text-align: center;
  font-family: "Albert Sans", sans-serif;
  font-weight: 600;
  font-size: 16px !important;
  line-height: 110%;
  letter-spacing: -0.02em;
  margin: 0;
  width: 100%;
}

.behavior-card-text {
  color: #616160;
  text-align: center;
  font-family: "Albert Sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 110%;
  letter-spacing: -0.02em;
  margin: 0;
  width: 100%;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1024px) {
  .behavior-cards-header {
    margin-bottom: 35px;
    gap: 14px;
  }

  .behavior-cards-badge {
    font-size: 15px;
    padding: 10px 18px;
  }

  .behavior-cards-title {
    font-size: 36px;
  }

  .behavior-cards-description {
    font-size: 17px;
    max-width: 550px;
  }

  .behavior-cards {
    gap: 24px;
  }

  .behavior-card {
    min-width: 260px;
    max-width: 320px;
  }

  .behavior-card-content {
    padding: 28px;
    gap: 18px;
  }

  .behavior-card-title,
  .behavior-card-text {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .behavior-cards-section {
    padding: 0px 40px;
    align-items: center;
    text-align: center;
  }

  .behavior-cards-header {
    margin-bottom: 30px;
    gap: 12px;
  }

  .behavior-cards-badge {
    font-size: 14px;
    padding: 8px 16px;
  }

  .behavior-cards-title {
    font-size: 32px;
  }

  .behavior-cards-description {
    font-size: 16px;
    max-width: 500px;
  }

  .behavior-cards {
    flex-direction: row;
    gap: 20px;
    flex-wrap: wrap;
  }

  .behavior-card {
    min-width: 40%;
    max-width: 40%;
    width: 100%;
  }

  .behavior-card-icon {
    left: 50%;
    transform: translateX(-50%);
  }

  .behavior-card-content {
    padding: 24px;
    gap: 16px;
  }

  .behavior-card-title,
  .behavior-card-text {
    font-size: 15px;
    line-height: 115%;
  }
}

@media (max-width: 576px) {
  .behavior-cards-section {
    padding: 0px 20px;
  }

  .behavior-cards-header {
    margin-bottom: 25px;
    gap: 10px;
  }

  .behavior-cards-badge {
    font-size: 13px;
    padding: 6px 14px;
  }

  .behavior-cards-title {
    font-size: 28px;
  }

  .behavior-cards-description {
    font-size: 15px;
    max-width: 100%;
  }

  .behavior-cards {
    flex-direction: column;
    gap: 16px;
  }

  .behavior-card {
    border-radius: 12px;
    min-width: 100%;
  }

  .behavior-card-image {
    border-radius: 6px;
  }

  .behavior-card-content {
    padding: 20px;
    gap: 14px;
  }

  .behavior-card-title {
    font-size: 14px;
    line-height: 120%;
  }

  .behavior-card-text {
    font-size: 14px;
    line-height: 120%;
  }
}
