/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/


/* ----------------------------------------------------------------
	Hero: smaller text on phones (below 576px)
	Add the class "hero-compact-sm" to a hero <section> to use it.
	Every text in the hero goes 2 sizes smaller on phones only;
	tablets and desktops keep the normal Canvas sizes.
	Currently used on: ram-verma-titan-membership.html
-----------------------------------------------------------------*/
@media (max-width: 575.98px) {
	/* label, e.g. "* Lifetime Membership" (normally small, ~0.9rem) */
	.hero-compact-sm .ls-2.small { font-size: 0.7rem !important; }

	/* heading (normally display-4) -> display-6 size */
	.hero-compact-sm h1 { font-size: calc(1.375rem + 1.5vw) !important; }

	/* description (normally lead, 1.25rem) */
	.hero-compact-sm .lead { font-size: 1rem !important; }

	/* stat numbers (normally h4, ~1.5rem) -> h6 size */
	.hero-compact-sm h3 { font-size: 1rem !important; }

	/* stat labels (normally text-smaller, 80%) */
	.hero-compact-sm .text-smaller { font-size: 65% !important; }
}


/* ----------------------------------------------------------------
	Lighter example text (placeholder) inside a form field
	Add "placeholder-light" to an <input> or <textarea>. The template's
	default placeholder grey is dark and can look like real typed text.
	Currently used on (phone field in the contact pop-up):
	nlp-therapy-counseling-in-india.html, ram-verma-business-coaching.html,
	corporate-workshop.html
-----------------------------------------------------------------*/
.placeholder-light::placeholder { color: #b5bcc3; opacity: 1; }


/* ----------------------------------------------------------------
	Scroll animation speed: 1.5 seconds
	Canvas has 1s (default) and 2s ("slow"); this sits in between.
	Use it inside data-animate next to the effect name, e.g.
	data-animate="zoomIn speed-1500"
	Currently used on: about-ram-verma.html (Expertise section)
-----------------------------------------------------------------*/
.animated.speed-1500 { animation-duration: 1.5s !important; }


/* ----------------------------------------------------------------
	Full-screen hero that fits the VISIBLE phone screen
	"vh-100" (100vh) on phones is taller than what you can see while
	the browser's address/tool bar is showing, so the bottom of the
	hero (button) can hide behind it. "100svh" = the screen height
	with the bars showing. Older browsers ignore it and keep vh-100.
	Add "hero-svh" next to "vh-100".
	Currently used on: (none now; index.html moved to hero-min-svh below)
-----------------------------------------------------------------*/
@supports (height: 100svh) {
	.hero-svh { height: 100svh !important; }
}

/* "hero-min-svh": same idea, but as a MINIMUM height. The hero fills the
   visible screen, and grows taller if its content needs more room (short
   laptop screens, browser zoom), so the bottom button is never cut off.
   Use with "min-vh-100" instead of "vh-100".
   Currently used on: index.html */
.hero-min-svh { min-height: 100vh; }
@supports (height: 100svh) {
	.hero-min-svh { min-height: 100svh !important; }
}


/* ----------------------------------------------------------------
	Hero photo starts lower (laptops/desktops, 992px+)
	"hero-img-down" (add to the hero <img class="parallax-bg">)
	Pushes the photo 90px down so the transparent menu sits over
	plain black instead of the person's hair. The photo's top edge
	fades into black so there is no visible line.
	Add "bg-black" to the hero <section> so the space above is black.
	Phones/tablets are not affected.
	Currently used on: about-ram-verma.html
-----------------------------------------------------------------*/
@media (min-width: 992px) {
	.hero-img-down {
		top: 90px !important;
		-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 120px);
		mask-image: linear-gradient(to bottom, transparent 0, #000 120px);
	}
}


/* ----------------------------------------------------------------
	Text "comes into focus" when scrolled into view
	The text starts invisible, blurred and spread out, then sharpens.
	Add "focus-in" to the text and "scroll-detect" to a parent box
	(Canvas adds "scroll-detect-inview" when it reaches the screen).
	Currently used on: about-ram-verma.html (quote under the hero)
-----------------------------------------------------------------*/
.focus-in {
	opacity: 0;
	filter: blur(12px);
	letter-spacing: .25em;
	transition: opacity 1.4s ease, filter 1.4s ease, letter-spacing 1.4s cubic-bezier(.2,.7,.2,1);
}
.scroll-detect-inview .focus-in,
.focus-in.scroll-detect-inview { opacity: 1; filter: blur(0); letter-spacing: normal; }

@media (prefers-reduced-motion: reduce) {
	.focus-in { opacity: 1; filter: none; letter-spacing: normal; transition: none; }
}


/* ----------------------------------------------------------------
	Blockquote left line in a gradient (top to bottom)
	Same colours as Canvas "gradient-blue-green" (mint green to blue).
	Add "quote-line-blue-green" to a <blockquote>.
	Currently used on: about-ram-verma.html (quote under the hero)
-----------------------------------------------------------------*/
.quote-line-blue-green {
	border-left: 5px solid transparent;
	border-image: linear-gradient(to bottom, #2af598, #009efd) 1;
}


/* ----------------------------------------------------------------
	Video thumbnails: show the play icon + dark layer on touch screens
	Canvas only shows the overlay on mouse hover, which phones and
	tablets don't have, so there the thumbnails looked like plain photos.
	Add "overlay-touch-show" to the grid that holds the cards.
	Desktop with a mouse is not affected (hover effect stays as it is).
	Currently used on: ram-verma-podcasts.html (#portfolio, #portfolio-more),
	ram-verma-gut-health-podcasts.html, ram-verma-wellness-podcasts.html,
	ram-verma-manifestation-podcasts.html, ram-verma-wealth-podcasts.html,
	ram-verma-visualizations.html (#portfolio)
-----------------------------------------------------------------*/
@media (hover: none) {
	.overlay-touch-show .bg-overlay [data-hover-animate] {
		opacity: 1 !important;
		animation: none !important;
	}
	/* dark layer a bit lighter than the 40% hover tint, so photos stay clear */
	.overlay-touch-show .bg-overlay-bg { --bs-bg-opacity: 0.25 !important; }
}


/* ----------------------------------------------------------------
	Hero photo on phones (below 576px): Ram's face near the top, centred
	Tablets and desktops are not affected.

	1. "hero-img-top-sm" (add to the hero <img>)
	   The photo fills only the top 55% of the hero and fades into the
	   black below, so Ram's face sits near the top of the screen and
	   the text sits on black underneath instead of over his face.

	2. "hero-focus-XX-sm" (add to the hero <img>)
	   On phones only a strip of the wide photo fits across the screen;
	   by default the middle (50%) is shown. Most course photos have Ram
	   right of centre, so each page uses the number that centres his
	   face in its own photo:

	   Class              Crop   Used on (photo)
	   (none)              50%   nlp-master-practitioner-course-in-india.html (nlp.webp)
	   hero-focus-70-sm    70%   (free)
	   hero-focus-72-sm    72%   ram-verma-titan-coach-course-in-india.html (coach.webp)
	   hero-focus-75-sm    75%   ram-verma-hooponopono-and-eft-course-in-india.html (eft.webp), ram-verma-hypnosis-course-in-india.html (hypnosis-desktop.webp, + hero-lift-sm)
	   hero-focus-76-sm    76%   ram-verma-titan-membership.html (titan-1.webp)
	   hero-focus-79-sm    79%   ram-verma-law-of-attraction-course-in-india.html (manifestation.webp)
	   hero-focus-84-sm    84%   ram-verma-health-mastery-course-in-india.html (health-2.webp)
	   hero-focus-86-sm    86%   ram-verma-wealth-mastery-course-in-india.html (wealth.webp)
	   hero-focus-66-sm    66%   about-ram-verma.html (home/slider/12.webp)

	   To fine-tune a page: a lower number moves Ram right on screen,
	   a higher number moves him left.
	   To show more or less of the photo, change the 55% height below.
-----------------------------------------------------------------*/
@media (max-width: 575.98px) {
	.hero-img-top-sm {
		height: 55% !important;
		-webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
		mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
	}

	.hero-focus-70-sm { object-position: 70% top !important; }
	.hero-focus-72-sm { object-position: 72% top !important; }
	.hero-focus-75-sm { object-position: 75% top !important; }
	.hero-focus-76-sm { object-position: 76% top !important; }
	.hero-focus-79-sm { object-position: 79% top !important; }
	.hero-focus-84-sm { object-position: 84% top !important; }
	.hero-focus-86-sm { object-position: 86% top !important; }
	.hero-focus-66-sm { object-position: 66% top !important; }

	/* "hero-lift-sm": moves the hero photo up a little on phones (the crop already starts at the photo's top,
	   so object-position can't go higher). Uses "translate", so it doesn't clash with the hero-zoom "scale".
	   Used on: ram-verma-hypnosis-course-in-india.html */
	.hero-lift-sm { translate: 0 -6%; }
}

/* ----------------------------------------------------------------
	About page hero on phones (below 576px)
	"about-hero-sm" (add to the hero <section>)
	Pushes the text down below Ram's face, so the photo shows his face
	at the top and the text sits on the dark fade at the bottom.
	Tablets and desktops keep the normal 250px padding.
	Used together with "hero-focus-66-sm" on the hero <img>.
	Currently used on: about-ram-verma.html
-----------------------------------------------------------------*/
@media (max-width: 575.98px) {
	.about-hero-sm { padding: 460px 0 50px !important; }
}

/* ----------------------------------------------------------------
	WORKSHOP CALENDAR (ram-verma-workshop-dates.html)
	- Featured slider at the top: .wd-hero-wrap / .wd-hero-slide
	- Filter pills: .wd-pills (gradient on the selected pill)
	- Event cards: .wd-event-card (max 800px wide on tablets+)
	- Scroll animation: .wd-reveal (cards) / .wd-reveal-month (month names),
	  triggered by Canvas "scroll-detect" (adds .scroll-detect-inview)
	- Month blocks + subtle divider: .wd-month / .wd-month-last
	- Month label colours on card images: .wd-mg-gold (dates) / .wd-mg-green (free)
	The filter + "next date" scripts are in js/workshop-calendar.js
-----------------------------------------------------------------*/
.wd-hero-slide { height: 440px; border-radius: 1.25rem; }
@media (min-width: 992px) { .wd-hero-slide { height: 520px; border-radius: 2rem; } }
.wd-hero-wrap { padding-top: 16px; padding-bottom: 16px; }
@media (min-width: 768px) { .wd-hero-wrap { padding-top: 50px; padding-bottom: 50px; } }
/* event cards: limited width on larger screens, free space on the right */
@media (min-width: 768px) { .wd-event-card { max-width: 800px; } }
/* PREMIUM REVEAL: each card rises 30px and comes into focus (blur -> sharp) when scrolled into view.
   Uses Canvas "scroll-detect" (adds "scroll-detect-inview"). 2nd card in a month starts a bit later. */
.wd-reveal { opacity: 0; transform: translateY(30px); filter: blur(8px); transition: opacity .75s ease, transform .75s cubic-bezier(.16,1,.3,1), filter .75s ease; }
.wd-reveal.scroll-detect-inview { opacity: 1; transform: none; filter: none; }
.wd-reveal + .wd-reveal { transition-delay: .12s; }
.wd-reveal + .wd-reveal + .wd-reveal { transition-delay: .24s; }   /* 3rd card in a row starts a bit later */
@media (prefers-reduced-motion: reduce) { .wd-reveal { opacity: 1; transform: none; filter: none; transition: none; } }
/* month name: soft slide-in from the left + focus, slightly before its cards */
.wd-reveal-month { opacity: 0; transform: translateX(-24px); filter: blur(6px); transition: opacity .75s ease, transform .75s cubic-bezier(.16,1,.3,1), filter .75s ease; }
.wd-reveal-month.scroll-detect-inview { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { .wd-reveal-month { opacity: 1; transform: none; filter: none; transition: none; } }
/* very subtle divider between months (not after the last one in a tab) */
.wd-month { padding-bottom: 1.5rem; margin-bottom: 2rem; border-bottom: 1px solid rgba(0,0,0,.07); }
.wd-month:last-child, .wd-month.wd-month-last { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
/* month on the card image (DEC, JAN...): warm gold gradient */
.wd-mg-gold { background-image: linear-gradient(to right, #f7d488, #e0a43a); }
/* FREE label on free on-demand cards: green gradient */
.wd-mg-green { background-image: linear-gradient(to right, #7cf7b5, #2fd27c); }
@media (min-width: 768px) { .wd-month { padding-bottom: 2rem; margin-bottom: 3rem; } }
.wd-pills .nav-link { background: #fff; color: #212529; border-radius: 50rem; padding: .55rem 1.4rem; box-shadow: 0 2px 8px rgba(0,0,0,.06); font-weight: 600; white-space: nowrap; }
.wd-pills .nav-link.active { color: #fff; background-image: linear-gradient(to right, rgb(131,58,180), rgb(253,29,29), rgb(252,176,69)); }
/* phones: slightly smaller pills so all filters fit on 2 lines */
@media (max-width: 575.98px) { .wd-pills .nav-link { padding: .45rem 1rem; font-size: .875rem; } }

/* ----------------------------------------------------------------
	PAGE LOADER (Canvas page transition)
	Black loader background below is used by every page loader.
	ACTIVE NOW: Canvas built-in loader 7 (Grid pulse) in brand red, on index.html and ram-verma-workshop-dates.html:
	<body class="stretched page-transition" data-loader="7" data-loader-color="#dc3545" data-loader-timeout="2500" data-speed-in="600">
	(data-loader-timeout = loader shows 2.5 s at most; data-speed-in = page fades in over 0.6 s)
	(The .rv-ring styles further down are the unused 'RV gradient ring' option, kept for later.)
	Turn it on for a page by changing its <body> tag to:
	<body class="stretched page-transition" data-loader-html='<div class="rv-wrap"><div class="rv-ring"><span>RV</span></div></div>'>
	The loader covers the screen while the page loads, then fades out
	(Canvas removes it after 8 seconds at the latest).
	Currently used on: none (option kept)
-----------------------------------------------------------------*/
.page-transition-wrap { background-color: #000 !important; }
.rv-wrap { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.rv-ring { position: relative; width: 74px; height: 74px; }
.rv-ring::before {
	content: ""; position: absolute; inset: 0; border-radius: 50%; padding: 3px;
	background: conic-gradient(from 0deg, rgb(131,58,180), rgb(253,29,29), rgb(252,176,69), transparent 75%);
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
	-webkit-mask-composite: xor; mask-composite: exclude;
	animation: rvSpin 1s linear infinite;
}
.rv-ring span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 1.15rem; letter-spacing: 1px; }
@keyframes rvSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .rv-ring::before { animation-duration: 3s; } }

/* ----------------------------------------------------------------
	Reveal-box cards: whole card clickable on desktop
	Canvas only makes the TITLE a link (the text block is positioned,
	so "stretched-link" stops there). ".reveal-box-cover" is an empty
	link placed right after the card's <img>; it covers the whole card
	on devices with a mouse. On phones/tablets (no hover) it is hidden,
	so the Canvas tap-to-reveal still works: 1st tap opens the card,
	tap on the title opens the page.
	Currently used on ("Choose Your Path" cards): ram-verma-podcasts.html,
	ram-verma-gut-health-podcasts.html, ram-verma-wellness-podcasts.html,
	ram-verma-manifestation-podcasts.html, ram-verma-wealth-podcasts.html,
	ram-verma-visualizations.html
-----------------------------------------------------------------*/
.reveal-box-cover { position: absolute; inset: 0; z-index: 4; }
@media (hover: none), (pointer: coarse) { .reveal-box-cover { display: none; } }

/* ----------------------------------------------------------------
	PREMIUM ANIMATIONS
	Used on: index.html (Titan, Ram Verma Standard, Upcoming Workshops)
	Scroll progress bar: on every page (except gut-sanjeevani-kit.html and test pages)
	Demo page with all effects: removed (was index-premium-test.html)
-----------------------------------------------------------------*/

/* FIX: the page loader (body class "page-transition") briefly sets a 600ms speed on the whole page
   and resets it ~0.7s later, which restarted animations that were mid-way (looked like playing twice).
   This keeps every data-animate element on its own normal 1s speed. */
[data-animate] { --cnvs-animate-duration: 1s; }

/* Scroll progress bar: thin gradient line at the very top that fills as you scroll.
   Markup: <div class="pm-progress"></div> right after <body>.
   Works in Chrome/Edge/Android/Samsung and Safari 26+ (iOS 26+); hidden in older browsers and Firefox. */
.pm-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; z-index: 9999; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, rgb(131,58,180), rgb(253,29,29), rgb(252,176,69)); pointer-events: none; animation: pmProgress linear both; animation-timeline: scroll(root); }
@keyframes pmProgress { to { transform: scaleX(1); } }
@supports not (animation-timeline: scroll()) { .pm-progress { display: none; } }

/* Flowing gradient text: add "pm-flow" next to "gradient-text gradient-horizon" */
.pm-flow { background-image: linear-gradient(90deg, rgb(131,58,180), rgb(253,29,29), rgb(252,176,69), rgb(253,29,29), rgb(131,58,180)) !important; background-size: 200% auto !important; background-repeat: repeat-x !important; animation: pmFlow 8s linear infinite; }
@keyframes pmFlow { to { background-position: 200% center; } }

/* Flowing gradient border on a transparent button: add "pm-flow-border" (no btn-outline-* class needed). Reuses pmFlow. */
.pm-flow-border { position: relative; border: 0 !important; isolation: isolate; }
.pm-flow-border::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; z-index: -1; pointer-events: none;
	background: linear-gradient(90deg, rgb(131,58,180), rgb(253,29,29), rgb(252,176,69), rgb(253,29,29), rgb(131,58,180)) 0 0 / 200% auto repeat-x;
	-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
	animation: pmFlow 8s linear infinite; }

/* Gradient slides on hover: add "pm-hover-flow" to a box; every "gradient-horizon" inside it (icons, buttons) shifts when the box is hovered */
.pm-hover-flow .gradient-horizon { background-size: 200% auto !important; background-position: 0% center; transition: background-position .8s ease; }
.pm-hover-flow:hover .gradient-horizon { background-position: 100% center !important; }

/* Light sweep across a button on hover: add "pm-shine" to the button */
.pm-shine { position: relative; overflow: hidden; }
.pm-shine::after { content: ""; position: absolute; top: 0; left: -75%; width: 50%; height: 100%; background: linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .75s ease; pointer-events: none; }
.pm-shine:hover::after { left: 130%; }

/* Short slides (only 40px / 24px of movement), used in the Upcoming Workshops section:
   data-animate="pmInLeft" / "pmInRight" / "pmInUp" */
.pmInLeft { animation-name: pmInLeft; }
.pmInRight { animation-name: pmInRight; }
.pmInUp { animation-name: pmInUp; }
@keyframes pmInLeft { from { opacity: 0; transform: translate3d(-40px,0,0); } to { opacity: 1; transform: none; } }
@keyframes pmInRight { from { opacity: 0; transform: translate3d(40px,0,0); } to { opacity: 1; transform: none; } }
@keyframes pmInUp { from { opacity: 0; transform: translate3d(0,24px,0); } to { opacity: 1; transform: none; } }

/* Chip / pill with a small shadow that lifts on hover (desktop) AND on tap (phones, via :active).
   Add "pm-chip" to each pill; put ontouchstart="" on the wrapper so iPhones fire :active on tap.
   First used on: nlp-therapy-counseling-in-india.html (issue chips) */
.pm-chip { box-shadow: 0 2px 6px rgba(0,0,0,.08); transition: transform .35s cubic-bezier(.215,.61,.355,1), box-shadow .35s ease; -webkit-tap-highlight-color: transparent; }
.pm-chip:hover, .pm-chip:active { transform: translateY(-3px); box-shadow: 0 8px 16px rgba(0,0,0,.12); }
@media (prefers-reduced-motion: reduce) { .pm-chip { transition: none; } .pm-chip:hover, .pm-chip:active { transform: none; } }

/* Photo slowly zooms on hover: add "pm-zoom" to the box that holds the image */
.pm-zoom img { transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.pm-zoom:hover img { transform: scale(1.06); }
/* Blur to normal: data-animate="pmBlurIn" (a bit quicker than the normal 1s) */
.pmBlurIn { animation-name: pmBlurIn; --cnvs-animate-duration: .65s; }
@keyframes pmBlurIn { from { opacity: 0; filter: blur(12px); } to { opacity: 1; filter: blur(0); } }
/* Rise + light blur that clears, with a soft slow-down at the end: data-animate="pmRiseIn" (.8s).
   "pm-ease" gives any other data-animate the same soft slow-down. First used on: about-ram-verma.html timeline */
.pmRiseIn { animation-name: pmRiseIn; --cnvs-animate-duration: .8s; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
.pm-ease { animation-timing-function: cubic-bezier(.2,.7,.2,1); }
@keyframes pmRiseIn { from { opacity: 0; transform: translate3d(0,20px,0); filter: blur(6px); } to { opacity: 1; transform: none; filter: blur(0); } }
/* Visitors who switched on "reduce motion" on their device */
@media (prefers-reduced-motion: reduce) {
	.pm-flow, .pm-progress, .pm-flow-border::before { animation: none !important; }
	.pm-shine::after { display: none; }
	.pm-zoom img { transition: none; }
	.pmBlurIn, .pmRiseIn { filter: none !important; }
}

/* ----------------------------------------------------------------
	POLICIES PAGE (ram-verma-policies.html)
	Left: policy buttons (Bootstrap vertical pills, class "pol-pills")
	with brand-gradient active state. Right: "pol-content" tab panes that
	slide in and build up line by line when a policy is chosen.
-----------------------------------------------------------------*/
.pol-pills { --bs-nav-pills-link-active-bg: rgb(253,29,29); --bs-nav-pills-link-active-color: #fff; }
.pol-pills .nav-link { color: var(--cnvs-heading-color); background-color: var(--cnvs-body-bg); border-color: rgba(0,0,0,.1) !important; transition: color .25s ease, box-shadow .25s ease, transform .25s ease; }
/* no blue Bootstrap focus glow: brand-red ring only for keyboard users */
.pol-pills .nav-link:focus { box-shadow: none; outline: 0; }
.pol-pills .nav-link:focus-visible { box-shadow: 0 0 0 .2rem rgba(253,29,29,.3); }
.pol-pills .nav-link:hover { background-color: rgba(253,29,29,.06); transform: translateX(4px); }
.pol-pills .nav-link.active { color: #fff; border-color: transparent !important; background-color: rgb(253,29,29); background-image: linear-gradient(90deg, rgb(131,58,180), rgb(253,29,29), rgb(252,176,69)); box-shadow: 0 4px 10px rgba(253,29,29,.15); }
.pol-pills .nav-link.active .pol-ic { background-color: #fff !important; color: rgb(253,29,29) !important; }
.pol-pills .nav-link.active .bi-chevron-right { color: #fff; }
/* switching policy: heading, intro and each point rise in one after another */
@keyframes polIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
/* the whole policy panel slides in from the right with a blur that clears */
@keyframes polPane { from { opacity: 0; transform: translateX(40px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.pol-content .tab-pane.active { animation: polPane .55s cubic-bezier(.2,.7,.2,1) both; }
.pol-content .tab-pane.active > *, .pol-content .tab-pane.active li { animation: polIn .6s cubic-bezier(.2,.7,.2,1) both; }
.pol-content .tab-pane.active > :nth-child(2) { animation-delay: .06s; } .pol-content .tab-pane.active > :nth-child(3) { animation-delay: .12s; } .pol-content .tab-pane.active > :nth-child(4) { animation-delay: .18s; } .pol-content .tab-pane.active > :nth-child(5) { animation-delay: .24s; } .pol-content .tab-pane.active > :nth-child(6) { animation-delay: .3s; } .pol-content .tab-pane.active > :nth-child(7) { animation-delay: .36s; } .pol-content .tab-pane.active > :nth-child(8) { animation-delay: .42s; } .pol-content .tab-pane.active > :nth-child(9) { animation-delay: .48s; } .pol-content .tab-pane.active > :nth-child(10) { animation-delay: .54s; } .pol-content .tab-pane.active > :nth-child(11) { animation-delay: .6s; } .pol-content .tab-pane.active > :nth-child(12) { animation-delay: .66s; } .pol-content .tab-pane.active > :nth-child(13) { animation-delay: .72s; } .pol-content .tab-pane.active > :nth-child(14) { animation-delay: .78s; } .pol-content .tab-pane.active > :nth-child(15) { animation-delay: .84s; } .pol-content .tab-pane.active > :nth-child(16) { animation-delay: .9s; } .pol-content .tab-pane.active > :nth-child(n+17) { animation-delay: .95s; }
.pol-content .tab-pane.active li:nth-child(1) { animation-delay: .15s; } .pol-content .tab-pane.active li:nth-child(2) { animation-delay: .22s; } .pol-content .tab-pane.active li:nth-child(3) { animation-delay: .29s; } .pol-content .tab-pane.active li:nth-child(4) { animation-delay: .36s; } .pol-content .tab-pane.active li:nth-child(5) { animation-delay: .43s; } .pol-content .tab-pane.active li:nth-child(6) { animation-delay: .5s; } .pol-content .tab-pane.active li:nth-child(7) { animation-delay: .57s; }
/* selected button: icon pops */
@keyframes polPop { 0% { transform: scale(.6); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.pol-pills .nav-link.active .pol-ic { animation: polPop .45s ease both; }
.pol-pills .nav-link .bi-chevron-right { transition: transform .25s ease; } .pol-pills .nav-link:hover .bi-chevron-right, .pol-pills .nav-link.active .bi-chevron-right { transform: translateX(3px); }
@keyframes polFade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pol-content .tab-pane.active *, .pol-pills .nav-link.active .pol-ic { animation: none !important; } .pol-content .tab-pane.active { animation: polFade .3s ease both !important; } .pol-pills .nav-link:hover { transform: none; } }

/* ----------------------------------------------------------------
	WORKSHOP CALENDAR: filter switch animation (ram-verma-workshop-dates.html)
	After a filter pill is clicked, js/workshop-calendar.js adds "wd-swap"
	to #wd-events: the list nudges in with a blur that clears, then each
	month name and card rises in one after another (--wd-i = order).
-----------------------------------------------------------------*/
@keyframes wdSwapPane { from { opacity: 0; transform: translateX(8px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes wdSwapIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes wdSwapFade { from { opacity: 0; } to { opacity: 1; } }
#wd-events.wd-swap { animation: wdSwapPane .55s cubic-bezier(.2,.7,.2,1) both; }
#wd-events.wd-swap .wd-month:not(.d-none) .wd-reveal-month,
#wd-events.wd-swap [data-event]:not(.d-none) { animation: wdSwapIn .6s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--wd-i, 0) * .07s); }
@media (prefers-reduced-motion: reduce) {
	#wd-events.wd-swap, #wd-events.wd-swap * { animation: none !important; }
	#wd-events.wd-swap { animation: wdSwapFade .3s ease both !important; }
}

/* -----------------------------------------------------------------
	HERO ZOOM: the hero photo starts slightly zoomed in on the face and
	slowly settles to normal over 10 seconds, once, on page load.
	Use: put the hero photo on its own layer inside the hero section
	(section needs overflow-hidden):
	<div class="hero-zoom position-absolute top-0 start-0 w-100 h-100"
	     style="background: url('images/...') no-repeat center top / cover;"></div>
	   or add "hero-zoom" to a full-size hero <img>.
	Zoom centre = the face. Default 52% 30% (phones 50% 35%).
	For a photo with the face elsewhere, set it on the element:
	style="--hz-origin: 75% 30%;"   (phones: --hz-origin-sm)
	Uses the separate "scale" property, so it also works on Canvas
	parallax images (they keep their own scroll movement).
	First used on: index.html. Off for visitors with "reduce motion".
-----------------------------------------------------------------*/
.hero-zoom { animation: heroZoom 10s cubic-bezier(.2,.6,.3,1) both; transform-origin: var(--hz-origin, 52% 30%); }
@media (max-width: 575.98px) { .hero-zoom { transform-origin: var(--hz-origin-sm, 50% 35%); } }
@keyframes heroZoom { from { scale: 1.18; } to { scale: 1; } }
@media (prefers-reduced-motion: reduce) { .hero-zoom { animation: none; } }
/* HERO SHADE LEFT: dark fade from the left behind the hero text, clear by the middle, so the face on the right stays bright.
   Add an empty layer right after the hero <img>:
   <div class="hero-shade-left position-absolute top-0 start-0 w-100 h-100"></div>
   Tablets/desktop only; on phones the text already sits on black below the photo (hero-img-top-sm).
   Used on: nlp-master-practitioner-course-in-india.html */
@media (min-width: 576px) { .hero-shade-left { background: linear-gradient(90deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.45) 35%, rgba(0,0,0,0) 60%); } }
/* HERO PLUM: add "hero-plum" to the hero <section> to turn its black overlays (left shade, bottom fade,
   background behind the photo) into deep plum #0D0816 instead of black.
   First used on: nlp-master-practitioner-course-in-india.html */
.hero-plum { background-color: #0D0816 !important; }
.hero-plum .text-overlay-mask { background: linear-gradient(to bottom, rgba(13,8,22,0) 0%, rgba(13,8,22,.85) 100%); filter: none; }
@media (min-width: 576px) { .hero-plum .hero-shade-left { background: linear-gradient(90deg, rgba(13,8,22,.75) 0%, rgba(13,8,22,.45) 35%, rgba(13,8,22,0) 60%); } }
/* HERO INK: add "hero-ink" to the hero <section> to turn its black overlays into #111111 instead of pure black.
   First used on: ram-verma-hypnosis-course-in-india.html */
.hero-ink { background-color: #111111 !important; }
/* ends fully solid #111111 so the hero melts into a #111111 section below it (no visible seam) */
.hero-ink .text-overlay-mask { background: linear-gradient(to bottom, rgba(17,17,17,0) 0%, rgba(17,17,17,.85) 75%, #111111 100%); filter: none; }
@media (min-width: 576px) { .hero-ink .hero-shade-left { background: linear-gradient(90deg, rgba(17,17,17,.75) 0%, rgba(17,17,17,.45) 35%, rgba(17,17,17,0) 60%); } }
/* HERO GLOW: soft warm light that follows the mouse over the hero (needs js/hero-glow.js on the page).
   Add an empty layer inside the hero, after the shades and before the text:
   <div class="hero-glow position-absolute top-0 start-0 w-100 h-100"></div>
   Mouse/trackpad only; does nothing on touch screens or with reduced motion.
   Used on: ram-verma-titan-membership.html */
.hero-glow { pointer-events: none; opacity: 0; transition: opacity .5s ease; mix-blend-mode: screen; background: radial-gradient(380px circle at var(--gx, 50%) var(--gy, 40%), rgba(255,214,170,.26) 0%, rgba(255,214,170,.08) 40%, rgba(255,214,170,0) 70%); }
.hero-glow.is-on { opacity: 1; }
/* HERO COLOUR: add "hero-colour" next to "hero-zoom" on the hero photo: it starts black and white and
   warms into full colour while the zoom settles. First used on: about-ram-verma.html */
.hero-zoom.hero-colour { animation: heroZoom 10s cubic-bezier(.2,.6,.3,1) both, heroColour 4.5s ease-out both .6s; }
@keyframes heroColour { from { filter: grayscale(1) brightness(.8) contrast(1.05); } to { filter: grayscale(0) brightness(1) contrast(1); } }
@media (prefers-reduced-motion: reduce) { .hero-zoom.hero-colour { animation: none; } }

/* -----------------------------------------------------------------
	HERO FOCUS: the hero photo starts blurred, darker and slightly close,
	then pulls into sharp focus in about 3 seconds, once (like a camera
	focusing). Add "hero-focus" to the hero photo. Works with Canvas
	lazy-loaded photos (starts when Canvas adds "lazy-loaded", so it
	never plays on an empty box) and with Canvas parallax (uses scale +
	filter, not transform). Off for visitors with "reduce motion".
	Used on: the Explore pages (podcasts, visualizations, free training, about NLP).
-----------------------------------------------------------------*/
.hero-focus { opacity: 0; transform-origin: 50% 35%; }
.hero-focus.lazy-loaded, .hero-focus:not(.lazy) { animation: heroFocus 1.9s cubic-bezier(.2,.6,.3,1) both; }
@keyframes heroFocus {
	from { opacity: 0; filter: blur(22px) brightness(.6); scale: 1.12; }
	25%  { opacity: 1; }
	to   { opacity: 1; filter: blur(0) brightness(1); scale: 1; }
}
@media (prefers-reduced-motion: reduce) { .hero-focus { opacity: 1; } .hero-focus.lazy-loaded, .hero-focus:not(.lazy) { animation: none; } }
/* TICKER SEAMLESS: add "ticker-seamless" next to "ticker-wrap" so the Canvas ticker loops with no blank gap
   (Canvas adds a full-screen-wide empty space before and after the items).
   The items inside .ticker must be listed exactly twice (second copy aria-hidden="true");
   the strip moves by one copy, then restarts on an identical frame. Works with "ticker-reverse" too.
   Each copy must be wider than the screen, or a gap shows on very wide monitors.
   Used on: index.html */
.ticker-wrap.ticker-seamless, .ticker-wrap.ticker-seamless.ticker-reverse { padding-left: 0; padding-right: 0; }
.ticker-wrap.ticker-seamless .ticker, .ticker-wrap.ticker-seamless.ticker-reverse .ticker { padding-left: 0; padding-right: 0; animation-name: tickerSeamless; }
.ticker-wrap.ticker-seamless.ticker-reverse .ticker { animation-name: tickerSeamlessReverse; }
@keyframes tickerSeamless { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes tickerSeamlessReverse { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .ticker-wrap.ticker-seamless .ticker { animation: none; } }

/* GOLD GRADIENT: warm gold that matches the Charcoal & Moss palette gold (#B88A4E).
   Use with Canvas "gradient-text" for gold gradient headings, e.g. the NLP therapy hero. */
.gradient-gold { background-image: linear-gradient(to right, #B88A4E 0%, #E9D3A6 100%) !important; }

/* BLACK HEADER + FOOTER: one neutral near-black (#111111) for the header (sticky/scrolled and mobile), the footer and
   the copyright strip, on every page, so they sit well with every colour palette.
   The header stays see-through over the hero on desktop (Canvas transparent-header still wins there). */
#header.dark { --cnvs-header-bg: #111111; --cnvs-header-sticky-bg: #111111; }
#footer.dark { --cnvs-footer-bg: #111111; }
#footer.dark #copyrights { background-color: #111111; border-top: 1px solid rgba(255, 255, 255, .08); }
/* Canvas sets a fixed #1f1f1f on the scrolled (sticky) desktop header, so it needs its own rule */
.is-expanded-menu #header.dark.sticky-header #header-wrap { background-color: #111111; }

/* ----------------------------------------------------------------
	QUIZ HUB filter (quiz/quiz.html): active button uses the same
	purple > red > orange gradient as the policy buttons (.pol-pills)
-----------------------------------------------------------------*/
.grid-filter.qf-filter li.activeFilter a { color: #fff !important; background-color: rgb(253,29,29); background-image: linear-gradient(90deg, rgb(131,58,180), rgb(253,29,29), rgb(252,176,69)); box-shadow: 0 4px 10px rgba(253,29,29,.15); }
.grid-filter.qf-filter li:not(.activeFilter) a:hover { color: rgb(253,29,29); }
/* same gradient on the "Explore NLP 2.0" button at the bottom of quiz/quiz.html */
.btn.qf-grad { color: #fff; border-color: transparent; background-color: rgb(253,29,29); background-image: linear-gradient(90deg, rgb(131,58,180), rgb(253,29,29), rgb(252,176,69)); box-shadow: 0 4px 10px rgba(253,29,29,.15); transition: filter .25s ease, transform .25s ease; }
.btn.qf-grad:hover, .btn.qf-grad:focus-visible { color: #fff; border-color: transparent; filter: brightness(1.08); transform: translateY(-2px); }
/* small label chips on the quiz cards (quiz/quiz.html): solid red, same as the old btn-danger button */
.entry-chip.qf-chip { color: #fff !important; background-color: var(--bs-danger); background-image: none; border-color: transparent; }
/* MOBILE MENU TEXT SIZE: bigger, easier-to-tap text in the phone/tablet menu (desktop keeps 13px / 12px).
   Uses Canvas's own menu variables. Test: only pages whose <body> has class "mobile-menu-lg" (home page). */
body.mobile-menu-lg:not(.is-expanded-menu) #header {
	--cnvs-primary-menu-font-size: 0.9375rem;          /* 15px main items (was 13px) */
	--cnvs-primary-menu-submenu-font-size: 0.875rem;   /* 14px sub-items (was 12px) */
}
