/* Custom Diet Plan — hero showcase + signup animations */
@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap");

.bhk-custom-diet-hero {
  --bhk-hero-header-offset: 132px;
  --bhk-brand: #5a7a8c;
  --bhk-brand-dark: #3d5a6a;
  --bhk-brand-glow: rgba(90, 122, 140, 0.22);
  --bhk-hero-accent-start: #3d5a6a;
  --bhk-hero-accent-end: #5a7a8c;
  --bhk-ink: #1a1f1c;
  --bhk-muted: #5c6b62;
  position: relative;
  padding: calc(var(--bhk-hero-header-offset) + 1.75rem) 0 100px;
  overflow-x: hidden;
  overflow-y: visible;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  background: linear-gradient(135deg, #f5f8fa 0%, #fff 45%, #eef3f6 100%);
}

.bhk-custom-diet-hero::before {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  top: -160px;
  right: -100px;
  background: radial-gradient(circle, var(--bhk-brand-glow) 0%, transparent 68%);
  pointer-events: none;
}

.bhk-custom-diet-hero__inner {
  width: min(92%, 1180px);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

section.bhk-custom-diet-hero.pq-grey-bg-color {
  background: linear-gradient(135deg, #f5f8fa 0%, #fff 45%, #eef3f6 100%);
}

.bhk-custom-diet-hero__head {
  margin-bottom: 2.25rem;
  padding-top: 0.25rem;
}

/* ── Page title block ── */
.bhk-custom-diet-hero__title-block {
  position: relative;
  max-width: 40rem;
  animation: bhkTitleReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bhk-custom-diet-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bhk-brand-dark);
}

.bhk-custom-diet-hero__bar {
  width: 3px;
  height: 22px;
  border-radius: 4px;
  flex-shrink: 0;
  background: linear-gradient(180deg, var(--bhk-brand) 0%, var(--bhk-brand-dark) 100%);
  box-shadow: 0 0 10px var(--bhk-brand-glow);
}

.bhk-custom-diet-hero__title {
  margin: 0;
  font-family: inherit;
  font-size: clamp(2.15rem, 5.2vw, 3.35rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--bhk-ink);
  text-transform: none;
}

.bhk-custom-diet-hero__title em {
  font-style: normal;
  background: linear-gradient(90deg, var(--bhk-hero-accent-start), var(--bhk-hero-accent-end));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bhk-custom-diet-hero__lead {
  margin: 1rem 0 0;
  max-width: 38rem;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  line-height: 1.75;
  color: var(--bhk-muted);
  font-weight: 400;
}

.bhk-custom-diet-hero__head .pq-about-btn {
  animation: bhkTitleReveal 0.9s 0.12s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bhk-custom-diet-hero__main {
  align-items: flex-start;
  gap: 0;
}

/* ── Image showcase ── */
.bhk-custom-showcase {
  animation: bhkShowcaseIn 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bhk-custom-showcase__frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #1a1f1c;
  box-shadow:
    0 28px 60px rgba(26, 31, 28, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  min-height: 420px;
}

/* Decorative overlays removed — keep photos clean on load */
.bhk-custom-showcase__glow,
.bhk-custom-showcase__orb,
.bhk-custom-showcase__shimmer {
  display: none !important;
}

.bhk-custom-showcase__badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 4;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(26, 31, 28, 0.72);
  backdrop-filter: blur(8px);
  animation: bhkBadgePop 0.8s 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.bhk-custom-slider {
  position: relative;
  z-index: 2;
}

.bhk-custom-slider .pq-portfoliobox-2,
.bhk-custom-slider .pq-portfolio-block,
.bhk-custom-slider .pq-portfolio-img {
  margin: 0;
  height: 100%;
}

.bhk-custom-slider .pq-portfolio-img {
  position: relative;
  aspect-ratio: 4 / 3;
  min-height: 420px;
  overflow: hidden;
}

.bhk-custom-slider .pq-portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform-origin: center center;
  animation: bhkKenBurns 14s ease-in-out infinite alternate;
}

.bhk-custom-slider .item:nth-child(2) .pq-portfolio-img img {
  animation-duration: 16s;
  animation-delay: -3s;
}

.bhk-custom-slider .item:nth-child(3) .pq-portfolio-img img {
  animation-duration: 13s;
  animation-delay: -6s;
}

.bhk-custom-slider .item:nth-child(4) .pq-portfolio-img img {
  animation-duration: 15s;
  animation-delay: -2s;
}

.bhk-custom-slide-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.1rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(to top, rgba(26, 31, 28, 0.88) 0%, transparent 100%);
  letter-spacing: 0.02em;
}

.bhk-custom-showcase__meta {
  margin-top: 1.25rem;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(127, 184, 45, 0.2);
  box-shadow: 0 8px 24px rgba(26, 31, 28, 0.06);
  animation: bhkMetaIn 0.85s 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bhk-custom-showcase__meta .pq-testimonial-star {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.65rem;
  margin-bottom: 0.5rem;
}

.bhk-custom-showcase__meta .pq-testmonial-title {
  margin: 0 !important;
  font-size: 0.95rem;
}

.bhk-custom-showcase__meta .fa-star {
  color: #f5b301;
}

.bhk-custom-showcase__meta .pq-section-description {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #4a554f;
}

.bhk-custom-showcase__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.85rem;
}

.bhk-custom-showcase__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #3d5a24;
  background: rgba(127, 184, 45, 0.14);
  animation: bhkTagFloat 3.5s ease-in-out infinite;
}

.bhk-custom-showcase__tag:nth-child(2) {
  animation-delay: 0.6s;
}

/* ── Signup panel ── */
.bhk-custom-signup-col {
  animation: bhkFormPanelIn 1s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bhk-custom-diet-hero .formwrapper {
  width: 100%;
  margin: 0;
  padding: 1.75rem 1.65rem 2rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8f6 100%);
  border: 1px solid rgba(127, 184, 45, 0.18);
  box-shadow:
    0 24px 50px rgba(26, 31, 28, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.8) inset;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.bhk-custom-diet-hero .formwrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #7fb82d, #9dce5c, #7fb82d);
  background-size: 200% 100%;
  animation: bhkProgressBar 3s linear infinite;
}

.bhk-custom-diet-hero .formwrapper h2 {
  font-weight: 700;
  color: #1a1f1c;
  animation: bhkFormStagger 0.65s 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bhk-custom-diet-hero .formwrapper > .container {
  margin-top: 0 !important;
  padding: 0;
  max-width: 100%;
}

.bhk-custom-diet-hero .step-indicator {
  animation: bhkFormStagger 0.65s 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bhk-custom-diet-hero .bhk-signup-form.is-step-forward .form-step.active {
  animation: bhkStepIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bhk-custom-diet-hero .bhk-signup-form.is-step-forward .form-step.active .mb-3,
.bhk-custom-diet-hero .bhk-signup-form.is-step-forward .form-step.active .goal-selection,
.bhk-custom-diet-hero .bhk-signup-form.is-step-forward .form-step.active .activity-level-selection,
.bhk-custom-diet-hero .bhk-signup-form.is-step-forward .form-step.active .next-btn,
.bhk-custom-diet-hero .bhk-signup-form.is-step-forward .form-step.active .prev-btn {
  animation: bhkFormStagger 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.bhk-custom-diet-hero .bhk-signup-form.is-step-forward .form-step.active .goal-selection { animation-delay: 0.05s; }
.bhk-custom-diet-hero .bhk-signup-form.is-step-forward .form-step.active .mb-3:nth-of-type(1) { animation-delay: 0.1s; }
.bhk-custom-diet-hero .bhk-signup-form.is-step-forward .form-step.active .mb-3:nth-of-type(2) { animation-delay: 0.15s; }
.bhk-custom-diet-hero .bhk-signup-form.is-step-forward .form-step.active .mb-3:nth-of-type(3) { animation-delay: 0.2s; }
.bhk-custom-diet-hero .bhk-signup-form.is-step-forward .form-step.active .next-btn { animation-delay: 0.28s; }

.bhk-custom-diet-hero .goal-button {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.bhk-custom-diet-hero .goal-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(127, 184, 45, 0.25);
}

.bhk-custom-diet-hero .goal-button.active {
  background-color: #7fb82d !important;
  border-color: #7fb82d !important;
  color: #fff !important;
  animation: bhkGoalPulse 2s ease-in-out infinite;
}

.bhk-custom-diet-hero .activity-button.active {
  background-color: #7fb82d !important;
  border-color: #7fb82d !important;
  color: #fff !important;
}

.bhk-custom-diet-hero .btn-primary {
  background: #7fb82d;
  border-color: #7fb82d;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bhk-custom-diet-hero .btn-primary:hover {
  background: #6ba324;
  border-color: #6ba324;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(127, 184, 45, 0.35);
}

.bhk-custom-slider .pq-portfoliobox-2 .pq-portfolio-img::before {
  display: none !important;
}

/* Owl — no fade-through on load (avoids flash behind slides) */
.bhk-custom-slider.owl-carousel .owl-item {
  opacity: 1;
  transform: none;
}

.bhk-custom-slider.owl-carousel .owl-item.active {
  opacity: 1;
  transform: none;
}

/* ── Keyframes ── */
@keyframes bhkTitleReveal {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bhkShowcaseIn {
  from {
    opacity: 0;
    transform: translateX(-36px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes bhkFormPanelIn {
  from {
    opacity: 0;
    transform: translateX(36px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bhkKenBurns {
  0% {
    transform: scale(1.06) translate(0, 0);
  }
  50% {
    transform: scale(1.12) translate(-1.2%, -0.8%);
  }
  100% {
    transform: scale(1.08) translate(0.6%, 0.4%);
  }
}

@keyframes bhkGlowPulse {
  0%, 100% {
    opacity: 0.35;
    transform: scale(1);
  }
  50% {
    opacity: 0.65;
    transform: scale(1.08);
  }
}

@keyframes bhkOrbDrift {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(10px, -16px) scale(1.1);
  }
  66% {
    transform: translate(-8px, 10px) scale(0.92);
  }
}

@keyframes bhkShimmer {
  0%, 100% {
    transform: translateX(-130%) skewX(-12deg);
    opacity: 0;
  }
  45% {
    opacity: 1;
  }
  55% {
    opacity: 1;
  }
  100% {
    transform: translateX(230%) skewX(-12deg);
    opacity: 0;
  }
}

@keyframes bhkBadgePop {
  from {
    opacity: 0;
    transform: scale(0.6) translateY(-8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes bhkMetaIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bhkTagFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

@keyframes bhkFormStagger {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bhkStepIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bhkGoalPulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(127, 184, 45, 0.45);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(127, 184, 45, 0);
  }
}

@keyframes bhkProgressBar {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

@media (max-width: 1199px) {
  .bhk-custom-signup-col {
    margin-top: 1.75rem;
  }

  .bhk-custom-slider .pq-portfolio-img {
    min-height: 340px;
  }
}

@media (max-width: 767px) {
  .bhk-custom-diet-hero {
    --bhk-hero-header-offset: 96px;
    padding: calc(var(--bhk-hero-header-offset) + 1.25rem) 0 80px;
  }

  .bhk-custom-diet-hero__title {
    font-size: clamp(1.85rem, 7vw, 2.5rem);
  }

  .bhk-custom-diet-hero__lead {
    font-size: 0.92rem;
  }

  .bhk-custom-slider .pq-portfolio-img {
    min-height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bhk-custom-diet-hero *,
  .bhk-custom-diet-hero *::before,
  .bhk-custom-diet-hero *::after {
    animation: none !important;
    transition: none !important;
  }
}

