/* Blood Donation Day page – uses theme tokens from mystyle.css (--ime-*) */

.bd-hero .container, .bd-steps-sec .container, .bd-register-sec .container { padding-left: 20px; padding-right: 20px; }
.bd-hero { position: relative; padding: 28px 0 8px; background:
    radial-gradient(900px 420px at 85% -10%, var(--ime-red-tint), transparent 70%),
    linear-gradient(#fff, var(--ime-paper-alt)); }
.bd-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: 28px 0 36px; }
.bd-title { font-size: clamp(34px, 5vw, 58px); line-height: 1.04; font-weight: 800; letter-spacing: -.02em; color: var(--ime-ink); margin: 6px 0 16px; }
.bd-title span { color: var(--ime-red); }
.bd-lead { font-size: 17px; line-height: 1.65; color: var(--ime-ink-soft); max-width: 520px; margin: 0 0 24px; }
.bd-cta-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 22px; }
.bd-ghost { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--ime-ink); padding: 12px 18px; border: 1px solid var(--ime-line); border-radius: 999px; background: #fff; transition: .2s; }
.bd-ghost i { color: #25a244; font-size: 18px; }
.bd-ghost:hover { border-color: var(--ime-ink); text-decoration: none; color: var(--ime-ink); }
.bd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bd-chips span { font-size: 12.5px; font-weight: 700; color: var(--ime-ink-soft); background: #fff; border: 1px solid var(--ime-line); border-radius: 999px; padding: 7px 13px; }
.bd-chips i { color: var(--ime-red); margin-right: 6px; }

/* art */
.bd-hero-art { position: relative; min-height: 340px; display: grid; place-items: center; }
.bd-blob { position: absolute; width: 330px; height: 330px; border-radius: 42% 58% 55% 45% / 50% 42% 58% 50%; background: linear-gradient(135deg, var(--ime-red-tint), #fff 70%); border: 1px solid var(--ime-line); animation: bdMorph 9s ease-in-out infinite alternate; }
.bd-drop { position: relative; width: 170px; filter: drop-shadow(0 22px 30px rgba(200,48,42,.35)); animation: bdFloat 4.5s ease-in-out infinite; }
.bd-float { position: absolute; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); border: 1px solid var(--ime-line); border-radius: 14px; box-shadow: var(--ime-shadow); padding: 12px 16px; display: flex; flex-direction: column; line-height: 1.15; }
.bd-float b { font-size: 24px; color: var(--ime-red); font-weight: 800; }
.bd-float small { font-size: 11.5px; color: var(--ime-muted); font-weight: 600; }
.bd-float-a { top: 10%; right: 4%; animation: bdFloat 5s ease-in-out infinite .4s; }
.bd-float-b { bottom: 8%; left: 2%; animation: bdFloat 5.5s ease-in-out infinite 1s; }
@keyframes bdFloat { 50% { transform: translateY(-10px); } }
@keyframes bdMorph { to { border-radius: 58% 42% 40% 60% / 45% 58% 42% 55%; transform: rotate(8deg); } }

/* facts */
.bd-facts { display: grid; grid-template-columns: repeat(3, 1fr); background: #fff; border: 1px solid var(--ime-line); border-radius: var(--ime-radius); box-shadow: var(--ime-shadow); position: relative; z-index: 2; margin-bottom: -34px; }
.bd-fact { display: flex; align-items: center; gap: 14px; padding: 20px 24px; }
.bd-fact + .bd-fact { border-left: 1px solid var(--ime-line); }
.bd-fact strong { display: block; font-size: 15.5px; font-weight: 800; color: var(--ime-ink); line-height: 1.3; }
.bd-fact small { font-size: 12.5px; color: var(--ime-muted); }
.bd-fact small a { color: var(--ime-red); font-weight: 700; }
.bd-fact-date { width: 52px; height: 56px; flex: none; border-radius: 12px; background: var(--ime-red); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; }
.bd-fact-date b { font-size: 22px; font-weight: 800; }
.bd-fact-date small { color: #fff; opacity: .85; font-size: 10px; letter-spacing: .12em; font-weight: 700; margin-top: 3px; }
.bd-fact-ico { width: 52px; height: 52px; flex: none; border-radius: 12px; background: var(--ime-red-tint); color: var(--ime-red); display: grid; place-items: center; font-size: 20px; }

/* steps */
.bd-steps-sec { padding: 80px 0 30px; }
.bd-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bd-step { border: 1px solid var(--ime-line); border-radius: var(--ime-radius); padding: 22px; background: #fff; transition: .22s; }
.bd-step:hover { transform: translateY(-4px); box-shadow: var(--ime-shadow); border-color: transparent; }
.bd-step i { font-style: normal; width: 34px; height: 34px; border-radius: 50%; background: var(--ime-red-tint); color: var(--ime-red); font-weight: 800; display: grid; place-items: center; margin-bottom: 14px; }
.bd-step h4 { font-size: 16px; font-weight: 800; color: var(--ime-ink); margin: 0 0 6px; }
.bd-step p { font-size: 13.5px; line-height: 1.55; color: var(--ime-ink-soft); margin: 0; }

/* register */
.bd-register-sec { padding: 30px 0 70px; }
.bd-register { display: grid; grid-template-columns: .85fr 1.15fr; gap: 22px; align-items: start; }
.bd-invite { background: var(--ime-ink); color: #fff; border-radius: var(--ime-radius); padding: 34px 32px; position: relative; overflow: hidden; }
.bd-invite::after { content: ""; position: absolute; right: -70px; bottom: -70px; width: 220px; height: 220px; border-radius: 50%; background: var(--ime-red); opacity: .25; }
.bd-invite h2 { font-size: 28px; line-height: 1.15; font-weight: 800; color: #fff; margin: 0 0 12px; }
.bd-invite p { color: rgba(255,255,255,.75); font-size: 14.5px; line-height: 1.6; }
.bd-share { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: #fff; border-bottom: 2px solid var(--ime-red); padding-bottom: 3px; margin: 6px 0 24px; }
.bd-share:hover { color: #fff; text-decoration: none; }
.bd-share .fa-whatsapp { color: #4ade80; font-size: 18px; }
.bd-share .fa-arrow-up-right-from-square { font-size: 11px; }
.bd-elig { list-style: none; padding: 0; margin: 0 0 24px; position: relative; z-index: 1; }
.bd-elig li { font-size: 13.5px; padding: 6px 0; color: rgba(255,255,255,.88); }
.bd-elig i { color: #4ade80; margin-right: 10px; font-size: 12px; }
.bd-partners { border-top: 1px solid rgba(255,255,255,.16); padding-top: 16px; position: relative; z-index: 1; }
.bd-partners strong { display: block; font-size: 14px; line-height: 1.6; }
.bd-partners small { display: block; font-size: 11.5px; color: rgba(255,255,255,.6); margin: 4px 0; }

.bd-card { background: #fff; border: 1px solid var(--ime-line); border-radius: var(--ime-radius); box-shadow: var(--ime-shadow); padding: 34px 34px 30px; }
.bd-card h3 { font-size: 26px; font-weight: 800; color: var(--ime-ink); margin: 0 0 4px; }
.bd-card-sub { color: var(--ime-muted); font-size: 14px; margin-bottom: 22px; }
.bd-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.bd-field { display: block; margin: 0; }
.bd-field span { display: block; font-size: 12.5px; font-weight: 700; color: var(--ime-ink); margin-bottom: 6px; }
.bd-field em { font-style: normal; font-weight: 600; color: var(--ime-muted); }
.bd-field input, .bd-field select { width: 100%; height: 48px; border: 1px solid var(--ime-line); border-radius: 10px; padding: 0 14px; font-size: 14.5px; background: var(--ime-paper-alt); color: var(--ime-ink); transition: .18s; }
.bd-field input:focus, .bd-field select:focus { outline: 0; background: #fff; border-color: var(--ime-red); box-shadow: 0 0 0 4px var(--ime-red-tint); }
.bd-check { display: flex; gap: 12px; align-items: flex-start; margin: 22px 0 18px; cursor: pointer; font-size: 14px; color: var(--ime-ink-soft); line-height: 1.5; }
.bd-check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--ime-red); flex: none; }
.bd-msg { background: var(--ime-red-tint); color: var(--ime-red-dark); border-radius: 10px; padding: 10px 14px; font-size: 13.5px; font-weight: 600; margin-bottom: 14px; }
.bd-submit { width: 100%; height: 54px; border: 0; border-radius: 12px; background: var(--ime-red); color: #fff; font-size: 16px; font-weight: 800; display: flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; box-shadow: var(--ime-shadow-red); transition: .2s; }
.bd-submit:hover { background: var(--ime-red-dark); transform: translateY(-2px); }
.bd-submit i { transition: transform .2s; }
.bd-submit:hover i { transform: translateX(4px); }
.bd-submit:disabled { opacity: .7; cursor: wait; }
.bd-done { text-align: center; padding: 20px 0 6px; }
.bd-done[hidden], .bd-msg[hidden], #bdForm[hidden] { display: none; }
.bd-done-ico { width: 64px; height: 64px; border-radius: 50%; background: #e7f7ee; color: #25a244; display: grid; place-items: center; font-size: 26px; margin: 0 auto 16px; }
.bd-done p { color: var(--ime-ink-soft); margin-bottom: 20px; }

@media (max-width: 992px) {
    .bd-hero-grid, .bd-register { grid-template-columns: 1fr; }
    .bd-hero-art { min-height: 260px; order: -1; }
    .bd-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
    .bd-facts { grid-template-columns: 1fr; margin-bottom: -20px; }
    .bd-fact + .bd-fact { border-left: 0; border-top: 1px solid var(--ime-line); }
    .bd-grid2, .bd-steps { grid-template-columns: 1fr; }
    .bd-card, .bd-invite { padding: 26px 22px; }
}
@media (prefers-reduced-motion: reduce) { .bd-blob, .bd-drop, .bd-float { animation: none; } }

/* Emirates ID reminders */
.bd-elig .bd-elig-id { margin-top: 6px; padding: 10px 12px; border-radius: 10px; background: rgba(200,48,42,.28); color: #fff; }
.bd-elig .bd-elig-id i { color: #fff; font-size: 14px; }
.bd-idnote { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--ime-ink); background: var(--ime-red-tint); border-radius: 10px; padding: 11px 14px; margin-bottom: 16px; }
.bd-idnote i { color: var(--ime-red); font-size: 16px; }

.bd-page { display: flex; flex-direction: column; overflow-x: hidden; }

/* Mobile / tablet: registration comes first */
@media (max-width: 992px) {
    .bd-hero { order: 1; padding-top: 6px; }
    .bd-register-sec { order: 2; padding: 22px 0 40px; }
    .bd-steps-sec { order: 3; padding: 30px 0 40px; }
    .bd-hero-art, .bd-chips { display: none; }
    .bd-hero-grid { padding: 8px 0 18px; gap: 0; }
    .bd-title { font-size: clamp(30px, 8.5vw, 42px); margin-bottom: 12px; }
    .bd-lead { font-size: 15.5px; margin-bottom: 18px; }
    .bd-facts { margin-bottom: 0; }
    .bd-register-sec { background: var(--ime-paper-alt); }
    .bd-card { order: 1; }
    .bd-invite { order: 2; }
}
@media (max-width: 680px) {
    .bd-hero .container, .bd-steps-sec .container, .bd-register-sec .container { padding-left: 14px; padding-right: 14px; }
    .bd-cta-row { gap: 10px; }
    .bd-cta-row .ime-btn-red { width: 100%; justify-content: center; }
    .bd-ghost { width: 100%; justify-content: center; }
    .bd-facts { margin-top: 6px; }
    .bd-fact { padding: 14px 16px; }
    .bd-card h3 { font-size: 23px; }
    .bd-card { padding: 22px 18px; }
    .bd-submit { height: 52px; font-size: 15px; }
    .bd-invite h2 { font-size: 24px; }
}

.bd-mobmeta { display: none; }
@media (max-width: 992px) {
    .bd-facts { display: none; }
    .bd-hero-grid { padding-bottom: 6px; }
    .bd-cta-row .bd-ghost { display: none; }
    .bd-lead { font-size: 14.5px; line-height: 1.55; margin-bottom: 14px; }
    .bd-mobmeta { display: flex; flex-direction: column; gap: 6px; margin: 2px 0 18px; font-size: 13.5px; font-weight: 700; color: var(--ime-ink); background: var(--ime-paper-alt); border-radius: 10px; padding: 12px 14px; }
    .bd-mobmeta i { color: var(--ime-red); width: 18px; }
    .bd-card-sub { display: none; }
}

.bd-elig .bd-elig-id { display: flex; align-items: flex-start; gap: 10px; margin: 6px 0; }
.bd-elig .bd-elig-id i { margin-top: 3px; }

.bd-grid2 .bd-field:nth-child(3) { grid-column: 1 / -1; }
