/* Quailcentre v2 — professional design layer: hero, video player, photo cards, teasers, Urdu */

/* Urdu typography */
.qc-ur-font, [lang="ur"], [dir="rtl"] { font-family: "Noto Nastaliq Urdu", "Jameel Noori Nastaleeq", "Urdu Typesetting", "Inter", serif; }
[dir="rtl"] { text-align: right; }
[dir="rtl"] .qc-reader { line-height: 2.3; font-size: 1.12rem; }
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-family: "Noto Nastaliq Urdu", "Fraunces", serif; line-height: 1.9; letter-spacing: 0; }
[dir="rtl"] .qc-reader ul.qc-points { padding-right: 1.4rem; padding-left: 0; }
[dir="rtl"] .qc-callout-warn { border-left: 0; border-right: 4px solid #e3a008; }
[dir="rtl"] .qc-quiz-q .form-check, .qc-quiz-q[dir="rtl"] .form-check { padding: .55rem 2.2rem .55rem .8rem; }
[dir="rtl"] .qc-quiz-q .form-check .form-check-input, .qc-quiz-q[dir="rtl"] .form-check .form-check-input { float: right; margin-right: -1.6rem; margin-left: 0; }
[dir="rtl"] .qc-kicker { letter-spacing: 0; }
[dir="rtl"] .qc-lock { right: auto; left: 1rem; }
.qc-langswitch { display: inline-flex; background: #fff; border: 1px solid var(--qc-line); border-radius: 99px; padding: 3px; gap: 2px; }
.qc-langswitch a { padding: .3rem .95rem; border-radius: 99px; font-weight: 600; font-size: .88rem; color: var(--qc-ink); text-decoration: none; }
.qc-langswitch a.active { background: var(--qc-green); color: #fff; }
.qc-langswitch a.qc-ur-font { font-size: .95rem; line-height: 1.2; }

/* Buttons polish */
.btn { border-radius: .7rem; transition: transform .12s ease, box-shadow .12s ease, background-color .12s; }
.btn-qc, .btn-green { box-shadow: 0 6px 16px -8px rgba(138, 106, 31, .8); }
.btn-qc:hover, .btn-green:hover { transform: translateY(-1px); box-shadow: 0 10px 22px -10px rgba(31, 58, 36, .7); }
.btn-qc:active { transform: translateY(0); }
.qc-pulse { position: relative; }
.qc-pulse::after { content: ""; position: absolute; inset: -4px; border-radius: 1rem; border: 2px solid rgba(176, 141, 60, .55); animation: qcPulse 2.2s infinite; pointer-events: none; }
@keyframes qcPulse { 0% { opacity: .9; transform: scale(.98); } 70% { opacity: 0; transform: scale(1.06); } 100% { opacity: 0; } }
.qc-watch .mini-play { display: inline-flex; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--qc-gold-dark); color: #fff; align-items: center; justify-content: center; font-size: .7rem; margin-right: .35rem; }
.qc-watch:hover .mini-play { background: #fff; color: var(--qc-gold-dark); }

/* Hero v2 */
.qc-hero2 { background: radial-gradient(900px 500px at 90% 10%, #efe3c4 0%, transparent 60%), radial-gradient(700px 400px at 0% 100%, #e3ecdf 0%, transparent 60%), #fffdf8; padding: 3.5rem 0; border-bottom: 1px solid var(--qc-line); overflow: hidden; }
.qc-hero-badge { display: inline-flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--qc-line); border-radius: 99px; padding: .35rem .9rem; font-size: .8rem; font-weight: 600; color: var(--qc-green); margin-bottom: 1rem; }
.qc-hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--qc-gold); }
.qc-hero-title { font-size: clamp(2.3rem, 5.4vw, 3.9rem); color: var(--qc-green); line-height: 1.02; margin-bottom: .6rem; }
.qc-hero-tagline { font-family: "Fraunces", Georgia, serif; font-size: clamp(1.15rem, 2.2vw, 1.45rem); color: var(--qc-gold-dark); font-style: italic; margin-bottom: 1rem; }
.qc-hero-text { font-size: 1.08rem; color: #4a4a3c; max-width: 560px; }
.qc-check-inline { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }
.qc-check-inline li { margin-bottom: 0; }
.qc-hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.qc-hero-price { display: flex; flex-direction: column; line-height: 1.1; margin-right: .5rem; }
.qc-hero-price .was { text-decoration: line-through; color: var(--qc-muted); }
.qc-hero-price .now { font-family: "Fraunces", Georgia, serif; font-size: 2.2rem; font-weight: 700; color: var(--qc-green); }
.qc-hero-price .note { font-size: .78rem; color: var(--qc-muted); }
.qc-hero-collage { position: relative; min-height: 460px; }
.qc-collage-main { position: absolute; right: 0; top: 0; width: 78%; height: 440px; object-fit: cover; border-radius: 1.6rem; box-shadow: 0 30px 60px -30px rgba(31, 58, 36, .55); }
div.qc-collage-main { overflow: hidden; }
div.qc-collage-main .qc-player { height: 100%; border-radius: 0; aspect-ratio: auto; }
.qc-collage-small { position: absolute; left: 0; bottom: 10px; width: 42%; height: 200px; object-fit: cover; border-radius: 1.2rem; border: 6px solid #fff; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .45); }
.qc-collage-small2 { position: absolute; left: 6%; top: 30px; width: 26%; height: 130px; object-fit: cover; border-radius: 1rem; border: 5px solid #fff; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .45); }
.qc-float { position: absolute; background: #fff; border-radius: 1rem; padding: .6rem .9rem; box-shadow: 0 14px 30px -14px rgba(31, 58, 36, .45); display: flex; flex-direction: column; line-height: 1.15; }
.qc-float b { font-family: "Fraunces", Georgia, serif; color: var(--qc-green); font-size: 1.25rem; }
.qc-float span { font-size: .75rem; color: var(--qc-muted); }
.qc-float-1 { right: -6px; bottom: 30px; }
.qc-float-2 { left: 30%; top: 185px; }
@media (max-width: 991.98px) { .qc-hero-collage { min-height: 360px; } .qc-collage-main { width: 86%; height: 340px; } .qc-collage-small { height: 150px; } .qc-float-2 { display: none; } }
@media (max-width: 575.98px) { .qc-hero-collage { min-height: 290px; } .qc-collage-main { height: 280px; width: 100%; } .qc-collage-small, .qc-collage-small2 { display: none; } }

/* Trust bar */
.qc-trustbar { background: var(--qc-green); color: #f3e7c9; padding: 1.4rem 0; }
.qc-trust-n { font-family: "Fraunces", Georgia, serif; font-size: 1.6rem; font-weight: 700; color: #fff; }
.qc-trust-l { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; opacity: .8; }

/* Video player */
.qc-player { position: relative; border-radius: 1.2rem; overflow: hidden; background: #111; aspect-ratio: 4/5; box-shadow: 0 24px 50px -30px rgba(0, 0, 0, .6); }
.qc-player video, .qc-player iframe, .qc-player .qc-player-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.qc-player.playing video { object-fit: contain; }
.qc-player.is-embed { aspect-ratio: 16/9; }
.qc-player::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .6)); z-index: 1; pointer-events: none; transition: opacity .2s; }
.qc-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 3; width: 84px; height: 84px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .96); color: var(--qc-gold-dark); display: flex; align-items: center; justify-content: center; padding-left: 6px; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); transition: transform .15s, background .15s, color .15s; cursor: pointer; }
.qc-play:hover, .qc-play:focus-visible { transform: translate(-50%, -50%) scale(1.08); background: var(--qc-gold-dark); color: #fff; outline: none; }
.qc-play-ring { position: absolute; inset: -10px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, .7); animation: qcRing 2s infinite; }
@keyframes qcRing { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.qc-player-caption { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; z-index: 2; color: #fff; font-weight: 600; text-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.qc-player-caption span { color: #f3d78c; margin-right: .3rem; }
.qc-player-badge { position: absolute; top: .9rem; left: .9rem; z-index: 2; background: var(--qc-gold); color: #fff; font-size: .72rem; font-weight: 700; padding: .25rem .6rem; border-radius: 99px; text-transform: uppercase; letter-spacing: .06em; }
.qc-player.playing::before, .qc-player.playing .qc-play, .qc-player.playing .qc-player-caption, .qc-player.playing .qc-player-badge { opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .qc-play-ring, .qc-pulse::after { animation: none; } }

/* Photo cards, breeds, paths, gallery */
.qc-photo-card { background: #fff; border: 1px solid var(--qc-line); border-radius: 1.1rem; overflow: hidden; transition: transform .15s, box-shadow .15s; }
.qc-photo-card:hover { transform: translateY(-3px); box-shadow: 0 16px 34px -20px rgba(31, 58, 36, .45); }
.qc-photo-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.qc-breeds { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 991.98px) { .qc-breeds { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 575.98px) { .qc-breeds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.qc-breed { margin: 0; background: #fff; border-radius: 1rem; overflow: hidden; border: 1px solid var(--qc-line); }
.qc-breed img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.qc-breed figcaption { padding: .6rem .75rem; display: flex; flex-direction: column; line-height: 1.25; }
.qc-breed figcaption span { font-size: .78rem; color: var(--qc-muted); }
.qc-path-card { background: #fff; border: 1px solid var(--qc-line); border-radius: 1.2rem; overflow: hidden; border-top: 5px solid var(--qc-gold); }
.qc-path-card .img { height: 230px; background-size: cover; background-position: center; }
.qc-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 190px; gap: .8rem; }
.qc-gallery-item { position: relative; border-radius: 1rem; overflow: hidden; display: block; }
.qc-gallery-item:nth-child(1), .qc-gallery-item:nth-child(6) { grid-row: span 2; }
.qc-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.qc-gallery-item:hover img { transform: scale(1.06); }
.qc-gallery-item span { position: absolute; left: .7rem; bottom: .6rem; background: rgba(255, 255, 255, .92); color: var(--qc-green); font-size: .78rem; font-weight: 700; padding: .2rem .6rem; border-radius: 99px; }
@media (max-width: 767.98px) { .qc-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; } }
.qc-final-cta { background-size: cover; background-position: center; margin-bottom: -3rem; }
.qc-cert-preview { border: 1px solid var(--qc-line); }
.qc-pagehero { background: linear-gradient(180deg, #fffdf8, var(--qc-cream)); border-bottom: 1px solid var(--qc-line); padding: 2.2rem 0 1.8rem; }
.qc-pagehero h1 { color: var(--qc-green); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.qc-module-no { width: 2rem; height: 2rem; border-radius: 50%; background: var(--qc-cream-2); color: var(--qc-gold-dark); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }

/* Teaser (members-only sales pages) */
.qc-teaser { position: relative; min-height: 88vh; overflow: hidden; }
.qc-teaser-bg { position: absolute; inset: 0; filter: blur(5px) saturate(1.15); transform: scale(1.03); pointer-events: none; user-select: none; }
.qc-teaser::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, rgba(250, 247, 240, .55), rgba(250, 247, 240, .12) 70%), linear-gradient(180deg, rgba(250, 247, 240, 0) 70%, rgba(250, 247, 240, .9)); pointer-events: none; }
.qc-teaser-overlay { position: relative; z-index: 2; padding: 4rem 0; }
.qc-teaser-card { max-width: 720px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(4px); border: 1px solid var(--qc-line); border-radius: 1.6rem; box-shadow: 0 40px 80px -40px rgba(31, 58, 36, .55); padding: 2.4rem 2rem; text-align: center; }
.qc-teaser-lock { width: 72px; height: 72px; margin: -4.6rem auto 1rem; border-radius: 50%; background: var(--qc-green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2rem; border: 5px solid #fff; box-shadow: 0 12px 24px -10px rgba(0, 0, 0, .4); }
.qc-teaser-title { font-size: clamp(1.6rem, 3.6vw, 2.4rem); color: var(--qc-green); line-height: 1.15; margin-bottom: .8rem; }
.qc-teaser-purpose { color: #4a4a3c; font-size: 1.05rem; max-width: 600px; margin: 0 auto 1.2rem; }
.qc-teaser-chip { background: var(--qc-cream-2); color: var(--qc-green); font-weight: 600; font-size: .85rem; padding: .35rem .8rem; border-radius: 99px; border: 1px solid var(--qc-line); }
.qc-teaser-benefit { display: flex; gap: .7rem; background: var(--qc-cream); border-radius: .9rem; padding: .7rem .8rem; height: 100%; }
.qc-teaser-benefit .ico { font-size: 1.4rem; line-height: 1; }
.qc-teaser-lockline { display: inline-block; background: #fff6e0; color: #7a5200; font-weight: 700; border-radius: 99px; padding: .45rem 1rem; margin: .4rem 0 1.2rem; }
.qc-teaser-price { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: .4rem 1rem; margin-bottom: 1rem; }
.qc-teaser-price .was { text-decoration: line-through; color: var(--qc-muted); font-size: 1.1rem; }
.qc-teaser-price .now { font-family: "Fraunces", Georgia, serif; font-size: 2.3rem; font-weight: 700; color: var(--qc-green); }
.qc-save-badge { background: #e5f4e8; color: #1c6b31; font-weight: 700; font-size: .8rem; border-radius: 99px; padding: .25rem .7rem; }
.qc-teaser-page .qc-footer { margin-top: 0 !important; }
@media (max-width: 575.98px) { .qc-teaser-card { padding: 2rem 1.1rem; border-radius: 1.2rem; } }

/* v3 — Pakistan flag, sales tagline, Q&A comments, live sessions */
.qc-flag { display: inline-block; vertical-align: middle; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); object-fit: cover; }
.navbar-brand .qc-flag { margin-left: .15rem; }
.qc-madein { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 600; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); border-radius: 99px; padding: .25rem .8rem .25rem .35rem; }
.qc-hero-badge .qc-flag { margin-right: .15rem; }
.qc-sales-tag { display: inline-flex; align-items: center; gap: .55rem; background: linear-gradient(90deg, #fff6df, #fdf1d2); border: 1px solid #ecd9a6; color: var(--qc-green); font-weight: 700; border-radius: 99px; padding: .45rem 1.1rem .45rem .45rem; margin-bottom: 1.1rem; box-shadow: 0 8px 20px -14px rgba(138, 106, 31, .7); }
.qc-sales-tag .ico { width: 2rem; height: 2rem; border-radius: 50%; background: var(--qc-gold); display: inline-flex; align-items: center; justify-content: center; font-size: 1rem; }
.qc-sales-tag-light { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); color: #fff; box-shadow: none; }

.qc-ask-box textarea { resize: vertical; }
.qc-ask-avatar { width: 42px; height: 42px; flex: 0 0 42px; font-weight: 700; }
.qc-comments { display: flex; flex-direction: column; gap: 1.1rem; }
.qc-comment { display: flex; gap: .85rem; align-items: flex-start; background: #fff; border: 1px solid var(--qc-line); border-radius: 1rem; padding: 1rem 1.1rem; }
.qc-comment > .qc-avatar { flex: 0 0 auto; }
.qc-comment-head { font-size: .9rem; margin-bottom: .15rem; }
.qc-comment-body { font-size: .95rem; }
.qc-comment-body p:last-child { margin-bottom: 0; }
.qc-reply { display: flex; gap: .7rem; margin-top: .8rem; padding: .8rem .9rem; background: var(--qc-cream); border-left: 3px solid var(--qc-gold); border-radius: .75rem; }
.qc-reply > .qc-avatar { flex: 0 0 auto; object-fit: cover; }
.qc-trainer-badge { display: inline-block; font-size: .7rem; font-weight: 700; color: #fff; background: var(--qc-green); border-radius: 99px; padding: .05rem .5rem; vertical-align: 1px; }
.min-w-0 { min-width: 0; }

.qc-tabs { gap: .5rem; border-bottom: 0; }
.qc-tabs .nav-link { border: 1px solid var(--qc-line); background: #fff; color: var(--qc-ink); border-radius: 99px; font-weight: 600; padding: .55rem 1.2rem; }
.qc-tabs .nav-link.active { background: var(--qc-green); border-color: var(--qc-green); color: #fff; }
.qc-tab-n { display: inline-block; min-width: 1.5rem; margin-left: .3rem; padding: 0 .4rem; border-radius: 99px; background: rgba(0, 0, 0, .08); font-size: .8rem; }
.qc-tabs .nav-link.active .qc-tab-n { background: rgba(255, 255, 255, .22); }
.qc-live-card { display: flex; flex-direction: column; overflow: hidden; }
.qc-live-img { position: relative; aspect-ratio: 16/9; background: #111; }
.qc-live-img > img { width: 100%; height: 100%; object-fit: cover; }
.qc-live-img .qc-player { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.qc-live-img .qc-play { transform: translate(-50%, -50%) scale(.75); }
.qc-live-date { position: absolute; left: .8rem; top: .8rem; background: #fff; border-radius: .7rem; text-align: center; padding: .3rem .65rem; line-height: 1.05; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5); }
.qc-live-date b { display: block; font-size: 1.35rem; color: var(--qc-green); }
.qc-live-date span { font-size: .72rem; font-weight: 700; text-transform: uppercase; color: var(--qc-gold-dark); }
.qc-live-badge { position: absolute; right: .8rem; top: .8rem; z-index: 3; background: rgba(31, 58, 36, .92); color: #fff; font-size: .75rem; font-weight: 700; border-radius: 99px; padding: .25rem .7rem; pointer-events: none; }
.qc-live-badge.is-live { background: #d62f2f; animation: qcBlink 1.4s infinite; }
.qc-live-badge.is-rec { background: rgba(176, 141, 60, .95); left: .8rem; right: auto; }
.qc-live-badge.is-norec { background: rgba(80, 80, 80, .85); left: .8rem; right: auto; }
@keyframes qcBlink { 50% { opacity: .65; } }
.qc-live-countdown { background: var(--qc-cream); border: 1px dashed #dcc995; border-radius: .7rem; padding: .55rem .8rem; font-size: .9rem; }
.qc-btn-yt { background: #e62117; color: #fff; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; }
.qc-btn-yt:hover { background: #c4150c; color: #fff; }
