/* Date/time strip, footer additions and the floating WhatsApp button */
.dt-slider { position: relative; flex: 1 1 280px; min-width: 240px; height: 26px; text-align: center; font-size: .92rem; font-weight: 600; letter-spacing: .2px; }
.dt-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; opacity: 0; transform: translateY(8px); transition: opacity .55s ease, transform .55s ease; pointer-events: none; white-space: nowrap; }
.dt-slide.on { opacity: 1; transform: none; pointer-events: auto; }
.dt-slide[data-lang="ar"] { direction: rtl; font-family: 'Noto Naskh Arabic', 'Amiri', 'Traditional Arabic', serif; font-size: .95rem; }
.dt-slide i { opacity: .85; }
.dt-slide .dt-time { font-variant-numeric: tabular-nums; opacity: .92; }
@media (max-width: 767px) { .dt-slider { order: 3; flex-basis: 100%; margin-top: 4px; font-size: .74rem; } .dt-slide { gap: 4px; } }
@media (prefers-reduced-motion: reduce) { .dt-slide { transition: none; transform: none; } }

/* footer (data comes from the admin panel) */
.rf .rf-about { margin-top: 14px; font-size: .95rem; line-height: 1.7; }
.rf .rf-social-title { margin: 18px 0 10px; font-size: 1rem; }
.rf-social { display: flex; flex-wrap: wrap; gap: 8px; }
body .footer-da .rf-social a { width: 38px; height: 38px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); transition: transform .25s, background .25s; }
body .footer-da .rf-social a:hover { background: var(--mz-gold, #c9a227); color: #1b2b22; transform: translateY(-3px); padding-left: 0; }
.rf-contact p { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; }
.rf-contact p i { margin-top: 3px; line-height: 1.4; color: var(--mz-gold-l, #e6c75a); flex: 0 0 auto; }
.rf-contact .rf-hours { white-space: pre-line; }
.rf-btns { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.rf-btns a { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }
body .footer-da .rf-links p { margin-bottom: 12px; }
body .footer-da .rf-links p a::before { content: ""; display: inline-block; margin-right: 10px; border-left: 7px solid var(--mz-gold, #c9a227); border-top: 5px solid transparent; border-bottom: 5px solid transparent; }
body .footer-da .rf-links p a i { display: none; }
.rf .footer-bottom { padding-bottom: 58px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; }
.rf .footer-bottom a.credit { font-weight: 700; }

/* floating WhatsApp button */
.wa-float { position: fixed; bottom: 78px; right: 14px; z-index: 1085; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff !important; display: flex; align-items: center; justify-content: center; font-size: 32px; text-decoration: none; box-shadow: 0 6px 18px rgba(0,0,0,.28); animation: waPulse 2.4s infinite; transition: transform .25s; }
.wa-float.wa-left { right: auto; left: 14px; }
.wa-float:hover { transform: scale(1.1); }
.wa-float .wa-tip { position: absolute; right: 68px; background: #fff; color: #1b2b22; font-size: .82rem; font-weight: 600; padding: 6px 12px; border-radius: 8px; white-space: nowrap; box-shadow: 0 4px 12px rgba(0,0,0,.2); opacity: 0; transform: translateX(8px); transition: .25s; pointer-events: none; }
.wa-float.wa-left .wa-tip { right: auto; left: 68px; transform: translateX(-8px); }
.wa-float:hover .wa-tip { opacity: 1; transform: none; }
@keyframes waPulse { 0% { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 6px 18px rgba(0,0,0,.28); } 70% { box-shadow: 0 0 0 16px rgba(37,211,102,0), 0 6px 18px rgba(0,0,0,.28); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 6px 18px rgba(0,0,0,.28); } }
@media print { .wa-float, .dt-slider { display: none !important; } }

/* ---- "Sections" cards: big outlined number + illustration + title (reference: rawdahacademybd.com) ---- */
body .h2-programs .h2-prog { clip-path: none; border-radius: 26px; background: #fff; border: 1px solid rgba(11,93,59,.14); box-shadow: 0 10px 28px rgba(11,60,40,.08);
  padding: 22px 20px 26px; min-height: 100%; position: relative; overflow: hidden; isolation: isolate; transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s, background .4s, border-color .4s; }
body .h2-programs .h2-prog::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 85% 0%, rgba(201,162,39,.20), transparent 55%), repeating-linear-gradient(45deg, rgba(11,93,59,.035) 0 10px, transparent 10px 20px); }
body .h2-programs .h2-prog::after { display: block; content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; inset: auto 0 0 0; background: linear-gradient(90deg, var(--mz-gold, #c9a227), var(--mz-gold-l, #e6c75a)); transform: scaleX(0); transform-origin: left; transition: transform .45s; }
body .h2-programs .h2-prog .no { order: -1; align-self: flex-start; width: auto; height: auto; background: none; display: block; font-family: var(--mz-head, inherit); font-size: 3.6rem; font-weight: 900; line-height: .9; color: transparent; -webkit-text-stroke: 2px var(--mz-gold, #c9a227); margin: 0; transition: color .4s, -webkit-text-stroke-color .4s; }
body .h2-programs .h2-prog img { width: 100%; max-width: 170px; height: 140px; border: 0; border-radius: 0; object-fit: contain; margin: 4px 0 16px; filter: drop-shadow(0 8px 12px rgba(11,60,40,.18)); transition: transform .5s cubic-bezier(.2,.8,.2,1); }
body .h2-programs .h2-prog .cap { text-align: center; width: 100%; }
body .h2-programs .h2-prog h5 { font-size: 1.05rem; margin: 0; padding-top: 14px; border-top: 1px dashed rgba(11,93,59,.25); transition: color .35s; }
body .h2-programs .h2-prog small { display: block; margin-top: 6px; }
body .h2-programs .h2-prog:hover { transform: translateY(-10px); background: var(--mz-green, #0b5d3b); border-color: transparent; box-shadow: 0 22px 44px rgba(11,60,40,.28); }
body .h2-programs .h2-prog:hover::after { transform: scaleX(1); }
body .h2-programs .h2-prog:hover .no { color: var(--mz-gold, #c9a227); -webkit-text-stroke-color: var(--mz-gold, #c9a227); }
body .h2-programs .h2-prog:hover img { transform: scale(1.1) translateY(-3px); }
body .h2-programs .h2-prog:hover h5, body .h2-programs .h2-prog:hover small { color: #fff; border-top-color: rgba(255,255,255,.35); }
@media (prefers-reduced-motion: reduce) { body .h2-programs .h2-prog, body .h2-programs .h2-prog img { transition: none; } }
