/* Main Wellbeing Section */
.bnh-ew-section {
  background: url("https://balanutritions.com/wp-content/uploads/2025/10/background-clouds.png")
      no-repeat top center,
    linear-gradient(to bottom, #c8e9fd 70%, var(--bnh-color-white) 90%);
  background-size: contain;
  margin: var(--bnh-spacing-md) auto;
  border-radius: var(--bnh-radius-lg) var(--bnh-radius-lg) 0 0;
  max-width: var(--bnh-max-width);
  padding: var(--bnh-spacing-md) var(--bnh-spacing-md) var(--bnh-spacing-lg);
  overflow: hidden;
}

.bnh-ew-container {
  max-width: var(--bnh-max-width);
  margin: 0 auto;
}

/* Hero Section */
.bnh-ew-hero-section {
  text-align: center;
  position: relative;
  padding-top: var(--bnh-spacing-lg);
  padding-bottom: var(--bnh-spacing-md);
}

/* Background Clouds with Gradient Overlay */
.bnh-ew-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

.bnh-ew-hero-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
}

/* Sunburst Background Effect - Ring/Buffer Style */
.bnh-ew-sunburst-background {
  position: absolute;
  top: 80%;
  left: 65%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  pointer-events: none;
  z-index: var(--bnh-z-base);
}

.bnh-ew-sunburst-line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 200px;
  height: 8px;
  background: linear-gradient(
    to right,
    transparent 85%,
    rgba(255, 255, 255, 0.8) 71%,

    rgba(255, 255, 255, 0.8) 100%
  );
  transform-origin: -200px 50%;
  transform: translate(0, 0%) rotate(var(--rotation));
  opacity: 0;
  border-radius: var(--bnh-radius-xs);
}

.bnh-ew-hero-title {
  color: var(--bnh-color-white);
  font-size: var(--bnh-font-size-4xl);
  font-weight: 400;
  line-height: 1.2;
  position: relative;
  z-index: var(--bnh-z-base);
  margin-bottom: var(--bnh-spacing-xl);
}

.bnh-ew-hero-products {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: var(--bnh-spacing-md) 0;
  z-index: var(--bnh-z-base);
}

.bnh-ew-product-bottles {
  max-width: 420px;
  width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  z-index: var(--bnh-z-base);
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.2));
}

.bnh-ew-hero-buttons {
  display: flex;
  gap: var(--bnh-spacing-sm);
  justify-content: center;
  margin-top: -20px;
  position: relative;
  z-index: var(--bnh-z-base);
}

.bnh-ew-btn {
  padding: var(--bnh-spacing-sm) var(--bnh-spacing-lg) !important;
  border-radius: var(--bnh-radius-round) !important;
  font-size: var(--bnh-font-size-base) !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: var(--bnh-transition-base) !important;
  border: none !important;
  font-family: var(--bnh-font-family) !important;
  white-space: nowrap !important;
  flex: 1 !important;
  max-width: 200px !important;
  min-width: 140px !important;
}

.bnh-ew-btn-primary {
  background: var(--bnh-color-white) !important;
  color: #5b9fd4 !important;
}

.bnh-ew-btn-primary:hover {
  background: var(--bnh-color-gray-100) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--bnh-shadow-lg) !important;
}

.bnh-ew-btn-secondary {
  color: #3f86ab !important;
  background-color: rgba(255, 255, 255, 1) !important ;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
}

.bnh-ew-btn-secondary:hover {
    background: var(--bnh-color-gray-100) !important;
  transform: translateY(-2px) !important;
}

/* Cards Grid */
.bnh-ew-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  width: 80%;
  margin: 0 auto;
  gap: var(--bnh-spacing-sm);
  margin-top: var(--bnh-spacing-lg);
}

.bnh-ew-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--bnh-radius-lg);
  padding: var(--bnh-spacing-md);
  position: relative;
  overflow: hidden;
  box-shadow: var(--bnh-shadow-md);
}

/* Top Left Card - Male Enhancing */
.bnh-ew-card-top-left {
  grid-column: 1;
  grid-row: 1;
  background: linear-gradient(
    to bottom,
    rgba(55, 133, 176, 0.1) 30%,
    rgba(55, 133, 176, 0.9) 100%
  );
  min-height: 320px;
  display: flex;
  flex-direction: column;
}

.bnh-ew-card-top-left .bnh-ew-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  justify-content: space-between;
}

.bnh-ew-card-title {
  color: var(--bnh-color-white);
  font-size: var(--bnh-font-size-2xl);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: var(--bnh-spacing-sm);
}

.bnh-ew-card-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  gap: var(--bnh-spacing-sm);
}

.bnh-ew-card-gummies {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: var(--bnh-spacing-md) 0;
}

.bnh-ew-gummies-image {
  max-width: 180px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.2));
}

.bnh-ew-btn-boost {
  background: #1e5a7d !important;
  color: var(--bnh-color-white) !important;
  border: none !important;
  padding: var(--bnh-spacing-sm) var(--bnh-spacing-lg) !important;
  border-radius: var(--bnh-radius-round) !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: var(--bnh-transition-base) !important;
  align-self: flex-end !important;
  margin-left: auto !important;
  font-family: var(--bnh-font-family) !important;
}
@media (max-width: 768px) {
  .bnh-ew-btn-boost {
    font-size: 0.8rem !important;
  }
}

.bnh-ew-btn-boost:hover {
  background: #234a6d;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(44, 95, 138, 0.3);
}

/* Bottom Left Card - Why Male Enhancing */
.bnh-ew-card-bottom-left {
  grid-column: 1;
  grid-row: 2;
  background: url("https://balanutritions.com/wp-content/uploads/2025/10/card-background.png")
    no-repeat bottom right;
  background-size: cover;
  min-height: 280px;
  padding: var(--bnh-spacing-lg);
  position: relative;
}

.bnh-ew-card-content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--bnh-spacing-md);
  height: 100%;
}

.bnh-ew-card-left-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bnh-ew-card-subtitle {
  color: var(--bnh-color-white);
  font-size: var(--bnh-font-size-lg);
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: var(--bnh-spacing-md);
}

.bnh-ew-benefit-buttons {
  display: flex;
  align-items: center;
  flex-direction: row;
  gap: var(--bnh-spacing-sm);
  position: absolute;
  bottom: var(--bnh-spacing-lg);
  right: var(--bnh-spacing-lg);
}

.bnh-ew-benefit-btn {
  background: #1e5a7d !important;
  color: var(--bnh-color-white) !important;
  border: none !important;
  padding: var(--bnh-spacing-sm) var(--bnh-spacing-lg) !important;
  border-radius: var(--bnh-radius-round) !important;
  width: auto !important;
  font-size: var(--bnh-font-size-base) !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: var(--bnh-transition-base) !important;
  text-align: center !important;
  font-family: var(--bnh-font-family) !important;
}

.bnh-ew-benefit-btn:hover {
  background: #234a6d !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(44, 95, 138, 0.3) !important;
}

.bnh-ew-card-right-image {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  position: relative;
}

.bnh-ew-person-image {
  max-width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  object-position: bottom right;
  border-radius: var(--bnh-radius-sm);
}

/* Right Card - Testimonial */
.bnh-ew-card-right {
  grid-column: 2;
  grid-row: 1 / 3;
  background: linear-gradient(
    to bottom,
    rgba(55, 133, 176, 0.1) 0%,
    rgba(55, 133, 176, 0.9) 100%
  );

  min-height: 620px;
  display: flex;
  flex-direction: column;
}

.bnh-ew-card-right .bnh-ew-card-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: white;
}

.bnh-ew-testimonial-bottles {
  display: flex;
  justify-content: start;
  margin-bottom: var(--bnh-spacing-md);
}

.bnh-ew-bottles-image {
  max-width: 130px;
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.12));
}

.bnh-ew-testimonial-quote {
  color: white;
  font-size: var(--bnh-font-size-xl);
  padding: 0 var(--bnh-spacing-md);
  line-height: 1.6;
  font-weight: 500;
  font-style: normal;
  margin-bottom: var(--bnh-spacing-md);
  flex: 1;
  text-align: balance;
}

.bnh-ew-testimonial-author {
  color: white;
  font-size: var(--bnh-font-size-xl);
  font-weight: 500;
  margin-top: auto;
  padding: 0 var(--bnh-spacing-md);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .bnh-ew-section {
    padding: var(--bnh-spacing-md) var(--bnh-spacing-sm) var(--bnh-spacing-lg);
  }

  .bnh-ew-hero-title {
    font-size: var(--bnh-font-size-3xl);
  }

  .bnh-ew-card-title {
    font-size: var(--bnh-font-size-lg);
  }

  .bnh-ew-card-subtitle {
    font-size: var(--bnh-font-size-lg);
  }

  .bnh-ew-product-bottles {
    max-width: 380px;
  }

  .bnh-ew-sunburst-background {
    width: 500px;
    height: 500px;
  }

  .bnh-ew-sunburst-line {
    width: 80px;
    transform-origin: -180px 50%;
  }
}

@media (max-width: 768px) {
  .bnh-ew-section {
    padding: var(--bnh-spacing-lg) var(--bnh-spacing-sm);
    margin: var(--bnh-spacing-xs) auto;
  }

  .bnh-ew-hero-section {
    padding-top: var(--bnh-spacing-md);
  }

  .bnh-ew-hero-title {
    font-size: var(--bnh-font-size-2xl);
    margin-bottom: var(--bnh-spacing-sm);
    font-weight: 600;
  }

  .bnh-ew-hero-buttons {
    gap: var(--bnh-spacing-sm);
    margin-top: -10px;
    flex-wrap: nowrap;
  }

  .bnh-ew-btn {
    padding: var(--bnh-spacing-sm) var(--bnh-spacing-md);
    font-size: var(--bnh-font-size-sm);
    flex: 1;
    max-width: 180px;
    min-width: 120px;
  }

  .bnh-ew-product-bottles {
    max-width: 300px;
  }

  .bnh-ew-sunburst-background {
    width: 300px;
    height: 300px;
    top: 60%;
    transform: translate(-14%, -40%);
  }

  .bnh-ew-sunburst-line {
    width: 60px;
    height: 4px;
    transform-origin: -160px 50%;
    background: linear-gradient(
      to right,
      transparent 70%,
      rgba(255, 255, 255, 0.8) 71%,

      rgba(255, 255, 255, 0.8) 100%
    );
  }

  .bnh-ew-cards-grid {
    grid-template-columns: 1fr;
    width: 100%;
    gap: var(--bnh-spacing-sm);
    margin-top: var(--bnh-spacing-md);
  }

  .bnh-ew-card {
    padding: var(--bnh-spacing-md);
  }

  .bnh-ew-card-top-left {
    grid-column: 1;
    grid-row: auto;
    min-height: 280px;
    background: linear-gradient(
      to top,
      rgba(55, 133, 176, 0.1) 20%,
      rgba(55, 133, 176, 0.9) 100%
    );
  }

  .bnh-ew-card-bottom-left {
    display: none;
    grid-column: 1;
    grid-row: auto;
    min-height: 240px;
    padding: var(--bnh-spacing-md);
  }

  .bnh-ew-card-right {
    grid-column: 1;
    grid-row: auto;
    min-height: auto;
    background: linear-gradient(
      to top,
      rgba(55, 133, 176, 0.6) 20%,
      rgba(55, 133, 176, 0.9) 100%
    );
    color: white;
  }

  .bnh-ew-card-content-split {
    grid-template-columns: 1fr;
    gap: var(--bnh-spacing-sm);
  }

  .bnh-ew-card-right-image {
    justify-content: center;
  }

  .bnh-ew-person-image {
    max-height: 200px;
  }

  .bnh-ew-card-title {
    font-size: var(--bnh-font-size-xl);
    margin-bottom: var(--bnh-spacing-sm);
  }

  .bnh-ew-card-subtitle {
    font-size: var(--bnh-font-size-lg);
    margin-bottom: var(--bnh-spacing-sm);
  }

  .bnh-ew-testimonial-quote {
    font-size: var(--bnh-font-size-lg);
    text-align: balance;
    padding: 0 var(--bnh-spacing-md);
  }

  .bnh-ew-gummies-image {
    max-width: 150px;
  }

  .bnh-ew-bottles-image {
    max-width: 120px;
    padding-left: var(--bnh-spacing-md);
  }

  .bnh-ew-card-bottom-row {
    gap: var(--bnh-spacing-xs);
  }
}
