/* ================================================
   HEADER — "COSMIC STAGE" REDESIGN
   noor-landing-61 – Reflections That Lead to Faith
   ================================================ */

/* ── BASE ── */
.main-header {
  position: relative;
  overflow: hidden;
  background-image: url('../images/header-1.webp') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  min-height: 100vh;
}

/* Directional dark overlay — heavier on the left where text sits */
.main-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(108deg,
      rgba(3, 5, 16, 0.86) 0%,
      rgba(3, 5, 16, 0.58) 30%,
      rgba(3, 5, 16, 0.18) 58%,
      rgba(3, 5, 16, 0.42) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Bottom vignette fade to page background */
 

/* ── ANIMATED COLOR MESH ── */
.hero-bg {
  display: block !important;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  animation: mesh-shift 24s ease-in-out infinite alternate;
}
@keyframes mesh-shift {
  0% {
    background:
      radial-gradient(ellipse at 10% 22%, rgba(201,162,39,0.22) 0%, transparent 42%),
      radial-gradient(ellipse at 80% 68%, rgba(99,102,241,0.15) 0%, transparent 40%);
  }
  50% {
    background:
      radial-gradient(ellipse at 20% 44%, rgba(201,162,39,0.16) 0%, transparent 42%),
      radial-gradient(ellipse at 70% 52%, rgba(99,102,241,0.20) 0%, transparent 40%);
  }
  100% {
    background:
      radial-gradient(ellipse at 8%  64%, rgba(201,162,39,0.18) 0%, transparent 42%),
      radial-gradient(ellipse at 85% 26%, rgba(99,102,241,0.13) 0%, transparent 40%);
  }
}

/* ── TOP-RIGHT WARM GLOW ── */
.moon-glow {
  display: block !important;
  position: absolute;
  top: -100px; right: -50px;
  width: 620px; height: 620px;
  background: radial-gradient(circle at 36% 36%,
    rgba(255, 222, 130, 0.35) 0%,
    rgba(237, 185,  65, 0.17) 28%,
    rgba(200, 145,  22, 0.05) 55%,
    transparent 68%);
  border-radius: 50%;
  z-index: 3; pointer-events: none;
  filter: blur(28px);
  animation: light-breathe 10s ease-in-out infinite;
}
@keyframes light-breathe {
  0%, 100% { opacity: 0.80; transform: scale(1); }
  50%       { opacity: 1;    transform: scale(1.09); }
}

/* Hide unused legacy elements */
.stars-layer,
.hero-halo,
.hero-ring,
.hero-particles { display: none !important; }

/* ── ORB 1 — left warmth ── */
.header-orb-1 {
  display: block !important;
  position: absolute;
  top: 18%; left: -8%;
  width: 540px; height: 540px;
  background: radial-gradient(circle,
    rgba(237, 210, 121, 0.17) 0%,
    rgba(237, 185,  70, 0.05) 50%,
    transparent 70%);
  border-radius: 50%;
  z-index: 2; pointer-events: none;
  filter: blur(82px);
  animation: orb-l 22s ease-in-out infinite;
}
@keyframes orb-l {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-50px); }
}

/* ── ORB 2 — mid cool ── */
.header-orb-2 {
  display: block !important;
  position: absolute;
  bottom: 18%; right: 26%;
  width: 420px; height: 420px;
  background: radial-gradient(circle,
    rgba(99, 102, 241, 0.17) 0%,
    rgba(80,  90, 220, 0.05) 52%,
    transparent 70%);
  border-radius: 50%;
  z-index: 2; pointer-events: none;
  filter: blur(74px);
  animation: orb-r 28s ease-in-out infinite;
}
@keyframes orb-r {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(46px); }
}

/* ── ORB 3 — bottom ground glow ── */
.header-orb-3 {
  display: block !important;
  position: absolute;
  bottom: -6%; left: 14%;
  width: 720px; height: 240px;
  background: radial-gradient(ellipse,
    rgba(237, 210, 121, 0.12) 0%,
    rgba(201, 162,  39, 0.04) 52%,
    transparent 70%);
  border-radius: 50%;
  z-index: 2; pointer-events: none;
  filter: blur(60px);
}

/* ────────────────────────────────────────────
   VERTICAL LEFT ACCENT LINE
   ──────────────────────────────────────────── */
.hero-vline {
  display: none;
  position: absolute;
  left: 42px; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(to bottom,
    transparent 0%,
    rgba(237, 210, 121, 0.42) 16%,
    rgba(237, 210, 121, 0.62) 50%,
    rgba(237, 210, 121, 0.42) 84%,
    transparent 100%);
  z-index: 4;
  pointer-events: none;
}
.vl-diamond {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 8px; height: 8px;
  background: #edd279;
  box-shadow: 0 0 14px rgba(237, 210, 121, 0.90);
  animation: vl-glow 3.2s ease-in-out infinite;
}
@keyframes vl-glow {
  0%, 100% { box-shadow: 0 0  8px rgba(237, 210, 121, 0.70); }
  50%       { box-shadow: 0 0 24px rgba(237, 210, 121, 1.00); }
}

/* ────────────────────────────────────────────
   COSMIC PORTAL — right-side decoration
   ──────────────────────────────────────────── */
.hero-portal {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%);
  width: 580px; height: 580px;
  z-index: 3;
  pointer-events: none;
  /* Fade the left edge so it doesn't clash with text */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.45) 20%, black 44%);
  mask-image:         linear-gradient(to right, transparent 0%, rgba(0,0,0,0.45) 20%, black 44%);
}

.portal-ring {
  position: absolute;
  border-radius: 50%;
  top: 50%; left: 50%;
}

/* Ring 1 — outermost, slow CW, gold dot at top */
.portal-ring-1 {
  width: 560px; height: 560px;
  margin: -280px 0 0 -280px;
  border: 1px solid rgba(237, 210, 121, 0.18);
  animation: pr-cw 72s linear infinite;
}
.portal-ring-1::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(237, 210, 121, 0.07);
  border-radius: 50%;
}
.portal-ring-1::after {
  content: '';
  position: absolute;
  width: 11px; height: 11px;
  background: #edd279;
  box-shadow: 0 0 20px rgba(237, 210, 121, 1.0), 0 0 40px rgba(237, 210, 121, 0.55);
  border-radius: 50%;
  top: -5.5px; left: 50%; margin-left: -5.5px;
}

/* Ring 2 — indigo, CCW, purple dot at bottom */
.portal-ring-2 {
  width: 440px; height: 440px;
  margin: -220px 0 0 -220px;
  border: 1px solid rgba(99, 102, 241, 0.22);
  animation: pr-ccw 50s linear infinite;
}
.portal-ring-2::after {
  content: '';
  position: absolute;
  width: 7px; height: 7px;
  background: rgba(160, 130, 255, 0.90);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.90);
  border-radius: 50%;
  bottom: -3.5px; left: 50%; margin-left: -3.5px;
}

/* Ring 3 — dashed gold, CW, dot on right */
.portal-ring-3 {
  width: 322px; height: 322px;
  margin: -161px 0 0 -161px;
  border: 1px dashed rgba(237, 210, 121, 0.15);
  animation: pr-cw 36s linear infinite;
}
.portal-ring-3::after {
  content: '';
  position: absolute;
  width: 5px; height: 5px;
  background: rgba(237, 210, 121, 0.80);
  box-shadow: 0 0 9px rgba(237, 210, 121, 0.80);
  border-radius: 50%;
  right: -2.5px; top: 50%; margin-top: -2.5px;
}

/* Ring 4 — innermost gold, CCW */
.portal-ring-4 {
  width: 200px; height: 200px;
  margin: -100px 0 0 -100px;
  border: 1.5px solid rgba(237, 210, 121, 0.30);
  animation: pr-ccw 22s linear infinite;
}
.portal-ring-4::after {
  content: '';
  position: absolute;
  width: 6px; height: 6px;
  background: rgba(237, 210, 121, 0.88);
  box-shadow: 0 0 11px rgba(237, 210, 121, 0.90);
  border-radius: 50%;
  top: -3px; left: 50%; margin-left: -3px;
}

/* Core glow */
.portal-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 130px; height: 130px;
  background: radial-gradient(circle,
    rgba(237, 210, 121, 0.38) 0%,
    rgba(237, 210, 121, 0.16) 32%,
    rgba(99,  102, 241, 0.12) 62%,
    transparent 100%);
  border-radius: 50%;
  filter: blur(10px);
  animation: core-breathe 7s ease-in-out infinite;
}
@keyframes core-breathe {
  0%, 100% { opacity: 0.72; transform: translate(-50%, -50%) scale(1);    }
  50%       { opacity: 1;    transform: translate(-50%, -50%) scale(1.24); }
}

@keyframes pr-cw  { to { transform: rotate(360deg);  } }
@keyframes pr-ccw { to { transform: rotate(-360deg); } }

/* Floating particles inside portal */
.pp {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: pp-float linear infinite;
}
.pp-1 { width: 3px; height: 3px; top:  8%; left: 22%; animation-duration:  7s;  animation-delay:  0s;   background: rgba(237,210,121,0.85); box-shadow: 0 0 6px rgba(237,210,121,0.70); }
.pp-2 { width: 2px; height: 2px; top: 30%; left: 80%; animation-duration:  9s;  animation-delay:  1.2s; background: rgba(255,255,255,0.55); }
.pp-3 { width: 4px; height: 4px; top: 60%; left: 15%; animation-duration:  8s;  animation-delay:  2.5s; background: rgba(237,210,121,0.65); box-shadow: 0 0 8px rgba(237,210,121,0.55); }
.pp-4 { width: 2px; height: 2px; top: 75%; left: 65%; animation-duration: 11s;  animation-delay:  0.6s; background: rgba(199,185,255,0.60); }
.pp-5 { width: 3px; height: 3px; top: 45%; left:  5%; animation-duration:  6.5s;animation-delay:  3s;   background: rgba(237,210,121,0.75); box-shadow: 0 0 7px rgba(237,210,121,0.60); }
.pp-6 { width: 2px; height: 2px; top: 88%; left: 38%; animation-duration: 12s;  animation-delay:  4s;   background: rgba(255,255,255,0.45); }

@keyframes pp-float {
  0%   { transform: translateY(0)    scale(1); opacity: 0; }
  5%   { opacity: 1; }
  85%  { opacity: 0.7; }
  100% { transform: translateY(-50px) scale(0); opacity: 0; }
}

/* ────────────────────────────────────────────
   LAYOUT
   ──────────────────────────────────────────── */
.main-header .container { position: relative; z-index: 5; }

.main-header .header-caption {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
  padding: 84px 0 126px !important;
  max-width: 660px;
}

/* ── Logo ── */
.main-header .noor-logo { margin-bottom: 26px; }
.main-header .noor-logo img {
  filter: drop-shadow(0 4px 28px rgba(0,0,0,0.55)) brightness(1.06);
}

/* ── Ornamental rule (between logo and title) ── */
.hero-rule {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  width: 300px;
  animation: rule-reveal 0.9s ease-out 0.4s both;
}
.hr-line {
  flex: 0 0 48px;
  height: 1px;
  background: linear-gradient(90deg, rgba(237,210,121,0.65), transparent);
}
.hr-line.hr-line-r {
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(237,210,121,0.30));
}
.hr-diamond {
  width: 7px; height: 7px;
  background: #edd279;
  transform: rotate(45deg);
  flex-shrink: 0;
  box-shadow: 0 0 12px rgba(237,210,121,0.80);
  animation: hr-glow 3.5s ease-in-out infinite;
}
@keyframes rule-reveal {
  from { opacity: 0; transform: translateX(-24px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes hr-glow {
  0%, 100% { box-shadow: 0 0  6px rgba(237,210,121,0.60); }
  50%       { box-shadow: 0 0 20px rgba(237,210,121,1.00); }
}

/* ── Content block ── */
.main-header .header-content {
  position: relative !important;
  width: 100% !important;
  max-width: 660px !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
}
.main-header .header-content > * { position: relative; z-index: 5; }
.main-header .header-content .main-title { text-align: left !important; }
.main-header .header-content p         { text-align: left !important; }

/* ── Main title ── */
.main-header .main-title {
  font-size: 86px !important;
  line-height: 1.04 !important;
  letter-spacing: -3.5px !important;
  margin-bottom: 30px !important;
  text-align: left !important;
  background: linear-gradient(128deg,
    #ffffff  0%,
    #f8edbe 13%,
    #edd279 27%,
    #fde68a 46%,
    #ffffff 60%,
    #f5e4a8 76%,
    #edd279 90%,
    #ffffff 100%) !important;
  background-size: 300% 300% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: title-shimmer 10s ease-in-out infinite;
  filter: drop-shadow(0 4px 40px rgba(237,210,121,0.24)) !important;
}

/* Animated gold underline from <span> */
.main-header .main-title span {
  display: block;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #edd279, #fcd34d, rgba(237,210,121,0));
  margin: 14px 0 0;
  border-radius: 2px;
  box-shadow: 0 0 18px rgba(237,210,121,0.55);
  animation: title-line-grow 1.4s cubic-bezier(0.22, 1, 0.36, 1) 1.0s forwards;
}
@keyframes title-line-grow {
  from { width: 0;     opacity: 0; }
  to   { width: 220px; opacity: 1; }
}
@keyframes title-shimmer {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

/* ── Paragraph ── */
.main-header p {
  text-align: left !important;
  padding-left: 0 !important;
  margin: 0 !important;
  max-width: 540px;
}
.main-header p::before { display: none !important; }

.main-header p.aya-font {
  font-size: 16.5px !important;
  line-height: 1.90 !important;
  color: rgba(225, 230, 245, 0.76) !important;
  margin-bottom: 0 !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.55);
  padding-left: 18px !important;
  border-left: 2px solid rgba(237, 210, 121, 0.38) !important;
}

/* ── Scroll indicator ── */
.header-scroll {
  position: absolute;
  bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 20;
  opacity: 0.55;
  animation: scroll-bounce 2.4s ease-in-out infinite,
             scroll-appear 1s ease-out 2.2s both;
}
.scroll-mouse {
  width: 24px; height: 38px;
  border: 1.5px solid rgba(237, 210, 121, 0.44);
  border-radius: 14px;
  position: relative;
}
.scroll-mouse::before {
  content: '';
  position: absolute;
  top: 6px; left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 7px;
  background: linear-gradient(to bottom, #edd279, rgba(237,210,121,0.15));
  border-radius: 2px;
  animation: scroll-wheel 2.4s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateX(-50%) translateY(0);  }
  50%       { transform: translateX(-50%) translateY(9px); }
}
@keyframes scroll-wheel {
  0%   { opacity: 1; transform: translateX(-50%) translateY(0);   }
  100% { opacity: 0; transform: translateX(-50%) translateY(12px); }
}
@keyframes scroll-appear {
  from { opacity: 0; }
  to   { opacity: 0.55; }
}

/* ── Bottom fade ── */
.main-header .bottom-fade {
  height: 280px !important;
  background: linear-gradient(to top,
    rgba(4, 6, 18, 0.99) 0%,
    rgba(4, 6, 18, 0.52) 40%,
    transparent 100%) !important;
}

/* ── Responsive ── */
@media (max-width: 1280px) {
  .hero-portal { right: -120px; }
  .main-header .main-title { font-size: 74px !important; }
}
@media (max-width: 1100px) {
  .hero-portal { right: -160px; }
  .portal-ring-1 { width: 500px; height: 500px; margin: -250px 0 0 -250px; }
  .portal-ring-2 { width: 390px; height: 390px; margin: -195px 0 0 -195px; }
  .portal-ring-3 { width: 286px; height: 286px; margin: -143px 0 0 -143px; }
  .portal-ring-4 { width: 178px; height: 178px; margin:  -89px 0 0  -89px; }
  .main-header .main-title { font-size: 64px !important; }
}
@media (max-width: 991px) {
  .hero-portal { right: -200px; opacity: 0.42; }
  .hero-vline  { left: 16px; }
  .main-header .main-title { font-size: 54px !important; letter-spacing: -2px !important; }
  .main-header .header-caption { padding: 70px 0 110px !important; }
}
@media (max-width: 767px) {
  .main-header { background-image: url('../images/header-mob.webp') !important; }
  .hero-portal,
  .hero-vline  { display: none !important; }
  .hero-rule   { margin-bottom: 22px; }
  .main-header .main-title { font-size: 38px !important; letter-spacing: -1px !important; line-height: 1.12 !important; }
  .main-header p.aya-font  { font-size: 14.5px !important; }
  .main-header .header-caption { padding: 40px 0 90px !important; }
  .main-header .header-content { padding: 0 !important; }
  .moon-glow { display: none !important; }
}


/* ╔════════════════════════════════════════╗
   ║   BOOK-COVER SECTION  — LIGHT MODE    ║
   ╚════════════════════════════════════════╝ */

.book-cover {
  background: linear-gradient(170deg, #fefcf7 0%, #faf5e9 38%, #f4ecda 65%, #fefcf7 100%) !important;
  position: relative;
  overflow: hidden;
  padding: 90px 0 110px !important;
}

/* dark-to-light transition line at top */
.book-cover::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(201,162,39,0.35) 20%, rgba(237,210,121,0.75) 50%, rgba(201,162,39,0.35) 80%, transparent 100%);
  z-index: 3;
  pointer-events: none;
}

/* warm sunburst bloom in center */
.bc-spotlight {
  position: absolute;
  top: -12%; left: 50%;
  transform: translateX(-50%);
  width: 860px; height: 740px;
  background: radial-gradient(ellipse at 50% 0%, rgba(237,210,121,0.28) 0%, rgba(250,230,160,0.14) 38%, transparent 65%);
  pointer-events: none; z-index: 0;
  animation: spotlight-breathe 14s ease-in-out infinite;
}
@keyframes spotlight-breathe {
  0%, 100% { opacity: 0.8; transform: translateX(-50%) scale(1); }
  50%       { opacity: 1;   transform: translateX(-50%) scale(1.12); }
}

.bc-orb { position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; filter: blur(80px); }
.bc-orb-1 { width: 520px; height: 520px; background: radial-gradient(circle, rgba(237,210,121,0.20) 0%, transparent 70%); top: -5%; right: -8%; animation: bc-drift-1 22s ease-in-out infinite; }
.bc-orb-2 { width: 440px; height: 440px; background: radial-gradient(circle, rgba(180,150,240,0.10) 0%, transparent 70%); bottom: 5%; left: -6%; animation: bc-drift-2 28s ease-in-out infinite; }
.bc-orb-3 { width: 340px; height: 340px; background: radial-gradient(circle, rgba(250,200,90,0.15) 0%, transparent 70%); top: 40%; left: 40%; animation: bc-drift-3 19s ease-in-out infinite; }
@keyframes bc-drift-1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-35px,45px)} }
@keyframes bc-drift-2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(42px,-32px)} }
@keyframes bc-drift-3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-22px,34px)} }

.book-cover .container { position: relative; z-index: 2; }
.bc-section-top { text-align: center; margin-bottom: 60px; position: relative; z-index: 2; }

.bc-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(201,162,39,0.10);
  border: 1px solid rgba(201,162,39,0.32);
  border-radius: 50px;
  padding: 10px 26px;
  color: #7a5c09;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  box-shadow: 0 4px 18px rgba(201,162,39,0.12), inset 0 1px 0 rgba(255,255,255,0.80);
}
.bc-badge-dot {
  width: 7px; height: 7px;
  background: #c9a227;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(201,162,39,0.65);
  animation: bc-dot-pulse 2.2s ease-in-out infinite;
}
@keyframes bc-dot-pulse {
  0%,100% { transform:scale(1);   box-shadow:0 0 8px rgba(201,162,39,.65); }
  50%      { transform:scale(1.4); box-shadow:0 0 18px rgba(201,162,39,.88); }
}

.bc-showcase { display: flex; align-items: center; gap: 64px; }
.bc-book-col { flex: 0 0 auto; display: flex; justify-content: center; }
.bc-info-col { flex: 1 1 0; min-width: 0; }

.bc-book-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 360px;
  height: 420px;
}

/* warm glow behind book */
.bc-book-halo {
  position: absolute;
  width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(237,210,121,0.42) 0%, rgba(250,220,120,0.18) 42%, transparent 68%);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  filter: blur(22px);
  animation: bc-halo-pulse 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes bc-halo-pulse {
  0%,100% { opacity:.75; transform:translate(-50%,-50%) scale(1); }
  50%      { opacity:1;   transform:translate(-50%,-50%) scale(1.10); }
}

/* book ground shadow */
.bc-book-stage::after {
  content: '';
  position: absolute;
  bottom: 8px; left: 50%;
  transform: translateX(-50%);
  width: 190px; height: 22px;
  background: radial-gradient(ellipse, rgba(120,90,20,0.18) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 3;
}

.bc-book-ring { position: absolute; border-radius: 50%; pointer-events: none; top: 50%; left: 50%; }
.bc-book-ring-1 {
  width: 340px; height: 340px; margin-top: -170px; margin-left: -170px;
  border: 1px solid rgba(201,162,39,0.22);
  box-shadow: 0 0 40px rgba(237,210,121,0.08) inset;
  animation: bc-ring-cw 45s linear infinite;
}
.bc-book-ring-1::before {
  content:''; position:absolute; inset:6px;
  border: 1px dashed rgba(201,162,39,0.10);
  border-radius:50%;
}
.bc-book-ring-1::after {
  content:''; position:absolute;
  width:8px; height:8px;
  background:rgba(201,162,39,0.85);
  box-shadow:0 0 12px rgba(201,162,39,0.70);
  border-radius:50%;
  top:-4px; left:50%; margin-left:-4px;
}
.bc-book-ring-2 {
  width: 240px; height: 240px; margin-top: -120px; margin-left: -120px;
  border: 1px solid rgba(160,130,210,0.16);
  animation: bc-ring-ccw 30s linear infinite;
}
.bc-book-ring-2::before {
  content:''; position:absolute;
  width:6px; height:6px;
  background:rgba(160,130,210,0.60);
  box-shadow:0 0 10px rgba(160,130,210,0.65);
  border-radius:50%;
  top:-3px; left:50%; margin-left:-3px;
}
@keyframes bc-ring-cw  { from{transform:rotate(0deg)}   to{transform:rotate(360deg)} }
@keyframes bc-ring-ccw { from{transform:rotate(0deg)}   to{transform:rotate(-360deg)} }

.bc-particles { position:absolute; inset:0; pointer-events:none; overflow:hidden; border-radius:50%; }
.bc-p { position:absolute; border-radius:50%; animation:bc-particle-rise linear infinite; }
.bc-p:nth-child(1){ width:3px;height:3px;background:rgba(201,162,39,.78);left:18%;bottom:-6px;animation-duration:7s;  animation-delay:0s;  box-shadow:0 0 6px rgba(201,162,39,.55); }
.bc-p:nth-child(2){ width:2px;height:2px;background:rgba(160,130,210,.50);left:35%;bottom:-6px;animation-duration:9s;  animation-delay:1.2s; }
.bc-p:nth-child(3){ width:4px;height:4px;background:rgba(201,162,39,.65);left:50%;bottom:-6px;animation-duration:8s;  animation-delay:2.5s; box-shadow:0 0 8px rgba(201,162,39,.45); }
.bc-p:nth-child(4){ width:2px;height:2px;background:rgba(180,150,230,.50);left:65%;bottom:-6px;animation-duration:10s; animation-delay:0.6s; }
.bc-p:nth-child(5){ width:3px;height:3px;background:rgba(201,162,39,.72);left:80%;bottom:-6px;animation-duration:6.5s;animation-delay:3s;   box-shadow:0 0 7px rgba(201,162,39,.50); }
.bc-p:nth-child(6){ width:2px;height:2px;background:rgba(100,120,200,.38);left:28%;bottom:-6px;animation-duration:11s; animation-delay:4s; }
@keyframes bc-particle-rise {
  0%   { transform:translateY(0) scale(1); opacity:0; }
  5%   { opacity:1; }
  85%  { opacity:.45; }
  100% { transform:translateY(-380px) scale(0); opacity:0; }
}

.bc-book-stage .book-image { position: relative; z-index: 4; width: 240px !important; margin-inline-end: 0 !important; flex-shrink: 0; }

/* ── INFO CARD — white glass ── */
.bc-info-card {
  background:
    radial-gradient(ellipse at 8% 0%,  rgba(237,210,121,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 92% 100%, rgba(180,150,230,0.06) 0%, transparent 50%),
    linear-gradient(155deg, rgba(255,255,255,0.99) 0%, rgba(253,249,242,1.00) 100%);
  border: 1px solid rgba(201,162,39,0.20);
  border-radius: 28px;
  padding: 50px 46px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 2px 4px  rgba(0,0,0,0.03),
    0 8px 20px rgba(0,0,0,0.06),
    0 28px 60px rgba(0,0,0,0.07),
    0 0 0 1px rgba(201,162,39,0.06),
    inset 0 1px 0 rgba(255,255,255,1.00);
}

.bc-info-card::before {
  content: '';
  position: absolute;
  top: 18px; left: 18px;
  width: 26px; height: 26px;
  border-top: 2px solid rgba(201,162,39,0.55);
  border-left: 2px solid rgba(201,162,39,0.55);
  border-radius: 4px 0 0 0;
  pointer-events: none;
}
.bc-info-card::after {
  content: '';
  position: absolute;
  bottom: 18px; right: 18px;
  width: 26px; height: 26px;
  border-bottom: 2px solid rgba(201,162,39,0.40);
  border-right: 2px solid rgba(201,162,39,0.40);
  border-radius: 0 0 4px 0;
  pointer-events: none;
}

/* gold shimmer top edge */
.bc-info-top-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(201,162,39,0.30) 15%, #c9a227 50%, rgba(201,162,39,0.30) 85%, transparent 100%);
  border-radius: 28px 28px 0 0;
  box-shadow: 0 0 22px rgba(201,162,39,0.35), 0 2px 10px rgba(201,162,39,0.16);
  overflow: hidden;
}
.bc-info-top-line::after {
  content: '';
  position: absolute;
  top: 0; left: -40%; width: 35%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.88), transparent);
  animation: bc-scan 3.5s ease-in-out infinite 1s;
}
@keyframes bc-scan { 0%{left:-40%;opacity:0;} 10%{opacity:1;} 90%{opacity:1;} 100%{left:130%;opacity:0;} }

/* tags */
.bc-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.bc-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(0,0,0,0.03);
  border: 1px solid rgba(0,0,0,0.10);
  color: rgba(45,60,85,0.70);
  font-size: 10px; font-weight: 700;
  padding: 6px 14px;
  border-radius: 50px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.28s ease;
}
.bc-tag:hover {
  background: rgba(201,162,39,0.10);
  border-color: rgba(201,162,39,0.38);
  color: #7a5c09;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(201,162,39,0.12);
}
.bc-tag.bc-tag-gold {
  background: rgba(201,162,39,0.09);
  border-color: rgba(201,162,39,0.28);
  color: #7a5c09;
}
.bc-tag.bc-tag-gold:hover {
  background: rgba(201,162,39,0.18);
  box-shadow: 0 4px 16px rgba(201,162,39,0.18);
}
.bc-tag i {
  font-size: 10px;
  width: 16px; height: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,162,39,0.16);
  border-radius: 50%;
}

/* title — rich dark gold on white */
.bc-title {
  font-size: 40px !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  margin: 0 0 22px !important;
  background: linear-gradient(135deg, #6b4e0e 0%, #c9a227 26%, #8b6610 50%, #d4ac35 72%, #6b4e0e 100%) !important;
  background-size: 280% 280% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  animation: bc-title-animate 10s ease-in-out infinite !important;
  filter: drop-shadow(0 2px 10px rgba(201,162,39,0.18)) !important;
}
@keyframes bc-title-animate { 0%{background-position:0% 40%;} 50%{background-position:100% 60%;} 100%{background-position:0% 40%;} }

/* divider */
.bc-divider { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; max-width: 260px; }
.bc-div-line     { flex: 1; height: 1px; background: linear-gradient(90deg, rgba(201,162,39,0.50), transparent); }
.bc-div-line-r   { background: linear-gradient(90deg, transparent, rgba(201,162,39,0.50)); }
.bc-div-diamond  { width: 8px; height: 8px; background: #c9a227; transform: rotate(45deg); flex-shrink: 0; box-shadow: 0 0 12px rgba(201,162,39,0.70); animation: bc-diamond-glow 3s ease-in-out infinite; }
@keyframes bc-diamond-glow { 0%,100%{box-shadow:0 0 6px rgba(201,162,39,.55);} 50%{box-shadow:0 0 22px rgba(201,162,39,.90);} }

/* description */
.bc-desc {
  font-size: 15.5px !important;
  line-height: 1.9 !important;
  color: rgba(35,48,72,0.72) !important;
  margin-bottom: 30px !important;
  padding: 16px 20px !important;
  background: rgba(201,162,39,0.05) !important;
  border-left: 2px solid rgba(201,162,39,0.44) !important;
  border-radius: 0 10px 10px 0 !important;
  position: relative;
}
.bc-desc::before { display: none !important; }

/* actions */
.bc-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.bc-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
}
.bc-btn-primary {
  background: linear-gradient(135deg, #f0d882 0%, #c9a227 55%, #e8c54a 100%);
  color: #0a1320;
  box-shadow: 0 8px 28px rgba(201,162,39,0.40);
  animation: bc-btn-glow-idle 3.5s ease-in-out infinite;
}
@keyframes bc-btn-glow-idle {
  0%,100% { box-shadow: 0 8px 28px rgba(201,162,39,0.40); }
  50%      { box-shadow: 0 10px 36px rgba(201,162,39,0.58), 0 0 20px rgba(237,210,121,0.20); }
}
.bc-btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 52px rgba(201,162,39,0.56); color: #0a1320; text-decoration: none; animation: none; }
.bc-btn-shine { position: absolute; top: 0; left: -65%; width: 45%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent); transform: skewX(-18deg); transition: left 0.55s ease; pointer-events: none; }
.bc-btn-primary:hover .bc-btn-shine { left: 130%; }
.bc-btn-primary .fa { width: 22px; height: 22px; background: rgba(0,0,0,0.12); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; }

.bc-btn-outline {
  background: rgba(201,162,39,0.08);
  color: rgba(90,66,10,0.88);
  border: 1.5px solid rgba(201,162,39,0.32);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.80);
}
.bc-btn-outline .fa { width: 22px; height: 22px; background: rgba(201,162,39,0.16); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; flex-shrink: 0; transition: background 0.28s ease; }
.bc-btn-outline:hover { background: rgba(201,162,39,0.15); border-color: rgba(201,162,39,0.52); color: #6b4e0e; text-decoration: none; transform: translateY(-3px); box-shadow: 0 14px 40px rgba(201,162,39,0.18); }
.bc-btn-outline:hover .fa { background: rgba(201,162,39,0.26); }

@media (max-width: 1100px) {
  .bc-showcase { gap: 40px; }
  .bc-book-stage { width: 300px; height: 360px; }
  .bc-book-ring-1 { width: 280px; height: 280px; margin-top:-140px; margin-left:-140px; }
  .bc-book-ring-2 { width: 200px; height: 200px; margin-top:-100px; margin-left:-100px; }
  .bc-title { font-size: 34px !important; }
  .bc-info-card { padding: 40px 32px; }
}
@media (max-width: 991px) {
  .bc-showcase { flex-direction: column; gap: 48px; }
  .bc-book-col { order: -1; }
  .bc-book-stage { width: 280px; height: 340px; }
  .bc-orb-1, .bc-orb-2, .bc-orb-3 { display: none; }
  .bc-section-top { margin-bottom: 44px; }
  .bc-title { font-size: 32px !important; }
}
@media (max-width: 767px) {
  .book-cover { padding: 60px 0 80px !important; }
  .bc-section-top { margin-bottom: 32px; }
  .bc-badge { font-size: 10px; padding: 8px 18px; letter-spacing: 2px; }
  .bc-book-stage { width: 240px; height: 300px; }
  .bc-book-ring-1 { width: 240px; height: 240px; margin-top:-120px; margin-left:-120px; }
  .bc-book-ring-2 { display: none; }
  .bc-info-card { padding: 32px 22px; }
  .bc-title { font-size: 28px !important; }
  .bc-actions { flex-direction: column; }
  .bc-btn { justify-content: center; }
}


/* ╔════════════════════════════════════════╗
   ║   THE-VIDEOS — LIGHT MODE             ║
   ╚════════════════════════════════════════╝ */

.the-videos {
  background: linear-gradient(170deg, #fdf9f2 0%, #f8f2e4 38%, #f2ebd8 65%, #fdf9f2 100%) !important;
  padding: 90px 0 110px !important;
  position: relative;
  overflow: hidden;
}

/* top gold hairline + warm bloom stacked on one pseudo */
.the-videos::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 100%;
  background:
    linear-gradient(90deg, transparent 0%, rgba(201,162,39,0.22) 25%, rgba(201,162,39,0.50) 50%, rgba(201,162,39,0.22) 75%, transparent 100%) top / 100% 1px no-repeat,
    radial-gradient(ellipse 920px 560px at 50% 0%, rgba(237,210,121,0.20) 0%, rgba(250,230,150,0.08) 45%, transparent 68%);
  pointer-events: none;
  z-index: 0;
}

.vid-bg-orb { display: none !important; }
.the-videos .container { position: relative; z-index: 2; }

/* ── BADGE ── */
.vid-section-badge { text-align: center; margin-bottom: 18px; }
.vid-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(201,162,39,0.10);
  border: 1px solid rgba(201,162,39,0.30);
  border-radius: 100px;
  padding: 8px 22px;
  color: #7a5c09;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 16px rgba(201,162,39,0.10), inset 0 1px 0 rgba(255,255,255,0.80);
}
.vid-badge-dot {
  width: 7px; height: 7px;
  background: #c9a227;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(201,162,39,0.62);
  animation: vid-dot-pulse 2.2s ease-in-out infinite;
}
@keyframes vid-dot-pulse {
  0%, 100% { transform: scale(1);   box-shadow: 0 0 8px rgba(201,162,39,0.58); }
  50%       { transform: scale(1.4); box-shadow: 0 0 18px rgba(201,162,39,0.85); }
}

/* ── HEADING ── */
.the-videos .heading {
  font-size: 52px !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #6b4e0e 0%, #c9a227 28%, #8b6610 52%, #d4ac35 74%, #6b4e0e 100%) !important;
  background-size: 280% 280% !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  text-shadow: none !important;
  margin-bottom: 60px !important;
  padding-bottom: 22px !important;
  position: relative;
  animation: vid-title-shift 10s ease-in-out infinite !important;
}
@keyframes vid-title-shift {
  0%   { background-position: 0%   40%; }
  50%  { background-position: 100% 60%; }
  100% { background-position: 0%   40%; }
}
.the-videos .heading::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 56px !important;
  height: 3px !important;
  background: linear-gradient(90deg, transparent, #c9a227, transparent) !important;
  border-radius: 2px !important;
  box-shadow: 0 0 14px rgba(201,162,39,0.42) !important;
  animation: none !important;
}

.vid-subtitle { display: none !important; }

/* ── GRID ── */
.the-videos .row {
  display: flex !important;
  flex-wrap: wrap !important;
  margin: 0 -8px !important;
  counter-reset: unset;
}
.the-videos .row > [class*="col-"] {
  padding: 8px !important;
  counter-increment: unset;
}

/* ── CARD LINK ── */
.the-videos a.text-dec {
  display: block !important;
  border-radius: 18px !important;
  overflow: hidden !important;
  text-decoration: none !important;
  position: relative;
  margin-bottom: 0 !important;
}

/* ── IMAGE WRAPPER ── */
.the-videos .image {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 18px !important;
  border: 1px solid rgba(0,0,0,0.07) !important;
  box-shadow:
    0 2px 4px  rgba(0,0,0,0.04),
    0 6px 18px rgba(0,0,0,0.08),
    0 16px 40px rgba(0,0,0,0.05) !important;
  transition: all 0.40s cubic-bezier(0.4, 0, 0.2, 1) !important;
  background: #ddd4c4;
  aspect-ratio: 9 / 16;
  margin-bottom: 0 !important;
  width: 100%;
}

/* Thumbnail */
.the-videos .image .main-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1) !important;
  border-radius: 0 !important;
}
.the-videos .image:hover .main-img {
  transform: scale(1.07) !important;
}

/* Dark scrim over thumbnail — keeps play button readable */
.the-videos .image::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.10) 45%,
    transparent 70%
  ) !important;
  opacity: 1 !important;
  z-index: 2 !important;
  transition: background 0.35s ease !important;
}
.the-videos .image:hover::before {
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.78) 0%,
    rgba(0,0,0,0.28) 55%,
    rgba(0,0,0,0.05) 80%,
    transparent 100%
  ) !important;
}

.the-videos .image::after  { display: none !important; }
.the-videos .image .layer  { display: none !important; }

/* ── PLAY BUTTON ── */
.the-videos .image .card-content {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(0.80) !important;
  opacity: 0 !important;
  z-index: 6 !important;
  inset: unset;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.the-videos .image:hover .card-content {
  opacity: 1 !important;
  transform: translate(-50%, -50%) scale(1) !important;
}

.the-videos .image .card-content .icon {
  display: flex !important;
  width: 62px !important;
  height: 62px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.20) !important;
  border: 2px solid rgba(255,255,255,0.72) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 6px 30px rgba(0,0,0,0.40), 0 0 0 7px rgba(255,255,255,0.08) !important;
  position: relative !important;
  padding: 0 !important;
  transition: background 0.30s ease, border-color 0.30s ease, box-shadow 0.30s ease, transform 0.30s ease !important;
}
.the-videos .image:hover .card-content .icon {
  background: rgba(237,210,121,0.94) !important;
  border-color: rgba(237,210,121,0.92) !important;
  box-shadow: 0 8px 40px rgba(201,162,39,0.60), 0 0 0 7px rgba(201,162,39,0.14) !important;
  transform: scale(1.06) !important;
}

.the-videos .image .card-content .icon::before { display: none !important; }
.the-videos .image .card-content .icon::after {
  content: '' !important;
  display: block !important;
  width: 0 !important;
  height: 0 !important;
  border-style: solid !important;
  border-width: 9px 0 9px 15px !important;
  border-color: transparent transparent transparent rgba(255,255,255,0.95) !important;
  margin-left: 4px !important;
  transition: border-color 0.30s ease !important;
}
.the-videos .image:hover .card-content .icon::after {
  border-color: transparent transparent transparent rgba(10,20,40,0.88) !important;
}

.the-videos .image .card-content .icon img { display: none !important; }

/* ── CARD HOVER — LIFT + GOLD RING ── */
.the-videos .image:hover {
  transform: translateY(-10px) !important;
  border-color: rgba(201,162,39,0.42) !important;
  box-shadow:
    0 20px 52px rgba(0,0,0,0.12),
    0 0 0 1.5px rgba(201,162,39,0.38),
    0 0 28px rgba(201,162,39,0.10) !important;
}

.the-videos .title { display: none !important; }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .the-videos .heading { font-size: 40px !important; margin-bottom: 44px !important; }
  .the-videos .row { margin: 0 -6px !important; }
  .the-videos .row > [class*="col-"] { padding: 6px !important; }
}
@media (max-width: 767px) {
  .the-videos { padding: 70px 0 80px !important; }
  .the-videos .heading { font-size: 32px !important; margin-bottom: 36px !important; }
  .the-videos .row { margin: 0 -5px !important; }
  .the-videos .row > [class*="col-"] { padding: 5px !important; }
  .the-videos .image .card-content .icon { width: 50px !important; height: 50px !important; }
  .the-videos .image .card-content .icon::after { border-width: 7px 0 7px 12px !important; }
}


/* ── SCROLL TO TOP ── */
.scroll-to-top {
  position: fixed; bottom: 32px; right: 32px;
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, #edd279, #c9a227);
  border: none; cursor: pointer; z-index: 9999;
  box-shadow: 0 4px 20px rgba(201,162,39,0.45);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease, box-shadow 0.3s ease;
  display: flex; align-items: center; justify-content: center;
}
.scroll-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-to-top:hover { box-shadow: 0 8px 30px rgba(201,162,39,0.65); transform: translateY(-3px); }
.scroll-to-top::after { content: ''; display: block; width: 11px; height: 11px; border-top: 2.5px solid #1a1a2e; border-right: 2.5px solid #1a1a2e; transform: rotate(-45deg) translate(-1px, 2px); }

/* ── AYAT ── */
.ayat .owl-carousel .item img { cursor: zoom-in; }
.lg-outer.lg-visible ~ * .share-btn,
.lg-outer.lg-visible ~ * .whats-btn,
body:has(.lg-outer.lg-visible) .share-btn,
body:has(.lg-outer.lg-visible) .whats-btn { display: none !important; }

/* modal images */
.modal-img { width: 300px; height: auto; border-radius: 8px; margin-bottom: 8px; margin-inline-end: auto; margin-inline-start: 0; display: flex; }


/* ╔════════════════════════════════════════╗
   ║   CARDS SECTION — MODERN REDESIGN     ║
   ╚════════════════════════════════════════╝ */

.cards-download {
  background: linear-gradient(160deg, #060f1c 0%, #0a1525 50%, #060f1c 100%);
  padding: 90px 0 110px;
  position: relative;
  overflow: hidden;
}

/* Top atmosphere glow */
.cards-download::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 500px;
  background: radial-gradient(ellipse at 50% 0%,
    rgba(237,210,121,0.07) 0%,
    rgba(99,102,241,0.04) 45%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Floating orbs */
.cards-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
  z-index: 0;
}
.cards-orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, rgba(237,210,121,0.09) 0%, transparent 70%);
  top: 3%; right: -12%;
  animation: cards-orb-1 24s ease-in-out infinite;
}
.cards-orb-2 {
  width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%);
  bottom: 6%; left: -10%;
  animation: cards-orb-2 28s ease-in-out infinite;
}
@keyframes cards-orb-1 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-28px, 38px); }
}
@keyframes cards-orb-2 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(34px, -28px); }
}

.cards-download .container { position: relative; z-index: 2; }

/* ── Section top ── */
.cards-section-top {
  text-align: center;
  margin-bottom: 60px;
}

/* Badge */
.cards-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(237,210,121,0.07);
  border: 1px solid rgba(237,210,121,0.28);
  border-radius: 100px;
  padding: 8px 22px;
  color: #edd279;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  margin-bottom: 20px;
}
.cards-badge-dot {
  width: 7px; height: 7px;
  background: #edd279;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(237,210,121,0.75);
  animation: vid-dot-pulse 2.2s ease-in-out infinite;
}

/* Heading */
.cards-download .heading {
  font-size: 52px !important;
  font-weight: 800 !important;
  background: linear-gradient(135deg, #ffffff 0%, #f5e8b0 45%, #edd279 70%, #ffffff 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  margin-bottom: 0 !important;
  padding-bottom: 22px !important;
  text-shadow: none !important;
  position: relative;
}
.cards-download .heading::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 56px; height: 3px;
  background: linear-gradient(90deg, transparent, #edd279, transparent);
  border-radius: 2px;
  box-shadow: 0 0 14px rgba(237,210,121,0.55);
}
.cards-download .section-title { margin-bottom: 0; }

/* ── Grid ── */
.cards-download .cards-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px;
}
.cards-download .cards-grid .card-col {
  width: 33.3333%;
  padding: 10px;
  box-sizing: border-box;
}

/* ── Card wrapper ── */
.cards-download a.card-img {
  display: block;
  border-radius: 20px;
  overflow: visible !important;
  position: relative !important;
  isolation: isolate;
  text-decoration: none !important;
  margin-bottom: 0;
}

/* ── Image container ── */
.cards-download a.card-img .image {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 8px 32px rgba(0,0,0,0.55);
  transition: all 0.42s cubic-bezier(0.4, 0, 0.2, 1);
  background: #07111e;
  margin-bottom: 0 !important;
}

/* Image zoom */
.cards-download a.card-img .image img {
  width: 100%;
  display: block;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.cards-download a.card-img:hover .image img {
  transform: scale(1.07) !important;
}

/* Gradient overlay */
.cards-download a.card-img .image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.68) 0%,
    rgba(0,0,0,0.18) 45%,
    transparent 70%
  );
  z-index: 2;
  transition: background 0.35s ease;
}
.cards-download a.card-img:hover .image::before {
  background: linear-gradient(
    to top,
    rgba(6,15,28,0.88) 0%,
    rgba(6,15,28,0.48) 55%,
    rgba(6,15,28,0.12) 80%,
    transparent 100%
  );
}

/* ── Eye button overlay ── */
.cards-download a.card-img .card-content {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) scale(0.82) !important;
  z-index: 88 !important;
  opacity: 0 !important;
  transition: opacity 0.36s cubic-bezier(0.4, 0, 0.2, 1), transform 0.36s cubic-bezier(0.4, 0, 0.2, 1) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.cards-download a.card-img:hover .card-content {
  opacity: 1 !important;
  transform: translate(-50%, -50%) scale(1) !important;
}

.cards-download a.card-img .card-content span {
  width: 62px !important;
  height: 62px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.18) !important;
  border: 2px solid rgba(255,255,255,0.70) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 6px 28px rgba(0,0,0,0.50), 0 0 0 6px rgba(255,255,255,0.08) !important;
  transition: background 0.30s ease, border-color 0.30s ease, box-shadow 0.30s ease !important;
  flex-shrink: 0 !important;
}
.cards-download a.card-img:hover .card-content span {
  background: rgba(237,210,121,0.92) !important;
  border-color: rgba(237,210,121,0.90) !important;
  box-shadow: 0 6px 36px rgba(237,210,121,0.55), 0 0 0 6px rgba(237,210,121,0.14) !important;
}

/* CSS-only eye icon via ::after */
.cards-download a.card-img .card-content span::before,
.cards-download a.card-img .card-content span::after {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  pointer-events: none !important;
}
/* Outer eye oval */
.cards-download a.card-img .card-content span::before {
  width: 22px !important;
  height: 14px !important;
  border: 2px solid rgba(255,255,255,0.92) !important;
  border-radius: 50% !important;
  background: none !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  transition: border-color 0.30s ease !important;
}
/* Pupil dot */
.cards-download a.card-img .card-content span::after {
  width: 7px !important;
  height: 7px !important;
  background: rgba(255,255,255,0.92) !important;
  border-radius: 50% !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  transition: background 0.30s ease !important;
}
.cards-download a.card-img:hover .card-content span::before {
  border-color: rgba(10,20,40,0.85) !important;
}
.cards-download a.card-img:hover .card-content span::after {
  background: rgba(10,20,40,0.85) !important;
}

/* Hide SVG img — using CSS icon instead */
.cards-download a.card-img .card-content span img {
  display: none !important;
}

/* ── Hover lift + gold border ── */
.cards-download a.card-img:hover .image {
  transform: translateY(-8px);
  border-color: rgba(237,210,121,0.36);
  box-shadow:
    0 26px 62px rgba(0,0,0,0.68),
    0 0 0 1px rgba(237,210,121,0.30),
    0 0 38px rgba(237,210,121,0.08);
}

/* Gold shimmer line at bottom on hover */
.cards-download a.card-img .image::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(237,210,121,0.70), transparent);
  z-index: 3;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.cards-download a.card-img:hover .image::after {
  opacity: 1;
}

/* ── Responsive ── */
@media (max-width: 991px) {
  .cards-download .heading { font-size: 40px !important; }
  .cards-section-top { margin-bottom: 44px; }
  .cards-download .cards-grid .card-col { width: 33.3333%; }
}
@media (max-width: 767px) {
  .cards-download { padding: 70px 0 80px; }
  .cards-download .heading { font-size: 32px !important; }
  .cards-section-top { margin-bottom: 32px; }
  .cards-badge { font-size: 10px; padding: 8px 18px; letter-spacing: 2px; }
  .cards-download .cards-grid .card-col { width: 50%; padding: 7px; }
  .cards-download .cards-grid { margin: 0 -7px; }
}

/* =================================================
   VIEW MODAL — IMAGE LEFT · CONTENT RIGHT
   ================================================= */

.view-modal .modal-dialog {
  max-width: 75%;
}

/* ── Grid container ── */
.view-modal .modal-dialog .modal-content {
  display: grid !important;
  grid-template-columns: 400px 1fr;
  padding: 0 !important;
  text-align: left !important;
  border-radius: 22px !important;
  overflow: hidden;
  background: #fffef8 !important;
  min-height: 500px;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.38) !important;
  border: none !important;
}

/* ── Left column: image link fills full height ── */
.view-modal .modal-dialog .modal-content .modal-img-link {
  grid-column: 1;
  grid-row: 1 / 99;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  text-decoration: none;
  background: #12111e;
}

.view-modal .modal-dialog .modal-content .modal-img-wrap {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.view-modal .modal-dialog .modal-content .modal-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
  border-radius: 0 !important;
  margin: 0 !important;
  transition: transform 0.45s ease;
}

/* Zoom overlay on hover */
.view-modal .modal-dialog .modal-content .modal-img-zoom {
  position: absolute;
  inset: 0;
  background: rgba(10, 8, 30, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.view-modal .modal-dialog .modal-content .modal-img-zoom i {
  color: #fff;
  font-size: 36px;
  transform: scale(0.7);
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.view-modal .modal-dialog .modal-content .modal-img-link:hover .modal-img {
  transform: scale(1.06);
}

.view-modal .modal-dialog .modal-content .modal-img-link:hover .modal-img-zoom {
  opacity: 1;
}

.view-modal .modal-dialog .modal-content .modal-img-link:hover .modal-img-zoom i {
  transform: scale(1);
}

/* ── Right column: all direct children except the image link ── */
.view-modal .modal-dialog .modal-content > :not(.modal-img-link) {
  grid-column: 2;
  border-left: 3px solid #edd279;
}

.view-modal .modal-dialog .modal-content > :not(.modal-img-link):last-child {
  padding-bottom: 28px;
}

/* ── h4 — Quranic quote ── */
.view-modal .modal-dialog .modal-content h4 {
  padding: 36px 28px 10px 28px !important;
  margin: 0 !important;
  font-size: 16.5px !important;
  font-weight: 700 !important;
  color: #1a1a2e !important;
  text-align: start !important;
  line-height: 1.7 !important;
  align-self: start;
  position: relative;
}

.view-modal .modal-dialog .modal-content h4::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  left: 16px;
  font-size: 54px;
  line-height: 1;
  color: #edd279;
  opacity: 0.4;
  font-family: Georgia, serif;
  pointer-events: none;
}

.view-modal .modal-dialog .modal-content h4 span {
  display: inline-block;
  margin-top: 10px;
  font-size: 12.5px !important;
  font-weight: 600;
  color: #9a6e10;
  background: rgba(237, 210, 121, 0.22);
  padding: 3px 12px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

/* ── p — reflection text ── */
.view-modal .modal-dialog .modal-content p {
  padding: 14px 28px 10px 28px !important;
  margin: 0 !important;
  font-size: 14.5px !important;
  line-height: 1.78 !important;
  color: #555 !important;
  text-align: left !important;
  align-self: start;
}

/* ── ul — hashtag pills ── */
.view-modal .modal-dialog .modal-content ul {
  padding: 12px 28px 10px 28px !important;
  margin: 0 !important;
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none !important; 
}

.view-modal .modal-dialog .modal-content ul li {
  font-size: 12.5px !important;
  color: #9a6e10 !important;
  background: rgba(237, 210, 121, 0.18);
  border: 1px solid rgba(237, 210, 121, 0.5);
  padding: 3px 12px;
  border-radius: 20px;
  line-height: 1.6 !important;
  margin-bottom: 0 !important;
  list-style: none !important;
}

/* ── .modal-actions: buttons side by side ── */
.view-modal .modal-dialog .modal-content .modal-actions {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  padding: 18px 28px 0 28px;
  align-self: end;
  flex-wrap: wrap; 
}

.view-modal .modal-dialog .modal-content .modal-actions .btn {
  margin: 0 !important;
  padding: 11px 26px !important;
  min-width: 140px !important;
  font-size: 14.5px !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  flex-shrink: 0;
}

/* ── Responsive: stack on mobile ── */
@media (max-width: 767px) {
  .view-modal .modal-dialog {
    margin: 8px;
    max-width: 100%;
  }

  .view-modal .modal-dialog .modal-content {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
    border-radius: 16px !important;
  }

  .view-modal .modal-dialog .modal-content .modal-img-link {
    grid-column: 1 !important;
    grid-row: 1 !important;
    height: 280px;
  }

  .view-modal .modal-dialog .modal-content .modal-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100% !important;
    object-fit: cover;
  }

  .view-modal .modal-dialog .modal-content > :not(.modal-img-link) {
    grid-column: 1 !important;
    border-left: none !important; 
  }

  .view-modal .modal-dialog .modal-content h4::before { display: none; }

  .view-modal .modal-dialog .modal-content .modal-actions {
    padding: 14px 20px 0 20px;
  }
}
