/* PadhakuBacha Homepage Starter — scoped styles */
.pbhp-home {
  --pb-ink: #122c46;
  --pb-ink-2: #1d4261;
  --pb-gold: #f2bd50;
  --pb-gold-dark: #d99c2e;
  --pb-muted: #637386;
  --pb-paper: #f7f8fa;
  --pb-line: #e3e8ee;
  color: var(--pb-ink);
  font-family: inherit;
}
.pbhp-home *, .pbhp-header-wrap * { box-sizing: border-box; }
.pbhp-container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; }
.pbhp-home a { text-decoration: none; }
.pbhp-home a:focus-visible, .pbhp-header-wrap a:focus-visible, .pbhp-header-wrap button:focus-visible {
  outline: 3px solid var(--pb-gold-dark); outline-offset: 3px;
}

/* Optional custom header. Do not add [pb_custom_header] until the existing theme header is safely disabled. */
.pbhp-header-wrap { position: relative; z-index: 30; background: #fff; border-bottom: 1px solid #e9edf1; color: #122c46; }
.pbhp-header { width: min(1240px, calc(100% - 40px)); min-height: 76px; margin: auto; display: flex; align-items: center; gap: 30px; }
.pbhp-brand { display: flex; align-items: center; flex-shrink: 0; }
.pbhp-brand .custom-logo { width: auto; max-width: 190px; max-height: 52px; }
.pbhp-brand__text { color: #122c46; font-size: 24px; font-weight: 800; letter-spacing: -.7px; }
.pbhp-nav { display: flex; align-items: center; justify-content: center; gap: clamp(12px, 1.8vw, 26px); margin-left: auto; }
.pbhp-nav a { color: #31465b; font-size: 14px; font-weight: 650; white-space: nowrap; }
.pbhp-nav a:hover { color: #a66f11; }
.pbhp-header-cta, .pbhp-mobile-cta { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 18px; border-radius: 10px; background: #f2bd50; color: #122c46 !important; font-size: 14px; font-weight: 800; white-space: nowrap; }
.pbhp-header-cta:hover, .pbhp-mobile-cta:hover { background: #ffce6a; }
.pbhp-menu-toggle, .pbhp-mobile-nav { display: none; }

/* Hero */
.pbhp-hero { position: relative; overflow: hidden; isolation: isolate; padding: 70px 0 26px; background: #102b46; color: #fff; }
.pbhp-hero::before { position: absolute; z-index: -1; inset: 0; content: ""; opacity: .12; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to right, black, transparent 85%); }
.pbhp-hero__glow { position: absolute; z-index: -1; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.pbhp-hero__glow--one { width: 420px; height: 420px; right: -110px; top: -190px; background: rgba(242,189,80,.13); }
.pbhp-hero__glow--two { width: 280px; height: 280px; left: 35%; bottom: -230px; background: rgba(67,126,171,.24); }
.pbhp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(360px, .8fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.pbhp-hero__copy { padding: 8px 0 18px; }
.pbhp-eyebrow, .pbhp-kicker { margin: 0 0 16px; font-size: 11px; font-weight: 800; letter-spacing: 1.8px; }
.pbhp-eyebrow { display: flex; align-items: center; gap: 10px; color: #f4cd7d; }
.pbhp-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #f2bd50; box-shadow: 0 0 0 5px rgba(242,189,80,.12); }
.pbhp-hero h1 { max-width: 640px; margin: 0; color: #fff; font-size: clamp(42px, 5vw, 66px); line-height: 1.04; letter-spacing: -2.7px; font-weight: 800; }
.pbhp-hero h1 em { color: #f2bd50; font-style: normal; }
.pbhp-hero__intro { max-width: 550px; margin: 24px 0 25px; color: #d3dfeb; font-size: 17px; line-height: 1.75; }
.pbhp-hero__trust { display: flex; flex-wrap: wrap; gap: 12px 18px; color: #e2ebf4; font-size: 12px; font-weight: 600; }
.pbhp-hero__trust span span { display: inline-flex; align-items: center; justify-content: center; width: 17px; height: 17px; margin-right: 5px; border-radius: 50%; background: rgba(242,189,80,.17); color: #f2bd50; }

.pbhp-finder { padding: 28px; border: 1px solid rgba(255,255,255,.7); border-radius: 18px; background: #fff; color: #122c46; box-shadow: 0 24px 70px rgba(0,0,0,.2); }
.pbhp-finder__heading { display: flex; align-items: center; gap: 13px; margin-bottom: 23px; }
.pbhp-finder__symbol { display: flex; align-items: center; justify-content: center; width: 45px; height: 45px; flex-shrink: 0; border-radius: 12px; background: #fff4d8; color: #9a6710; font-size: 31px; line-height: 1; }
.pbhp-finder h2 { margin: 0 0 5px; color: #122c46; font-size: 21px; line-height: 1.25; font-weight: 800; }
.pbhp-finder__heading p { margin: 0; color: #718092; font-size: 13px; line-height: 1.5; }
.pbhp-search-form { display: grid; gap: 9px; }
.pbhp-search-form label { margin-top: 5px; color: #243a50; font-size: 12px; font-weight: 750; }
.pbhp-search-form select, .pbhp-search-form input { width: 100%; min-height: 49px; padding: 0 14px; border: 1px solid #dfe5eb; border-radius: 9px; background: #fff; color: #20364c; font: inherit; font-size: 14px; box-shadow: none; }
.pbhp-search-form select:focus, .pbhp-search-form input:focus { border-color: #b78222; outline: 3px solid rgba(242,189,80,.2); }
.pbhp-search-button { display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; min-height: 51px; margin-top: 8px; border: 0; border-radius: 9px; background: #f2bd50; color: #122c46; cursor: pointer; font: inherit; font-size: 14px; font-weight: 800; transition: background .2s, transform .2s; }
.pbhp-search-button:hover { background: #ffce6a; transform: translateY(-1px); }
.pbhp-search-note { margin: 3px 0 0; color: #8793a0; text-align: center; font-size: 11px; }
.pbhp-search-error { margin: 0; color: #a12c2c; font-size: 12px; }
.pbhp-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 27px; color: #d6e1ec; font-size: 12px; }
.pbhp-popular > span { margin-right: 3px; color: #f4cd7d; font-weight: 800; }
.pbhp-popular a { display: inline-flex; padding: 8px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 99px; color: #fff; font-size: 12px; transition: background .2s, border-color .2s; }
.pbhp-popular a:hover { border-color: rgba(242,189,80,.7); background: rgba(255,255,255,.08); }

/* Exam categories */
.pbhp-exams-section { padding: 76px 0 80px; background: #f7f8fa; }
.pbhp-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.pbhp-kicker { margin-bottom: 10px; color: #a66f11; }
.pbhp-section-heading h2 { margin: 0 0 10px; color: #122c46; font-size: clamp(27px, 3vw, 38px); line-height: 1.18; letter-spacing: -1.1px; font-weight: 800; }
.pbhp-section-heading p:not(.pbhp-kicker) { margin: 0; color: #68798b; font-size: 15px; line-height: 1.6; }
.pbhp-exam-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
.pbhp-exam-card { display: flex; align-items: center; gap: 13px; min-width: 0; min-height: 105px; padding: 18px; border: 1px solid #e4e9ef; border-radius: 13px; background: #fff; color: #122c46; box-shadow: 0 3px 12px rgba(18,44,70,.025); transition: transform .2s, border-color .2s, box-shadow .2s; }
.pbhp-exam-card:hover { transform: translateY(-3px); border-color: #efc66d; box-shadow: 0 12px 28px rgba(18,44,70,.08); }
.pbhp-exam-icon { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: #fff4d8; color: #94630c; }
.pbhp-exam-icon svg { width: 23px; height: 23px; }
.pbhp-exam-card__body { display: grid; min-width: 0; gap: 6px; }
.pbhp-exam-card__body strong { color: #18334d; font-size: 14px; line-height: 1.3; font-weight: 800; }
.pbhp-exam-card__body small { color: #738194; font-size: 11px; line-height: 1.45; }
.pbhp-exam-arrow { align-self: flex-start; margin-left: auto; color: #9a6b1b; font-size: 17px; line-height: 1; }
.pbhp-exams-footnote { margin: 22px 0 0; color: #7b8795; font-size: 12px; line-height: 1.6; }

@media (max-width: 1024px) {
  .pbhp-hero { padding-top: 58px; }
  .pbhp-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(330px, .9fr); gap: 34px; }
  .pbhp-hero h1 { font-size: clamp(40px, 5.4vw, 55px); letter-spacing: -1.8px; }
  .pbhp-finder { padding: 23px; }
  .pbhp-exam-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pbhp-nav { gap: 12px; }
  .pbhp-nav a { font-size: 12px; }
}
@media (max-width: 760px) {
  .pbhp-container { width: min(100% - 32px, 560px); }
  .pbhp-header { width: calc(100% - 32px); min-height: 66px; gap: 12px; }
  .pbhp-brand .custom-logo { max-width: 155px; max-height: 43px; }
  .pbhp-brand__text { font-size: 21px; }
  .pbhp-nav, .pbhp-header-cta { display: none; }
  .pbhp-menu-toggle { display: grid; gap: 5px; width: 42px; height: 42px; align-content: center; justify-content: center; margin-left: auto; padding: 8px; border: 1px solid #e2e7ed; border-radius: 10px; background: #fff; cursor: pointer; }
  .pbhp-menu-toggle span:not(.screen-reader-text) { display: block; width: 19px; height: 2px; border-radius: 2px; background: #122c46; }
  .pbhp-mobile-nav { padding: 8px 16px 16px; border-top: 1px solid #edf0f4; background: #fff; }
  .pbhp-mobile-nav.is-open { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .pbhp-mobile-nav a { padding: 11px 10px; border-radius: 8px; color: #31465b; font-size: 13px; font-weight: 650; }
  .pbhp-mobile-nav a:hover { background: #f7f8fa; }
  .pbhp-mobile-nav .pbhp-mobile-cta { grid-column: 1 / -1; margin-top: 6px; text-align: center; }
  .pbhp-hero { padding: 47px 0 24px; }
  .pbhp-hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .pbhp-hero__copy { padding: 0; }
  .pbhp-eyebrow { margin-bottom: 14px; font-size: 10px; }
  .pbhp-hero h1 { max-width: 500px; font-size: clamp(38px, 10vw, 52px); line-height: 1.06; letter-spacing: -1.7px; }
  .pbhp-hero__intro { margin: 17px 0 19px; font-size: 15px; line-height: 1.65; }
  .pbhp-hero__trust { gap: 9px 14px; font-size: 11px; }
  .pbhp-finder { padding: 20px; border-radius: 15px; }
  .pbhp-finder__heading { margin-bottom: 17px; }
  .pbhp-finder h2 { font-size: 19px; }
  .pbhp-popular { gap: 8px; padding-top: 22px; }
  .pbhp-popular > span { width: 100%; }
  .pbhp-popular a { padding: 7px 10px; font-size: 11px; }
  .pbhp-exams-section { padding: 48px 0 50px; }
  .pbhp-section-heading { margin-bottom: 21px; }
  .pbhp-section-heading h2 { font-size: 28px; letter-spacing: -.7px; }
  .pbhp-section-heading p:not(.pbhp-kicker) { font-size: 14px; }
  .pbhp-exam-grid { gap: 10px; }
  .pbhp-exam-card { align-items: flex-start; gap: 10px; min-height: 105px; padding: 13px 11px; border-radius: 11px; }
  .pbhp-exam-icon { width: 36px; height: 36px; flex-basis: 36px; border-radius: 10px; }
  .pbhp-exam-icon svg { width: 20px; height: 20px; }
  .pbhp-exam-card__body strong { font-size: 12px; }
  .pbhp-exam-card__body small { font-size: 10px; }
  .pbhp-exam-arrow { font-size: 14px; }
}
@media (max-width: 360px) {
  .pbhp-exam-card { gap: 8px; padding: 11px 9px; }
  .pbhp-exam-icon { width: 32px; height: 32px; flex-basis: 32px; }
  .pbhp-exam-card__body small { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .pbhp-home *, .pbhp-header-wrap * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
