/* Section 2: Take Care - Prefix: bnh-tc- */

.bnh-tc-section {
  min-height: 70vh;
  background: linear-gradient(180deg, #c6e8ff 0%, #d0ffab 100%);
  padding: 60px 0 40px 0;
  position: relative;
  overflow: hidden;
  max-width: 1500px;
  margin: 0 auto;
  border-radius: 50px;
}

.bnh-tc-container {
  margin: 0 auto;
  padding: 0 var(--bnh-container-padding);
  position: relative;
}

/* Hero Content */
.bnh-tc-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  margin-bottom: 40px;
  z-index: 4;
}

.bnh-tc-hero-text-title {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  color: #2d3748;
  line-height: 1.3;
  padding: 0 20px;
  order: 2;
  margin-top: var(--bnh-spacing-md);
}

.bnh-tc-hero-image {
  order: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 300px;
  position: relative;
  width: 100%;
  max-width: 800px;
  z-index: 2;
  margin: 0 auto;
  margin-bottom: -50px; /* Pull cards up slightly for better composition */
}

.bnh-tc-hero-image img {
  width: 65%;
  height: auto;
  transform: translate(20px, 80px);
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12));
  border-radius: 0;
  z-index: 6;
  box-shadow: none;
  transition: transform 0.3s ease;
}

/* Category Buttons */
.bnh-tc-category-buttons {
  display: flex !important;
  justify-content: center !important;
  gap: 16px !important;
  margin: 4em auto 20px !important;
  position: relative !important;
  z-index: 5 !important;
}

.bnh-tc-category-btn {
  background: rgba(255, 255, 255, 0.6) !important;
  border: none !important;
  color: #000 !important;
  padding: 1em 2.6em !important;
  border-radius: 50px !important;
  font-size: 1.2rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
  backdrop-filter: blur(5px) !important;
}

.bnh-tc-category-btn:hover {
  background: rgba(255, 255, 255, 1) !important;
  transform: translateY(-2px) !important;
}

.bnh-tc-category-btn.active {
  background: rgba(255, 255, 255, 1) !important;
  color: #000 !important  ;
}

/* Connection Line */
.bnh-tc-connection-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 27%;
  width: 100%;
  height: 300px;
  z-index: 1;
  margin: 0 auto;
  transform: translateY(-50%);
  pointer-events: none;
}

.bnh-tc-line-svg {
  width: 100%;
  height: 100%;
}

.bnh-tc-pulse-dot {
  position: absolute;
  width: 16px;
  height: 16px;
  background: white;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: bnh-tc-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.bnh-tc-pulse-dot::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: white;
  border-radius: 50%;
  opacity: 0.75;
  animation: bnh-tc-ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes bnh-tc-pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes bnh-tc-ping {
  0% {
    transform: scale(0);
    opacity: 1;
  }
  75%,
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

.bnh-tc-dot-1 {
  left: 15%;
  top: 66%;
}

.bnh-tc-dot-2 {
  left: 35%;
  top: 42%;
}

.bnh-tc-dot-3 {
  left: 55%;
  top: 27%;
}

.bnh-tc-dot-4 {
  left: 75%;
  top: 22%;
  width: 20px;
  height: 20px;
}

.bnh-tc-dot-5 {
  left: 40%;
  top: 75%;
}

.bnh-tc-dot-6 {
  left: 65%;
  top: 55%;
}

/* Product Cards */
.bnh-tc-product-cards {
  display: flex;
  gap: 20px;
  justify-content: center;
  position: relative;
  z-index: 5;
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.bnh-tc-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(208, 255, 171, 0.7) 40%,
    #8cbc66 100%
  );
  border-radius: 24px;
  padding: 35px 30px;
  max-width: 450px;
  width: 100%;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  min-height: 250px;
  z-index: 5;
}

.bnh-tc-card-content {
  text-align: left;
  display: flex;
  flex-direction: column;
  color: #424242;
  flex: 1;
}

.bnh-tc-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #424242;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.bnh-tc-card-subtitle {
  font-size: 1.3rem;;
  color: #919191;
  margin-bottom: 5px;
  margin-top: 0;
  font-weight: 600;
  line-height: 1.4;
}

.bnh-tc-card-image {
  margin-top: auto;
  height: 320px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  bottom: -30px;
  margin-bottom: -30px;
}

.bnh-tc-card-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: bottom;
}

/* Left card image should dip below and leave room for button on right */
.bnh-tc-card-image-left {
  justify-content: flex-start;
  padding-right: 110px; /* space on right for button */
  bottom: -20px; /* push image farther down */
  margin-bottom: -120px;
  height:400px;
  width: 100%;
}

.bnh-tc-card-btn-left {
  margin-left: auto !important
}
.bnh-tc-card-btn-left:hover {
    color:white !important;
}

/* Right card: image nudged right, button on left */
.bnh-tc-card-image-right {
  justify-content: flex-end;
  padding-left: 110px; /* space on left for button */
  bottom: 0px;
  margin-bottom: -110px;
}

.bnh-tc-card-btn-right {
  margin-right: auto !important
}

.bnh-tc-card-btn {
  background: #c4374b !important;
  color: white !important;
  border: none !important;
  padding: 15px 32px !important;
  border-radius: 50px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
  width: auto !important;
  max-width: 200px !important;
  margin-top: 20px !important;
  box-shadow: 0 4px 12px rgba(196, 55, 75, 0.25) !important;
}

/* Right card button: white background, black text */
.bnh-tc-card-btn-right {
  background: #ffffff !important;
  color: #000000 !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

.bnh-tc-card-btn-right:hover {
  background: #f3f4f6 !important;
  color: #000000 !important;
}

.bnh-tc-card-btn:hover {
  background: #a02d3e !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(196, 55, 75, 0.35) !important;
}

/* Disclaimer */
.bnh-tc-disclaimer {
  text-align: center ;
  margin-top: 60px;
  padding: 0 40px;
}

.bnh-tc-disclaimer p {
  font-size: 0.85rem;
  color: #718096;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto;
}

.bnh-tc-disclaimer strong {
  font-weight: 600;
  color: #4a5568;
}

/* Responsive Design */
@media (max-width: 1100px) {
  .bnh-tc-product-cards {
    max-width: 800px;
    gap: 15px;
  }

  .bnh-tc-card {
    max-width: 360px;
    padding: 30px 25px;
  }

  .bnh-tc-card h2 {
    font-size: 1.85rem;
  }

  .bnh-tc-card-subtitle {
    font-size: 1.3rem;
  }
}

@media (min-width: 769px) and (max-width: 900px) {
  .bnh-tc-product-cards {
    gap: 18px;
  }

  .bnh-tc-card {
    max-width: 340px;
    padding: 28px 22px;
  }

  .bnh-tc-card h2 {
    font-size: 1.75rem;
  }

  .bnh-tc-card-subtitle {
    font-size: 1.3rem;
  }

  .bnh-tc-card-image {
    height: 280px;
  }
}

@media (max-width: 1024px) {
  .bnh-tc-hero-text-title {
    font-size: 2.3rem;
  }

  .bnh-tc-hero-image {
    margin-bottom: -30px;
  }

  .bnh-tc-hero-image img {
    width: 70%;
    transform: translate(-50px, 60px);
  }

  .bnh-tc-product-cards {
    gap: 16px;
  }

  .bnh-tc-connection-line {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .bnh-tc-category-buttons {
    gap: 12px !important;
    margin: 10px auto 30px !important;
  }

  .bnh-tc-category-btn {
    padding: 14px 32px !important;
    font-size: 1rem !important;
  }

  .bnh-tc-section {
    padding: 30px 0 40px 0;
    border-radius: 40px 40px 0 0;
    min-height: auto;
  }

  .bnh-tc-hero-content {
    margin-bottom: 60px;
  }

  .bnh-tc-hero-text-title {
    font-size: 2rem;
    padding: 0 15px;
  }

  .bnh-tc-hero-image {
    margin-bottom: 0;
    height: 250px;
  }

  .bnh-tc-hero-image img {
    width: 85%;
    transform: translate(10px, 40px);
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.1));
  }

  .bnh-tc-product-cards {
    flex-direction: column;
    gap: 25px;
    margin-top: 30px;
    padding: 0 15px;
    align-items: center;
  }

  .bnh-tc-connection-line {
    top: 15%;
    height: 150px;
    transform: translateY(-40%);
  }

  .bnh-tc-dashed-line {
    stroke-dasharray: 15, 8;
  }

  .bnh-tc-card {
    max-width: 100%;
    width: 92%;
    padding: 25px 20px;
    min-height: 280px;
  }

  .bnh-tc-card h2 {
    font-size: 1.7rem;
    margin-bottom: 8px;
  }

  .bnh-tc-card-subtitle {
    font-size: 1.05rem;
    margin-bottom: 5px;
  }

  .bnh-tc-card-image {
    height: 260px;
    bottom: -60px;
    margin-bottom: -90px;
  }

  .bnh-tc-card-image img {
    max-width: 100%;
    max-height: 100%;
  }

  /* Mirror desktop composition on mobile */
  .bnh-tc-card-image-left {
    justify-content: flex-start;
    padding-right: 80px;
    bottom: -60px;
    margin-bottom: -100px;
    width: 100%;
    height: 240px; /* override desktop left height */
  }

  .bnh-tc-card-image-right {
    justify-content: flex-end;
    padding-left: 80px;
    bottom: -60px;
    margin-bottom: -100px;
    width: 100%;
  }

  /* Coherent left/right composition on mobile */
  .bnh-tc-card-image-left {
    justify-content: flex-start;
    padding-right: 70px;
    bottom: -60px;
    margin-bottom: -100px;
    width: 100%;
  }

  .bnh-tc-card-image-right {
    justify-content: flex-end;
    padding-left: 70px;
    bottom: -60px;
    margin-bottom: -100px;
    width: 100%;
  }
}

.bnh-tc-disclaimer {
  padding: 0 20px;
  margin-top: 40px;
}

.bnh-tc-disclaimer p {
  font-size: 0.8rem;
}

@media (max-width: 480px) {
  .bnh-tc-hero-text-title {
    font-size: 1.75rem;
    padding: 0 10px;
  }

  .bnh-tc-hero-image img {
    width: 90%;
    transform: translate(0, 30px);
  }

  .bnh-tc-product-cards {
    margin-top: 40px;
    padding: 0 10px;
    gap: 20px;
  }

  .bnh-tc-card {
    width: 94%;
    padding: 22px 18px;
    border-radius: 20px;
    min-height: 260px;
  }

  .bnh-tc-card h2 {
    font-size: 1.6rem;
  }

  .bnh-tc-card-subtitle {
    font-size: 1.1rem;
  }

  .bnh-tc-card-btn {
    padding: 12px 24px !important;
    font-size: 0.95rem !important;
  }

  .bnh-tc-card-image {
    height: 240px;
    bottom: -60px;
    margin-bottom: -100px;
  }

  .bnh-tc-card-image img {
    max-width: 100%;
    max-height: 100%;
  }

  /* Maintain left/right mobile composition on small phones */
  .bnh-tc-card-image-left {
    padding-right: 60px;
    bottom: -50px;
    margin-bottom: -80px;
    height: 210px; /* override desktop left height */
  }

  .bnh-tc-card-image-right {
    padding-left: 60px;
    bottom: -50px;
    margin-bottom: -80px;
  }

  .bnh-tc-category-btn {
    padding: 16px 36px !important;
  }

  /* Maintain left/right composition on small phones */
  .bnh-tc-card-image-left {
    padding-right: 60px;
    bottom: -60px;
    margin-bottom: -100px;
  }

  .bnh-tc-card-image-right {
    padding-left: 60px;
    bottom: -60px;
    margin-bottom: -100px;
  }
}
