/* Bybsa home page, v2 sections (after studying rtl.com.bd and retailsolution.com.bd):
   banner slider, numbers band, "we manufacture", FAQ + quote. Loaded after home.css. */

/* Banner slider */
.bybsa-home .bh-hero { background: #fff; padding: 18px 0 6px; }
.bh-slider { position: relative; border-radius: 12px; overflow: hidden; background: #eef2f7; aspect-ratio: 3 / 1; box-shadow: 0 10px 30px rgba(15, 23, 42, .10); }
.bh-slides { position: absolute; inset: 0; }
.bh-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility 0s linear .6s; }
.bh-slide.is-active { opacity: 1; visibility: visible; transition: opacity .6s ease; }
.bh-slide-link { display: block; width: 100%; height: 100%; }
.bh-slide-img { width: 100% !important; height: 100% !important; object-fit: cover; display: block; max-width: none !important; }
.bh-slide.has-text .bh-slide-img { object-position: 70% center; }
.bh-slide.has-text::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255, 255, 255, .97) 0%, rgba(255, 255, 255, .9) 38%, rgba(255, 255, 255, 0) 62%); z-index: 1; }
.bh-slide-text { position: absolute; z-index: 2; left: 0; top: 0; bottom: 0; width: 56%; padding: 0 0 0 48px; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.bh-kicker { align-self: flex-start; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--bh-blue); background: var(--bh-blue-soft); border-radius: 6px; padding: 4px 12px; }
.bybsa-home .bh-slide-text h1, .bybsa-home .bh-slide-title { font-family: var(--wd-title-font); font-size: 36px; line-height: 1.15; font-weight: 800; color: var(--bh-ink); margin: 0; }
.bh-slide-text p { font-size: 16px; color: var(--bh-text); margin: 0; max-width: 520px; }
.bh-slide-btns { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.bybsa-home .bh-slide-btns .bh-btn { margin: 0; padding: 12px 20px; font-size: 15px; border-radius: 6px; }
.bybsa-home .bh-btn-wa { background: #25d366; color: #fff !important; gap: 8px; }
.bybsa-home .bh-btn-wa:hover { background: #1faa55; }
.bybsa-home .bh-btn-main { background: var(--bh-blue); color: #fff !important; }
.bybsa-home .bh-slider .bh-slider-btn { position: absolute !important; top: 50% !important; transform: translateY(-50%); z-index: 3; width: 42px !important; height: 42px !important; min-height: 0 !important; padding: 0 0 3px !important; border-radius: 50% !important; border: 0 !important; background: rgba(255, 255, 255, .9) !important; color: var(--bh-ink) !important; font-size: 26px !important; line-height: 1 !important; box-shadow: 0 4px 14px rgba(15, 23, 42, .18); opacity: 0; transition: opacity .2s ease; }
.bh-slider:hover .bh-slider-btn, .bh-slider:focus-within .bh-slider-btn { opacity: 1; }
.bybsa-home .bh-slider .bh-slider-prev { left: 14px !important; }
.bybsa-home .bh-slider .bh-slider-next { right: 14px !important; }
.bh-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 12px; display: flex; justify-content: center; gap: 7px; }
.bybsa-home .bh-dots button { width: 9px !important; height: 9px !important; min-height: 0 !important; padding: 0 !important; border-radius: 6px !important; border: 0 !important; background: rgba(15, 23, 42, .25) !important; transition: width .25s ease, background .25s ease; }
.bybsa-home .bh-dots button[aria-selected="true"] { width: 26px !important; background: var(--bh-blue) !important; }
.bybsa-home .bybsa-trust { margin-top: 16px; }

/* Phones: first slide's text sits under the slider */
.bh-hero-mobile { display: none; }
.bh-quote-card .bh-field textarea { height: 96px !important; min-height: 96px !important; }

/* Numbers band */
.bh-numbers { margin-top: 34px; background: linear-gradient(120deg, #0f1f3d 0%, #0b3a8a 100%); color: #fff; position: relative; overflow: hidden; }
.bh-numbers::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 158, 11, .35), rgba(245, 158, 11, 0) 70%); }
.bh-numbers-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding-top: 30px; padding-bottom: 30px; position: relative; z-index: 1; }
.bh-number { border-left: 3px solid #f59e0b; padding-left: 16px; }
.bh-number strong { display: block; font-family: var(--wd-title-font); font-size: 36px; font-weight: 800; line-height: 1.1; color: #fff; }
.bh-number span { color: #cbd5e1; font-size: 14.5px; }

/* We manufacture */
.bh-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--bh-blue); margin-bottom: 4px; }
.bh-make-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.bh-make-card { background: #fff; border: 1px solid var(--bh-line); border-radius: var(--bh-r); overflow: hidden; box-shadow: var(--bh-shadow); display: flex; flex-direction: column; transition: box-shadow .18s ease, border-color .18s ease; }
.bh-make-card:hover { border-color: #b9d8ff; box-shadow: var(--bh-shadow-h); }
.bh-make-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #fff; }
.bh-make-img img { width: 100%; height: 100%; object-fit: cover; }
.bh-make-img.is-tile img { height: 113%; object-position: top; } /* hides the label strip printed in these images */
.bh-make-body { padding: 14px 16px 16px; }
.bybsa-home .bh-make-body h3 { font-size: 17px; font-weight: 800; margin: 0 0 8px; }
.bh-make-body h3 a { color: var(--bh-ink); }
.bh-make-body h3 a:hover { color: var(--bh-blue); }
.bh-make-body ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.bh-make-body li { position: relative; padding-left: 20px; font-size: 13.5px; color: var(--bh-text); margin: 0; line-height: 1.45; }
.bh-make-body li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 10px; height: 6px; border-left: 2px solid #16a34a; border-bottom: 2px solid #16a34a; transform: rotate(-45deg); }

/* FAQ + quote */
.bh-faqquote { padding-top: 40px; }
.bh-faqquote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.bybsa-home .bh-faq h2, .bybsa-home .bh-quote-card h2 { font-size: 26px; font-weight: 800; margin: 0 0 14px; }
.bh-faq-item { background: #fff; border: 1px solid var(--bh-line); border-radius: 8px; margin-bottom: 10px; overflow: hidden; }
.bh-faq-item summary { list-style: none; cursor: pointer; padding: 15px 48px 15px 18px; font-weight: 700; color: var(--bh-ink); position: relative; font-size: 15.5px; }
.bh-faq-item summary::-webkit-details-marker { display: none; }
.bh-faq-item summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--bh-blue-soft); color: var(--bh-blue); font-size: 18px; line-height: 23px; text-align: center; font-weight: 700; }
.bh-faq-item[open] summary::after { content: "\2212"; }
.bh-faq-item[open] summary { color: var(--bh-blue); }
.bh-faq-item p { margin: 0; padding: 0 18px 16px; color: var(--bh-text); font-size: 15px; line-height: 1.6; }
.bh-faq-more { display: inline-block; margin-top: 4px; font-weight: 700; color: var(--bh-blue) !important; }
.bh-quote-card { background: linear-gradient(160deg, #0f1f3d 0%, #0b3a8a 100%); border-radius: 12px; padding: 26px; color: #dbeafe; box-shadow: 0 20px 50px rgba(15, 31, 61, .25); }
.bybsa-home .bh-quote-card h2 { color: #fff; }
.bh-quote-card > p { margin: 0 0 16px; font-size: 15px; }
.bh-quote-card .bh-quote-form { box-shadow: none; padding: 18px; }
.bh-quote-card .bh-quote-alt { margin: 14px 0 0; font-size: 14.5px; }
.bh-quote-card .bh-quote-alt a { color: #fff; text-decoration: underline; font-weight: 600; }

@media (max-width: 1100px) {
	.bh-slide-text { width: 70%; padding-left: 30px; }
	.bybsa-home .bh-slide-text h1, .bybsa-home .bh-slide-title { font-size: 28px; }
	.bh-make-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.bh-faqquote-grid { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.bybsa-home .bh-hero { padding-top: 10px; }
	.bh-slider { border-radius: 8px; }
	.bh-slide.has-text::before, .bh-slide-text { display: none; }
	.bh-slide.has-text .bh-slide-img { object-position: center; }
	.bh-hero-mobile { display: block; padding: 14px 2px 2px; }
	.bh-hm-title { font-family: var(--wd-title-font); font-size: 21px; line-height: 1.25; font-weight: 800; color: var(--bh-ink); margin: 0 0 12px; }
	.bh-hero-mobile .bh-slide-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
	.bybsa-home .bh-hero-mobile .bh-btn { justify-content: center; padding: 11px 10px; font-size: 14px; }
	.bh-dots { bottom: 6px; }
	.bh-numbers { margin-top: 24px; }
	.bh-numbers-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; padding-top: 20px; padding-bottom: 20px; }
	.bh-number strong { font-size: 26px; }
	.bh-number span { font-size: 13px; }
	.bh-make-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
	.bh-make-body { padding: 10px 12px 12px; }
	.bybsa-home .bh-make-body h3 { font-size: 14.5px; }
	.bh-make-body li { font-size: 12.5px; padding-left: 16px; }
	.bh-make-body li:nth-child(n+3) { display: none; }
	.bybsa-home .bh-faq h2, .bybsa-home .bh-quote-card h2 { font-size: 21px; }
	.bh-quote-card { padding: 18px 14px; border-radius: 8px; }
}
