/* Service card hover polish (About features) */
.service-card {
	border-radius: 12px;
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
	box-shadow: 0 10px 24px rgba(2, 6, 23, .06);
}

.service-card .services__thumb img {
	transition: transform .35s ease;
}

.service-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 44px rgba(2, 6, 23, .12);
}

.service-card:hover .services__thumb img {
	transform: scale(1.04);
}

.service-card .services__thumb {
	position: relative;
}

.service-card .services__thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(60% 60% at 50% 40%, rgba(255, 255, 255, .0), rgba(0, 0, 0, .05));
	opacity: 0;
	transition: opacity .25s ease;
}

.service-card:hover .services__thumb::after {
	opacity: 1;
}

/* Smooth visual join between sections */
.smooth-top {
	position: relative;
	margin-top: -24px;
	/* pulls band up to overlap previous section slightly */
	padding-top: calc(80px + 24px);
	/* keep visual height after overlap */
}

.smooth-top::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -1px;
	height: 60px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 70%);
	pointer-events: none;
}

@media (max-width: 575.98px) {
	.smooth-top {
		margin-top: -16px;
		padding-top: calc(80px + 16px);
	}
}

/* CTA band enhanced backdrop */
.cta__area.cta-gradient {
	position: relative;
	background:
		radial-gradient(60% 120% at 10% 0%, #f0f9ff 0%, #ffffff 55%),
		linear-gradient(180deg, #f8fafc 0%, #ffffff 70%);
	overflow: hidden;
}

.cta__area.cta-gradient::before {
	content: "";
	position: absolute;
	inset: -80px;
	pointer-events: none;
	background:
		radial-gradient(180px 180px at 12% 22%, rgba(14, 165, 233, .15), transparent 70%),
		radial-gradient(220px 220px at 88% 28%, rgba(16, 185, 129, .14), transparent 70%),
		radial-gradient(200px 200px at 50% 92%, rgba(99, 102, 241, .12), transparent 70%);
	filter: blur(10px);
	animation: cta-orbs 16s ease-in-out infinite alternate;
}

@keyframes cta-orbs {
	0% {
		transform: translate3d(0, 0, 0);
	}

	100% {
		transform: translate3d(0, -10px, 0);
	}
}

/* Slightly thicken the accent stripe on hover for benefit cards */
.benefit-card:hover::before {
	height: 4px;
}

/* Benefit mini-cards polish (About page) */
.benefit-card {
	position: relative;
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}

.benefit-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 3px;
	background: #1a596c;
	/* brand teal */
	opacity: .9;
}

.accent-success::before {
	background: #00B3E0;
}

.accent-primary::before {
	background: #1a596c;
}

.accent-warning::before {
	background: #ffc107;
}

.benefit-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
}

/* Rich text in posts: ensure lists render with markers and spacing */
.blog__details-text ul,
.blog__details-text ol,
.richtext-content ul,
.richtext-content ol {
	margin: 0 0 1rem 1.25rem;
	padding-left: 1.25rem;
}

.blog__details-text ul,
.richtext-content ul {
	list-style: disc outside;
}

.blog__details-text ol,
.richtext-content ol {
	list-style: decimal outside;
}

.blog__details-text li,
.richtext-content li {
	list-style: inherit;
	margin: 0.25rem 0;
}

.richtext-content {
	font-size: 1rem;
	line-height: 1.75;
	color: inherit;
	word-break: break-word;
}

.richtext-content h1,
.richtext-content h2,
.richtext-content h3,
.richtext-content h4,
.richtext-content h5,
.richtext-content h6 {
	font-weight: 600;
	margin: 0 0 0.75rem;
	line-height: 1.3;
}

.richtext-content h1 {
	font-size: clamp(2.25rem, 4vw, 2.8rem);
}

.richtext-content h2 {
	font-size: clamp(1.9rem, 3vw, 2.2rem);
}

.richtext-content h3 {
	font-size: 1.6rem;
}

.richtext-content h4 {
	font-size: 1.35rem;
}

.richtext-content h5 {
	font-size: 1.15rem;
}

.richtext-content h6 {
	font-size: 1rem;
	letter-spacing: .02em;
}

.richtext-content p {
	margin-bottom: 1rem;
}

/* ── Tighten spacing inside table cells ──
   Word-pasted tables often have <p>, <br>, and empty elements that
   waste vertical space. Collapse them to keep the table compact. */
.richtext-content table p,
.blog__details-text table p {
	margin: 0;
	padding: 0;
	line-height: 1.5;
}

.richtext-content table br,
.blog__details-text table br {
	/* Empty <br> between paragraphs — reduce to a tiny gap instead of full line break */
	display: block;
	content: "";
	margin-top: 2px;
}

/* Lists inside table cells — keep compact */
.richtext-content table ul,
.richtext-content table ol,
.blog__details-text table ul,
.blog__details-text table ol {
	margin: 4px 0;
	padding-left: 1.5em;
}
.richtext-content table li,
.blog__details-text table li {
	margin: 1px 0;
	line-height: 1.5;
}

/* The ql-raw-table wrapper itself should have no extra spacing */
.richtext-content .ql-raw-table,
.blog__details-text .ql-raw-table {
	margin: 0;
	padding: 0;
}

.richtext-content a {
	color: #1a596c;
	text-decoration: underline;
}

.richtext-content img,
.richtext-content iframe,
.richtext-content video {
	max-width: 100%;
	height: auto;
	display: block;
}

.richtext-content blockquote {
	margin: 1.5rem 0;
	padding-left: 1.25rem;
	border-left: 4px solid rgba(0, 0, 0, .1);
	font-style: italic;
}

.richtext-content pre,
.richtext-content code {
	font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

.richtext-content pre {
	background: #0f172a;
	color: #f8fafc;
	padding: 1rem;
	border-radius: 10px;
	overflow: auto;
}

.richtext-content .ql-size-small {
	font-size: .85em;
}

.richtext-content .ql-size-large {
	font-size: 1.5em;
}

.richtext-content .ql-size-huge {
	font-size: 2.5em;
}

.richtext-content .ql-align-center {
	text-align: center;
}

.richtext-content .ql-align-right {
	text-align: right;
}

.richtext-content .ql-align-justify {
	text-align: justify;
}

.richtext-content .ql-direction-rtl {
	direction: rtl;
	text-align: right;
}

.richtext-content .ql-indent-1 {
	margin-left: 1.5rem;
}

.richtext-content .ql-indent-2 {
	margin-left: 3rem;
}

.richtext-content .ql-indent-3 {
	margin-left: 4.5rem;
}

.richtext-content .ql-indent-4 {
	margin-left: 6rem;
}

.richtext-content .ql-indent-5 {
	margin-left: 7.5rem;
}

.richtext-content .ql-video {
	width: 100%;
	min-height: 320px;
	border: none;
}

/* ===== Premium Table Design (Word-pasted & editor-created) ===== */
.richtext-content table,
.blog__details-text table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 1.5rem 0;
	font-size: 0.95rem;
	line-height: 1.6;
	border: 1px solid rgba(26, 89, 108, .15);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(2, 6, 23, .04);
}

/* Wrapper for responsive horizontal scroll on small screens */
.richtext-content .table-responsive-wrap,
.blog__details-text .table-responsive-wrap {
	width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
	margin: 1.5rem 0;
	border-radius: 12px;
}
.richtext-content .table-responsive-wrap table,
.blog__details-text .table-responsive-wrap table {
	margin: 0;
}

/* Table cells */
.richtext-content table td,
.richtext-content table th,
.blog__details-text table td,
.blog__details-text table th {
	padding: 12px 16px;
	text-align: left;
	vertical-align: top;
	border-bottom: 1px solid rgba(26, 89, 108, .08);
	border-right: 1px solid rgba(26, 89, 108, .06);
	transition: background-color .15s ease;
}
.richtext-content table td:last-child,
.richtext-content table th:last-child,
.blog__details-text table td:last-child,
.blog__details-text table th:last-child {
	border-right: none;
}

/* Header row — light teal background for readability */
.richtext-content table thead th,
.richtext-content table thead td,
.richtext-content table tr:first-child th,
.blog__details-text table thead th,
.blog__details-text table thead td,
.blog__details-text table tr:first-child th {
	background: linear-gradient(135deg, #e8f4f8 0%, #d4eef5 100%);
	color: #1a596c;
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: .025em;
	text-transform: none;
	border-bottom: 2px solid rgba(26, 89, 108, .25);
	border-right-color: rgba(26, 89, 108, .08);
	position: sticky;
	top: 0;
	z-index: 1;
}

/* Auto-style first row as header when no <thead>
   (Word often puts data in tr>td without thead) */
.richtext-content table tbody tr:first-child td,
.blog__details-text table tbody tr:first-child td {
	background: linear-gradient(135deg, #e8f4f8 0%, #d4eef5 100%);
	color: #1a596c;
	font-weight: 700;
	font-size: 0.9rem;
	letter-spacing: .025em;
	border-bottom: 2px solid rgba(26, 89, 108, .25);
	border-right-color: rgba(26, 89, 108, .08);
}

/* Only apply header style to first row when it looks like a header
   (has no sibling with same styling — fallback: always style first row) */
.richtext-content table tbody tr:first-child ~ tr td,
.blog__details-text table tbody tr:first-child ~ tr td {
	background: #ffffff;
	color: inherit;
	font-weight: inherit;
	font-size: inherit;
	letter-spacing: inherit;
	border-bottom: 1px solid rgba(26, 89, 108, .08);
	border-right-color: rgba(26, 89, 108, .06);
}

/* Alternating zebra stripes (skip header row) */
.richtext-content table tbody tr:nth-child(even) td,
.blog__details-text table tbody tr:nth-child(even) td {
	background: rgba(26, 89, 108, .025);
}

/* Row hover effect */
.richtext-content table tbody tr:not(:first-child):hover td,
.blog__details-text table tbody tr:not(:first-child):hover td {
	background: rgba(0, 179, 224, .06);
}

/* Remove border on last row bottom */
.richtext-content table tbody tr:last-child td,
.blog__details-text table tbody tr:last-child td {
	border-bottom: none;
}

/* Tables inside tabs or accordion */
.tab-content table,
.accordion-body table {
	margin: 0.75rem 0;
}

/* Mobile: ensure tables don't overflow */
@media (max-width: 767.98px) {
	.richtext-content table,
	.blog__details-text table {
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		white-space: nowrap;
	}
	.richtext-content table td,
	.richtext-content table th,
	.blog__details-text table td,
	.blog__details-text table th {
		padding: 8px 12px;
		font-size: 0.85rem;
	}
}

.icon-badge {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform .2s ease;
}

.benefit-card:hover .icon-badge {
	transform: scale(1.07);
}

.icon-badge.badge-success {
	background: rgba(0, 179, 224, .12);
	border: 1px solid rgba(0, 179, 224, .25);
	color: #00B3E0;
}

.icon-badge.badge-primary {
	background: rgba(26, 89, 108, .12);
	border: 1px solid rgba(26, 89, 108, .25);
	color: #1a596c;
}

.icon-badge.badge-warning {
	background: rgba(255, 193, 7, .12);
	border: 1px solid rgba(255, 193, 7, .30);
	color: #ffc107;
}

/* Contact page: info cards polish */
.contact__area .contact__item {
	--c1: rgba(26, 89, 108, .18);
	/* brand teal start */
	--c2: rgba(0, 179, 224, .18);
	/* brand cyan end */
	background: rgba(255, 255, 255, .72);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(148, 163, 184, .25);
	border-radius: 16px;
	padding: 22px 22px;
	box-shadow: 0 10px 28px rgba(2, 6, 23, .06);
	transition: transform .25s ease, box-shadow .25s ease;
	position: relative;
	overflow: hidden;
}

.contact__area .contact__item::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 6px;
	background: linear-gradient(90deg, var(--c1), var(--c2));
}

.contact__area .contact__item::after {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	background: linear-gradient(120deg, var(--c1), transparent 40%, var(--c2));
	pointer-events: none;
	opacity: 0;
	transition: opacity .25s ease;
}

.contact__area .contact__item:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 44px rgba(2, 6, 23, .12);
}

.contact__area .contact__item:hover::after {
	opacity: .5;
}

.contact__area .contact__icon {
	width: 56px;
	height: 56px;
	border-radius: 14px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--c1), var(--c2));
	color: #1a596c;
	font-size: 1.25rem;
	flex: 0 0 56px;
	transition: transform .35s ease;
}

.contact__area .contact__item:hover .contact__icon {
	transform: translateY(-2px);
}

.contact__area .contact__content h5 {
	margin-bottom: 6px;
}

.contact__area .contact__content p {
	margin: 0;
	color: #475569;
}

.contact__area .contact__content a {
	color: #1a596c;
	font-weight: 600;
	text-decoration: none;
}

.contact__area .contact__content a:hover {
	color: #0e3d4c;
	text-decoration: underline;
}

/* Accent modifiers per card */
.contact__area .contact__item.contact--address {
	--c1: rgba(26, 89, 108, .22);
	--c2: rgba(0, 179, 224, .22);
}

.contact__area .contact__item.contact--email {
	--c1: rgba(0, 179, 224, .22);
	--c2: rgba(26, 89, 108, .22);
}

.contact__area .contact__item.contact--phone {
	--c1: rgba(251, 191, 36, .28);
	--c2: rgba(244, 114, 182, .22);
}

/* Inline contact pills for tel/email */
.contact__pill {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border-radius: 999px;
	border: 1.5px solid #0ea5e9;
	color: #0ea5e9 !important;
	text-decoration: none !important;
	margin-right: 8px;
	margin-bottom: 6px;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}

.contact__item.contact--phone .contact__pill {
	border-color: #f59e0b;
	color: #b45309 !important;
}

.contact__item.contact--phone .contact__pill:hover {
	background: #f59e0b;
	color: #fff !important;
}

.contact__item.contact--email .contact__pill {
	border-color: #1a596c;
	color: #1a596c !important;
}

.contact__item.contact--email .contact__pill:hover {
	background: #1a596c;
	color: #fff !important;
}

.contact__pill i {
	font-size: .9rem;
}

/* Tiny secondary link */
.contact__mini {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: .9rem;
}

.contact__mini i {
	font-size: .85rem;
}

/* Creative background for the contact strip */
.contact__area.contact__padding {
	position: relative;
	background: radial-gradient(60% 120% at 10% 0%, #f0f9ff 0%, #ffffff 50%),
		linear-gradient(180deg, #f8fafc 0%, #ffffff 60%);
	overflow: hidden;
}

.contact__area.contact__padding::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url('../../assets/img/contact/map.png');
	background-repeat: no-repeat;
	background-position: right -120px top -60px;
	background-size: 720px auto;
	opacity: .08;
	pointer-events: none;
}

/* floating gradient orbs */
.contact__area.contact__padding::after {
	content: "";
	position: absolute;
	inset: -100px;
	background:
		radial-gradient(180px 180px at 12% 22%, rgba(14, 165, 233, .18), transparent 70%),
		radial-gradient(220px 220px at 88% 28%, rgba(16, 185, 129, .16), transparent 70%),
		radial-gradient(200px 200px at 50% 92%, rgba(99, 102, 241, .14), transparent 70%);
	filter: blur(12px);
	pointer-events: none;
	animation: contact-orbs 16s ease-in-out infinite alternate;
}

@keyframes contact-orbs {
	0% {
		transform: translate3d(0, 0, 0);
	}

	100% {
		transform: translate3d(0, -12px, 0);
	}
}

/* Seamless fade into next section */
.contact__split {
	position: relative;
}

.contact__split::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 80px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #ffffff 85%);
	pointer-events: none;
}

/* Minimalist split contact layout */
.contact__split {
	padding-top: 70px;
	padding-bottom: 70px;
}

.contact__hero {
	padding-right: 30px;
}

.contact__hero-kicker {
	color: #1a596c;
	font-weight: 700;
	letter-spacing: .3px;
	display: inline-block;
	margin-bottom: 10px;
}

.contact__hero h2 {
	font-size: clamp(28px, 3.2vw, 40px);
	line-height: 1.15;
	margin-bottom: 12px;
}

.contact__hero p.lead {
	color: #475569;
	font-size: 1.05rem;
}

.contact__cta {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.contact__cta .ks-btn,
.contact__cta .ks-btn-outline {
	padding: 12px 18px;
}

.contact__card {
	background: #ffffff;
	border: 1px solid rgba(148, 163, 184, .25);
	border-radius: 16px;
	box-shadow: 0 10px 28px rgba(2, 6, 23, .06);
	padding: 24px;
}

.contact__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	gap: 14px;
}

.contact__list li {
	display: grid;
	grid-template-columns: 40px 1fr;
	align-items: start;
	gap: 12px;
}

.contact__list .ic {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	display: grid;
	place-items: center;
	background: linear-gradient(135deg, rgba(26, 89, 108, .15), rgba(0, 179, 224, .15));
	color: #1a596c;
	font-size: 1rem;
}

.contact__list h6 {
	margin: 0 0 2px;
	font-weight: 700;
}

.contact__list p {
	margin: 0;
	color: #475569;
}

.contact__list a {
	color: #1a596c;
	text-decoration: none;
	font-weight: 600;
}

.contact__list a:hover {
	color: #0e3d4c;
	text-decoration: underline;
}

@media (max-width: 991.98px) {
	.contact__hero {
		padding-right: 0;
		margin-bottom: 24px;
	}
}

@media (max-width: 575.98px) {
	.contact__area .contact__item {
		padding: 18px;
	}
}

/* Slider fixes */
.slider__area {
	min-height: 500px;
	position: relative;
	display: block !important;
}

.slider__active {
	min-height: 500px;
}

.single-slider {
	min-height: 500px;
	background-size: cover !important;
	background-position: center !important;
	background-repeat: no-repeat !important;
}

@media (max-width: 575px) {
	.single-slider {
		min-height: unset !important;
		aspect-ratio: 1600 / 680;
		background-size: contain !important;
	}

	.slider__area,
	.slider__active {
		min-height: unset !important;
	}
}

/* Remove overlay for clean image display */
.slider__overlay::before {
	display: none !important;
}

section {
	scroll-margin-top: 120px;
	/* offset for sticky header */
}

/* UI polish for sidebar selects using jQuery Nice Select */
.sidebar__wrapper-2,
.sidebar__widget,
.sidebar__widget-content {
	overflow: visible;
}

/* Prevent form from introducing unexpected height/overflow */
.sidebar__widget-content form {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	height: 44px;
	min-height: 44px;
	/* keep form tall enough to contain the control */
}

.sidebar__widget-content .nice-select {
	width: calc(100% - 4px) !important;
	/* avoid 1px overflow due to subpixel rounding */
	margin-left: 2px;
	margin-right: 2px;
	border-radius: 6px;
	height: 44px;
	/* match typical input height */
	line-height: 44px;
	border-color: #e5e7eb;
	/* tailwind gray-200 tone */
	padding-right: 40px;
	padding-left: 14px;
	font-size: 0.95rem;
	margin-top: 6px;
	/* align with inputs */
	display: block;
	box-sizing: border-box;
	max-width: 100%;
	float: none !important;
	/* avoid float width glitches */
}

.sidebar__widget-content .nice-select:after {
	right: 12px;
	top: 50%;
	transform: translateY(-50%);
}

.sidebar__widget-content .nice-select .current {
	color: #111827;
	/* gray-900 */
}

.sidebar__widget-content .nice-select .current {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.sidebar__widget-content .nice-select.wide .list {
	left: 0;
	right: 0;
}

.sidebar__widget-content .nice-select .list {
	z-index: 30;
}

.sidebar__widget-content .nice-select .option {
	min-height: 42px;
	line-height: 42px;
}

/* High-contrast focus ring for accessibility */
.sidebar__widget-content .nice-select:focus {
	outline: 2px solid #2563eb;
	/* blue-600 */
	outline-offset: 2px;
}

/* Learning Solutions: primary CTA button (distinct look) */
.btn-ks-primary {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 22px;
	border-radius: 999px;
	background: linear-gradient(135deg, #1a596c 0%, #00B3E0 100%);
	/* brand teal → cyan */
	color: #fff !important;
	border: 0;
	box-shadow: 0 6px 16px rgba(26, 89, 108, 0.25), 0 2px 6px rgba(0, 179, 224, 0.2);
	transition: all .25s ease;
	overflow: hidden;
}

.btn-ks-primary:hover,
.btn-ks-primary:focus {
	background: linear-gradient(135deg, #2d7f93 0%, #38d4f5 100%);
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(26, 89, 108, 0.28), 0 4px 10px rgba(0, 179, 224, 0.22);
}

.btn-ks-primary:active {
	transform: translateY(0);
}

.btn-ks-primary::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(120px 60px at var(--x, 0%) var(--y, 50%), rgba(255, 255, 255, 0.35), transparent 70%);
	opacity: 0;
	transition: opacity .2s ease;
}

.btn-ks-primary:hover::before {
	opacity: 1;
}

.btn-ks-primary i {
	margin-left: 6px;
}

/* Strongly contrasting outline button for secondary CTAs */
.btn-ks-outline {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 11px 20px;
	border-radius: 10px;
	/* squarer corners vs. pill */
	background: transparent;
	color: #1a596c !important;
	/* brand teal */
	border: 2px solid #1a596c;
	font-weight: 700;
	letter-spacing: .2px;
	transition: color .18s ease, background-color .18s ease, border-color .18s ease, transform .18s ease;
	text-decoration: none !important;
}

.btn-ks-outline i {
	margin-left: 6px;
}

.btn-ks-outline:hover,
.btn-ks-outline:focus {
	background-color: #1a596c;
	color: #ffffff !important;
	transform: translateY(-1px);
}

.btn-ks-outline:active {
	transform: translateY(0);
}

@media (max-width: 575.98px) {
	.btn-ks-outline {
		padding: 10px 16px;
		font-weight: 600;
	}
}

/* Optional: subtle underline style for secondary link buttons inside services */
.services__content-2 .link-btn-2 {
	text-decoration: none;
	color: #1a596c;
	font-weight: 600;
}

.services__content-2 .link-btn-2:hover {
	text-decoration: underline;
	color: #0e3d4c;
	/* brand dark */
}

/* Ensure Font Awesome icons inside link-btn-2 are always visible/static
   Theme expects two <i> for a slide animation; most of our CTAs use a single icon. */
.link-btn-2 i {
	position: static !important;
	top: auto !important;
	right: auto !important;
	transform: none !important;
	visibility: visible !important;
	opacity: 1 !important;
	margin-left: 6px;
}

/* Home portfolio refresh */
.portfolio__area {
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 65%);
}

.portfolio__menu button {
	border: none;
	background: #ffffff;
	color: #0f172a;
	padding: 10px 22px;
	border-radius: 999px;
	font-weight: 600;
	letter-spacing: .2px;
	margin: 0 10px 12px;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
	transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.portfolio__menu button:hover,
.portfolio__menu button:focus {
	color: #1a596c;
	transform: translateY(-1px);
	box-shadow: 0 16px 34px rgba(26, 89, 108, 0.14);
}

.portfolio__menu button.active {
	background: #1a596c;
	color: #ffffff;
	box-shadow: 0 18px 40px rgba(26, 89, 108, 0.3);
}

.portfolio__grid .portfolio__item-3 {
	background: #ffffff;
	border-radius: 18px;
	box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08);
	overflow: hidden;
	transition: transform .25s ease, box-shadow .25s ease;
}

.portfolio__grid .portfolio__item-3:hover {
	transform: translateY(-6px);
	box-shadow: 0 28px 60px rgba(26, 89, 108, 0.18);
}

.portfolio__grid .portfolio__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .25s ease;
}

.portfolio__grid .portfolio__item-3:hover .portfolio__thumb img {
	transform: scale(1.05);
}

.portfolio__content-3 {
	background: rgba(255, 255, 255, 0.92);
	backdrop-filter: blur(6px);
	padding: 22px 24px;
	gap: 16px;
	border-top: 1px solid rgba(148, 163, 184, 0.25);
}

.portfolio__tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 4px 12px;
	border-radius: 999px;
	background-color: rgba(26, 89, 108, 0.12);
	color: #1a596c;
	font-size: 12px;
	letter-spacing: .4px;
}

.portfolio__title-3 {
	font-size: 20px;
	margin: 12px 0 10px;
}

.portfolio__excerpt {
	color: #475569;
	font-size: 15px;
	line-height: 1.6;
}

.portfolio__actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.portfolio__actions a {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: rgba(26, 89, 108, 0.1);
	color: #1a596c;
	transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.portfolio__actions a:hover,
.portfolio__actions a:focus {
	background: #1a596c;
	color: #ffffff;
	transform: translateY(-1px);
}

@media (max-width: 991.98px) {
	.portfolio__content-3 {
		flex-direction: column;
		align-items: flex-start;
	}

	.portfolio__actions {
		flex-direction: row;
	}
}

@media (max-width: 575.98px) {
	.portfolio__menu button {
		margin: 0 6px 10px;
		padding: 8px 18px;
	}

	.portfolio__title-3 {
		font-size: 18px;
	}
}

/* Primary and secondary CTA pills for Services intro */
.ks-cta-all,
.ks-cta-contact {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 20px 40px;
	border-radius: 999px;
	font-weight: 700;
	letter-spacing: .2px;
	position: relative;
	transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .18s ease;
	text-decoration: none !important;
	line-height: 1.2;
}

.ks-cta-contact span,
.ks-cta-contact h2,
.ks-cta-contact p {
	color: #0ea5e9;
}

.ks-cta-contact:hover span,
.ks-cta-contact:hover h2,
.ks-cta-contact:hover p {
	color: white;
}

/* Filled gradient for the primary CTA */
.ks-cta-all {
	background: linear-gradient(135deg, #1a596c 0%, #00B3E0 100%);
	color: #ffffff !important;
	box-shadow: 0 10px 22px rgba(26, 89, 108, 0.22), 0 6px 16px rgba(0, 179, 224, 0.18);
}

.ks-cta-all:hover,
.ks-cta-all:focus {
	background: linear-gradient(135deg, #2d7f93 0%, #38d4f5 100%);
	transform: translateY(-1px);
	box-shadow: 0 16px 32px rgba(26, 89, 108, 0.28), 0 10px 22px rgba(0, 179, 224, 0.22);
}

.ks-cta-all:active {
	transform: translateY(0);
}

/* Clean outline for the secondary CTA */
.ks-cta-contact {
	color: #1a596c !important;
	background: transparent;
	border: 2px solid #1a596c;
	box-shadow: 0 3px 10px rgba(26, 89, 108, 0.12);
}

.ks-cta-contact:hover,
.ks-cta-contact:focus {
	background: #1a596c;
	color: #ffffff !important;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(26, 89, 108, 0.26);
}

.ks-cta-contact:active {
	transform: translateY(0);
}

/* Icon nudge on hover for both */
.ks-cta-all i,
.ks-cta-contact i {
	margin-left: 8px;
	transition: transform .18s ease;
}

.ks-cta-all:hover i,
.ks-cta-contact:hover i {
	transform: translateX(2px);
}

/* Mobile: stack nicely and be easy to tap */
@media (max-width: 575.98px) {

	.ks-cta-all,
	.ks-cta-contact {
		width: 100%;
		justify-content: center;
		padding: 14px 18px;
		font-weight: 600;
	}
}

/* gx-types nav wrapper with edges and indicator */
.gx-types-navwrap {
	position: relative;
	padding: 0 2rem;
	margin: 0 auto;
	max-width: 100%;
}

.gx-types-navwrap .gx-types-pills {
	scrollbar-width: none;
}

.gx-types-navwrap .gx-types-pills::-webkit-scrollbar {
	display: none;
}

.gx-types-edge {
	position: absolute;
	top: 0;
	bottom: 0;
	width: 2rem;
	pointer-events: none;
}

.gx-types-edge.gx-left {
	left: 0;
	background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.gx-types-edge.gx-right {
	right: 0;
	background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.gx-types-navwrap.at-start .gx-left {
	opacity: 0;
}

.gx-types-navwrap.at-end .gx-right {
	opacity: 0;
}

.gx-types-scroll {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(255, 255, 255, .9);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	border: 1px solid rgba(15, 23, 42, .08);
	border-radius: 999px;
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #475569;
	box-shadow: 0 6px 16px rgba(2, 6, 23, .08);
	z-index: 2;
	transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease, color .2s ease;
}

.gx-types-scroll:hover {
	background: #fff;
	border-color: #e5e7eb;
	box-shadow: 0 8px 20px rgba(2, 6, 23, .12);
	transform: translateY(calc(-50% - 1px));
	color: #0f172a;
}

.gx-types-scroll.prev {
	left: -.25rem;
}

.gx-types-scroll.next {
	right: -.25rem;
}

.gx-types-scroll:disabled {
	opacity: .35;
	cursor: not-allowed;
	box-shadow: none;
}

.gx-types-scroll i {
	font-size: 14px;
	line-height: 1;
}

.gx-types-indicator {
	position: absolute;
	height: 3px;
	background: var(--gx-accent, #0d6efd);
	left: 0;
	right: auto;
	bottom: -4px;
	transform: translateX(0);
	transition: transform .25s ease, width .25s ease;
	z-index: 1;
	border-radius: 999px;
}

.ks-cta-all i {
	font-size: .95em;
	position: static;
	top: auto;
	right: auto;
	transform: none;
	margin-left: 6px;
}

.ks-cta-all:before {
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: inherit;
	background: linear-gradient(135deg, rgba(26, 89, 108, .0), rgba(0, 179, 224, .25));
	filter: blur(8px);
	z-index: -1;
	transition: opacity .18s ease;
	opacity: .35;
}

.ks-cta-all:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px -8px var(--ks-shadow-strong);
	filter: saturate(1.05);
}

.ks-cta-all:hover:before {
	opacity: .55;
}

.ks-cta-all:active {
	transform: translateY(0);
}

.ks-cta-all:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 179, 224, .15), 0 10px 24px -8px var(--ks-shadow-strong);
}

@media (max-width: 575.98px) {
	.ks-cta-all {
		padding: 10px 16px;
		gap: 8px;
		font-weight: 600;
	}
}

/* Neutralize link-btn-2 icon absolute positioning when used within ks-cta buttons */
.ks-cta-all.link-btn-2 i,
.ks-cta-contact.link-btn-2 i {
	position: static !important;
	top: auto !important;
	right: auto !important;
	transform: none !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Also neutralize hover transitions that hide/slide icons in link-btn-2 */
.ks-cta-all.link-btn-2:hover i,
.ks-cta-contact.link-btn-2:hover i {
	position: static !important;
	right: auto !important;
	visibility: visible !important;
	opacity: 1 !important;
	transform: none !important;
}

.ks-cta-all.link-btn-2 {
	padding-right: 20px;
}

.ks-cta-contact.link-btn-2 {
	padding-right: 20px;
}

/* Smooth in-page scroll and anchor offset so sticky header doesn't cover target */
html {
	scroll-behavior: smooth;
}

#gallery,
#examples {
	scroll-margin-top: 120px;
}

.section__title-pre-2.text-white::after,
.section__title-pre-2.text-white::before {
	background: white;
}

/* Ensure consistent image aspect for Other solutions cards */
.ks-card .services__thumb {
	aspect-ratio: 16 / 9;
}

/* .library-card .services__thumb {
	aspect-ratio: 4 / 3;
} */

/* Old thumbnail img styles superseded by .elib-thumb-blur system */

.library-card {
	transition: transform .18s ease, box-shadow .18s ease;
}

.library-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 40px rgba(2, 6, 23, .08);
}

.ks-chiplist {
	list-style: none;
	padding: 0;
	margin: 0 0 8px;
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.ks-chiplist .ks-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	font-size: .85rem;
	color: #0f172a;
	background: #fff;
	text-decoration: none;
}

.ks-chiplist .ks-chip.active,
.ks-chiplist .ks-chip:hover {
	border-color: #1a596c;
}

.overflow-3 {
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-clamp: 3;
}

.overflow-2 {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	line-clamp: 2;
}

/* Reader small polish */
#flipbookContainer .reader-toolbar .btn {
	border-radius: 8px;
}

#flipbookContainer .thumb-bar {
	border-top: 1px solid rgba(0, 0, 0, .06);
	padding-top: 10px;
}

.ks-card .services__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Badge for featured/recommended cards */
.ks-card {
	position: relative;
	/* ensure absolute children position within card */
}

.ks-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 10px;
	font-size: 12px;
	line-height: 1;
	font-weight: 600;
	color: #fff;
	background: #1a596c;
	/* brand teal */
	border-radius: 999px;
	box-shadow: 0 6px 18px rgba(26, 89, 108, 0.25);
	pointer-events: none;
	/* purely decorative */
}

@media (max-width: 575.98px) {
	.ks-badge {
		top: 10px;
		left: 10px;
		font-size: 11px;
		padding: 5px 9px;
	}
}

/* Creative contact CTA */
.ks-cta-contact {
	--ks-c1: #00B3E0;
	/* brand cyan */
	--ks-c2: #1a596c;
	/* brand teal */
	--ks-shadow: rgba(26, 89, 108, 0.35);
}

/* duplicate gx-types nav block removed; see canonical styles earlier in file */

/* Quick section navigation rail */
.ks-quicknav {
	position: sticky;
	top: 88px;
	z-index: 50;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid #e5e7eb;
}

/* Logos strip */
.ks-logos .ks-logo img {
	filter: grayscale(100%);
	opacity: .85;
	transition: all .2s ease;
	max-height: 60px;
	object-fit: contain
}

.ks-logos .ks-logo img:hover {
	filter: none;
	opacity: 1
}

.ks-countdown {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.ks-ct-seg {
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #0f172a;
	color: #fff;
	border-radius: 8px;
	padding: 8px 10px;
	min-width: 64px
}

.ks-ct-val {
	font-size: 20px;
	font-weight: 700;
	line-height: 1
}

.ks-ct-label {
	font-size: 12px;
	opacity: .8;
	margin-top: 2px
}

.ks-ct-sep {
	font-weight: 700;
	color: #0f172a;
	opacity: .6
}

.ks-countdown.expired {
	background: transparent
}

.ks-ct-expired {
	display: inline-block;
	padding: 6px 10px;
	border-radius: 999px;
	background: #fee2e2;
	color: #991b1b;
	font-weight: 600
}

.ks-quicknav__rail {
	display: flex;
	gap: 10px;
	overflow-x: auto;
	padding: 10px 0;
}

.ks-quicknav__link {
	flex: 0 0 auto;
	padding: 8px 12px;
	border-radius: 999px;
	border: 1px solid #e5e7eb;
	color: #0f172a;
	text-decoration: none;
	font-weight: 600;
	background: #fff;
}

/* ======= Checkout Stepper ======= */
.ks-steps {
	display: flex;
	gap: 12px 16px;
	align-items: center;
	justify-content: flex-start;
	flex-wrap: wrap;
}

.ks-step {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #6b7280;
	flex: 0 0 auto;
}

.ks-step__num {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 2px solid #e5e7eb;
	font-weight: 700;
}

.ks-step.active .ks-step__num {
	background: var(--ks-brand, #1a596c);
	border-color: var(--ks-brand, #1a596c);
	color: #fff;
}

.ks-step.done .ks-step__num {
	background: #10b981;
	border-color: #10b981;
	color: #fff;
}

.ks-step__label {
	font-weight: 600;
}

@media (max-width: 575.98px) {
	.ks-step__num {
		width: 24px;
		height: 24px;
		font-size: .9rem;
	}

	.ks-step__label {
		font-size: .9rem;
	}
}

@media (min-width: 768px) {
	.ks-steps {
		justify-content: center;
	}
}

/* ======= Slip Dropzone ======= */
.ks-dropzone {
	border: 1px dashed #cbd5e1;
	border-radius: 8px;
	padding: 10px;
}

.ks-dropzone__area {
	border-radius: 6px;
	padding: 20px;
	text-align: center;
	background: #f8fafc;
	color: #475569;
	border: 1px dashed #cbd5e1;
}

.ks-dropzone__area:hover,
.ks-dropzone__area:focus {
	background: #f1f5f9;
	outline: none;
}

.ks-dropzone__area.drag {
	background: #e2e8f0;
	border-color: #1a596c;
}

/* Copyable spans */
.js-copy {
	cursor: pointer;
	border-bottom: 1px dashed rgba(15, 23, 42, 0.25);
}

.js-copy:hover {
	color: var(--ks-brand, #1a596c);
	border-color: currentColor;
}

/* ============== Free E-book form polish ============== */
.ks-ebook-form {
	margin-top: 6px;
}

.ks-ebook-input .input-group-text {
	background: #f8fafc;
	border-color: #e5e7eb;
	color: #475569;
}

.ks-ebook-input .form-control {
	border-color: #e5e7eb;
}

.ks-ebook-input .form-control:focus {
	border-color: #1a596c;
	box-shadow: 0 0 0 3px rgba(26, 89, 108, .15);
}

.ks-ebook-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ks-ebook-btn .ks-loading {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ks-ebook-hint {
	margin-top: 6px;
	font-size: .85rem;
	color: #6b7280;
}

/* SweetAlert tweaks for ebook success */
.swal2-popup {
	border-radius: 14px !important;
}

.swal2-styled.swal2-confirm {
	background-color: var(--ks-brand, #1a596c) !important;
}

.swal2-styled.swal2-cancel {
	background-color: #e5e7eb !important;
	color: #111827 !important;
}

.ks-quicknav__link:hover {
	color: #1a596c;
	border-color: rgba(0, 179, 224, .4);
	background: rgba(0, 179, 224, .06);
}

/* Helper: muted white text tone for hero subtitle */
.text-white-75 {
	color: rgba(255, 255, 255, 0.75) !important;
}

/* Outline variant for r-btn used in contact CTA */
.r-btn.r-btn-outline {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.9);
}

.r-btn.r-btn-outline:hover {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}

/* Outline button variant for light backgrounds */
.r-btn.r-btn-outline.on-light {
	color: #0f172a;
	border-color: #0f172a;
}

.r-btn.r-btn-outline.on-light:hover,
.r-btn.r-btn-outline.on-light:focus {
	background: #0f172a;
	color: #fff;
}

.ks-cta-contact i {
	font-size: .95em;
	position: static;
	top: auto;
	right: auto;
	transform: none;
	margin-left: 6px;
}

/* Fancy modal styling for catalog form */
.ks-modal .modal-header {
	background: linear-gradient(135deg, rgba(26, 89, 108, .08), rgba(0, 179, 224, .12));
	border-bottom: 0;
}

.ks-modal__icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #1a596c;
	color: #fff;
	margin-right: 10px;
}

.ks-modal__bullets {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 12px;
	margin: 8px 0 0;
	padding: 0;
	list-style: none;
	font-size: .9rem;
}

.ks-modal__bullets li {
	color: #334155;
}

.ks-modal__privacy {
	font-size: .85rem;
	color: #64748b;
}

.ks-cta-contact:before {
	content: "";
	position: absolute;
	inset: -2px;
	border-radius: inherit;
	background: linear-gradient(135deg, rgba(0, 179, 224, .0), rgba(26, 89, 108, .25));
	filter: blur(8px);
	z-index: -1;
	transition: opacity .18s ease;
	opacity: .35;
}

.ks-cta-contact:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px -8px var(--ks-shadow-strong);
	filter: saturate(1.05);
}

/* Header cart button */
.ks-cart-wrap {
	position: relative;
}

.ks-cart-btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #0f172a;
	transition: all .18s ease;
	text-decoration: none;
}

.ks-cart-btn:hover {
	background: #f8fafc;
	transform: translateY(-1px);
	box-shadow: 0 8px 18px rgba(2, 6, 23, .08);
}

.ks-cart-btn i {
	font-size: 16px;
}

.ks-cart__badge {
	position: absolute;
	top: -4px;
	right: -4px;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: #ef4444;
	color: #fff;
	font-size: 11px;
	line-height: 18px;
	text-align: center;
	font-weight: 700;
	box-shadow: 0 0 0 2px #fff;
}

/* User button aligns to cart style; can customize separately if needed */
.ks-user-btn {
	position: relative;
}

.ks-user-btn:hover {
	background: #f1f5f9;
}

.dropdown-menu .dropdown-header {
	font-weight: 600;
	font-size: .85rem;
}

.ks-user__badge {
	position: absolute;
	top: -2px;
	right: -2px;
	min-width: 16px;
	height: 16px;
	padding: 0 3px;
	border-radius: 999px;
	background: #10b981;
	color: #fff;
	font-size: 10px;
	font-weight: 600;
	line-height: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid #fff;
}

.ks-cta-contact:hover:before {
	opacity: .55;
}

.ks-cta-contact:active {
	transform: translateY(0);
}

.ks-cta-contact:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(26, 89, 108, .15), 0 10px 24px -8px var(--ks-shadow-strong);
}

/* Compact on small screens */
@media (max-width: 575.98px) {
	.ks-cta-contact {
		padding: 10px 16px;
		gap: 8px;
		font-weight: 600;
	}
}

:root {
	--ks-brand: #1a596c;
	/* brand teal */
	--ks-brand-strong: #0e3d4c;
	--ks-accent: #00B3E0;
	/* brand cyan */
	--ks-border: #e5e7eb;
	--ks-surface: #ffffff;
	--ks-surface-2: #f8fafc;
	--ks-text: #0f172a;
	--ks-muted: #64748b;
	--ks-shadow: 0 10px 24px rgba(2, 6, 23, .08);
}

/* Product cards */
.ks-product-card {
	position: relative;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.ks-product-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 32px rgba(2, 6, 23, .10);
	border-color: #e2e8f0;
}

.ks-product-card {
	position: relative;
	border: 1px solid var(--ks-border);
	border-radius: 14px;
	overflow: hidden;
	background: var(--ks-surface);
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.ks-product-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 32px rgba(2, 6, 23, .10);
	border-color: #e2e8f0;
}

.ks-product-thumb {
	position: relative;
	aspect-ratio: 3/2;
	background: #f8fafc;
}

.ks-product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ks-product-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: #1a596c;
	color: #fff;
	font-weight: 700;
	font-size: 12px;
	border-radius: 999px;
	padding: 6px 10px;
	box-shadow: 0 4px 10px rgba(2, 6, 23, .12);
}

.ks-product-badge.free {
	background: #10b981;
}

.ks-product-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	background: var(--ks-brand);
	color: #fff;
	font-weight: 700;
	font-size: 12px;
	border-radius: 999px;
	padding: 6px 10px;
	box-shadow: 0 4px 10px rgba(2, 6, 23, .12);
	letter-spacing: .02em;
}

.ks-product-badge.free {
	background: var(--ks-accent);
}

.ks-product-badge.soldout {
	background: #dc3545;
}

.soldout-pill {
	position: absolute;
	top: 16px;
	right: 16px;
	border-radius: 999px;
	padding: 6px 14px;
	font-weight: 600;
	font-size: .85rem;
}

.ks-product-body {
	padding: 14px 14px 10px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.ks-product-title {
	font-size: 1.05rem;
	font-weight: 700;
	margin: 0 0 8px;
	line-height: 1.35;
}

.ks-product-price {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-top: auto;
	font-weight: 700;
}

.ks-product-price .price {
	color: #0f172a;
}

.ks-product-actions {
	padding: 0 14px 14px;
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}

.ks-product-actions .tp-btn {
	width: 100%;
}

.ks-product-sub {
	color: #64748b;
	font-size: .9rem;
	margin-bottom: 8px;
}

/* SweetAlert theming */
.swal2-popup {
	border-radius: 16px !important;
}

.swal2-styled.swal2-confirm {
	background: var(--ks-brand) !important;
	border-radius: 999px !important;
	box-shadow: var(--ks-shadow);
}

.swal2-styled.swal2-confirm:hover {
	filter: brightness(.96);
}

.swal2-styled.swal2-cancel {
	background: var(--ks-surface-2) !important;
	color: var(--ks-text) !important;
	border: 1px solid var(--ks-border) !important;
	border-radius: 999px !important;
}

/* Adjust services content to stretch edge-to-edge within its container */
.services__content {
	left: 0;
	right: 0;
}

.services__content.services__content-2 {
	left: 0;
	right: 0;
}

/* Fallback: always add a right-arrow for Learn More links in service cards (CSS only) */
.services__item-2 a.link-btn-2 {
	position: relative;
}

.services__item-2 a.link-btn-2::after {
	content: "\2192";
	/* Unicode right arrow → */
	display: inline-block;
	margin-left: 6px;
	font-weight: 700;
	line-height: 1;
}

/* If the link already contains an icon element, don't add the CSS arrow */
.services__item-2 a.link-btn-2:has(i)::after {
	content: none;
}

/* Avoid duplication on special CTA variants if present */
.services__item-2 a.link-btn-2.ks-cta-all::after,
.services__item-2 a.link-btn-2.ks-cta-contact::after {
	content: none;
}

/* Library Solution: equal-height cards and spacing */
.services-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.services-card .services__thumb {
	aspect-ratio: 3 / 2;
}

.services-card .services__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.services-card .services__content {
	flex: 1 1 auto;
	padding-bottom: 24px;
}

.services-card .link-btn-2 {
	margin-top: 8px;
}

/* Chips (used on detail pages) */
.ks-chiplist {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	margin: 12px 0 0;
	list-style: none;
}

.ks-chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	border-radius: 999px;
	background: #f1f5f9;
	color: #0f172a;
	font-weight: 600;
	font-size: 0.9rem;
	border: 1px solid #e5e7eb;
	transition: color .18s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.ks-chip i {
	color: #1a596c;
}

.ks-chip:hover {
	background: #eef2f7;
	border-color: #dbe3ea;
	transform: translateY(-1px);
}

.ks-chip.active {
	background: rgba(26, 89, 108, .08);
	border-color: rgba(0, 179, 224, .4);
	color: #1a596c;
	box-shadow: 0 6px 14px rgba(2, 6, 23, .06);
}

/* Library cards: subtle hover lift and image zoom */
.library-card {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.library-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 30px rgba(2, 6, 23, .10);
	border-color: #e2e8f0;
}

/* ─── Blurred background fill for e-library thumbnails (Facebook-style) ─── */
.elib-thumb-blur {
	position: relative;
	width: 100%;
	height: 340px;
	overflow: hidden;
	background: #f1f5f9;
}

.elib-thumb-blur__link {
	display: block;
	position: relative;
	width: 100%;
	height: 100%;
}

/* Blurred, zoomed-in background layer */
.elib-thumb-blur__bg {
	position: absolute;
	inset: -20px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	filter: blur(20px) saturate(1.1);
	transform: scale(1.15);
	z-index: 0;
	transition: transform .35s ease, filter .35s ease;
}

/* Dark overlay to enhance readability and depth */
.elib-thumb-blur__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .10);
	z-index: 1;
}

/* Sharp centered image on top */
.elib-thumb-blur__img {
	position: relative;
	z-index: 2;
	display: block;
	max-width: 92%;
	max-height: 94%;
	width: auto;
	height: auto;
	object-fit: contain;
	margin: 0 auto;
	/* Center vertically with absolute positioning */
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 4px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, .18), 0 2px 6px rgba(0, 0, 0, .10);
	transition: transform .35s ease, box-shadow .35s ease;
}

/* Hover effects */
.library-card:hover .elib-thumb-blur__bg,
.services__item-2:hover .elib-thumb-blur__bg {
	transform: scale(1.2);
	filter: blur(24px) saturate(1.2);
}

.library-card:hover .elib-thumb-blur__img,
.services__item-2:hover .elib-thumb-blur__img {
	transform: translate(-50%, -50%) scale(1.03);
	box-shadow: 0 8px 30px rgba(0, 0, 0, .22), 0 4px 12px rgba(0, 0, 0, .12);
}

/* Ensure overlays (coming-soon, type badge) stay above the blur layers */
.elib-thumb-blur .ebook-coming-soon-overlay,
.elib-thumb-blur .ebook-type-badge {
	z-index: 5;
}

/* Responsive: smaller height on mobile */
@media (max-width: 767.98px) {
	.elib-thumb-blur {
		height: 280px;
	}
}

@media (max-width: 575.98px) {
	.elib-thumb-blur {
		height: 260px;
	}
}


/* Highlights strip */
.ks-highlight {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	padding: 14px 16px;
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.ks-highlight__item {
	background: #ffffff;
	border: 1px dashed #e5e7eb;
	border-radius: 10px;
	padding: 14px;
	display: flex;
	align-items: center;
	gap: 12px;
	height: 100%;
}

.ks-highlight__icon {
	width: 40px;
	height: 40px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #1a596c, #00B3E0);
	color: #fff;
	box-shadow: 0 4px 10px rgba(26, 89, 108, .2), 0 1px 4px rgba(0, 179, 224, .2);
	flex: 0 0 auto;
}

.ks-highlight__text {
	font-weight: 600;
	color: #0f172a;
	line-height: 1.2;
	font-size: .95rem;
}

/* Timeline */
.ks-timeline {
	position: relative;
	list-style: none;
	padding-left: 0;
	margin: 0;
}

.ks-timeline:before {
	content: "";
	position: absolute;
	left: 24px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: #e5e7eb;
}

.ks-timeline>li {
	position: relative;
	padding-left: 70px;
	padding-bottom: 18px;
}

.ks-timeline__icon {
	position: absolute;
	left: 10px;
	top: 2px;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: linear-gradient(135deg, #1a596c, #00B3E0);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 10px rgba(26, 89, 108, .2), 0 1px 4px rgba(0, 179, 224, .2);
}

.ks-timeline__icon i {
	font-size: 0.9rem;
}

.ks-timeline__content {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 14px 16px;
	box-shadow: 0 2px 8px rgba(2, 6, 23, .04);
}

@media (max-width: 575.98px) {
	.ks-timeline:before {
		left: 16px;
	}

	.ks-timeline>li {
		padding-left: 56px;
	}

	.ks-timeline__icon {
		left: 2px;
	}
}

/* Feature list (What you get) */
.ks-feature {
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	padding: 16px;
	box-shadow: 0 4px 12px rgba(2, 6, 23, .04);
	transition: transform .18s ease, box-shadow .18s ease;
}

.ks-feature:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 20px rgba(2, 6, 23, .08);
}

.ks-feature__head {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.ks-feature__icon {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: linear-gradient(135deg, #1a596c, #00B3E0);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 6px 16px rgba(26, 89, 108, .18), 0 2px 6px rgba(0, 179, 224, .16);
	flex: 0 0 auto;
}

.ks-feature__icon i {
	color: #fff;
	font-size: 1rem;
}

.ks-feature__title {
	margin: 2px 0 6px;
	font-size: 1.05rem;
}

.ks-feature__text {
	color: #475569;
}

/* Deliverables checklist */
.ks-deliver {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	border: 1px solid #e5e7eb;
	border-radius: 12px;
	background: #fff;
	padding: 12px 14px;
	box-shadow: 0 2px 8px rgba(2, 6, 23, .04);
}

.ks-deliver__icon {
	width: 32px;
	height: 32px;
	border-radius: 999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #1a596c;
	color: #fff;
	box-shadow: 0 4px 10px rgba(26, 89, 108, .2);
	flex: 0 0 auto;
}

.ks-deliver__icon i {
	color: #fff;
	font-size: .9rem;
}

.ks-deliver__body {
	color: #0f172a;
}

.ks-deliver__sub {
	color: #64748b;
	/* slate-500 */
	font-size: .92rem;
	margin-top: 2px;
}

/* Inline mini tags under deliverables */
.ks-mini-tags {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	padding: 0;
	margin: 6px 0 0;
	gap: 6px;
}

.ks-mini-tag {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: .78rem;
	font-weight: 700;
	color: #1a596c;
	background: rgba(0, 179, 224, .06);
	border: 1px solid rgba(0, 179, 224, .3);
	letter-spacing: .2px;
}

/* ============================
   GeniusX page creative styles
   ============================ */
.gx-hero .page__title-overlay,
.page__title-overlay.gx-hero {
	position: relative;
}

.gx-hero .page__title-overlay::before,
.page__title-overlay.gx-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(0, 0, 0, .55), rgba(0, 0, 0, .25));
}

.gx-hero .page__title-wrapper {
	position: relative;
	z-index: 2
}

.gx-hero .page__title {
	color: #fff
}

.gx-hero .breadcrumb .breadcrumb-item a,
.gx-hero .breadcrumb .breadcrumb-item {
	color: #f0f3f5
}

.gx-intro .about__thumb-1 img {
	border-radius: 14px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, .15)
}

.gx-intro .about__thumb-2 img {
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .15)
}

.gx-intro .about__thumb-2 {
	margin-top: -90px;
	margin-right: 20px
}

@media (max-width: 991.98px) {
	.gx-intro .about__thumb-2 {
		margin-top: 20px;
		margin-right: 0
	}
}

.features__item-4 {
	transition: transform .25s ease, box-shadow .25s ease
}

.features__item-4:hover {
	transform: translateY(-6px);
	box-shadow: 0 14px 36px rgba(0, 0, 0, .15)
}

.services__item-2 {
	transition: transform .25s ease, box-shadow .25s ease;
	background: #ffffff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(2, 6, 23, 0.06);
}

.services__item-2:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 44px rgba(2, 6, 23, 0.12);
}

/* Ensure service thumbnails are consistent and cover */
.services__item-2 .services__thumb {
	position: relative;
}

.custom-publish-application .services__item-2 .services__thumb img {
	width: 100%;
	object-fit: cover;
	display: block;
}

.custom-publish-application .services__item {
	padding-bottom: 290px;
}

.custom-publish-application .services__content {
	bottom: auto;
	height: -webkit-fill-available;
}

/* (Mobile img height removed — now controlled by .elib-thumb-blur fixed height) */

/* Content spacing and readable text */
.services__content.services__content-2 {
	padding: 22px 22px 24px;
}

.services__content-2 .services__title a {
	color: #0f172a;
}

.services__content-2 p {
	color: #475569;
	margin-bottom: 10px;
}

/* Icon badge style */
.services__icon-2 {
	width: 58px;
	height: 58px;
	margin: -38px auto 14px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(26, 89, 108, .15), rgba(0, 179, 224, .15));
	color: #1a596c;
	backdrop-filter: blur(4px);
}

.services__icon-2 i {
	font-size: 1.2rem;
	aspect-ratio: 1 / 1;
}

/* Learn more link aesthetics inside cards */
.services__item-2 a.link-btn-2 {
	font-weight: 700;
	color: #1a596c;
}

.services__item-2 a.link-btn-2:hover {
	color: #0e3d4c;
}

/* Reliable pill buttons scoped to service cards */
.services__item-2 .ks-btn,
.services__item-2 .ks-btn-outline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 999px;
	font-weight: 700;
	letter-spacing: .2px;
	line-height: 1.2;
	text-decoration: none !important;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.services__item-2 .ks-btn {
	background: #1a596c;
	/* brand teal */
	color: #fff !important;
	box-shadow: 0 8px 20px rgba(26, 89, 108, .2);
}

.services__item-2 .ks-btn:hover,
.services__item-2 .ks-btn:focus {
	background: #0e3d4c;
	transform: translateY(-1px);
}

.services__item-2 .ks-btn:active {
	transform: translateY(0);
}

.services__item-2 .ks-btn-outline {
	background: transparent;
	color: #1a596c !important;
	border: 2px solid #1a596c;
}

.services__item-2 .ks-btn-outline:hover,
.services__item-2 .ks-btn-outline:focus {
	background: #1a596c;
	color: #fff !important;
	transform: translateY(-1px);
}

.services__item-2 .ks-btn-outline:active {
	transform: translateY(0);
}

.services__item-2 .ks-btn i,
.services__item-2 .ks-btn-outline i {
	margin-left: 6px;
	transition: transform .18s ease;
}

.services__item-2 .ks-btn:hover i,
.services__item-2 .ks-btn-outline:hover i {
	transform: translateX(2px);
}

.gx-checklist li {
	position: relative;
	padding-left: 30px
}

.gx-checklist li i {
	position: absolute;
	left: 0;
	top: .15rem
}

.gx-steps .features__item-4 {
	position: relative
}

.gx-steps .features__item-4::after {
	content: "";
	position: absolute;
	height: 2px;
	width: 60%;
	right: -30%;
	top: 40px;
	background: linear-gradient(90deg, rgba(0, 0, 0, .08), rgba(0, 0, 0, 0));
}

.gx-steps .col-md-4:last-child .features__item-4::after {
	display: none
}

@media (max-width: 991.98px) {
	.gx-steps .features__item-4::after {
		display: none
	}
}

.accordion-button {
	font-weight: 600
}

.accordion-button:not(.collapsed) {
	background: linear-gradient(90deg, rgba(0, 179, 224, .04), #fff)
}

.accordion-item {
	border-radius: 10px;
	overflow: hidden;
	margin-bottom: 12px;
	border: 1px solid #eef0f4
}

.accordion-body ul {
	margin-bottom: 0
}

.video__wrapper {
	box-shadow: 0 16px 40px rgba(0, 0, 0, .15)
}

.video__wrapper iframe {
	border: 0
}

.gx-pricing .section__title-wrapper {
	position: relative
}

.gx-ribbon {
	position: absolute;
	top: -10px;
	right: 10px;
	background: #ffd95a;
	color: #222;
	padding: 6px 12px;
	border-radius: 999px;
	font-weight: 700;
	font-size: .85rem;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .12)
}

.gx-contact-green {
	background: linear-gradient(135deg, rgba(21, 135, 98, .92), rgba(21, 135, 98, .8))
}

.gx-contact-glass {
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px)
}

.r-btn.on-light {
	border-color: #fff;
	color: #fff
}

/* Highlights cards micro-interactions */
.gx-highlight {
	position: relative;
	transform: translateZ(0);
	transition: transform .25s ease, box-shadow .25s ease;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .06);
	border-radius: 14px
}

.gx-highlight:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 35px rgba(0, 0, 0, .12)
}

.gx-highlight .features__icon-2 span {
	display: inline-flex;
	width: 64px;
	height: 64px;
	align-items: center;
	justify-content: center;
	border-radius: 14px;
	background: rgba(255, 255, 255, .15);
	backdrop-filter: saturate(150%) blur(2px)
}

.gx-pill {
	display: inline-block;
	padding: 4px 10px;
	line-height: 1;
	font-weight: 600;
	background: rgba(255, 255, 255, .2);
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 999px;
	color: #fff
}

/* GENIUS Types – Tabbed interface */
.gx-types {
	--gx-G: #ff9f0a;
	--gx-E: #0a84ff;
	--gx-N: #34c759;
	--gx-I: #5e5ce6;
	--gx-U: #a2845e;
	--gx-S: #ff375f
}

.gx-types-pills {
	padding: .25rem 0;
	background: transparent;
	border-radius: 0
}

.gx-type-pill {
	display: flex;
	align-items: center;
	gap: .5rem;
	padding: .5rem 1rem;
	border-radius: 999px;
	border: 1px solid #e5e7eb;
	white-space: nowrap;
	color: #0f172a;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	box-shadow: 0 1px 2px rgba(2, 6, 23, .04);
	margin-bottom: 0;
	font-weight: 600;
	transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.gx-type-pill:hover {
	background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 100%);
	border-color: #dbe3ea;
	box-shadow: 0 6px 14px rgba(2, 6, 23, .06);
	transform: translateY(-1px);
}

.gx-type-pill .gx-letter {
	display: none
}

.gx-type-pill .gx-label {
	font-weight: 600
}

/* subtle accent dot */
.gx-type-pill::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 999px;
	background: var(--pill-accent, #94a3b8);
	display: inline-block;
}

/* neutralize type-specific colors for a professional tone */
.gx-type-pill.gx-type-G .gx-letter,
.gx-type-pill.gx-type-E .gx-letter,
.gx-type-pill.gx-type-N .gx-letter,
.gx-type-pill.gx-type-I .gx-letter,
.gx-type-pill.gx-type-U .gx-letter,
.gx-type-pill.gx-type-S .gx-letter {
	background: #e2e8f0;
	border-color: #cbd5e1;
	color: #0f172a
}

.gx-type-pill.active {
	color: #0f172a;
	background: #ffffff;
	border-color: var(--pill-accent, #0f172a);
	box-shadow: 0 8px 20px rgba(2, 6, 23, .08);
}

.gx-type-pill:focus-visible {
	outline: 2px solid #94a3b8;
	outline-offset: 2px;
	border-radius: 4px
}

.gx-type-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	box-shadow: 0 1px 2px rgba(2, 6, 23, .04)
}

.gx-type-card p {
	color: #475569
}

.gx-type-card {
	position: relative;
	overflow: hidden
}

.gx-type-card:after {
	content: attr(data-watermark);
	position: absolute;
	right: 12px;
	bottom: -8px;
	font-size: 72px;
	font-weight: 800;
	color: rgba(15, 23, 42, .06);
	pointer-events: none;
	letter-spacing: .5px
}

.gx-type-card h3 {
	margin-bottom: .5rem
}

.gx-type-card h3 .ks-mini-tag {
	display: none
}

/* Legacy list presentation neutralized below by chip styles */
/* Pros/Cons will be rendered as chips; see styles appended at end of file */
.gx-pros li {
	list-style: none
}

.gx-cons li {
	list-style: none
}

@media (min-width: 768px) {
	.gx-type-card .row>.col-md-6:first-child {
		border-right: 1px solid #e5e7eb
	}

	.gx-type-card .row>.col-md-6:first-child {
		padding-right: 18px
	}

	.gx-type-card .row>.col-md-6:last-child {
		padding-left: 18px
	}
}

/* type accent mapping for pills */
.gx-type-pill.gx-type-G {
	--pill-accent: var(--gx-G);
}

.gx-type-pill.gx-type-E {
	--pill-accent: var(--gx-E);
}

.gx-type-pill.gx-type-N {
	--pill-accent: var(--gx-N);
}

.gx-type-pill.gx-type-I {
	--pill-accent: var(--gx-I);
}

.gx-type-pill.gx-type-U {
	--pill-accent: var(--gx-U);
}

.gx-type-pill.gx-type-S {
	--pill-accent: var(--gx-S);
}

/* ============================
	 GENIUS Types: Pros/Cons chips
	 ============================ */
ul.gx-pros,
ul.gx-cons {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	margin: 0;
	/* headers above usually handle spacing */
	list-style: none;
}

ul.gx-pros li,
ul.gx-cons li {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 999px;
	font-weight: 600;
	font-size: .92rem;
	line-height: 1.1;
	border: 1px solid transparent;
	transition: border-color .18s ease, background-color .18s ease, color .18s ease, transform .18s ease;
}

/* Pros (positive, green tone) */
ul.gx-pros li {
	background: #f0fdf4;
	/* green-50 */
	border-color: #bbf7d0;
	/* green-200 */
	color: #065f46;
	/* green-800 */
}

ul.gx-pros li:hover {
	border-color: #86efac;
	transform: translateY(-1px);
}

/* Cons (caution, red tone) */
ul.gx-cons li {
	background: #fef2f2;
	/* red-50 */
	border-color: #fecaca;
	/* red-200 */
	color: #7f1d1d;
	/* red-900 */
}

ul.gx-cons li:hover {
	border-color: #fca5a5;
	transform: translateY(-1px);
}

/* Optional tiny icon styling when injected via JS */
ul.gx-pros li i,
ul.gx-cons li i {
	font-size: .95em;
	line-height: 1;
}

ul.gx-pros li i {
	color: #10b981;
}

ul.gx-cons li i {
	color: #ef4444;
}

/* ============================
	 Pricing card (GeniusX)
	 ============================ */
.ks-price-card {
	position: relative;
	background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
	border: 1px solid #e5e7eb;
	border-radius: 16px;
	box-shadow: 0 10px 30px rgba(2, 6, 23, .06);
	overflow: hidden;
}

.ks-price-card:before {
	content: "";
	position: absolute;
	inset: -40% -10% auto -10%;
	height: 60%;
	background: radial-gradient(closest-side, rgba(14, 165, 233, .12), transparent 70%);
	pointer-events: none;
}

.ks-price-card__head {
	position: relative;
}

.ks-price-display {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 6px;
}

.ks-price-currency {
	font-weight: 800;
	font-size: 1.25rem;
	color: #0ea5e9;
}

.ks-price-amount {
	font-weight: 800;
	font-size: 3rem;
	line-height: 1;
	letter-spacing: .5px;
	color: #0f172a;
}

.ks-price-original {
	font-size: .95rem;
	color: #64748b;
	text-decoration: line-through;
}

.ks-price-save {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	font-weight: 700;
	color: #0f172a;
	background: #fef3c7;
	border: 1px solid #fde68a;
	border-radius: 999px;
	padding: 6px 12px;
}

.ks-benefits li {
	display: inline-flex;
	align-items: center;
	background: #f1f5f9;
	border: 1px solid #e5e7eb;
	border-radius: 999px;
	padding: 6px 10px;
	font-weight: 600;
	color: #0f172a;
}

.ks-benefits i {
	color: #10b981;
}

.ks-contact-chips .ks-chip-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid #e5e7eb;
	background: #fff;
	color: #0f172a;
	text-decoration: none;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ks-contact-chips .ks-chip-link:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(2, 6, 23, .08);
	border-color: #dbeafe;
}

.ks-contact-chips i {
	color: #0ea5e9;
}

.ks-urgency {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	color: #b45309;
	background: #ffedd5;
	border: 1px solid #fed7aa;
	border-radius: 999px;
	padding: 6px 12px;
}

.ks-org-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 12px;
	border-radius: 999px;
	border: 1px dashed #94a3b8;
	color: #0f172a;
	text-decoration: none;
	background: #fff;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.ks-org-chip:hover {
	transform: translateY(-1px);
	border-color: #0ea5e9;
	box-shadow: 0 8px 20px rgba(2, 6, 23, .08);
}

.ks-org-chip i {
	color: #475569;
}

/* Small utility link for copy-to-clipboard */
.ks-copy-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 600;
	color: #0ea5e9;
	text-decoration: none;
	border: 1px dashed #bae6fd;
	padding: 6px 10px;
	border-radius: 999px;
	background: #f0f9ff;
	transition: transform .18s ease, border-color .18s ease;
}

.ks-copy-link:hover {
	transform: translateY(-1px);
	border-color: #7dd3fc;
}

.ks-copy-link i {
	color: #0ea5e9;
}

/* Admin: compact icon-only buttons for action cells */
.btn-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	padding: 0;
	line-height: 1;
}

.btn-icon i {
	font-size: 14px;
	line-height: 1;
}

/* ============================
	 Primary CTA button (tp-btn)
	 Harmonize look across site and fix icon layout
   ============================ */
.tp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 999px;
	background: var(--tp-primary, #1a596c);
	color: #fff !important;
	border: 0 !important;
	text-decoration: none !important;
	font-weight: 600;
	letter-spacing: .2px;
	transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.tp-btn:hover,
.tp-btn:focus {
	background: #0e3d4c;
	/* brand dark hover */
	transform: translateY(-1px);
	box-shadow: 0 8px 20px rgba(26, 89, 108, .25);
}

.tp-btn:active {
	transform: translateY(0);
	box-shadow: none;
}

.tp-btn i {
	margin-left: 6px;
	position: static !important;
}

.tp-btn.w-100 {
	width: 100%;
}

/* ===== Modern E-Library Design ===== */
.elib-filter {
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	padding: 20px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 16px rgba(0, 0, 0, 0.04);
	transition: all 0.3s ease;
	position: relative;
	z-index: 100;
}

/* Ensure the select dropdown appears above other elements */
.elib-filter__select {
	position: relative;
	z-index: 10;
}

/* Custom category dropdown button */
.elib-cat-btn {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	min-width: 180px;
	height: 48px;
	padding: 0 16px;
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 0.5rem;
	font-size: 1rem;
	color: #374151;
	cursor: pointer;
	transition: all 0.2s ease;
}

.elib-cat-btn:hover,
.elib-cat-btn:focus {
	border-color: #00B3E0;
	box-shadow: 0 0 0 3px rgba(0, 179, 224, .15);
	outline: none;
}

.elib-cat-btn::after {
	margin-left: 10px;
}

/* Custom dropdown menu */
.elib-cat-menu {
	min-width: 220px;
	max-height: 300px;
	overflow-y: auto;
	padding: 8px 0;
	border-radius: 12px;
	border: 1px solid #e5e7eb;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	background: #fff;
	z-index: 1050 !important;
}

.elib-cat-menu .dropdown-item {
	padding: 10px 16px;
	font-size: 0.95rem;
	color: #374151;
	transition: all 0.15s ease;
}

.elib-cat-menu .dropdown-item:hover {
	background: #f0f9ff;
	color: #00B3E0;
}

.elib-cat-menu .dropdown-item.active {
	background: linear-gradient(135deg, #00B3E0 0%, #1a596c 100%);
	color: #fff;
}

.elib-cat-dropdown {
	position: relative;
	z-index: 100;
}

.elib-cat-dropdown.show {
	z-index: 1050;
}

.elib-filter::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, #00B3E0, #1a596c, #15625d);
	border-radius: 16px 16px 0 0;
}

.elib-filter:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12), 0 4px 20px rgba(0, 0, 0, 0.06);
}

.elib-filter__search i {
	position: absolute;
	left: 12px;
	top: 50%;
	transform: translateY(-50%);
	color: #64748b;
}

.elib-filter__search .form-control {
	padding-left: 38px;
}

.elib-filter__form .form-select,
.elib-filter__form .form-control {
	border-color: #e5e7eb;
}

.elib-filter__form .form-select:focus,
.elib-filter__form .form-control:focus {
	border-color: #00B3E0;
	box-shadow: 0 0 0 3px rgba(0, 179, 224, .15);
}

.elib-userchip {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 12px 18px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #1e293b;
	font-weight: 600;
	transition: all .3s ease;
	position: relative;
	overflow: hidden;
}

.elib-userchip::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.6s ease;
}

.elib-userchip:hover::before {
	left: 100%;
}

.elib-userchip i {
	color: #475569;
}

.elib-userchip:hover {
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.5);
	background: rgba(255, 255, 255, 0.25);
	border-color: rgba(255, 255, 255, 0.5);
}

.elib-userchip:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(0, 179, 224, .20);
	border-color: #00B3E0;
}

.elib-filter__auth .dropdown-menu {
	border-radius: 10px;
	border-color: #e5e7eb;
}

@media (max-width: 767.98px) {
	.elib-filter {
		padding: 16px;
		border-radius: 12px;
	}

	.elib-filter__form {
		width: 100%;
		flex-direction: column;
		gap: 12px !important;
	}

	.elib-filter__search {
		width: 100%;
	}

	.elib-filter__search .form-control {
		font-size: 16px;
		/* Prevent zoom on iOS */
	}

	.elib-filter__select {
		width: 100%;
	}

	.elib-cat-btn {
		width: 100%;
		justify-content: space-between;
	}

	.elib-filter__form .tp-btn {
		width: 100%;
		justify-content: center;
	}

	.elib-filter__auth {
		width: 100%;
		justify-content: center;
		margin-top: 8px;
		padding-top: 12px;
		border-top: 1px solid rgba(0, 0, 0, 0.06);
	}

	.elib-filter>.d-flex {
		flex-direction: column;
	}
}

/* Title clamp for related/services cards */
.services__item .services__title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ===== Cart / Checkout Theme Alignment ===== */
.ks-cart-table thead th {
	background: #f8fafc;
	border-bottom: 1px solid #e5e7eb;
	font-weight: 600;
}

.ks-cart-table tbody tr+tr td {
	border-top: 1px solid #eef1f5;
}

.ks-cart-table tfoot th,
.ks-cart-table tfoot td {
	border-top: 2px solid #e5e7eb;
}

.ks-summary-card .line {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.ks-summary-card .line+.line {
	margin-top: 8px;
}

.ks-summary-card .line.total {
	padding-top: 10px;
	border-top: 1px dashed #e5e7eb;
	font-weight: 700;
}

.ks-summary-card .line .text-muted {
	color: #6b7280 !important;
}

.ks-coupon-card .form-text {
	color: #94a3b8;
}

.ks-coupon-card .bg-light {
	background: #f8fafc !important;
}

.ks-coupon-card .text-muted {
	color: #6b7280 !important;
}

.ks-order-list>li {
	padding: 6px 0;
	border-bottom: 1px dashed #eef2f7;
	gap: 8px;
}

.ks-order-list>li:last-child {
	border-bottom: 0;
}

/* Order page mobile fixes */
@media (max-width: 575px) {
	/* Order list items: prevent price from being pushed off-screen */
	.ks-order-list>li {
		flex-wrap: wrap;
		padding: 8px 0;
	}
	.ks-order-list>li > span:first-child {
		flex: 1;
		min-width: 0;
		word-break: break-word;
		font-size: 0.88rem;
	}
	.ks-order-list>li > span:last-child {
		white-space: nowrap;
		flex-shrink: 0;
		font-weight: 600;
	}

	/* Summary card lines */
	.ks-summary-card .line {
		gap: 6px;
		font-size: 0.9rem;
	}
	.ks-summary-card .line.total span:last-child {
		font-size: 1.1rem;
	}

	/* Hero title with order code: prevent overflow */
	.page__title {
		word-break: break-word;
		overflow-wrap: break-word;
		font-size: 1.5rem !important;
	}

	/* Course learner form on mobile */
	.border.rounded.p-3.mb-3 .d-flex.justify-content-between {
		flex-direction: column;
		gap: 8px;
		align-items: flex-start !important;
	}

	/* Cards with tight padding on mobile */
	.card-body {
		padding: 16px;
	}

	/* Form inputs 16px to prevent iOS auto-zoom */
	.form-control, .form-select {
		font-size: 16px !important;
	}
}

.ks-qty-form .btn {
	min-width: 36px;
}

/* Align Bootstrap outline buttons with theme feel */
.btn.btn-outline-secondary {
	border-color: #cbd5e1;
	color: #475569;
}

.btn.btn-outline-secondary:hover {
	background: #f1f5f9;
	color: #0f172a;
	border-color: #cbd5e1;
}

.btn.btn-outline-primary {
	border-color: #93c5fd;
	color: #1d4ed8;
}

.btn.btn-outline-primary:hover {
	background: #eff6ff;
	color: #1e40af;
	border-color: #93c5fd;
}

/* Dropzone accent for order slip */
.ks-dropzone__area {
	background: #f8fafc;
	border: 1px dashed #cbd5e1;
	border-radius: 10px;
	padding: 18px;
	text-align: center;
}

.ks-dropzone__area.is-dragover {
	background: #eff6ff;
	border-color: #93c5fd;
}

/* ===== Modern Library Authentication Styles ===== */
.library-auth-page {
	margin: 0;
	padding: 0;
	min-height: 100vh;
	overflow-x: hidden;
}

.library-auth-bg {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #00B3E0 0%, #1a596c 50%, #15625d 100%);
	z-index: -1;
}

.floating-books {
	position: absolute;
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.floating-books .book {
	position: absolute;
	color: rgba(255, 255, 255, 0.1);
	font-size: 2rem;
	animation: float 6s ease-in-out infinite;
}

.book-1 {
	top: 20%;
	left: 10%;
	animation-delay: 0s;
}

.book-2 {
	top: 60%;
	left: 20%;
	animation-delay: 1s;
}

.book-3 {
	top: 30%;
	right: 15%;
	animation-delay: 2s;
}

.book-4 {
	bottom: 40%;
	left: 15%;
	animation-delay: 3s;
}

.book-5 {
	top: 70%;
	right: 20%;
	animation-delay: 4s;
}

.book-6 {
	bottom: 20%;
	right: 30%;
	animation-delay: 5s;
}

@keyframes float {

	0%,
	100% {
		transform: translateY(0px) rotate(0deg);
	}

	50% {
		transform: translateY(-20px) rotate(5deg);
	}
}

.gradient-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at 30% 20%, rgba(0, 179, 224, 0.3), transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(26, 89, 108, 0.3), transparent 50%),
		radial-gradient(circle at 40% 40%, rgba(21, 98, 93, 0.2), transparent 50%);
}

.library-auth-main {
	min-height: 100vh;
	position: relative;
}

.library-auth-left {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
}

.library-branding {
	max-width: 500px;
}

.library-branding .brand-logo img {
	filter: brightness(0) invert(1);
	transition: transform 0.3s ease;
}

.library-branding .brand-logo:hover img {
	transform: scale(1.05);
}

.library-features .feature-item {
	padding: 15px 0;
	transition: transform 0.3s ease;
}

.library-features .feature-item:hover {
	transform: translateX(10px);
}

.library-features .feature-icon {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	background: rgba(255, 255, 255, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
	backdrop-filter: blur(10px);
}

.library-auth-right {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px;
}

.library-auth-container {
	width: 100%;
	max-width: 450px;
}

.auth-card {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-radius: 20px;
	padding: 40px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.2);
	border: 1px solid rgba(255, 255, 255, 0.3);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.auth-title {
	color: #1e293b;
	font-weight: 700;
	margin-bottom: 8px;
}

.auth-subtitle {
	color: #64748b;
	margin-bottom: 0;
}

.auth-tabs .nav-link {
	border-radius: 12px;
	font-weight: 600;
	transition: all 0.3s ease;
	border: none;
	background: transparent;
	color: #64748b;
}

.auth-tabs .nav-link.active {
	background: linear-gradient(135deg, #00B3E0 0%, #1a596c 100%);
	color: white;
	box-shadow: 0 4px 12px rgba(0, 179, 224, 0.4);
}

.auth-form .form-label {
	font-weight: 600;
	color: #374151;
	margin-bottom: 8px;
}

.auth-form .input-group-text {
	background: rgba(248, 250, 252, 0.8);
	border: 1px solid #e2e8f0;
	border-right: none;
	color: #64748b;
}

.auth-form .form-control {
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	padding: 12px 16px;
	font-size: 14px;
	transition: all 0.3s ease;
	background: rgba(255, 255, 255, 0.8);
}

.auth-form .input-group .form-control {
	border-left: none;
	border-radius: 0 10px 10px 0;
}

.auth-form .input-group .input-group-text {
	border-radius: 10px 0 0 10px;
}

.auth-form .form-control:focus {
	border-color: #00B3E0;
	box-shadow: 0 0 0 3px rgba(0, 179, 224, 0.1);
	background: rgba(255, 255, 255, 0.95);
}

.auth-submit-btn {
	background: linear-gradient(135deg, #00B3E0 0%, #1a596c 100%);
	border: none;
	border-radius: 12px;
	padding: 14px 24px;
	font-weight: 600;
	font-size: 16px;
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.auth-submit-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.6s ease;
}

.auth-submit-btn:hover::before {
	left: 100%;
}

.auth-submit-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(0, 179, 224, 0.4);
}

/* Mobile responsiveness */
@media (max-width: 991.98px) {
	.library-auth-left {
		padding: 20px;
		text-align: center;
	}

	.library-branding .display-4 {
		font-size: 2.5rem;
	}

	.library-features .row {
		justify-content: center;
	}
}

@media (max-width: 767.98px) {
	.library-auth-left {
		display: none;
	}

	.auth-card {
		padding: 30px 20px;
		margin: 20px;
	}
}

/* Enhanced E-Library Interface */
.page__title-area[data-background] {
	position: relative;
	/* background-attachment: fixed !important; */
}

/* Gradient overlay removed per user request */

.page__title-wrapper {
	position: relative;
	z-index: 2;
}

.ks-chiplist {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	list-style: none;
	padding: 0;
	margin: 0;
}

.ks-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 8px 16px;
	border-radius: 25px;
	background: rgba(255, 255, 255, 0.9);
	color: #64748b;
	text-decoration: none;
	font-weight: 500;
	font-size: 14px;
	border: 1px solid rgba(226, 232, 240, 0.8);
	transition: all 0.3s ease;
	backdrop-filter: blur(10px);
	position: relative;
	overflow: hidden;
}

.ks-chip::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
	transition: left 0.6s ease;
}

.ks-chip:hover::before {
	left: 100%;
}

.ks-chip:hover {
	transform: translateY(-2px) scale(1.05);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
	color: #374151;
	background: rgba(255, 255, 255, 0.95);
}

.ks-chip.active {
	background: linear-gradient(135deg, #00B3E0 0%, #1a596c 100%);
	color: white;
	border-color: transparent;
	box-shadow: 0 4px 12px rgba(0, 179, 224, 0.3);
}

.ks-chip.active::before {
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.ks-chip i {
	font-size: 12px;
	transition: transform 0.3s ease;
}

/* Book count badge in category chips */
.ks-chip-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	padding: 0 6px;
	margin-left: 6px;
	font-size: 11px;
	font-weight: 600;
	border-radius: 10px;
	background: rgba(0, 0, 0, 0.08);
	color: inherit;
	transition: all 0.3s ease;
}

.ks-chip.active .ks-chip-count {
	background: rgba(255, 255, 255, 0.25);
	color: white;
}

.ks-chip:hover .ks-chip-count {
	background: rgba(0, 179, 224, 0.15);
}

.ks-chip:hover i {
	transform: rotate(10deg) scale(1.1);
}

/* Disabled state for empty category chips */
.ks-chip.disabled {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
	background: #f1f5f9;
	border-color: #e2e8f0;
	color: #94a3b8;
}

.ks-chip.disabled .ks-chip-count {
	background: rgba(0, 0, 0, 0.05);
	color: #94a3b8;
}

.ks-chip.disabled:hover {
	transform: none;
	box-shadow: none;
}

/* Mobile styles for category chip list */
@media (max-width: 767.98px) {
	.ks-chiplist {
		gap: 8px;
		padding-bottom: 8px;
		margin-bottom: 8px;
		/* Make horizontally scrollable on mobile */
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		/* Firefox */
		-ms-overflow-style: none;
		/* IE/Edge */
	}

	.ks-chiplist::-webkit-scrollbar {
		display: none;
		/* Chrome/Safari */
	}

	.ks-chiplist li {
		flex-shrink: 0;
	}

	.ks-chip {
		padding: 6px 12px;
		font-size: 13px;
		gap: 6px;
		white-space: nowrap;
	}

	.ks-chip-count {
		min-width: 18px;
		height: 18px;
		font-size: 10px;
		margin-left: 4px;
	}

	.ks-chip i {
		font-size: 11px;
	}
}

/* Modern book cards with micro-interactions */
.services__item {
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	border-radius: 16px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.2);
	position: relative;
}

.services__item::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(0, 179, 224, 0.05), rgba(26, 89, 108, 0.05));
	opacity: 0;
	transition: opacity 0.4s ease;
	z-index: 0;
}

.services__item:hover::before {
	opacity: 1;
}

.services__item:hover {
	transform: translateY(-6px) scale(1.01);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.services__item .services__thumb {
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.services__item .services__thumb::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(45deg, rgba(0, 179, 224, 0.1), rgba(26, 89, 108, 0.1));
	opacity: 0;
	transition: opacity 0.4s ease;
}

.services__item:hover .services__thumb::after {
	opacity: 1;
}

.services__item .services__thumb img {
	transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.services__item:hover .services__thumb img {
	transform: scale(1.15) rotate(1deg);
}

.services__content {
	position: relative;
	z-index: 1;
}

.services__content .services__title a {
	transition: color 0.3s ease;
}

.services__item:hover .services__content .services__title a {
	color: #00B3E0;
}

/* Enhanced no results state */
.bg-light-subtle {
	background: rgba(248, 250, 252, 0.8) !important;
	backdrop-filter: blur(10px);
	border: 1px solid rgba(226, 232, 240, 0.5) !important;
}

/* Loading states and micro-animations */
@keyframes pulse-glow {

	0%,
	100% {
		box-shadow: 0 0 5px rgba(0, 179, 224, 0.4);
	}

	50% {
		box-shadow: 0 0 20px rgba(0, 179, 224, 0.6), 0 0 30px rgba(0, 179, 224, 0.4);
	}
}

.tp-btn:focus,
.tp-btn:active {
	animation: pulse-glow 1.5s ease-in-out;
}

/* Enhanced filter form */
.elib-filter__search input:focus {
	box-shadow: 0 0 0 3px rgba(0, 179, 224, 0.1), 0 4px 12px rgba(0, 0, 0, 0.1);
	border-color: #00B3E0;
}

.elib-filter__select select:focus {
	box-shadow: 0 0 0 3px rgba(0, 179, 224, 0.1), 0 4px 12px rgba(0, 0, 0, 0.1);
	border-color: #00B3E0;
}

/* Modern result counter with fade-in */
.elib-filter+#elibContent {
	animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Stagger animation for book cards */
.services__item:nth-child(1) {
	animation-delay: 0.1s;
}

.services__item:nth-child(2) {
	animation-delay: 0.2s;
}

.services__item:nth-child(3) {
	animation-delay: 0.3s;
}

.services__item:nth-child(4) {
	animation-delay: 0.4s;
}

.services__item:nth-child(5) {
	animation-delay: 0.5s;
}

.services__item:nth-child(6) {
	animation-delay: 0.6s;
}

.services__item {
	animation: slideInUp 0.6s ease-out both;
}

@keyframes slideInUp {
	from {
		opacity: 0;
		transform: translateY(30px) scale(0.95);
	}

	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

/* Enhanced Modern Button System */
.tp-btn,
.btn-primary,
.btn-success {
	position: relative;
	overflow: hidden;
	border-radius: 12px;
	font-weight: 600;
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	border: none;
	background: linear-gradient(135deg, #1a596c 0%, #00B3E0 100%);
	color: white;
}

.tp-btn::before,
.btn-primary::before,
.btn-success::before {
	content: '';
	position: absolute;
	top: 0;
	left: -100%;
	width: 100%;
	height: 100%;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
	transition: left 0.6s ease;
}

.tp-btn:hover::before,
.btn-primary:hover::before,
.btn-success:hover::before {
	left: 100%;
}

.tp-btn:hover,
.btn-primary:hover,
.btn-success:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 25px rgba(26, 89, 108, 0.4);
}

.btn-success {
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.btn-success:hover {
	box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

/* Enhanced form controls */
.form-control,
.form-select {
	border-radius: 10px;
	border: 1px solid #e2e8f0;
	padding: 12px 16px;
	transition: all 0.3s ease;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(5px);
}

.form-control:focus,
.form-select:focus {
	background: rgba(255, 255, 255, 0.95);
	border-color: #00B3E0;
	box-shadow: 0 0 0 3px rgba(0, 179, 224, 0.1), 0 4px 12px rgba(0, 0, 0, 0.08);
	transform: translateY(-1px);
}

/* Enhanced dropdown styles */
.dropdown-menu {
	border-radius: 12px;
	border: 1px solid rgba(226, 232, 240, 0.8);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, 0.95);
	padding: 8px;
}

.dropdown-item {
	border-radius: 8px;
	transition: all 0.2s ease;
	font-weight: 500;
}

.dropdown-item:hover {
	background: rgba(26, 89, 108, 0.08);
	color: #1a596c;
}

/* Enhanced badge styles */
.badge {
	border-radius: 20px;
	font-weight: 600;
	padding: 6px 12px;
	font-size: 11px;
}

/* Link hover effects */
.link-btn-2,
.link-primary {
	position: relative;
	transition: all 0.3s ease;
	align-items: center;
	gap: 0.5rem;
}

.link-btn-2::after,
.link-primary::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: linear-gradient(135deg, #1a596c 0%, #00B3E0 100%);
	transition: width 0.3s ease;
}

.link-btn-2:hover::after,
.link-primary:hover::after {
	width: 100%;
}

.link-btn-2:hover,
.link-primary:hover {
	transform: translateX(4px);
}

/* Enhanced modal styles */
.modal-content {
	border-radius: 16px;
	border: none;
	box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, 0.95);
}

.modal-header {
	border-bottom: 1px solid rgba(226, 232, 240, 0.5);
	border-radius: 16px 16px 0 0;
}

.modal-footer {
	border-top: 1px solid rgba(226, 232, 240, 0.5);
	border-radius: 0 0 16px 16px;
}

/* Enhanced alert styles */
.alert {
	border-radius: 12px;
	border: none;
	backdrop-filter: blur(10px);
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.alert-success {
	background: rgba(16, 185, 129, 0.1);
	color: #065f46;
	border-left: 4px solid #10b981;
}

.alert-warning {
	background: rgba(245, 158, 11, 0.1);
	color: #92400e;
	border-left: 4px solid #f59e0b;
}

.alert-danger {
	background: rgba(239, 68, 68, 0.1);
	color: #991b1b;
	border-left: 4px solid #ef4444;
}

/* Responsive enhancements */
@media (max-width: 768px) {
	.services__item:hover {
		transform: translateY(-3px) scale(1.01);
	}

	.ks-chip {
		padding: 6px 12px;
		font-size: 13px;
	}

	.auth-card {
		margin: 10px;
		padding: 30px 20px;
	}
}

/* ============================
	 Global Buttons & Inputs Theme
	 Align Bootstrap controls with site design
	 ============================ */
/* Buttons */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	font-weight: 600;
	letter-spacing: .2px;
	border-radius: 10px;
	padding: 10px 16px;
	line-height: 1.2;
}

.btn i {
	margin-left: 4px;
}

.btn-sm {
	padding: 6px 12px;
	border-radius: 8px;
}

.btn-primary,
.btn.btn-primary {
	background-color: #1a596c;
	border-color: #1a596c;
	color: #fff;
	box-shadow: 0 6px 16px rgba(26, 89, 108, .18);
	transition: background-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.btn-primary:hover,
.btn-primary:focus {
	background-color: #0e3d4c;
	border-color: #0e3d4c;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(26, 89, 108, .22);
}

.btn-primary:active {
	transform: translateY(0);
	box-shadow: none;
}

.btn-outline-primary {
	color: #1a596c;
	border-color: #1a596c;
	background-color: transparent;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
	color: #fff;
	background-color: #1a596c;
	border-color: #1a596c;
}

.btn-outline-secondary {
	color: #64748b;
	/* slate-500 */
	border-color: #cbd5e1;
	/* slate-300 */
	background-color: transparent;
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus {
	color: #fff;
	background-color: #64748b;
	border-color: #64748b;
}

.btn-light {
	color: #0f172a;
}

/* Make .tp-btn and .btn visually cohesive */
.btn.tp-btn,
.tp-btn.btn {
	border-radius: 999px;
	padding: 10px 18px;
}

/* Inputs */
.form-control,
.form-select {
	border: 1.5px solid #e5e7eb;
	/* gray-200 */
	border-radius: 10px;
	transition: border-color .18s ease, box-shadow .18s ease;
}

.form-control:focus,
.form-select:focus {
	outline: none;
	border-color: #1a596c;
	box-shadow: 0 0 0 .2rem rgba(26, 89, 108, .12);
}

::placeholder {
	color: #94a3b8;
	/* slate-400 */
}

.input-group>.form-control,
.input-group>.form-select,
.input-group>.btn {
	height: 40px;
}

.input-group>.form-control,
.input-group>.form-select {
	border-radius: 10px 0 0 10px;
}

.input-group>.btn {
	border-radius: 0 10px 10px 0;
}

.form-check-input {
	border-color: #cbd5e1;
	/* slate-300 */
}

.form-check-input:focus {
	box-shadow: 0 0 0 .2rem rgba(26, 89, 108, .12);
	border-color: #1a596c;
}

.form-check-input:checked {
	background-color: #1a596c;
	border-color: #1a596c;
}

.form-label {
	font-weight: 600;
	color: #0f172a;
}

/* Utility: subtle elevated card buttons */
.btn-elevated {
	box-shadow: 0 6px 16px rgba(2, 6, 23, .08);
}

.btn-elevated:hover {
	box-shadow: 0 10px 22px rgba(2, 6, 23, .12);
}

/* ===========================
   Universal Search Styles
   =========================== */

/* Header Search Autocomplete */
.header-search-wrap {
	position: relative;
}

.header-search-wrap form {
	position: relative;
}

.header-search-wrap input[type="text"] {
	width: 100%;
	padding-right: 40px;
	border: 1.5px solid #e2e8f0;
	border-radius: 25px;
	background: #f8fafc;
	transition: all .25s ease;
}

.header-search-wrap input[type="text"]:focus {
	border-color: #1a596c;
	background: #fff;
	box-shadow: 0 4px 20px rgba(26, 89, 108, .12);
}

.header-search-wrap button[type="submit"] {
	position: absolute;
	right: 4px;
	top: 50%;
	transform: translateY(-50%);
	background: transparent;
	border: none;
	color: #64748b;
	padding: 8px 12px;
	cursor: pointer;
	transition: color .2s;
}

.header-search-wrap button[type="submit"]:hover {
	color: #0d6efd;
}

/* Search Modal Styles */
.search-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	opacity: 0;
	visibility: hidden;
	transition: opacity .25s ease, visibility .25s ease;
}

.search-modal.active {
	opacity: 1;
	visibility: visible;
}

.search-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(2, 6, 23, .7);
	backdrop-filter: blur(4px);
}

.search-modal__container {
	position: relative;
	width: 100%;
	max-width: 680px;
	margin: 60px auto 0;
	background: #fff;
	border-radius: 20px;
	box-shadow: 0 25px 80px rgba(2, 6, 23, .25);
	overflow: hidden;
	transform: translateY(-20px);
	transition: transform .3s ease;
	max-height: calc(100vh - 120px);
	display: flex;
	flex-direction: column;
}

.search-modal.active .search-modal__container {
	transform: translateY(0);
}

.search-modal__header {
	display: flex;
	align-items: center;
	padding: 16px 20px;
	border-bottom: 1px solid #e2e8f0;
	gap: 12px;
	flex-shrink: 0;
}

.search-modal__input-wrap {
	flex: 1;
	display: flex;
	align-items: center;
	background: #f8fafc;
	border-radius: 12px;
	padding: 0 16px;
	border: 2px solid transparent;
	transition: border-color .2s ease, background .2s ease;
}

.search-modal__input-wrap:focus-within {
	border-color: #0d6efd;
	background: #fff;
}

.search-modal__input-wrap>i {
	color: #94a3b8;
	font-size: 18px;
	margin-right: 12px;
}

.search-modal__input {
	flex: 1;
	border: none;
	background: transparent;
	font-size: 16px;
	padding: 14px 0;
	outline: none;
	color: #1e293b;
}

.search-modal__input::placeholder {
	color: #94a3b8;
}

.search-modal__clear {
	background: none;
	border: none;
	color: #94a3b8;
	cursor: pointer;
	padding: 8px;
	margin: -8px;
	margin-left: 4px;
	border-radius: 6px;
	transition: color .15s ease, background .15s ease;
}

.search-modal__clear:hover {
	color: #64748b;
	background: #e2e8f0;
}

.search-modal__close {
	background: none;
	border: none;
	color: #64748b;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	padding: 10px 16px;
	border-radius: 8px;
	transition: background .15s ease, color .15s ease;
	white-space: nowrap;
}

.search-modal__close:hover {
	background: #f1f5f9;
	color: #1e293b;
}

.search-modal__body {
	flex: 1;
	overflow-y: auto;
	min-height: 200px;
}

.search-modal__placeholder,
.search-modal__loading,
.search-modal__empty {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 60px 20px;
	text-align: center;
	color: #94a3b8;
}

.search-modal__placeholder i,
.search-modal__loading i,
.search-modal__empty i {
	font-size: 48px;
	margin-bottom: 16px;
	opacity: .5;
}

.search-modal__placeholder p,
.search-modal__loading p,
.search-modal__empty p {
	font-size: 15px;
	margin: 0;
}

.search-modal__loading .spinner-border {
	width: 32px;
	height: 32px;
	margin-bottom: 16px;
}

.search-modal__link {
	margin-top: 16px;
	color: #0d6efd;
	font-weight: 600;
	text-decoration: none;
}

.search-modal__link:hover {
	text-decoration: underline;
}

.search-modal__results-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 12px 24px;
	background: #f8fafc;
	border-bottom: 1px solid #e2e8f0;
	font-size: 13px;
	color: #64748b;
}

.search-modal__results-header a {
	color: #0d6efd;
	text-decoration: none;
	font-weight: 600;
}

.search-modal__results-header a:hover {
	text-decoration: underline;
}

.search-modal__results-list {
	padding: 8px 0;
}

.search-modal__item {
	display: flex;
	align-items: center;
	padding: 14px 24px;
	text-decoration: none;
	color: #1e293b;
	transition: background .15s ease;
	gap: 16px;
}

.search-modal__item:hover,
.search-modal__item.focused {
	background: #f1f5f9;
}

.search-modal__item-thumb {
	width: 56px;
	height: 56px;
	border-radius: 10px;
	overflow: hidden;
	flex-shrink: 0;
	background: #f1f5f9;
	border: 1px solid #e2e8f0;
}

.search-modal__item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.search-modal__item-info {
	flex: 1;
	min-width: 0;
}

.search-modal__item-title {
	font-size: 15px;
	font-weight: 600;
	margin: 0 0 4px;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.search-modal__item-title mark {
	background: #fef08a;
	color: inherit;
	padding: 0 2px;
	border-radius: 2px;
}

.search-modal__item-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.search-modal__item-type {
	background: linear-gradient(135deg, #0d6efd, #4f46e5);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 20px;
}

.search-modal__item-excerpt {
	font-size: 13px;
	color: #64748b;
}

.search-modal__item-arrow {
	color: #cbd5e1;
	font-size: 12px;
	flex-shrink: 0;
}

.search-modal__item:hover .search-modal__item-arrow {
	color: #0d6efd;
}

/* Responsive */
@media (max-width: 767.98px) {
	.search-modal__container {
		margin: 0;
		max-width: 100%;
		max-height: 100vh;
		border-radius: 0;
		height: 100%;
	}

	.search-modal__header {
		padding: 12px 16px;
	}

	.search-modal__input {
		font-size: 16px;
	}

	.search-modal__item {
		padding: 12px 16px;
	}

	.search-modal__item-thumb {
		width: 48px;
		height: 48px;
	}

	.search-modal__results-header {
		padding: 10px 16px;
	}
}

/* Search Page Styles */
/* Uses site's existing patterns: sidebar__search, tp-portfolio-menu, postbox__item, basic-pagination */

/* Category badge on search result cards */
.postbox__tag {
	position: absolute;
	top: 12px;
	left: 12px;
	background: linear-gradient(135deg, rgba(2, 79, 160, .9), rgba(1, 132, 209, .9));
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 6px 14px;
	border-radius: 20px;
	display: inline-flex;
	align-items: center;
	z-index: 2;
	backdrop-filter: blur(4px);
}

/* Placeholder for items without images */
.postbox__thumb-placeholder {
	border-radius: 8px 8px 0 0;
	background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
}

/* Ensure cards have equal height in search results */
.blog__area .postbox__item.h-100 {
	display: flex;
	flex-direction: column;
}

.blog__area .postbox__item.h-100 .postbox__content {
	flex: 1;
	display: flex;
	flex-direction: column;
}

.blog__area .postbox__item.h-100 .postbox__text {
	flex: 1;
}

.blog__area .postbox__item.h-100 .postbox__read-more {
	margin-top: auto;
}

/* Sidebar Search Enhancement */
.sidebar__search {
	position: relative;
}

.sidebar__search form {
	position: relative;
}

.sidebar__search input[type="text"] {
	border: 2px solid #e2e8f0;
	border-radius: 25px;
	padding: 12px 50px 12px 20px;
	width: 100%;
	transition: all .25s ease;
}

.sidebar__search input[type="text"]:focus {
	border-color: #1a596c;
	outline: none;
}

.sidebar__search button[type="submit"] {
	position: absolute;
	right: 6px;
	top: 50%;
	transform: translateY(-50%);
	background: #1a596c;
	border: none;
	color: #fff;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	cursor: pointer;
	transition: background .2s;
}

.sidebar__search button[type="submit"]:hover,
.sidebar__search button[type="button"]:hover {
	background: #0e3d4c;
}

/* Mobile responsiveness */
@media (max-width: 767.98px) {
	.search-page__input {
		padding: 14px 18px !important;
		font-size: 15px;
	}

	.search-page__btn {
		padding: 14px 20px !important;
	}

	.search-filters__nav {
		gap: 4px;
	}

	.search-filters__nav .nav-link {
		padding: 8px 12px;
		font-size: 13px;
	}

	.search-result__card {
		border-radius: 12px;
	}

	.search-result__content {
		padding: 16px;
	}

	.search-result__title {
		font-size: 15px;
	}

	.search-autocomplete {
		position: fixed;
		top: 60px;
		left: 10px;
		right: 10px;
		max-height: calc(100vh - 120px);
		border-radius: 16px;
	}
}

/* ========================
   E-Library Coming Soon Ribbon
   ======================== */
.ebook-ribbon-wrap {
	position: relative;
	overflow: hidden;
}

.ebook-ribbon {
	position: absolute;
	top: 28px;
	left: -36px;
	z-index: 10;
	background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
	color: #fff;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 5px 40px;
	transform: rotate(-45deg);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.ebook-ribbon--coming-soon {
	background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

/* E-Library File Type Badge */
.ebook-type-badge {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 10;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 0.65rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ebook-type-badge--pdf {
	background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
	color: #fff;
}

.ebook-type-badge--epub {
	background: linear-gradient(135deg, #10b981 0%, #059669 100%);
	color: #fff;
}

.ebook-coming-soon-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 5;
	border-radius: inherit;
}

.ebook-coming-soon-badge {
	background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
	color: #fff;
	padding: 8px 18px;
	border-radius: 999px;
	font-size: 0.85rem;
	font-weight: 600;
	box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ebook-coming-soon-badge i {
	font-size: 0.9rem;
}

/* Clickable meta links on ebook detail page */
.ebook-meta-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px;
}

.ebook-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 2px;
}

.ebook-meta-separator {
	margin: 0 6px;
	color: #9ca3af;
}

.ebook-meta-link {
	color: #00B3E0;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.2s ease;
	border-bottom: 1px dashed transparent;
}

.ebook-meta-link:hover {
	color: #1a596c;
	border-bottom-color: #1a596c;
}

.tp-btn.disabled,
.tp-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	pointer-events: none;
}

/* ===================================
   Terms of Use & Privacy Policy Pages
   =================================== */
.terms__content,
.privacy__content {
	background: #fff;
	padding: 40px;
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.terms__intro,
.privacy__intro {
	padding: 30px;
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	border-radius: 12px;
	border-left: 4px solid #00B3E0;
}

.terms__section,
.privacy__section {
	padding-bottom: 20px;
	border-bottom: 1px solid #e2e8f0;
}

.terms__section:last-child,
.privacy__section:last-child {
	border-bottom: none;
}

.terms__title,
.privacy__title {
	color: #1a596c;
	font-weight: 700;
	font-size: 1.25rem;
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.terms__number,
.privacy__number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	background: linear-gradient(135deg, #00B3E0 0%, #1a596c 100%);
	color: #fff;
	border-radius: 8px;
	font-size: 0.9rem;
	font-weight: 700;
	flex-shrink: 0;
}

.terms__text,
.privacy__text {
	color: #475569;
	line-height: 1.8;
}

.terms__text ul,
.privacy__text ul {
	padding-left: 20px;
	margin-bottom: 15px;
}

.terms__text ul li,
.privacy__text ul li {
	margin-bottom: 10px;
	position: relative;
	padding-left: 10px;
}

.terms__text ul li::marker,
.privacy__text ul li::marker {
	color: #00B3E0;
}

.terms__text h5,
.privacy__text h5 {
	color: #2c3941;
	font-weight: 600;
	font-size: 1.05rem;
}

.contact__info-box {
	background: #f8fafc !important;
	border: 1px solid #e2e8f0;
}

.contact__info-box a {
	color: #00B3E0;
	transition: color 0.2s ease;
}

.contact__info-box a:hover {
	color: #1a596c;
}

@media (max-width: 767.98px) {

	.terms__content,
	.privacy__content {
		padding: 24px;
	}

	.terms__intro,
	.privacy__intro {
		padding: 20px;
	}

	.terms__title,
	.privacy__title {
		font-size: 1.1rem;
	}

	.terms__number,
	.privacy__number {
		width: 28px;
		height: 28px;
		font-size: 0.8rem;
	}
}

/* ================================================
   BOOKSTORE E-COMMERCE LANDING PAGE
   Premium bookstore UI — warm brand palette
   ================================================ */

/* ── Section Spacing & Backgrounds ── */
.bs-books-section {
	padding: 48px 0;
	background: #fff;
}

.bs-books-section--alt {
	background: #f7f8fa;
}

.bs-categories-section {
	padding: 36px 0;
	background: #fff;
}

.bs-promo-section {
	padding: 0 0 8px;
	background: #f7f8fa;
}

/* ── Section Header ── */
.bs-section-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 28px;
}

.bs-section-header__title {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.bs-section-header__title > i {
	font-size: 1.5rem;
	margin-top: 3px;
}

.bs-section-header__title h3 {
	font-size: 1.35rem;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 2px;
	line-height: 1.3;
}

.bs-section-header__title p {
	font-size: 0.88rem;
	color: #64748b;
	margin-bottom: 0;
}

.bs-section-header__link {
	white-space: nowrap;
	color: #1a596c;
	font-weight: 600;
	font-size: 0.9rem;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 16px;
	border: 1.5px solid #1a596c;
	border-radius: 999px;
	transition: all 0.25s ease;
	flex-shrink: 0;
	margin-top: 2px;
}

.bs-section-header__link:hover {
	background: #1a596c;
	color: #fff;
}

/* ── Hero Carousel — Theatre Style ── */
.bs-hero-carousel {
	position: relative;
	width: 100%;
	padding: 20px 0 32px;
	overflow: hidden;
	background: #f7f8fa;
}

.bs-hero-slider {
	overflow: visible !important;
}

.bs-hero-slide {
	position: relative;
	border-radius: 16px;
	overflow: hidden;
	transition: transform 0.45s cubic-bezier(.4,0,.2,1), box-shadow 0.45s ease;
}

.bs-hero-slider .swiper-slide {
	opacity: 0.35;
	transform: scale(0.82);
	transition: opacity 0.5s cubic-bezier(.4,0,.2,1), transform 0.5s cubic-bezier(.4,0,.2,1), filter 0.5s ease;
	filter: brightness(0.65) saturate(0.7);
}

.bs-hero-slider .swiper-slide-active {
	opacity: 1;
	transform: scale(1);
	filter: none;
}

.bs-hero-slide__link {
	display: block;
	width: 100%;
}

.bs-hero-slide__img-wrapper {
	position: relative;
	width: 100%;
	padding-bottom: 37.5%;
	overflow: hidden;
	border-radius: inherit;
}

.bs-hero-slide__img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform 0.5s ease;
}

.bs-hero-slide__link:hover .bs-hero-slide__img,
.bs-hero-slider .swiper-slide-active .bs-hero-slide:hover .bs-hero-slide__img {
	transform: scale(1.04);
}

/* Hero Navigation Arrows */
.bs-hero-nav {
	position: absolute;
	top: 50%;
	left: 0;
	right: 0;
	z-index: 10;
	pointer-events: none;
	transform: translateY(-50%);
}

.bs-hero-prev,
.bs-hero-next {
	position: absolute;
	width: 46px;
	height: 46px;
	background: rgba(255,255,255,0.95);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #1a596c;
	font-size: 17px;
	cursor: pointer;
	pointer-events: auto;
	box-shadow: 0 4px 20px rgba(0,0,0,0.15);
	transition: all 0.3s ease;
	border: none;
}

.bs-hero-prev { left: 16px; }
.bs-hero-next { right: 16px; }

.bs-hero-prev:hover,
.bs-hero-next:hover {
	background: #1a596c;
	color: #fff;
	transform: scale(1.1);
	box-shadow: 0 6px 28px rgba(26,89,108,0.35);
}

.bs-hero-prev::after,
.bs-hero-next::after { display: none; }

/* Hero Pagination */
.bs-hero-pagination {
	position: relative;
	margin-top: 18px;
	text-align: center;
}

.bs-hero-pagination .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background: #cbd5e1;
	opacity: 1;
	margin: 0 5px;
	transition: all 0.3s ease;
	border: none;
	border-radius: 50%;
}

.bs-hero-pagination .swiper-pagination-bullet-active {
	background: #1a596c;
	width: 30px;
	border-radius: 5px;
}

@media (max-width: 991.98px) {
	.bs-hero-carousel { padding: 14px 0 28px; }
	.bs-hero-prev, .bs-hero-next { width: 40px; height: 40px; font-size: 15px; }
	.bs-hero-prev { left: 8px; }
	.bs-hero-next { right: 8px; }
}

@media (max-width: 575.98px) {
	.bs-hero-carousel { padding: 10px 0 22px; }
	.bs-hero-slide { border-radius: 12px; }
	.bs-hero-slide__img-wrapper { padding-bottom: 48%; }
	.bs-hero-prev, .bs-hero-next { width: 34px; height: 34px; font-size: 13px; }
	.bs-hero-pagination .swiper-pagination-bullet { width: 8px; height: 8px; margin: 0 4px; }
	.bs-hero-pagination .swiper-pagination-bullet-active { width: 22px; }
}

/* ── Promo Cards ── */
.bs-promo-card {
	border-radius: 16px;
	padding: 26px 28px;
	min-height: 120px;
	display: flex;
	align-items: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	position: relative;
	overflow: hidden;
}

.bs-promo-card::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
	pointer-events: none;
}

.bs-promo-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.bs-promo-card h4 {
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.3;
}

.bs-promo-card p {
	font-size: 0.85rem;
}

@media (min-width: 768px) {
	.bs-promo-card h4 { font-size: 1.3rem; }
	.bs-promo-card p { font-size: 0.9rem; }
}

@media (max-width: 575.98px) {
	.bs-promo-card {
		padding: 18px 20px;
		min-height: auto;
		border-radius: 12px;
	}
	.bs-promo-card h4 { font-size: 0.95rem; }
	.bs-promo-card .fa-4x { font-size: 2rem !important; }
}

/* ── Category Navigation ── */
.bs-category-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

@media (min-width: 576px) { .bs-category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .bs-category-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }

.bs-category-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 20px;
	background: #fff;
	border: 1.5px solid #e2e8f0;
	border-radius: 14px;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(.4,0,.2,1);
	position: relative;
	overflow: hidden;
}

.bs-category-item::after {
	content: '\f054';
	font-family: 'Font Awesome 6 Free', 'Font Awesome 7 Free';
	font-weight: 900;
	font-size: 0.75rem;
	color: #94a3b8;
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	transition: all 0.25s ease;
}

.bs-category-item:hover {
	border-color: #1a596c;
	box-shadow: 0 8px 28px rgba(26,89,108,0.12);
	transform: translateY(-3px);
}

.bs-category-item:hover::after {
	color: #1a596c;
	right: 14px;
}

.bs-category-item:hover h6 { color: #1a596c; }

.bs-category-icon {
	width: 52px;
	height: 52px;
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.3rem;
	flex-shrink: 0;
	transition: transform 0.3s ease;
}

.bs-category-item:hover .bs-category-icon { transform: scale(1.08); }

.bs-category-info h6 {
	font-size: 0.95rem;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 3px;
	transition: color 0.2s ease;
	line-height: 1.3;
}

.bs-category-info small {
	font-size: 0.78rem;
	color: #94a3b8;
}

@media (max-width: 575.98px) {
	.bs-category-item { padding: 14px 16px; gap: 12px; border-radius: 12px; }
	.bs-category-icon { width: 44px; height: 44px; font-size: 1.1rem; border-radius: 12px; }
	.bs-category-info h6 { font-size: 0.85rem; }
}

/* ── Books Grid ── */
.bs-books-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

@media (min-width: 576px)  { .bs-books-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px)  { .bs-books-grid { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 992px)  { .bs-books-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 1200px) { .bs-books-grid { grid-template-columns: repeat(6, 1fr); } }

/* ── Book Card — Premium ── */
.bs-book-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	transition: all 0.35s cubic-bezier(.4,0,.2,1);
	height: 100%;
	display: flex;
	flex-direction: column;
	border: 1px solid #f0f1f3;
}

.bs-book-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 20px 48px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.06);
	border-color: transparent;
}

/* Book Cover with 3D Spine Shadow */
.bs-book-cover {
	position: relative;
	overflow: hidden;
	aspect-ratio: 3/4.2;
	background: linear-gradient(135deg, #f1f5f9, #e8ecf0);
	margin: 8px 8px 0;
	border-radius: 8px;
}

.bs-book-cover::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.04), rgba(0,0,0,0.12));
	z-index: 3;
	pointer-events: none;
	border-radius: 8px 0 0 8px;
}

.bs-book-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.45s cubic-bezier(.4,0,.2,1);
}

.bs-book-card:hover .bs-book-cover img {
	transform: scale(1.06);
}

/* Hover Overlay */
.bs-book-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 35%, rgba(26,89,108,0.85) 100%);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding-bottom: 18px;
	opacity: 0;
	transition: opacity 0.35s ease;
	z-index: 2;
	border-radius: inherit;
}

.bs-book-card:hover .bs-book-overlay { opacity: 1; }

.bs-book-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 18px;
	background: #fff;
	color: #1a596c;
	border-radius: 999px;
	font-size: 0.82rem;
	font-weight: 600;
	text-decoration: none;
	transition: all 0.25s ease;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.bs-book-btn:hover {
	background: #1a596c;
	color: #fff;
}

/* Badges */
.bs-book-badge {
	position: absolute;
	top: 8px;
	left: 8px;
	padding: 4px 10px;
	border-radius: 6px;
	font-size: 0.68rem;
	font-weight: 700;
	text-transform: uppercase;
	z-index: 4;
	letter-spacing: 0.3px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.bs-book-badge--new {
	background: linear-gradient(135deg, #fbbf24, #f59e0b);
	color: #fff;
}

.bs-book-badge--soldout {
	background: linear-gradient(135deg, #64748b, #475569);
	color: #fff;
}

.bs-book-badge--hot {
	background: linear-gradient(135deg, #f43f5e, #dc2626);
	color: #fff;
}

.bs-book-badge--free {
	background: linear-gradient(135deg, #22c55e, #16a34a);
	color: #fff;
}

/* Book Info */
.bs-book-info {
	padding: 10px 10px 12px;
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.bs-book-type-tag {
	display: inline-block;
	font-size: 0.68rem;
	font-weight: 600;
	color: #1a596c;
	background: rgba(26,89,108,0.08);
	padding: 2px 8px;
	border-radius: 4px;
	margin-bottom: 4px;
	width: fit-content;
	letter-spacing: 0.2px;
}

.bs-book-title {
	font-size: 0.88rem;
	font-weight: 600;
	margin-bottom: 2px;
	line-height: 1.4;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bs-book-title a {
	color: #1e293b;
	text-decoration: none;
	transition: color 0.2s ease;
}

.bs-book-title a:hover { color: #1a596c; }

.bs-book-author {
	font-size: 0.78rem;
	color: #94a3b8;
	margin-bottom: 6px;
	display: -webkit-box;
	-webkit-line-clamp: 1;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bs-book-author i {
	margin-right: 4px;
	font-size: 0.7rem;
}

/* Price Display */
.bs-book-price {
	margin-top: auto;
	display: flex;
	align-items: baseline;
	gap: 6px;
	flex-wrap: wrap;
}

.bs-price {
	font-size: 0.95rem;
	font-weight: 700;
	color: #1a596c;
}

.bs-price--original {
	font-size: 0.8rem;
	font-weight: 500;
	color: #94a3b8;
	text-decoration: line-through;
}

.bs-price--sale {
	color: #dc2626;
	font-size: 0.95rem;
}

.bs-price--free {
	color: #16a34a;
	font-size: 0.95rem;
	font-weight: 700;
}

/* ── Slider Navigation ── */
.bs-books-slider {
	padding: 6px 0;
	position: relative;
}

.bs-slider-prev,
.bs-slider-next {
	width: 42px;
	height: 42px;
	background: #fff !important;
	border-radius: 50%;
	box-shadow: 0 4px 16px rgba(0,0,0,0.10);
	color: #1a596c;
	transition: all 0.25s ease;
}

.bs-slider-prev::after,
.bs-slider-next::after {
	font-size: 15px !important;
	font-weight: 700;
	color: #1a596c;
}

.bs-slider-prev:hover,
.bs-slider-next:hover {
	background: #1a596c !important;
	box-shadow: 0 6px 20px rgba(26,89,108,0.3);
}

.bs-slider-prev:hover::after,
.bs-slider-next:hover::after {
	color: #fff;
}

/* ── Trust / Features Bar ── */
.bs-trust-section {
	padding: 48px 0;
	background: linear-gradient(135deg, #1a596c 0%, #0e3d4c 100%);
}

.bs-trust-card {
	text-align: center;
	padding: 24px 16px;
	border-radius: 16px;
	background: rgba(255,255,255,0.06);
	border: 1px solid rgba(255,255,255,0.08);
	transition: all 0.3s ease;
	height: 100%;
}

.bs-trust-card:hover {
	background: rgba(255,255,255,0.12);
	transform: translateY(-4px);
}

.bs-trust-icon {
	width: 56px;
	height: 56px;
	background: linear-gradient(135deg, #00B3E0, #00d4ff);
	border-radius: 16px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1.35rem;
	color: #fff;
	margin-bottom: 14px;
	box-shadow: 0 4px 16px rgba(0,179,224,0.3);
}

.bs-trust-card h6 {
	color: #fff;
	font-weight: 700;
	font-size: 0.95rem;
	margin-bottom: 4px;
}

.bs-trust-card p {
	color: rgba(255,255,255,0.55);
	font-size: 0.82rem;
	margin-bottom: 0;
}

@media (max-width: 575.98px) {
	.bs-trust-section { padding: 32px 0; }
	.bs-trust-card { padding: 18px 12px; border-radius: 12px; }
	.bs-trust-icon { width: 46px; height: 46px; font-size: 1.15rem; border-radius: 12px; }
	.bs-trust-card h6 { font-size: 0.82rem; }
	.bs-trust-card p { font-size: 0.72rem; }
}

/* ── Responsive Section & Card tweaks ── */
@media (max-width: 767.98px) {
	.bs-books-section { padding: 32px 0; }
	.bs-categories-section { padding: 24px 0; }
	.bs-section-header { flex-direction: column; gap: 10px; margin-bottom: 20px; }
	.bs-section-header__title h3 { font-size: 1.15rem; }
	.bs-section-header__link { align-self: flex-start; font-size: 0.82rem; padding: 5px 14px; }
	.bs-book-cover { margin: 6px 6px 0; }
	.bs-book-info { padding: 8px 8px 10px; }
	.bs-book-title { font-size: 0.82rem; }
	.bs-book-author { font-size: 0.72rem; }
	.bs-price { font-size: 0.85rem; }
	.bs-price--original { font-size: 0.72rem; }
	.bs-price--sale { font-size: 0.85rem; }
}

@media (max-width: 575.98px) {
	.bs-book-card { border-radius: 10px; }
	.bs-book-cover { border-radius: 6px; margin: 5px 5px 0; }
	.bs-book-info { padding: 6px 6px 8px; }
	.bs-book-type-tag { font-size: 0.6rem; padding: 1px 6px; }
	.bs-book-title { font-size: 0.78rem; }
	.bs-book-author { font-size: 0.68rem; margin-bottom: 4px; }
	.bs-price { font-size: 0.8rem; }
}

/* ── Legacy compat aliases ── */
.bs-books-prev,
.bs-books-next {
	width: 42px;
	height: 42px;
	background: #fff !important;
	border-radius: 50%;
	box-shadow: 0 4px 12px rgba(0,0,0,0.1);
	color: #1a596c;
	transition: all 0.25s ease;
}

.bs-books-prev::after,
.bs-books-next::after {
	font-size: 15px !important;
	font-weight: 700;
	color: #1a596c;
}

.bs-books-prev:hover,
.bs-books-next:hover {
	background: #1a596c !important;
}

.bs-books-prev:hover::after,
.bs-books-next:hover::after {
	color: #fff;
}

/* ================================================
   BOOKSTORE CATALOG PAGE (bookstore.php)
   ================================================ */

/* Hero / Breadcrumb */
.bs-store-hero {
	background: linear-gradient(135deg, #f7f8fa 0%, #edf0f4 100%);
	padding: 120px 0 36px;
	border-bottom: 1px solid #e2e8f0;
}

.bs-store-hero .breadcrumb {
	font-size: 0.85rem;
}

.bs-store-hero .breadcrumb-item a {
	color: #64748b;
	text-decoration: none;
}

.bs-store-hero .breadcrumb-item a:hover {
	color: #1a596c;
}

.bs-store-hero .breadcrumb-item.active {
	color: #1e293b;
}

.bs-store-hero__title {
	font-size: 1.75rem;
	font-weight: 800;
	color: #1e293b;
	margin-bottom: 6px;
}

.bs-store-hero__title i {
	color: #1a596c;
	margin-right: 8px;
}

.bs-store-hero__sub {
	font-size: 0.95rem;
	color: #64748b;
	margin-bottom: 0;
}

/* Filter Section */
.bs-filter-section {
	background: #fff;
	padding: 16px 0 8px;
	border-bottom: 1px solid #f0f1f3;
	position: sticky;
	top: 0;
	z-index: 20;
}

.bs-filter-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.bs-filter-tabs {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
}

.bs-filter-tab {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 18px;
	border-radius: 999px;
	font-size: 0.88rem;
	font-weight: 600;
	color: #475569;
	background: #f1f5f9;
	border: 1.5px solid transparent;
	text-decoration: none;
	transition: all 0.25s ease;
	white-space: nowrap;
}

.bs-filter-tab:hover {
	background: #e8ecf0;
	color: #1e293b;
}

.bs-filter-tab.active {
	background: #1a596c;
	color: #fff;
	border-color: #1a596c;
}

.bs-filter-tab.active .bs-filter-count {
	background: rgba(255,255,255,0.2);
	color: #fff;
}

.bs-filter-count {
	background: rgba(0,0,0,0.06);
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 700;
}

/* Sort */
.bs-sort-wrap {
	display: flex;
	align-items: center;
	gap: 8px;
	color: #64748b;
	flex-shrink: 0;
}

.bs-sort-wrap label {
	font-size: 0.9rem;
}

.bs-sort-select {
	font-size: 0.85rem;
	padding: 7px 32px 7px 12px;
	border: 1.5px solid #e2e8f0;
	border-radius: 8px;
	background-color: #fff;
	color: #1e293b;
	font-weight: 500;
	appearance: auto;
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.bs-sort-select:focus {
	outline: none;
	border-color: #1a596c;
}

/* Filter result text */
.bs-filter-result {
	font-size: 0.82rem;
	color: #94a3b8;
	margin: 10px 0 0;
}

.bs-filter-clear {
	color: #dc2626;
	text-decoration: none;
	font-weight: 600;
	margin-left: 8px;
	font-size: 0.8rem;
}

.bs-filter-clear:hover {
	text-decoration: underline;
}

/* Empty state */
.bs-empty-state {
	text-align: center;
	padding: 80px 20px;
	color: #94a3b8;
}

.bs-empty-state i {
	font-size: 3rem;
	margin-bottom: 16px;
	color: #cbd5e1;
}

.bs-empty-state h4 {
	color: #475569;
	font-weight: 700;
	margin-bottom: 8px;
}

.bs-empty-state p {
	margin-bottom: 20px;
}

/* Responsive catalog */
@media (max-width: 767.98px) {
	.bs-store-hero { padding: 100px 0 28px; }
	.bs-store-hero__title { font-size: 1.35rem; }
	.bs-store-hero__sub { font-size: 0.85rem; }
	.bs-filter-bar { flex-direction: column; align-items: stretch; gap: 12px; }
	.bs-filter-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
	.bs-sort-wrap { justify-content: flex-end; }
}

@media (max-width: 575.98px) {
	.bs-store-hero { padding: 90px 0 22px; }
	.bs-store-hero__title { font-size: 1.15rem; }
	.bs-filter-tab { padding: 6px 14px; font-size: 0.8rem; }
	.bs-sort-select { font-size: 0.8rem; padding: 6px 28px 6px 10px; }
}

/* ================================================
   FAQ PAGE STYLES
   ================================================ */
.bg-main {
	background: linear-gradient(135deg, #1a596c 0%, #00B3E0 100%) !important;
}

.text-main {
	color: #00B3E0 !important;
}

.faq-header {
	padding: 160px 0 80px;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: center;
	min-height: 320px;
}

@media (max-width: 767.98px) {
	.faq-header {
		padding: 120px 0 60px;
		min-height: 240px;
	}
}

/* ================================================
   BOOTSTRAP PRIMARY COLOR OVERRIDE
   Forces all Bootstrap .text-primary, .bg-primary,
   .border-primary, .btn-primary utilities to use
   brand teal instead of default #0d6efd.
   ================================================ */
:root,
[data-bs-theme] {
	--bs-primary: #1a596c !important;
	--bs-primary-rgb: 26, 89, 108 !important;
	--bs-link-color: #1a596c;
	--bs-link-hover-color: #0e3d4c;
}

.text-primary {
	color: #1a596c !important;
}

.bg-primary {
	background-color: #1a596c !important;
}

.border-primary {
	border-color: #1a596c !important;
}

.bg-primary.bg-opacity-10,
.bg-primary-subtle {
	background-color: rgba(26, 89, 108, .1) !important;
}

.bg-primary.bg-opacity-25 {
	background-color: rgba(26, 89, 108, .25) !important;
}

.link-primary {
	color: #1a596c !important;
}

.link-primary:hover {
	color: #0e3d4c !important;
}

/* Spinner */
.spinner-border.text-primary {
	color: #1a596c !important;
}

/* ================================================
   CONTACT PAGE: r-btn-yellow → brand teal
   ================================================ */
.r-btn-yellow {
	background: linear-gradient(135deg, #1a596c 0%, #00B3E0 100%) !important;
	color: #fff !important;
}

.r-btn-yellow:hover,
.r-btn-yellow:focus {
	color: #fff !important;
}

/* ================================================
   CONTACT PAGE: Map full-width fix
   The map only spans col-md-6, leaving empty space.
   ================================================ */
.contact__map .col-12.col-md-6 {
	flex: 0 0 100%;
	max-width: 100%;
}

.contact__map-wrapper {
	height: 450px;
	border-radius: 0;
}

.contact__map-wrapper iframe {
	width: 100%;
	height: 100%;
	border: 0;
	filter: saturate(0.85) contrast(1.05);
}

/* ================================================
   CONTACT PAGE: CTA button alignment
   ks-btn and ks-btn-outline used in contact hero
   ================================================ */
.contact__hero .ks-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 22px;
	border-radius: 999px;
	background: #1a596c;
	color: #fff !important;
	font-weight: 600;
	text-decoration: none;
	transition: all .2s ease;
}

.contact__hero .ks-btn:hover {
	background: #0e3d4c;
	transform: translateY(-1px);
}

.contact__hero .ks-btn-outline {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 11px 20px;
	border-radius: 999px;
	background: transparent;
	color: #1a596c !important;
	border: 2px solid #1a596c;
	font-weight: 600;
	text-decoration: none;
	transition: all .2s ease;
}

.contact__hero .ks-btn-outline:hover {
	background: #1a596c;
	color: #fff !important;
	transform: translateY(-1px);
}

.contact__cta {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 24px;
}

/* ================================================
   HOMEPAGE: "ใหม่" badge — keep amber for semantic
   meaning but harmonize with slightly warmer tone
   ================================================ */
.bs-book-badge--new {
	background: linear-gradient(135deg, #f59e0b, #d97706);
	color: #fff;
}

/* ================================================
   SECTION TITLE ICON — ensure section icons use brand
   ================================================ */
.bs-section-header__title > i {
	color: #1a596c;
}

/* ================================================
   CONTACT PAGE: contact__mini link
   ================================================ */
.contact__mini {
	color: #1a596c;
	font-weight: 600;
	font-size: .85rem;
	text-decoration: none;
}

.contact__mini:hover {
	color: #0e3d4c;
	text-decoration: underline;
}

.contact__mini i {
	margin-right: 4px;
}

/* ── Facebook Page Embed Isolation ──
   Prevent global CSS resets from leaking into Facebook SDK elements.
   The site's blanket `transition: all 0.3s` on span/p/img/i and
   other reset rules break the FB Page Plugin layout.
   Only target FB SDK-generated elements, not Bootstrap grid. */
.footer__facebook-embed {
	max-width: 100%;
	overflow: hidden;
}

.footer__facebook-embed .fb-page {
	display: block !important;
}

.footer__facebook-embed .fb-page > span {
	display: inline-block !important;
	max-width: 100% !important;
	transition: none !important;
}

.footer__facebook-embed .fb-page iframe {
	border: none !important;
	max-width: 100% !important;
	transition: none !important;
}

