/*
Theme Name: TutorStarter Child
Template: tutorstarter
Author: Themeum
Author URI: https://www.themeum.com
Description: Tutor Starter is a free WordPress LMS theme powered by Tutor LMS, the popular eLearning plugin for WordPress. It is designed to let Tutor LMS take center stage while also letting you pick what feels right. Tutor Starter is created with the same Unified Design System from Tutor LMS making it the perfect companion eLearning theme for Tutor LMS. Tutor Starter is also highly specialized for speed and efficiency, with all of its components optimized to give your eLearning website a great score on Google's PageSpeed. Tutor Starter pages are also schema ready and SEO optimized to make ranking on search engines as easy as pie! It also boasts an impressive blog single page for perfect readability. With full support for both Elementor and Gutenberg, Tutor Starter hopes to cater to the largest audience of both classic page builders and modern Gutenberg based builders. It comes with customizer settings for headers, footers, and everything in between. With several header and footer variations, advanced typography settings, and contextual page settings, create the eLearning website of your dreams with this free LMS theme. Tutor Starter features 3 modern and pre-built home layouts with fully functioning inner pages for both Elementor and Gutenberg to let you get started in no time. Tutor Starter also features a clean and light one-click demo importer to import all these pre-built home layouts for Gutenberg and Elementor. This, along with deep ties with Tutor LMS makes it a no-brainer WordPress LMS theme. Please Check theme demo here https://preview.tutorlms.com/
Tags: education,e-commerce,blog,custom-logo,grid-layout,one-column,two-columns,custom-background,custom-colors,custom-header,custom-menu,featured-images,flexible-header,full-width-template,sticky-post,theme-options,threaded-comments,translation-ready,rtl-language-support,footer-widgets,left-sidebar,right-sidebar
Version: 3.0.4.1783082548
Updated: 2026-07-03 13:42:28

/* ==========================================================
   NanoSkill Compact Above-the-Fold Homepage
   ========================================================== */
  @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800;900&family=Poppins:wght@400;500;600;700&display=swap');

/* ==========================================================
   NanoSkill Global Design Variables
   ========================================================== */

:root {
	--ns-heading-font: "Montserrat", sans-serif;
	--ns-body-font: "Poppins", sans-serif;

	--ns-navy: #051e48;
	--ns-navy-dark: #02132f;
	--ns-gold: #f4b51e;
	--ns-gold-light: #f8c844;
	--ns-blue: #1555d8;
	--ns-teal: #129a94;
	--ns-purple: #7956d8;
	--ns-pink: #e36a91;

	--ns-text: #102042;
	--ns-muted: #56647c;
	--ns-border: #e3e8ef;
	--ns-white: #ffffff;
	--ns-soft: #f8fafc;
	--ns-background: #f7fafc;
}

body.nanoskill-homepage {
	margin: 0;
	background: var(--ns-white);
	color: var(--ns-text);
	font-family: var(--ns-body-font);
}

.nanoskill-homepage * {
	box-sizing: border-box;
}

.nanoskill-homepage a {
	text-decoration: none;
}

.ns-page-shell {
	min-height: 100vh;
	overflow-x: hidden;
	background: #ffffff;
}

.ns-wrap {
	width: min(1460px, calc(100% - 72px));
	margin: 0 auto;
}

/* Announcement */

.ns-announcement {
	height: 44px;
	background: var(--ns-navy);
	color: #ffffff;
}

.ns-announcement-inner {
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 34px;
}

.ns-announcement p {
	margin: 0;
	font-size: 14px;
	font-weight: 700;
}

.ns-announcement a {
	display: inline-flex;
	align-items: center;
	gap: 20px;
	min-height: 34px;
	padding: 0 21px;
	border-radius: 7px;
	background: var(--ns-gold);
	color: var(--ns-navy);
	font-size: 13px;
	font-weight: 800;
}

/* Header */


.ns-header {
	height: 76px;
	border-bottom: 1px solid var(--ns-border);
	background: #ffffff;
}

.ns-header-inner {
	height: 76px;
	display: flex;
	align-items: center;
}

.ns-brand {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--ns-navy);
}

.ns-brand .custom-logo-link {
	line-height: 0;
}

.ns-brand .custom-logo {
	display: block;
	width: auto;
	max-width: 230px;
	max-height: 58px;
	object-fit: contain;
}

.ns-brand-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 48px;
	border-radius: 7px;
	background: var(--ns-navy);
	color: #ffffff;
	font-weight: 900;
}

.ns-brand-text {
	display: flex;
	flex-direction: column;
	line-height: 1;
}

.ns-brand-text strong {
	font-size: 23px;
	letter-spacing: 0.05em;
}

.ns-brand-text small {
	margin-top: 7px;
	color: var(--ns-gold);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.42em;
}

.ns-main-nav {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 32px;
	margin: 0 auto;
}

.ns-main-nav a {
	position: relative;
	padding: 28px 0 25px;
	color: var(--ns-text);
	font-size: 14px;
	font-weight: 700;
}

.ns-main-nav a.active::after,
.ns-main-nav a:hover::after {
	content: "";
	position: absolute;
	right: 0;
	bottom: 14px;
	left: 0;
	height: 2px;
	background: var(--ns-blue);
}

.ns-header-actions {
	display: flex;
	align-items: center;
	gap: 14px;
}

.ns-search-button {
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	color: var(--ns-navy);
	font-size: 27px;
	cursor: pointer;
}

.ns-login-button,
.ns-signup-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	padding: 0 20px;
	border-radius: 7px;
	font-size: 14px;
	font-weight: 800;
}

.ns-login-button {
	border: 1px solid var(--ns-border);
	color: var(--ns-navy);
	background: #ffffff;
}

.ns-signup-button {
	color: #ffffff;
	background: var(--ns-navy);
}

.ns-menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	padding: 7px;
	border: 0;
	background: transparent;
}

.ns-menu-toggle span {
	display: block;
	height: 3px;
	margin: 5px 0;
	border-radius: 10px;
	background: var(--ns-navy);
}

/* Above fold */

.ns-above-fold {
	min-height: calc(100vh - 120px);
	display: flex;
	flex-direction: column;
	background: #ffffff;
}

.ns-hero-section {
	flex: 1 1 auto;
	min-height: 0;
	background:
		radial-gradient(circle at 10% 20%, rgba(21, 85, 216, 0.05), transparent 28%),
		linear-gradient(90deg, #ffffff 0%, #f9fbfd 48%, #edf4f7 100%);
}

.ns-hero-layout {
	height: calc(100vh - 285px);
	min-height: 475px;
	max-height: 640px;
	display: grid;
	grid-template-columns: 42% 58%;
	align-items: stretch;
}

.ns-hero-copy {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 34px 40px 28px 12px;
}

.ns-small-badge {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 22px;
	padding: 8px 13px;
	border: 1px solid #d7e2f3;
	border-radius: 24px;
	background: rgba(255,255,255,0.8);
	color: var(--ns-blue);
	font-size: 13px;
	font-weight: 700;
}

.ns-small-badge span {
	color: var(--ns-gold);
	font-size: 17px;
}

.ns-hero-copy h1 {
	margin: 0;
	color: var(--ns-navy);
	font-size: clamp(48px, 4.2vw, 68px);
	line-height: 1.02;
	letter-spacing: -0.045em;
}

.ns-hero-copy h1 strong {
	display: block;
	color: var(--ns-gold);
}

.ns-hero-copy > p {
	max-width: 560px;
	margin: 20px 0 0;
	color: var(--ns-muted);
	font-size: 16px;
	line-height: 1.68;
}

.ns-hero-ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 28px;
}

.ns-primary-cta,
.ns-secondary-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 20px;
	min-height: 50px;
	padding: 0 24px;
	border-radius: 7px;
	font-size: 14px;
	font-weight: 800;
}

.ns-primary-cta {
	color: #ffffff;
	background: var(--ns-navy);
}

.ns-secondary-cta {
	border: 1px solid var(--ns-navy);
	color: var(--ns-navy);
	background: #ffffff;
}

.ns-play-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--ns-navy);
	color: #ffffff;
	font-size: 9px;
}

.ns-support-points {
	display: flex;
	flex-wrap: wrap;
	gap: 25px;
	margin-top: 27px;
}

.ns-support-points > div {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--ns-text);
	font-size: 13px;
	font-weight: 700;
}

.ns-support-points span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 25px;
	height: 25px;
	border-radius: 50%;
	background: #edf3ff;
	font-size: 13px;
}

.ns-hero-visual {
	position: relative;
	overflow: hidden;
	min-width: 0;
}

.ns-hero-visual::after {
	content: "";
	position: absolute;
	top: 0;
	right: -80px;
	width: 170px;
	height: 100%;
	background:
		linear-gradient(
			150deg,
			var(--ns-navy) 0 40%,
			#0e9fa7 40% 58%,
			var(--ns-gold) 58% 75%,
			var(--ns-navy) 75%
		);
	clip-path: polygon(72% 0,100% 0,100% 100%,0 100%,55% 75%,74% 38%);
}

.ns-hero-visual img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center;
}

/* Statistics */

.ns-stats-section {
	flex: 0 0 165px;
	position: relative;
	margin-top: -18px;
	padding-bottom: 12px;
	background: #ffffff;
}

.ns-stats-card {
	height: 145px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	align-items: center;
	border: 1px solid var(--ns-border);
	border-radius: 11px;
	background: #ffffff;
	box-shadow: 0 12px 35px rgba(5, 30, 72, 0.08);
}

.ns-stat-item {
	min-height: 82px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 22px;
	border-right: 1px solid var(--ns-border);
}

.ns-stat-item:last-child {
	border-right: 0;
}

.ns-stat-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 62px;
	height: 62px;
	border-radius: 50%;
	font-size: 25px;
}

.ns-icon-blue {
	color: #175bd7;
	background: #e9efff;
}

.ns-icon-green {
	color: #25b73f;
	background: #ebf9eb;
}

.ns-icon-gold {
	color: #d79b00;
	background: #fff5d8;
}

.ns-icon-red {
	color: #ef4f5b;
	background: #ffe9ec;
}

.ns-stat-item strong,
.ns-stat-item small {
	display: block;
}

.ns-stat-item strong {
	color: var(--ns-navy);
	font-size: 28px;
	line-height: 1;
}

.ns-stat-item small {
	margin-top: 8px;
	color: var(--ns-text);
	font-size: 13px;
}

/* Smaller laptops */

@media (max-height: 820px) and (min-width: 901px) {
	.ns-announcement {
		height: 38px;
	}

	.ns-announcement-inner {
		height: 38px;
	}

	.ns-header,
	.ns-header-inner {
		height: 68px;
	}

	.ns-main-nav a {
		padding-top: 24px;
		padding-bottom: 22px;
	}

	.ns-above-fold {
		min-height: calc(100vh - 106px);
	}

	.ns-hero-layout {
		height: calc(100vh - 250px);
		min-height: 405px;
	}

	.ns-hero-copy {
		padding-top: 22px;
		padding-bottom: 18px;
	}

	.ns-small-badge {
		margin-bottom: 15px;
	}

	.ns-hero-copy h1 {
		font-size: clamp(42px, 3.7vw, 58px);
	}

	.ns-hero-copy > p {
		margin-top: 14px;
		font-size: 15px;
	}

	.ns-hero-ctas {
		margin-top: 20px;
	}

	.ns-support-points {
		margin-top: 19px;
	}

	.ns-stats-section {
		flex-basis: 136px;
	}

	.ns-stats-card {
		height: 116px;
	}

	.ns-stat-icon {
		width: 52px;
		height: 52px;
	}

	.ns-stat-item strong {
		font-size: 25px;
	}
}

/* Tablet and mobile */

@media (max-width: 1100px) {
	.ns-wrap {
		width: min(100% - 36px, 1460px);
	}

	.ns-main-nav {
		gap: 19px;
	}

	.ns-header-actions {
		display: none;
	}
}

@media (max-width: 900px) {
	.ns-announcement {
		height: auto;
	}

	.ns-announcement-inner {
		height: auto;
		min-height: 48px;
		padding: 7px 0;
		justify-content: space-between;
	}

	.ns-announcement p {
		font-size: 11px;
	}

	.ns-header,
	.ns-header-inner {
		height: 68px;
	}

	.ns-menu-toggle {
		display: block;
		margin-left: auto;
	}

	.ns-main-nav {
		position: absolute;
		top: 68px;
		right: 0;
		left: 0;
		z-index: 20;
		display: none;
		flex-direction: column;
		align-items: stretch;
		gap: 0;
		padding: 14px 20px;
		background: #ffffff;
		box-shadow: 0 20px 30px rgba(5,30,72,0.12);
	}

	.ns-main-nav.is-open {
		display: flex;
	}

	.ns-main-nav a {
		padding: 13px 5px;
		border-bottom: 1px solid var(--ns-border);
	}

	.ns-main-nav a::after {
		display: none;
	}

	.ns-above-fold {
		display: block;
		min-height: 0;
	}

	.ns-hero-layout {
		height: auto;
		min-height: 0;
		grid-template-columns: 1fr;
	}

	.ns-hero-copy {
		padding: 54px 0 40px;
		text-align: center;
	}

	.ns-small-badge {
		align-self: center;
	}

	.ns-hero-copy > p {
		margin-right: auto;
		margin-left: auto;
	}

	.ns-hero-ctas,
	.ns-support-points {
		justify-content: center;
	}

	.ns-hero-visual {
		height: 480px;
	}

	.ns-hero-visual::after {
		display: none;
	}

	.ns-stats-section {
		margin-top: 0;
		padding: 22px 0;
	}

	.ns-stats-card {
		height: auto;
		grid-template-columns: repeat(2, 1fr);
	}

	.ns-stat-item {
		padding: 24px 10px;
	}

	.ns-stat-item:nth-child(2) {
		border-right: 0;
	}

	.ns-stat-item:nth-child(-n + 2) {
		border-bottom: 1px solid var(--ns-border);
	}
}

@media (max-width: 600px) {
	.ns-wrap {
		width: min(100% - 24px, 1460px);
	}

	.ns-announcement-inner {
		display: block;
		text-align: center;
	}

	.ns-announcement a {
		margin-top: 6px;
	}

	.ns-brand .custom-logo {
		max-width: 180px;
		max-height: 50px;
	}

	.ns-hero-copy h1 {
		font-size: 43px;
	}

	.ns-hero-ctas {
		flex-direction: column;
	}

	.ns-primary-cta,
	.ns-secondary-cta {
		width: 100%;
	}

	.ns-support-points {
		flex-direction: column;
		align-items: center;
	}

	.ns-hero-visual {
		height: 390px;
	}

	.ns-stats-card {
		grid-template-columns: 1fr;
	}

	.ns-stat-item,
	.ns-stat-item:nth-child(2) {
		border-right: 0;
		border-bottom: 1px solid var(--ns-border);
	}

	.ns-stat-item:last-child {
		border-bottom: 0;
	}
}

/* ==========================================================
   NANOSKILL POPULAR COURSES
   ========================================================== */

.ns-popular-courses {
	position: relative;
	overflow: hidden;
	padding: 92px 0 100px;
	background:
		radial-gradient(
			circle at 10% 20%,
			rgba(244, 181, 30, 0.12),
			transparent 28%
		),
		radial-gradient(
			circle at 90% 10%,
			rgba(21, 85, 216, 0.10),
			transparent 30%
		),
		linear-gradient(
			180deg,
			#f8fafc 0%,
			#ffffff 100%
		);
}

.ns-popular-courses::before {
	position: absolute;
	top: 70px;
	left: -120px;
	width: 300px;
	height: 300px;
	background: rgba(21, 85, 216, 0.06);
	border-radius: 50%;
	filter: blur(8px);
	content: "";
}

.ns-popular-courses::after {
	position: absolute;
	right: -130px;
	bottom: 20px;
	width: 320px;
	height: 320px;
	background: rgba(244, 181, 30, 0.08);
	border-radius: 50%;
	filter: blur(8px);
	content: "";
}

.ns-popular-courses .ns-wrap {
	position: relative;
	z-index: 2;
}


/* Heading */

.ns-popular-courses__heading {
	display: grid;
	grid-template-columns: minmax(0, 700px) auto;
	align-items: end;
	justify-content: space-between;
	gap: 40px;
	margin-bottom: 42px;
}

.ns-popular-courses__intro {
	max-width: 700px;
}

.ns-popular-courses__label {
	display: inline-block;
	margin-bottom: 12px;
	color: var(--ns-gold);
	font-family: var(--ns-heading-font);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.16em;
	text-transform: uppercase;
}

.ns-popular-courses__heading h2 {
	max-width: 630px;
	margin: 0;
	color: var(--ns-navy);
	font-family: var(--ns-heading-font);
	font-size: clamp(36px, 4vw, 54px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.045em;
}

.ns-popular-courses__heading p {
	max-width: 670px;
	margin: 17px 0 0;
	color: var(--ns-muted);
	font-size: 15px;
	line-height: 1.75;
}

.ns-popular-courses__view-all {
	display: inline-flex;
	min-height: 50px;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 0 22px;
	background: rgba(255, 255, 255, 0.7);
	border: 1px solid rgba(5, 30, 72, 0.12);
	border-radius: 12px;
	box-shadow:
		0 12px 30px rgba(5, 30, 72, 0.06),
		inset 0 1px 0 rgba(255, 255, 255, 0.85);
	color: var(--ns-navy);
	font-family: var(--ns-heading-font);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none !important;
	white-space: nowrap;
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	transition:
		transform 0.22s ease,
		border-color 0.22s ease,
		box-shadow 0.22s ease;
}

.ns-popular-courses__view-all:hover {
	transform: translateY(-2px);
	border-color: rgba(244, 181, 30, 0.7);
	box-shadow:
		0 18px 34px rgba(5, 30, 72, 0.10),
		inset 0 1px 0 rgba(255, 255, 255, 0.9);
	color: var(--ns-navy);
}


/* Four-card grid */

.ns-popular-courses__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}


/* Glassmorphic card */

.ns-popular-card {
	min-width: 0;
}

.ns-popular-card__link {
	display: flex;
	height: 100%;
	flex-direction: column;
	overflow: hidden;
	background:
		linear-gradient(
			145deg,
			rgba(255, 255, 255, 0.82),
			rgba(255, 255, 255, 0.50)
		);
	border: 1px solid rgba(255, 255, 255, 0.85);
	border-radius: 20px;
	box-shadow:
		0 18px 45px rgba(5, 30, 72, 0.08),
		inset 0 1px 0 rgba(255, 255, 255, 0.95);
	color: inherit;
	text-decoration: none !important;
	backdrop-filter: blur(18px);
	-webkit-backdrop-filter: blur(18px);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}

.ns-popular-card__link:hover {
	transform: translateY(-7px);
	border-color: rgba(244, 181, 30, 0.48);
	box-shadow:
		0 26px 55px rgba(5, 30, 72, 0.14),
		inset 0 1px 0 rgba(255, 255, 255, 1);
}

.ns-popular-card__image {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #eaf0f7;
}

.ns-popular-card__image::after {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			180deg,
			transparent 55%,
			rgba(3, 20, 47, 0.26) 100%
		);
	content: "";
}

.ns-popular-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.ns-popular-card__link:hover
.ns-popular-card__image img {
	transform: scale(1.05);
}

.ns-popular-card__badge {
	position: absolute;
	z-index: 2;
	top: 12px;
	left: 12px;
	display: inline-flex;
	min-height: 27px;
	align-items: center;
	padding: 0 10px;
	background: rgba(255, 255, 255, 0.78);
	border: 1px solid rgba(255, 255, 255, 0.88);
	border-radius: 999px;
	box-shadow: 0 7px 18px rgba(5, 30, 72, 0.10);
	color: var(--ns-navy);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.04em;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
}

.ns-popular-card__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px;
}

.ns-popular-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-bottom: 12px;
}

.ns-popular-card__meta span {
	display: inline-flex;
	min-height: 24px;
	align-items: center;
	padding: 0 9px;
	background: rgba(21, 85, 216, 0.07);
	border: 1px solid rgba(21, 85, 216, 0.08);
	border-radius: 999px;
	color: var(--ns-blue);
	font-size: 8px;
	font-weight: 750;
}

.ns-popular-card h3 {
	margin: 0;
	color: var(--ns-navy);
	font-family: var(--ns-heading-font);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: -0.025em;
}

.ns-popular-card p {
	margin: 10px 0 0;
	color: var(--ns-muted);
	font-size: 11px;
	line-height: 1.7;
}

.ns-popular-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 18px;
}

.ns-popular-card__price {
	color: var(--ns-navy);
	font-family: var(--ns-heading-font);
	font-size: 13px;
	font-weight: 850;
}

.ns-popular-card__action {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: var(--ns-blue);
	font-size: 9px;
	font-weight: 800;
}

.ns-popular-card__action strong {
	font-size: 13px;
	transition: transform 0.2s ease;
}

.ns-popular-card__link:hover
.ns-popular-card__action strong {
	transform: translateX(3px);
}


/* Remove inherited Tutor Starter underlines */

.ns-popular-courses a,
.ns-popular-courses a:link,
.ns-popular-courses a:visited,
.ns-popular-courses a:hover,
.ns-popular-courses a:focus,
.ns-popular-courses a:active {
	text-decoration: none !important;
}


/* Laptop */

@media (max-width: 1180px) {

	.ns-popular-courses__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	.ns-popular-card h3 {
		font-size: 19px;
	}

	.ns-popular-card p {
		font-size: 12px;
	}

}


/* Tablet */

@media (max-width: 820px) {

	.ns-popular-courses {
		padding: 72px 0 80px;
	}

	.ns-popular-courses__heading {
		grid-template-columns: 1fr;
		align-items: start;
		gap: 24px;
	}

	.ns-popular-courses__view-all {
		justify-self: start;
	}

}


/* Mobile */

@media (max-width: 600px) {

	.ns-popular-courses {
		padding: 62px 0 68px;
	}

	.ns-popular-courses__heading {
		margin-bottom: 30px;
	}

	.ns-popular-courses__heading h2 {
		font-size: 35px;
	}

	.ns-popular-courses__heading p {
		font-size: 14px;
	}

	.ns-popular-courses__grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.ns-popular-card__content {
		padding: 18px;
	}

}

/* ==========================================================
   NanoSkill How It Works Section
   ========================================================== */

.ns-how-section {
	position: relative;
	overflow: hidden;
	padding: 90px 0;
	background:
		radial-gradient(
			circle at 10% 20%,
			rgba(21, 85, 216, 0.06),
			transparent 26%
		),
		linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}

.ns-how-heading {
	max-width: 760px;
	margin: 0 auto 52px;
	text-align: center;
}

.ns-how-heading h2 {
	margin: 0;
	color: var(--ns-navy);
	font-size: clamp(34px, 3.8vw, 50px);
	line-height: 1.15;
	letter-spacing: -0.035em;
}

.ns-how-heading p {
	max-width: 680px;
	margin: 17px auto 0;
	color: var(--ns-muted);
	font-size: 16px;
	line-height: 1.7;
}

.ns-how-grid {
	position: relative;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}

.ns-how-grid::before {
	content: "";
	position: absolute;
	top: 67px;
	right: 10%;
	left: 10%;
	height: 2px;
	background: linear-gradient(
		90deg,
		transparent,
		var(--ns-gold),
		var(--ns-blue),
		var(--ns-gold),
		transparent
	);
	opacity: 0.4;
}

.ns-how-card {
	position: relative;
	z-index: 2;
	min-height: 300px;
	padding: 30px 27px;
	border: 1px solid var(--ns-border);
	border-radius: 16px;
	background: #ffffff;
	box-shadow: 0 10px 30px rgba(5, 30, 72, 0.05);
	transition: 0.25s ease;
}

.ns-how-card:hover {
	transform: translateY(-6px);
	border-color: rgba(244, 181, 30, 0.7);
	box-shadow: 0 18px 40px rgba(5, 30, 72, 0.11);
}

.ns-how-number {
	position: absolute;
	top: 18px;
	right: 20px;
	color: rgba(5, 30, 72, 0.1);
	font-size: 31px;
	font-weight: 900;
}

.ns-how-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 70px;
	height: 70px;
	margin-bottom: 24px;
	border-radius: 19px;
	color: #ffffff;
	background: var(--ns-navy);
	box-shadow: 0 12px 24px rgba(5, 30, 72, 0.18);
	font-size: 25px;
	font-weight: 900;
}

.ns-how-card:nth-child(2) .ns-how-icon {
	color: var(--ns-navy);
	background: var(--ns-gold);
}

.ns-how-card:nth-child(3) .ns-how-icon {
	background: var(--ns-teal, #129a94);
}

.ns-how-card:nth-child(4) .ns-how-icon {
	background: var(--ns-blue);
}

.ns-how-card h3 {
	margin: 0 0 12px;
	color: var(--ns-navy);
	font-size: 20px;
	line-height: 1.3;
}

.ns-how-card p {
	margin: 0;
	color: var(--ns-muted);
	font-size: 14px;
	line-height: 1.7;
}

.ns-how-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 35px;
	margin-top: 42px;
	padding: 33px 38px;
	border-radius: 16px;
	color: #ffffff;
	background:
		radial-gradient(
			circle at 85% 20%,
			rgba(244, 181, 30, 0.27),
			transparent 30%
		),
		var(--ns-navy);
	box-shadow: 0 18px 40px rgba(5, 30, 72, 0.16);
}

.ns-how-cta h3 {
	margin: 0;
	color: #ffffff;
	font-size: 25px;
}

.ns-how-cta p {
	margin: 8px 0 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
}

.ns-how-cta > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	flex: 0 0 auto;
	min-height: 50px;
	padding: 0 25px;
	border-radius: 8px;
	color: var(--ns-navy);
	background: var(--ns-gold);
	font-size: 14px;
	font-weight: 900;
	transition: 0.2s ease;
}

.ns-how-cta > a:hover {
	transform: translateY(-2px);
	color: var(--ns-navy);
	background: #ffffff;
}

.ns-how-cta > a span {
	font-size: 20px;
}

@media (max-width: 1000px) {
	.ns-how-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ns-how-grid::before {
		display: none;
	}
}

@media (max-width: 650px) {
	.ns-how-section {
		padding: 65px 0;
	}

	.ns-how-grid {
		grid-template-columns: 1fr;
	}

	.ns-how-card {
		min-height: auto;
	}

	.ns-how-cta {
		display: block;
		padding: 30px 24px;
		text-align: center;
	}

	.ns-how-cta > a {
		width: 100%;
		margin-top: 24px;
	}
}


/* ==========================================================
   NanoSkill — Why Choose NanoSkill Section
   ========================================================== */

.ns-why {
	position: relative;
	overflow: hidden;
	padding: 96px 0;
	background: #ffffff;
}

.ns-why::before {
	content: "";
	position: absolute;
	top: -160px;
	right: -120px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: rgba(21, 85, 216, 0.06);
	filter: blur(10px);
	pointer-events: none;
}

.ns-why::after {
	content: "";
	position: absolute;
	bottom: -180px;
	left: -140px;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: rgba(244, 181, 30, 0.08);
	filter: blur(12px);
	pointer-events: none;
}

.ns-why .ns-wrap {
	position: relative;
	z-index: 2;
}

.ns-title {
	max-width: 780px;
	margin: 0 auto 52px;
	text-align: center;
}

.ns-title > span {
	display: inline-block;
	margin-bottom: 14px;
	color: var(--ns-blue);
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ns-title h2 {
	margin: 0;
	color: var(--ns-navy);
	font-size: clamp(36px, 4vw, 54px);
	line-height: 1.1;
	letter-spacing: -0.04em;
}

.ns-title p {
	max-width: 680px;
	margin: 20px auto 0;
	color: var(--ns-muted);
	font-size: 16px;
	line-height: 1.75;
}

.ns-why-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.ns-why-card {
	position: relative;
	min-height: 250px;
	padding: 30px;
	overflow: hidden;
	border: 1px solid var(--ns-border);
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 12px 32px rgba(5, 30, 72, 0.06);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}

.ns-why-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(
		90deg,
		var(--ns-blue),
		var(--ns-gold)
	);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}

.ns-why-card:hover {
	transform: translateY(-7px);
	border-color: rgba(21, 85, 216, 0.22);
	box-shadow: 0 20px 44px rgba(5, 30, 72, 0.12);
}

.ns-why-card:hover::before {
	transform: scaleX(1);
}

.ns-why-card .icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 64px;
	height: 64px;
	margin-bottom: 24px;
	border-radius: 17px;
	color: var(--ns-navy);
	background: #eef4ff;
	font-size: 29px;
	box-shadow: 0 10px 22px rgba(21, 85, 216, 0.1);
}

.ns-why-card:nth-child(2) .icon {
	background: #fff7de;
}

.ns-why-card:nth-child(3) .icon {
	background: #effaf8;
}

.ns-why-card:nth-child(4) .icon {
	background: #f6f0ff;
}

.ns-why-card:nth-child(5) .icon {
	background: #fff1ec;
}

.ns-why-card:nth-child(6) .icon {
	background: #edf6ff;
}

.ns-why-card h3 {
	margin: 0 0 12px;
	color: var(--ns-navy);
	font-size: 21px;
	line-height: 1.3;
}

.ns-why-card p {
	margin: 0;
	color: var(--ns-muted);
	font-size: 14px;
	line-height: 1.7;
}

.ns-why-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	margin-top: 44px;
	padding: 34px 38px;
	border-radius: 18px;
	background:
		radial-gradient(
			circle at 88% 16%,
			rgba(244, 181, 30, 0.26),
			transparent 28%
		),
		linear-gradient(
			135deg,
			var(--ns-navy),
			#0b2c65
		);
	box-shadow: 0 20px 45px rgba(5, 30, 72, 0.18);
}

.ns-why-bottom h3 {
	margin: 0;
	color: #ffffff;
	font-size: clamp(22px, 2.2vw, 30px);
	line-height: 1.3;
}

.ns-primary-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	min-height: 52px;
	padding: 0 26px;
	border-radius: 9px;
	color: var(--ns-navy);
	background: var(--ns-gold);
	font-size: 14px;
	font-weight: 900;
	text-decoration: none;
	transition:
		transform 0.2s ease,
		background 0.2s ease,
		color 0.2s ease;
}

.ns-primary-btn:hover {
	transform: translateY(-2px);
	color: var(--ns-navy);
	background: #ffffff;
}

/* Tablet */

@media (max-width: 1000px) {
	.ns-why-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ns-why-card {
		min-height: 230px;
	}
}

/* Mobile */

@media (max-width: 700px) {
	.ns-why {
		padding: 68px 0;
	}

	.ns-title {
		margin-bottom: 38px;
	}

	.ns-title h2 br {
		display: none;
	}

	.ns-why-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.ns-why-card {
		min-height: auto;
		padding: 26px 23px;
	}

	.ns-why-card .icon {
		width: 58px;
		height: 58px;
		margin-bottom: 20px;
		font-size: 26px;
	}

	.ns-why-bottom {
		display: block;
		padding: 30px 24px;
		text-align: center;
	}

	.ns-primary-btn {
		width: 100%;
		margin-top: 22px;
	}
}



/* ==========================================================
   NanoSkill — Student Success Stories
   ========================================================== */

.ns-testimonials {
	position: relative;
	overflow: hidden;
	padding: 96px 0;
	background:
		radial-gradient(
			circle at 92% 10%,
			rgba(244, 181, 30, 0.12),
			transparent 28%
		),
		linear-gradient(
			180deg,
			#f7faff 0%,
			#edf4ff 100%
		);
}

.ns-testimonials::before {
	content: "";
	position: absolute;
	bottom: -170px;
	left: -140px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: rgba(21, 85, 216, 0.07);
	pointer-events: none;
}

.ns-testimonials .ns-wrap {
	position: relative;
	z-index: 2;
}

/* Header */

.ns-testimonials-header {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 50px;
	margin-bottom: 48px;
}

.ns-testimonials-heading {
	max-width: 720px;
}

.ns-testimonials-heading h2 {
	margin: 0;
	color: var(--ns-navy);
	font-size: clamp(36px, 4vw, 54px);
	line-height: 1.1;
	letter-spacing: -0.04em;
}

.ns-testimonials-heading h2 span {
	display: block;
	color: var(--ns-blue);
}

.ns-testimonials-heading p {
	max-width: 650px;
	margin: 18px 0 0;
	color: var(--ns-muted);
	font-size: 16px;
	line-height: 1.75;
}

/* Review summary */

.ns-testimonial-summary {
	display: flex;
	align-items: center;
	flex: 0 0 auto;
	gap: 24px;
	padding: 22px 25px;
	border: 1px solid rgba(5, 30, 72, 0.08);
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.86);
	box-shadow: 0 14px 35px rgba(5, 30, 72, 0.07);
	backdrop-filter: blur(10px);
}

.ns-summary-score {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ns-summary-score > strong,
.ns-summary-learners strong {
	display: block;
	color: var(--ns-navy);
	font-size: 28px;
	line-height: 1;
}

.ns-summary-stars {
	margin-bottom: 4px;
	color: var(--ns-gold);
	font-size: 13px;
	letter-spacing: 2px;
}

.ns-summary-score span,
.ns-summary-learners span {
	display: block;
	color: var(--ns-muted);
	font-size: 11px;
	white-space: nowrap;
}

.ns-summary-divider {
	width: 1px;
	height: 43px;
	background: var(--ns-border);
}

.ns-summary-learners {
	text-align: left;
}

/* Testimonial cards */

.ns-testimonial-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.ns-testimonial-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 365px;
	padding: 30px;
	border: 1px solid rgba(5, 30, 72, 0.09);
	border-radius: 19px;
	background: #ffffff;
	box-shadow: 0 14px 36px rgba(5, 30, 72, 0.07);
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease;
}

.ns-testimonial-card:hover {
	transform: translateY(-7px);
	box-shadow: 0 22px 45px rgba(5, 30, 72, 0.13);
}

.ns-testimonial-featured {
	color: #ffffff;
	border-color: transparent;
	background:
		radial-gradient(
			circle at 90% 10%,
			rgba(244, 181, 30, 0.25),
			transparent 32%
		),
		linear-gradient(
			145deg,
			var(--ns-navy),
			#0c3477
		);
}

.ns-testimonial-top {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 25px;
}

.ns-testimonial-stars {
	color: var(--ns-gold);
	font-size: 14px;
	letter-spacing: 3px;
}

.ns-testimonial-quote-mark {
	height: 42px;
	color: rgba(21, 85, 216, 0.14);
	font-family: Georgia, serif;
	font-size: 70px;
	line-height: 0.8;
}

.ns-testimonial-featured .ns-testimonial-quote-mark {
	color: rgba(255, 255, 255, 0.18);
}

.ns-testimonial-card blockquote {
	flex: 1;
	margin: 0 0 30px;
	color: var(--ns-navy);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.75;
}

.ns-testimonial-featured blockquote {
	color: #ffffff;
}

/* Student details */

.ns-testimonial-person {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	align-items: center;
	gap: 12px;
	padding-top: 22px;
	border-top: 1px solid var(--ns-border);
}

.ns-testimonial-featured .ns-testimonial-person {
	border-color: rgba(255, 255, 255, 0.16);
}

.ns-student-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	color: var(--ns-navy);
	background: var(--ns-gold);
	font-size: 13px;
	font-weight: 900;
	box-shadow: 0 8px 18px rgba(5, 30, 72, 0.13);
}

.ns-testimonial-card:nth-child(2) .ns-student-avatar {
	color: #ffffff;
	background: var(--ns-blue);
}

.ns-testimonial-card:nth-child(3) .ns-student-avatar {
	color: #ffffff;
	background: #129a94;
}

.ns-student-details {
	min-width: 0;
}

.ns-student-details strong,
.ns-student-details span {
	display: block;
}

.ns-student-details strong {
	color: var(--ns-navy);
	font-size: 14px;
}

.ns-student-details span {
	margin-top: 4px;
	overflow: hidden;
	color: var(--ns-muted);
	font-size: 11px;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.ns-testimonial-featured .ns-student-details strong {
	color: #ffffff;
}

.ns-testimonial-featured .ns-student-details span {
	color: rgba(255, 255, 255, 0.67);
}

.ns-verified-student {
	grid-column: 2;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	width: fit-content;
	margin-top: -5px;
	color: #15936f;
	font-size: 10px;
	font-weight: 800;
}

.ns-verified-student span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	color: #ffffff;
	background: #15936f;
	font-size: 9px;
}

.ns-testimonial-featured .ns-verified-student {
	color: #7ee3c5;
}

.ns-testimonial-featured .ns-verified-student span {
	color: var(--ns-navy);
	background: #7ee3c5;
}

/* Bottom community banner */

.ns-testimonial-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	margin-top: 42px;
	padding: 27px 31px;
	border: 1px solid rgba(5, 30, 72, 0.08);
	border-radius: 17px;
	background: rgba(255, 255, 255, 0.86);
	box-shadow: 0 14px 35px rgba(5, 30, 72, 0.07);
}

.ns-testimonial-bottom-copy {
	display: flex;
	align-items: center;
	gap: 20px;
}

.ns-community-avatars {
	display: flex;
	padding-left: 10px;
}

.ns-community-avatars span {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 43px;
	height: 43px;
	margin-left: -10px;
	border: 3px solid #ffffff;
	border-radius: 50%;
	color: #ffffff;
	background: var(--ns-blue);
	font-size: 10px;
	font-weight: 900;
}

.ns-community-avatars span:nth-child(2) {
	background: var(--ns-navy);
}

.ns-community-avatars span:nth-child(3) {
	color: var(--ns-navy);
	background: var(--ns-gold);
}

.ns-community-avatars span:nth-child(4) {
	background: #129a94;
}

.ns-testimonial-bottom-copy strong {
	display: block;
	color: var(--ns-navy);
	font-size: 16px;
}

.ns-testimonial-bottom-copy p {
	margin: 5px 0 0;
	color: var(--ns-muted);
	font-size: 13px;
}

.ns-testimonial-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	flex: 0 0 auto;
	min-height: 50px;
	padding: 0 24px;
	border-radius: 9px;
	color: #ffffff;
	background: var(--ns-navy);
	font-size: 14px;
	font-weight: 900;
	text-decoration: none;
	transition:
		transform 0.2s ease,
		background 0.2s ease;
}

.ns-testimonial-cta:hover {
	transform: translateY(-2px);
	color: var(--ns-navy);
	background: var(--ns-gold);
}

.ns-testimonial-cta span {
	font-size: 19px;
}

/* Tablet */

@media (max-width: 1000px) {
	.ns-testimonials-header {
		display: block;
	}

	.ns-testimonial-summary {
		width: fit-content;
		margin-top: 28px;
	}

	.ns-testimonial-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.ns-testimonial-grid .ns-testimonial-card:last-child {
		grid-column: 1 / -1;
		max-width: 560px;
		margin: 0 auto;
	}
}

/* Mobile */

@media (max-width: 700px) {
	.ns-testimonials {
		padding: 68px 0;
	}

	.ns-testimonials-heading {
		text-align: center;
	}

	.ns-testimonials-heading h2 span {
		display: inline;
	}

	.ns-testimonials-heading p {
		margin-right: auto;
		margin-left: auto;
	}

	.ns-testimonial-summary {
		justify-content: center;
		width: 100%;
		padding: 19px 16px;
	}

	.ns-summary-score {
		gap: 8px;
	}

	.ns-summary-score > strong,
	.ns-summary-learners strong {
		font-size: 24px;
	}

	.ns-testimonial-grid {
		grid-template-columns: 1fr;
	}

	.ns-testimonial-grid .ns-testimonial-card:last-child {
		grid-column: auto;
		max-width: none;
	}

	.ns-testimonial-card {
		min-height: auto;
		padding: 26px 23px;
	}

	.ns-testimonial-card blockquote {
		font-size: 16px;
	}

	.ns-testimonial-bottom {
		display: block;
		padding: 27px 22px;
		text-align: center;
	}

	.ns-testimonial-bottom-copy {
		display: block;
	}

	.ns-community-avatars {
		justify-content: center;
		margin-bottom: 17px;
	}

	.ns-testimonial-cta {
		width: 100%;
		margin-top: 22px;
	}
}


/* ==========================================================
   NanoSkill — Explore Learning Categories
   ========================================================== */

.ns-categories {
	position: relative;
	overflow: hidden;
	padding: 96px 0;
	background: #ffffff;
}

.ns-categories::before {
	content: "";
	position: absolute;
	top: -170px;
	right: -130px;
	width: 420px;
	height: 420px;
	border-radius: 50%;
	background: rgba(21, 85, 216, 0.05);
	pointer-events: none;
}

.ns-categories::after {
	content: "";
	position: absolute;
	bottom: -180px;
	left: -150px;
	width: 400px;
	height: 400px;
	border-radius: 50%;
	background: rgba(244, 181, 30, 0.07);
	pointer-events: none;
}

.ns-categories .ns-wrap {
	position: relative;
	z-index: 2;
}

.ns-category-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-top: 52px;
}

.ns-category-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 285px;
	padding: 32px;
	overflow: hidden;
	border: 1px solid var(--ns-border);
	border-radius: 18px;
	color: inherit;
	background: #ffffff;
	box-shadow: 0 12px 32px rgba(5, 30, 72, 0.06);
	text-decoration: none;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease,
		border-color 0.25s ease;
}

.ns-category-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 4px;
	background: linear-gradient(
		90deg,
		var(--ns-blue),
		var(--ns-gold)
	);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.25s ease;
}

.ns-category-card::after {
	content: "→";
	position: absolute;
	right: 24px;
	bottom: 22px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	color: var(--ns-navy);
	background: #edf4ff;
	font-size: 19px;
	font-weight: 900;
	transition:
		transform 0.25s ease,
		background 0.25s ease,
		color 0.25s ease;
}

.ns-category-card:hover {
	transform: translateY(-7px);
	border-color: rgba(21, 85, 216, 0.26);
	box-shadow: 0 22px 46px rgba(5, 30, 72, 0.12);
}

.ns-category-card:hover::before {
	transform: scaleX(1);
}

.ns-category-card:hover::after {
	transform: translateX(4px);
	color: var(--ns-navy);
	background: var(--ns-gold);
}

.ns-category-card .icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 68px;
	height: 68px;
	margin-bottom: 24px;
	border-radius: 18px;
	color: var(--ns-navy);
	background: #edf4ff;
	font-size: 31px;
	box-shadow: 0 10px 22px rgba(21, 85, 216, 0.09);
}

.ns-category-card:nth-child(2) .icon {
	background: #fff7de;
}

.ns-category-card:nth-child(3) .icon {
	background: #effaf5;
}

.ns-category-card:nth-child(4) .icon {
	background: #f3efff;
}

.ns-category-card:nth-child(5) .icon {
	background: #fff1ec;
}

.ns-category-card:nth-child(6) .icon {
	background: #edf9ff;
}

.ns-category-card h3 {
	margin: 0;
	color: var(--ns-navy);
	font-size: 22px;
	line-height: 1.3;
}

.ns-category-card p {
	margin: 13px 0 24px;
	color: var(--ns-muted);
	font-size: 14px;
	line-height: 1.7;
}

.ns-category-card > span {
	display: inline-block;
	width: fit-content;
	margin-top: auto;
	padding-right: 55px;
	color: var(--ns-blue);
	font-size: 13px;
	font-weight: 800;
}

.ns-category-card:hover > span {
	color: var(--ns-navy);
}

/* Tablet */

@media (max-width: 1000px) {
	.ns-category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ns-category-card {
		min-height: 265px;
	}
}

/* Mobile */

@media (max-width: 700px) {
	.ns-categories {
		padding: 68px 0;
	}

	.ns-category-grid {
		grid-template-columns: 1fr;
		gap: 18px;
		margin-top: 38px;
	}

	.ns-category-card {
		min-height: auto;
		padding: 26px 23px;
	}

	.ns-category-card .icon {
		width: 60px;
		height: 60px;
		margin-bottom: 20px;
		font-size: 27px;
	}

	.ns-category-card h3 {
		font-size: 20px;
	}
}


<section class="ns-instructor">

	<div class="ns-wrap">

		<div class="ns-instructor-layout">

			<div class="ns-instructor-visual">

				<div class="ns-instructor-image-card">

					<div class="ns-instructor-image-placeholder">
						<span>INSTRUCTOR IMAGE</span>
					</div>

					<div class="ns-instructor-stat ns-stat-students">
						<div class="ns-stat-icon">👨‍🎓</div>

						<div>
							<strong>2,540+</strong>
							<span>Students reached</span>
						</div>
					</div>

					<div class="ns-instructor-stat ns-stat-rating">
						<div class="ns-stat-icon">★</div>

						<div>
							<strong>4.9</strong>
							<span>Instructor rating</span>
						</div>
					</div>

					<div class="ns-instructor-stat ns-stat-global">
						<div class="ns-stat-icon">🌍</div>

						<div>
							<strong>Teach globally</strong>
							<span>Reach learners anywhere</span>
						</div>
					</div>

					<div class="ns-instructor-stat ns-stat-income">
						<div class="ns-stat-icon">↗</div>

						<div>
							<strong>Earn revenue</strong>
							<span>Grow with your courses</span>
						</div>
					</div>

				</div>

			</div>

			<div class="ns-instructor-content">

				<span class="ns-section-label">
					BECOME AN INSTRUCTOR
				</span>

				<h2>
					Share your expertise.
					<span>Teach the world.</span>
					Build your income.
				</h2>

				<p class="ns-instructor-intro">
					Join a growing community of professionals, creators and
					industry experts building practical courses that help
					learners succeed.
				</p>

				<div class="ns-instructor-benefits">

					<div class="ns-instructor-benefit">
						<span>✓</span>

						<div>
							<strong>Build your personal brand</strong>
							<p>
								Position yourself as a trusted expert in your field.
							</p>
						</div>
					</div>

					<div class="ns-instructor-benefit">
						<span>✓</span>

						<div>
							<strong>Earn from your expertise</strong>
							<p>
								Turn your knowledge into valuable learning experiences.
							</p>
						</div>
					</div>

					<div class="ns-instructor-benefit">
						<span>✓</span>

						<div>
							<strong>Reach students worldwide</strong>
							<p>
								Teach learners from different countries and backgrounds.
							</p>
						</div>
					</div>

					<div class="ns-instructor-benefit">
						<span>✓</span>

						<div>
							<strong>Publish courses easily</strong>
							<p>
								Use a structured platform designed for modern instructors.
							</p>
						</div>
					</div>

					<div class="ns-instructor-benefit">
						<span>✓</span>

						<div>
							<strong>Track learner progress</strong>
							<p>
								Understand engagement and improve your course experience.
							</p>
						</div>
					</div>

					<div class="ns-instructor-benefit">
						<span>✓</span>

						<div>
							<strong>Get instructor support</strong>
							<p>
								Receive guidance while creating and managing your courses.
							</p>
						</div>
					</div>

				</div>

				<div class="ns-instructor-actions">

					<a
						href="<?php echo esc_url( home_url( '/become-an-instructor/' ) ); ?>"
						class="ns-instructor-primary"
					>
						Apply as an Instructor
						<span>→</span>
					</a>

					<a
						href="<?php echo esc_url( home_url( '/contact/' ) ); ?>"
						class="ns-instructor-secondary"
					>
						Learn More
					</a>

				</div>

			</div>

		</div>

		<div class="ns-instructor-banner">

			<div>
				<span>START TEACHING WITH NANOSKILL</span>

				<h3>
					Your experience could change someone's career.
				</h3>

				<p>
					Create practical learning experiences and help the next
					generation build useful, career-ready skills.
				</p>
			</div>

			<a href="<?php echo esc_url( home_url( '/become-an-instructor/' ) ); ?>">
				Become an Instructor
				<span>→</span>
			</a>

		</div>

	</div>

</section>


/* ==========================================================
   NanoSkill — Become an Instructor
   ========================================================== */

.ns-instructor {
	position: relative;
	overflow: hidden;
	padding: 100px 0;
	background:
		radial-gradient(
			circle at 8% 15%,
			rgba(244, 181, 30, 0.1),
			transparent 28%
		),
		linear-gradient(
			180deg,
			#f7faff 0%,
			#ffffff 100%
		);
}

.ns-instructor::before {
	content: "";
	position: absolute;
	top: -180px;
	right: -150px;
	width: 440px;
	height: 440px;
	border-radius: 50%;
	background: rgba(21, 85, 216, 0.07);
	pointer-events: none;
}

.ns-instructor .ns-wrap {
	position: relative;
	z-index: 2;
}

.ns-instructor-layout {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	align-items: center;
	gap: 76px;
}

/* Visual area */

.ns-instructor-visual {
	position: relative;
	min-width: 0;
}

.ns-instructor-image-card {
	position: relative;
	min-height: 590px;
	padding: 18px;
	border: 1px solid rgba(5, 30, 72, 0.08);
	border-radius: 28px;
	background: #ffffff;
	box-shadow: 0 28px 65px rgba(5, 30, 72, 0.14);
}

.ns-instructor-image-card::before {
	content: "";
	position: absolute;
	top: -22px;
	left: -22px;
	width: 110px;
	height: 110px;
	border-radius: 28px;
	background: var(--ns-gold);
	opacity: 0.9;
	z-index: -1;
}

.ns-instructor-image-card::after {
	content: "";
	position: absolute;
	right: -26px;
	bottom: -26px;
	width: 150px;
	height: 150px;
	border-radius: 50%;
	background: var(--ns-blue);
	opacity: 0.1;
	z-index: -1;
}

.ns-instructor-image-placeholder,
.ns-instructor-image-card > img {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 554px;
	overflow: hidden;
	border-radius: 20px;
	background:
		linear-gradient(
			135deg,
			rgba(21, 85, 216, 0.9),
			rgba(5, 30, 72, 0.96)
		);
}

.ns-instructor-image-placeholder span {
	padding: 12px 18px;
	border: 1px solid rgba(255, 255, 255, 0.24);
	border-radius: 30px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0.12em;
}

.ns-instructor-image-card > img {
	display: block;
	object-fit: cover;
}

/* Floating statistics */

.ns-instructor-stat {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 175px;
	padding: 14px 16px;
	border: 1px solid rgba(5, 30, 72, 0.08);
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 15px 35px rgba(5, 30, 72, 0.14);
	backdrop-filter: blur(10px);
}

.ns-instructor-stat .ns-stat-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	color: var(--ns-navy);
	background: #edf4ff;
	font-size: 19px;
	font-weight: 900;
}

.ns-instructor-stat strong,
.ns-instructor-stat span {
	display: block;
}

.ns-instructor-stat strong {
	color: var(--ns-navy);
	font-size: 13px;
	line-height: 1.3;
}

.ns-instructor-stat span {
	margin-top: 3px;
	color: var(--ns-muted);
	font-size: 10px;
}

.ns-stat-students {
	top: 58px;
	left: -46px;
}

.ns-stat-rating {
	top: 180px;
	right: -48px;
}

.ns-stat-rating .ns-stat-icon {
	color: var(--ns-navy);
	background: var(--ns-gold);
}

.ns-stat-global {
	right: -32px;
	bottom: 130px;
}

.ns-stat-global .ns-stat-icon {
	background: #effaf5;
}

.ns-stat-income {
	bottom: 36px;
	left: -40px;
}

.ns-stat-income .ns-stat-icon {
	color: #ffffff;
	background: var(--ns-blue);
}

/* Content */

.ns-instructor-content h2 {
	margin: 0;
	color: var(--ns-navy);
	font-size: clamp(38px, 4.2vw, 58px);
	line-height: 1.08;
	letter-spacing: -0.045em;
}

.ns-instructor-content h2 span {
	display: block;
	color: var(--ns-blue);
}

.ns-instructor-intro {
	max-width: 660px;
	margin: 21px 0 0;
	color: var(--ns-muted);
	font-size: 16px;
	line-height: 1.75;
}

.ns-instructor-benefits {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px 24px;
	margin-top: 35px;
}

.ns-instructor-benefit {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.ns-instructor-benefit > span {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 27px;
	height: 27px;
	margin-top: 2px;
	border-radius: 50%;
	color: #ffffff;
	background: var(--ns-blue);
	font-size: 12px;
	font-weight: 900;
	box-shadow: 0 7px 16px rgba(21, 85, 216, 0.2);
}

.ns-instructor-benefit strong {
	display: block;
	color: var(--ns-navy);
	font-size: 14px;
	line-height: 1.4;
}

.ns-instructor-benefit p {
	margin: 5px 0 0;
	color: var(--ns-muted);
	font-size: 12px;
	line-height: 1.6;
}

.ns-instructor-actions {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 38px;
}

.ns-instructor-primary,
.ns-instructor-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 0 25px;
	border-radius: 9px;
	font-size: 14px;
	font-weight: 900;
	text-decoration: none;
	transition:
		transform 0.2s ease,
		background 0.2s ease,
		color 0.2s ease,
		border-color 0.2s ease;
}

.ns-instructor-primary {
	gap: 15px;
	color: #ffffff;
	background: var(--ns-navy);
	box-shadow: 0 12px 25px rgba(5, 30, 72, 0.18);
}

.ns-instructor-primary span {
	font-size: 19px;
}

.ns-instructor-primary:hover {
	transform: translateY(-2px);
	color: var(--ns-navy);
	background: var(--ns-gold);
}

.ns-instructor-secondary {
	border: 1px solid var(--ns-border);
	color: var(--ns-navy);
	background: #ffffff;
}

.ns-instructor-secondary:hover {
	transform: translateY(-2px);
	border-color: var(--ns-blue);
	color: var(--ns-blue);
}

/* Bottom banner */

.ns-instructor-banner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	margin-top: 78px;
	padding: 38px 42px;
	border-radius: 20px;
	color: #ffffff;
	background:
		radial-gradient(
			circle at 85% 15%,
			rgba(244, 181, 30, 0.28),
			transparent 30%
		),
		linear-gradient(
			135deg,
			var(--ns-navy),
			#0b3477
		);
	box-shadow: 0 22px 50px rgba(5, 30, 72, 0.19);
}

.ns-instructor-banner > div {
	max-width: 760px;
}

.ns-instructor-banner > div > span {
	display: block;
	margin-bottom: 10px;
	color: var(--ns-gold);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.14em;
}

.ns-instructor-banner h3 {
	margin: 0;
	color: #ffffff;
	font-size: clamp(24px, 2.6vw, 34px);
	line-height: 1.25;
}

.ns-instructor-banner p {
	margin: 10px 0 0;
	color: rgba(255, 255, 255, 0.7);
	font-size: 13px;
	line-height: 1.7;
}

.ns-instructor-banner > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	flex: 0 0 auto;
	min-height: 52px;
	padding: 0 25px;
	border-radius: 9px;
	color: var(--ns-navy);
	background: var(--ns-gold);
	font-size: 14px;
	font-weight: 900;
	text-decoration: none;
	transition:
		transform 0.2s ease,
		background 0.2s ease;
}

.ns-instructor-banner > a:hover {
	transform: translateY(-2px);
	color: var(--ns-navy);
	background: #ffffff;
}

.ns-instructor-banner > a span {
	font-size: 19px;
}

/* Tablet */

@media (max-width: 1050px) {
	.ns-instructor-layout {
		grid-template-columns: 1fr;
		gap: 70px;
	}

	.ns-instructor-visual {
		width: min(100%, 620px);
		margin: 0 auto;
	}

	.ns-instructor-content {
		max-width: 800px;
		margin: 0 auto;
		text-align: center;
	}

	.ns-instructor-intro {
		margin-right: auto;
		margin-left: auto;
	}

	.ns-instructor-benefit {
		text-align: left;
	}

	.ns-instructor-actions {
		justify-content: center;
	}
}

/* Mobile */

@media (max-width: 700px) {
	.ns-instructor {
		padding: 70px 0;
	}

	.ns-instructor-layout {
		gap: 55px;
	}

	.ns-instructor-image-card {
		min-height: auto;
		padding: 12px;
		border-radius: 22px;
	}

	.ns-instructor-image-placeholder,
	.ns-instructor-image-card > img {
		height: 420px;
		border-radius: 16px;
	}

	.ns-instructor-stat {
		position: static;
		min-width: 0;
		margin-top: 12px;
	}

	.ns-instructor-image-card {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 10px;
	}

	.ns-instructor-image-placeholder,
	.ns-instructor-image-card > img {
		grid-column: 1 / -1;
	}

	.ns-instructor-stat {
		padding: 12px;
	}

	.ns-instructor-stat .ns-stat-icon {
		width: 37px;
		height: 37px;
	}

	.ns-instructor-content h2 span {
		display: inline;
	}

	.ns-instructor-benefits {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.ns-instructor-actions {
		display: block;
	}

	.ns-instructor-primary,
	.ns-instructor-secondary {
		width: 100%;
	}

	.ns-instructor-secondary {
		margin-top: 12px;
	}

	.ns-instructor-banner {
		display: block;
		margin-top: 58px;
		padding: 31px 24px;
		text-align: center;
	}

	.ns-instructor-banner > a {
		width: 100%;
		margin-top: 24px;
	}
}

@media (max-width: 460px) {
	.ns-instructor-image-card {
		grid-template-columns: 1fr;
	}

	.ns-instructor-image-placeholder,
	.ns-instructor-image-card > img {
		grid-column: auto;
		height: 360px;
	}
}


/* ==========================================================
   NanoSkill — Scholarships
   ========================================================== */

.ns-scholarships {
	position: relative;
	overflow: hidden;
	padding: 110px 0;
	background:
		linear-gradient(
			180deg,
			#ffffff 0%,
			#f4f8ff 48%,
			#ffffff 100%
		);
}

.ns-scholarships .ns-wrap {
	position: relative;
	z-index: 3;
}

/* Decorative background glows */

.ns-scholarship-glow {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
	filter: blur(3px);
}

.ns-scholarship-glow-one {
	top: 70px;
	right: -180px;
	width: 470px;
	height: 470px;
	background: rgba(21, 85, 216, 0.07);
	animation: nsScholarshipFloat 9s ease-in-out infinite;
}

.ns-scholarship-glow-two {
	bottom: 160px;
	left: -160px;
	width: 390px;
	height: 390px;
	background: rgba(244, 181, 30, 0.1);
	animation: nsScholarshipFloat 11s ease-in-out infinite reverse;
}


/* Section heading */

.ns-scholarship-header {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.65fr);
	align-items: end;
	gap: 80px;
	margin-bottom: 58px;
}

.ns-scholarship-heading h2 {
	max-width: 780px;
	margin: 0;
	color: var(--ns-navy);
	font-size: clamp(40px, 5vw, 66px);
	line-height: 1.06;
	letter-spacing: -0.05em;
}

.ns-scholarship-heading h2 span {
	display: block;
	color: var(--ns-blue);
}

.ns-scholarship-intro p {
	margin: 0;
	color: var(--ns-muted);
	font-size: 15px;
	line-height: 1.8;
}

.ns-scholarship-text-link {
	display: inline-flex;
	align-items: center;
	gap: 13px;
	margin-top: 19px;
	color: var(--ns-navy);
	font-size: 13px;
	font-weight: 900;
	text-decoration: none;
}

.ns-scholarship-text-link span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	color: var(--ns-navy);
	background: var(--ns-gold);
	transition:
		transform 0.25s ease,
		background 0.25s ease;
}

.ns-scholarship-text-link:hover span {
	transform: translateX(5px);
	background: #ffffff;
	box-shadow: 0 7px 18px rgba(5, 30, 72, 0.14);
}


/* Scholarship grid */

.ns-scholarship-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 25px;
}

.ns-scholarship-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 530px;
	padding: 32px;
	overflow: hidden;
	border: 1px solid rgba(5, 30, 72, 0.09);
	border-radius: 22px;
	background: rgba(255, 255, 255, 0.93);
	box-shadow: 0 16px 42px rgba(5, 30, 72, 0.07);
	backdrop-filter: blur(12px);
	opacity: 0;
	transform: translateY(35px);
	animation: nsScholarshipReveal 0.75s ease forwards;
	transition:
		transform 0.35s ease,
		box-shadow 0.35s ease,
		border-color 0.35s ease;
}

.ns-scholarship-card:nth-child(1) {
	animation-delay: 0.05s;
}

.ns-scholarship-card:nth-child(2) {
	animation-delay: 0.15s;
}

.ns-scholarship-card:nth-child(3) {
	animation-delay: 0.25s;
}

.ns-scholarship-card:nth-child(4) {
	animation-delay: 0.35s;
}

.ns-scholarship-card::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 5px;
	background: linear-gradient(
		90deg,
		var(--ns-blue),
		var(--ns-gold)
	);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.35s ease;
}

.ns-scholarship-card::after {
	content: "";
	position: absolute;
	right: -75px;
	bottom: -90px;
	width: 190px;
	height: 190px;
	border-radius: 50%;
	background: rgba(21, 85, 216, 0.04);
	transition:
		transform 0.4s ease,
		background 0.4s ease;
}

.ns-scholarship-card:hover {
	transform: translateY(-10px);
	border-color: rgba(21, 85, 216, 0.22);
	box-shadow: 0 28px 60px rgba(5, 30, 72, 0.13);
}

.ns-scholarship-card:hover::before {
	transform: scaleX(1);
}

.ns-scholarship-card:hover::after {
	transform: scale(1.25);
	background: rgba(244, 181, 30, 0.09);
}


/* Featured scholarship */

.ns-scholarship-featured {
	color: blue;
	border-color: transparent;
	background:
		radial-gradient(
			circle at 85% 15%,
			rgba(244, 181, 30, 0.22),
			transparent 28%
		),
		linear-gradient(
			145deg,
			#051e48 0%,
			#0a3479 100%
		);
	box-shadow: 0 24px 58px rgba(5, 30, 72, 0.22);
}

.ns-scholarship-featured::after {
	background: rgba(255, 255, 255, 0.05);
}

.ns-scholarship-featured:hover::after {
	background: rgba(244, 181, 30, 0.1);
}


/* Top row */

.ns-scholarship-card-top {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.ns-scholarship-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 17px;
	color: var(--ns-navy);
	background: #edf4ff;
	box-shadow: 0 10px 24px rgba(21, 85, 216, 0.12);
}

.ns-scholarship-icon span {
	font-size: 16px;
	font-weight: 900;
	letter-spacing: 0.03em;
}

.ns-scholarship-featured .ns-scholarship-icon {
	background: var(--ns-gold);
}

.ns-scholarship-status {
	padding: 8px 13px;
	border: 1px solid rgba(5, 30, 72, 0.09);
	border-radius: 30px;
	color: var(--ns-blue);
	background: #f4f8ff;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ns-scholarship-featured .ns-scholarship-status {
	border-color: rgba(255, 255, 255, 0.16);
	color: #ffffff;
	background: rgba(255, 255, 255, 0.09);
}


/* Scholarship content */

.ns-scholarship-card-content {
	position: relative;
	z-index: 2;
	margin-top: 35px;
}

.ns-scholarship-category {
	display: block;
	margin-bottom: 11px;
	color: blue;
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.ns-scholarship-featured .ns-scholarship-category {
	color: gold;
}

.ns-scholarship-card h3 {
	margin: 0;
	color: navy;
	font-size: clamp(25px, 2.4vw, 34px);
	line-height: 1.18;
	letter-spacing: -0.03em;
}

.ns-scholarship-featured h3 {
	color: blue;
}

.ns-scholarship-card-content > p {
	margin: 17px 0 0;
	color: navy
	font-size: 13px;
	line-height: 1.75;
}

.ns-scholarship-featured .ns-scholarship-card-content > p {
	color: rgba(255, 255, 255, 0.72);
}


/* Benefit list */

.ns-scholarship-benefits {
	display: grid;
	gap: 12px;
	margin: 26px 0 0;
	padding: 0;
	list-style: none;
}

.ns-scholarship-benefits li {
	display: flex;
	align-items: center;
	gap: 11px;
	color: #051e48;
	font-size: 12px;
	font-weight: 700;
}

.ns-scholarship-benefits li span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	color: #051e48;
	background: var(--ns-blue);
	font-size: 10px;
	font-weight: 900;
}

.ns-scholarship-featured .ns-scholarship-benefits li {
	color: rgba(255, 255, 255, 0.9);
}

.ns-scholarship-featured .ns-scholarship-benefits li span {
	color: #051e48;
	background: var(--ns-gold);
}


/* Card links */

.ns-scholarship-card-link {
	position: relative;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	width: 100%;
	margin-top: auto;
	padding-top: 26px;
	border-top: 1px solid rgba(5, 30, 72, 0.09);
	color: #051e48;
	font-size: 13px;
	font-weight: 900;
	text-decoration: none;
}

.ns-scholarship-card-link span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	color: #051e48;
	background: #edf4ff;
	font-size: 17px;
	transition:
		transform 0.25s ease,
		background 0.25s ease;
}

.ns-scholarship-card-link:hover span {
	transform: translateX(5px);
	background: var(--ns-gold);
}

.ns-scholarship-featured .ns-scholarship-card-link {
	border-top-color: rgba(255, 255, 255, 0.13);
	color: #ffffff;
}

.ns-scholarship-featured .ns-scholarship-card-link span {
	background: var(--ns-gold);
}


/* Partnership CTA */

.ns-scholarship-cta {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 60px;
	margin-top: 34px;
	padding: 50px;
	overflow: hidden;
	border-radius: 25px;
	color: #ffffff;
	background:
		linear-gradient(
			135deg,
			#081f49 0%,
			#12469b 100%
		);
	box-shadow: 0 26px 60px rgba(5, 30, 72, 0.2);
}

.ns-scholarship-cta-pattern {
	position: absolute;
	top: -130px;
	right: -40px;
	width: 330px;
	height: 330px;
	border: 70px solid rgba(244, 181, 30, 0.1);
	border-radius: 50%;
	animation: nsScholarshipSpin 22s linear infinite;
}

.ns-scholarship-cta-content {
	position: relative;
	z-index: 2;
	max-width: 720px;
}

.ns-scholarship-cta-content > span {
	display: block;
	margin-bottom: 12px;
	color: var(--ns-gold);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.15em;
}

.ns-scholarship-cta h3 {
	margin: 0;
	color: #ffffff;
	font-size: clamp(29px, 3.4vw, 43px);
	line-height: 1.15;
	letter-spacing: -0.035em;
}

.ns-scholarship-cta p {
	margin: 14px 0 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	line-height: 1.75;
}

.ns-scholarship-cta-actions {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 245px;
}

.ns-scholarship-apply,
.ns-scholarship-partner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	min-height: 54px;
	padding: 0 24px;
	border-radius: 10px;
	font-size: 13px;
	font-weight: 900;
	text-decoration: none;
	transition:
		transform 0.25s ease,
		background 0.25s ease,
		color 0.25s ease,
		border-color 0.25s ease;
}

.ns-scholarship-apply {
	color: var(--ns-navy);
	background: var(--ns-gold);
	box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.ns-scholarship-apply span {
	font-size: 18px;
}

.ns-scholarship-apply:hover {
	transform: translateY(-3px);
	color: var(--ns-navy);
	background: #ffffff;
}

.ns-scholarship-partner {
	border: 1px solid rgba(255, 255, 255, 0.28);
	color: #ffffff;
	background: rgba(255, 255, 255, 0.07);
	backdrop-filter: blur(8px);
}

.ns-scholarship-partner:hover {
	transform: translateY(-3px);
	border-color: var(--ns-gold);
	color: var(--ns-navy);
	background: var(--ns-gold);
}


/* Animations */

@keyframes nsScholarshipReveal {
	from {
		opacity: 0;
		transform: translateY(35px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes nsScholarshipFloat {
	0%,
	100% {
		transform: translate3d(0, 0, 0);
	}

	50% {
		transform: translate3d(0, -25px, 0);
	}
}

@keyframes nsScholarshipSpin {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}


/* Tablet */

@media (max-width: 1050px) {
	.ns-scholarship-header {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.ns-scholarship-intro {
		max-width: 700px;
	}

	.ns-scholarship-cta {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.ns-scholarship-cta-actions {
		flex-direction: row;
		min-width: 0;
	}

	.ns-scholarship-apply,
	.ns-scholarship-partner {
		flex: 1;
	}
}


/* Mobile */

@media (max-width: 760px) {
	.ns-scholarships {
		padding: 75px 0;
	}

	.ns-scholarship-header {
		margin-bottom: 40px;
	}

	.ns-scholarship-heading h2 span {
		display: inline;
	}

	.ns-scholarship-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.ns-scholarship-card {
		min-height: auto;
		padding: 25px;
	}

	.ns-scholarship-card-top {
		align-items: flex-start;
	}

	.ns-scholarship-status {
		max-width: 135px;
		text-align: center;
		line-height: 1.4;
	}

	.ns-scholarship-card-link {
		margin-top: 35px;
	}

	.ns-scholarship-cta {
		margin-top: 24px;
		padding: 36px 25px;
		text-align: center;
	}

	.ns-scholarship-cta-actions {
		flex-direction: column;
	}

	.ns-scholarship-apply,
	.ns-scholarship-partner {
		width: 100%;
	}
}


/* Small phones */

@media (max-width: 430px) {
	.ns-scholarship-card-top {
		display: block;
	}

	.ns-scholarship-status {
		display: inline-block;
		max-width: none;
		margin-top: 14px;
	}

	.ns-scholarship-card h3 {
		font-size: 26px;
	}
}


/* Accessibility: reduce animation for users who request it */

@media (prefers-reduced-motion: reduce) {
	.ns-scholarship-card,
	.ns-scholarship-glow,
	.ns-scholarship-cta-pattern {
		opacity: 1;
		transform: none;
		animation: none;
		transition: none;
	}
}


/* ==========================================================
   NanoSkill — Frequently Asked Questions
   ========================================================== */

.ns-faq {
	position: relative;
	overflow: hidden;
	padding: 100px 0;
	background: #ffffff;
}

.ns-faq .ns-wrap {
	position: relative;
	z-index: 3;
}


/* Decorative elements */

.ns-faq-orb {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.ns-faq-orb-one {
	top: 110px;
	left: -150px;
	width: 330px;
	height: 330px;
	background: rgba(21, 85, 216, 0.05);
	animation: nsFaqFloat 10s ease-in-out infinite;
}

.ns-faq-orb-two {
	right: -120px;
	bottom: 60px;
	width: 270px;
	height: 270px;
	background: rgba(244, 181, 30, 0.08);
	animation: nsFaqFloat 12s ease-in-out infinite reverse;
}


/* Main layout */

.ns-faq-layout {
	display: grid;
	grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
	align-items: start;
	gap: 76px;
}


/* Left content */

.ns-faq-intro {
	position: sticky;
	top: 110px;
}

.ns-faq-intro h2 {
	max-width: 530px;
	margin: 0;
	color: var(--ns-navy);
	font-size: clamp(37px, 4.2vw, 57px);
	line-height: 1.08;
	letter-spacing: -0.045em;
}

.ns-faq-intro h2 span {
	display: block;
	color: var(--ns-blue);
}

.ns-faq-intro > p {
	max-width: 490px;
	margin: 19px 0 0;
	color: var(--ns-muted);
	font-size: 14px;
	line-height: 1.75;
}


/* Small support card */

.ns-faq-support-card {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr);
	gap: 13px;
	margin-top: 31px;
	padding: 18px;
	border: 1px solid rgba(5, 30, 72, 0.08);
	border-radius: 15px;
	background: #f7faff;
	box-shadow: 0 12px 30px rgba(5, 30, 72, 0.06);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease,
		border-color 0.3s ease;
}

.ns-faq-support-card:hover {
	transform: translateY(-4px);
	border-color: rgba(21, 85, 216, 0.2);
	box-shadow: 0 18px 38px rgba(5, 30, 72, 0.1);
}

.ns-faq-support-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	color: var(--ns-navy);
	background: var(--ns-gold);
	font-size: 17px;
	font-weight: 900;
	box-shadow: 0 8px 18px rgba(244, 181, 30, 0.22);
}

.ns-faq-support-copy strong,
.ns-faq-support-copy span {
	display: block;
}

.ns-faq-support-copy strong {
	color: var(--ns-navy);
	font-size: 13px;
	line-height: 1.4;
}

.ns-faq-support-copy span {
	margin-top: 3px;
	color: var(--ns-muted);
	font-size: 11px;
	line-height: 1.5;
}

.ns-faq-support-card > a {
	grid-column: 2;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	width: fit-content;
	margin-top: 1px;
	color: var(--ns-blue);
	font-size: 11px;
	font-weight: 900;
	text-decoration: none;
}

.ns-faq-support-card > a span {
	transition: transform 0.25s ease;
}

.ns-faq-support-card > a:hover span {
	transform: translateX(4px);
}


/* Mini statistics */

.ns-faq-mini-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-top: 13px;
}

.ns-faq-mini-stats > div {
	padding: 14px 15px;
	border: 1px solid rgba(5, 30, 72, 0.07);
	border-radius: 12px;
	background: #ffffff;
}

.ns-faq-mini-stats strong,
.ns-faq-mini-stats span {
	display: block;
}

.ns-faq-mini-stats strong {
	color: var(--ns-navy);
	font-size: 13px;
}

.ns-faq-mini-stats span {
	margin-top: 3px;
	color: var(--ns-muted);
	font-size: 9px;
	line-height: 1.4;
}


/* FAQ list */

.ns-faq-list {
	display: grid;
	gap: 11px;
	min-width: 0;
}

.ns-faq-item {
	overflow: hidden;
	border: 1px solid rgba(5, 30, 72, 0.09);
	border-radius: 14px;
	background: #ffffff;
	box-shadow: 0 8px 22px rgba(5, 30, 72, 0.045);
	opacity: 0;
	transform: translateY(20px);
	animation: nsFaqReveal 0.55s ease forwards;
	transition:
		border-color 0.3s ease,
		box-shadow 0.3s ease,
		transform 0.3s ease;
}

.ns-faq-item:nth-child(1) {
	animation-delay: 0.04s;
}

.ns-faq-item:nth-child(2) {
	animation-delay: 0.08s;
}

.ns-faq-item:nth-child(3) {
	animation-delay: 0.12s;
}

.ns-faq-item:nth-child(4) {
	animation-delay: 0.16s;
}

.ns-faq-item:nth-child(5) {
	animation-delay: 0.20s;
}

.ns-faq-item:nth-child(6) {
	animation-delay: 0.24s;
}

.ns-faq-item:nth-child(7) {
	animation-delay: 0.28s;
}

.ns-faq-item:nth-child(8) {
	animation-delay: 0.32s;
}

.ns-faq-item:hover {
	transform: translateY(-2px);
	border-color: rgba(21, 85, 216, 0.18);
	box-shadow: 0 13px 30px rgba(5, 30, 72, 0.075);
}

.ns-faq-item[open] {
	border-color: rgba(21, 85, 216, 0.2);
	box-shadow: 0 14px 34px rgba(5, 30, 72, 0.08);
}


/* Question row */

.ns-faq-item summary {
	position: relative;
	display: grid;
	grid-template-columns: 34px minmax(0, 1fr) 28px;
	align-items: center;
	gap: 13px;
	min-height: 70px;
	padding: 13px 17px;
	cursor: pointer;
	list-style: none;
	user-select: none;
}

.ns-faq-item summary::-webkit-details-marker {
	display: none;
}

.ns-faq-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 10px;
	color: var(--ns-blue);
	background: #edf4ff;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.05em;
	transition:
		color 0.3s ease,
		background 0.3s ease,
		transform 0.3s ease;
}

.ns-faq-item[open] .ns-faq-number {
	color: var(--ns-navy);
	background: var(--ns-gold);
	transform: rotate(-5deg);
}

.ns-faq-question {
	color: var(--ns-navy);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.45;
}


/* Plus and minus icon */

.ns-faq-toggle {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: #f4f7fc;
	transition:
		transform 0.3s ease,
		background 0.3s ease;
}

.ns-faq-toggle::before,
.ns-faq-toggle::after {
	content: "";
	position: absolute;
	width: 10px;
	height: 1.5px;
	border-radius: 3px;
	background: var(--ns-navy);
	transition: transform 0.3s ease;
}

.ns-faq-toggle::after {
	transform: rotate(90deg);
}

.ns-faq-item[open] .ns-faq-toggle {
	transform: rotate(180deg);
	background: var(--ns-gold);
}

.ns-faq-item[open] .ns-faq-toggle::after {
	transform: rotate(0deg);
}


/* Answer */

.ns-faq-answer {
	display: grid;
	grid-template-rows: 0fr;
	padding: 0 18px 0 64px;
	border-top: 1px solid transparent;
	opacity: 0;
	transition:
		grid-template-rows 0.38s ease,
		padding 0.38s ease,
		opacity 0.3s ease,
		border-color 0.3s ease;
}

.ns-faq-item[open] .ns-faq-answer {
	grid-template-rows: 1fr;
	padding-top: 15px;
	padding-bottom: 19px;
	border-top-color: rgba(5, 30, 72, 0.06);
	opacity: 1;
}

.ns-faq-answer > * {
	overflow: hidden;
}

.ns-faq-answer p {
	max-width: 650px;
	margin: 0;
	color: var(--ns-muted);
	font-size: 12px;
	line-height: 1.75;
}

.ns-faq-answer a {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	width: fit-content;
	margin-top: 11px;
	color: var(--ns-blue);
	font-size: 11px;
	font-weight: 900;
	text-decoration: none;
}

.ns-faq-answer a span {
	transition: transform 0.25s ease;
}

.ns-faq-answer a:hover span {
	transform: translateX(4px);
}


/* Animations */

@keyframes nsFaqReveal {
	from {
		opacity: 0;
		transform: translateY(20px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes nsFaqFloat {
	0%,
	100% {
		transform: translate3d(0, 0, 0);
	}

	50% {
		transform: translate3d(0, -18px, 0);
	}
}


/* Tablet */

@media (max-width: 980px) {
	.ns-faq-layout {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.ns-faq-intro {
		position: static;
		max-width: 720px;
	}

	.ns-faq-intro h2 {
		max-width: 650px;
	}

	.ns-faq-support-card {
		max-width: 480px;
	}

	.ns-faq-mini-stats {
		max-width: 480px;
	}
}


/* Mobile */

@media (max-width: 700px) {
	.ns-faq {
		padding: 72px 0;
	}

	.ns-faq-layout {
		gap: 37px;
	}

	.ns-faq-intro h2 span {
		display: inline;
	}

	.ns-faq-item summary {
		grid-template-columns: 31px minmax(0, 1fr) 26px;
		gap: 10px;
		min-height: 66px;
		padding: 12px 13px;
	}

	.ns-faq-number {
		width: 31px;
		height: 31px;
		border-radius: 9px;
	}

	.ns-faq-question {
		font-size: 12px;
	}

	.ns-faq-answer {
		padding-right: 15px;
		padding-left: 54px;
	}

	.ns-faq-item[open] .ns-faq-answer {
		padding-top: 13px;
		padding-bottom: 17px;
	}

	.ns-faq-mini-stats {
		grid-template-columns: 1fr 1fr;
	}
}


/* Small mobile */

@media (max-width: 430px) {
	.ns-faq-support-card {
		grid-template-columns: 38px minmax(0, 1fr);
		padding: 15px;
	}

	.ns-faq-support-icon {
		width: 38px;
		height: 38px;
	}

	.ns-faq-answer {
		padding-left: 14px;
	}

	.ns-faq-item[open] .ns-faq-answer {
		padding-right: 14px;
		padding-left: 14px;
	}
}


/* Reduced motion accessibility */

@media (prefers-reduced-motion: reduce) {
	.ns-faq-item,
	.ns-faq-orb,
	.ns-faq-toggle,
	.ns-faq-toggle::before,
	.ns-faq-toggle::after,
	.ns-faq-number {
		opacity: 1;
		transform: none;
		animation: none;
		transition: none;
	}
} 
  
  /*==================================================
FINAL CTA
==================================================*/

.ns-final-cta{

padding:120px 0;

background:
linear-gradient(
180deg,
#ffffff,
#f6f9ff
);

position:relative;

overflow:hidden;

}

.ns-final-container{

max-width:1100px;

margin:auto;

text-align:center;

}

.ns-final-container h2{

font-size:clamp(42px,5vw,72px);

line-height:1.05;

color:var(--ns-navy);

margin:20px 0;

letter-spacing:-2px;

}

.ns-final-container h2 span{

color:var(--ns-blue);

}

.ns-final-intro{

max-width:700px;

margin:0 auto 70px;

color:var(--ns-muted);

line-height:1.8;

font-size:15px;

}

.ns-final-options{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:24px;

margin-bottom:60px;

}

.ns-final-card{

background:#fff;

border-radius:20px;

padding:35px;

border:1px solid var(--ns-border);

box-shadow:0 15px 40px rgba(0,0,0,.05);

transition:.35s;

animation:fadeUp .7s ease both;

}

.ns-final-card:nth-child(2){

animation-delay:.15s;

}

.ns-final-card:nth-child(3){

animation-delay:.3s;

}

.ns-final-card:hover{

transform:translateY(-10px);

box-shadow:0 28px 60px rgba(0,0,0,.12);

border-color:var(--ns-blue);

}

.ns-final-icon{

width:62px;

height:62px;

margin:auto;

margin-bottom:22px;

border-radius:18px;

display:flex;

align-items:center;

justify-content:center;

font-size:30px;

background:#edf4ff;

}

.ns-final-card h3{

font-size:22px;

margin-bottom:15px;

color:var(--ns-navy);

}

.ns-final-card p{

font-size:14px;

line-height:1.8;

margin-bottom:25px;

color:var(--ns-muted);

}

.ns-final-card a{

font-weight:700;

text-decoration:none;

color:var(--ns-blue);

}

.ns-final-card a:hover{

color:var(--ns-gold);

}

.ns-final-bottom{

display:flex;

justify-content:center;

gap:18px;

}

.ns-final-primary{

padding:16px 38px;

background:var(--ns-blue);

color:#fff;

border-radius:12px;

text-decoration:none;

font-weight:700;

transition:.3s;

}

.ns-final-primary:hover{

background:var(--ns-navy);

transform:translateY(-3px);

}

.ns-final-secondary{

padding:16px 38px;

border:1px solid var(--ns-border);

border-radius:12px;

text-decoration:none;

color:var(--ns-navy);

transition:.3s;

}

.ns-final-secondary:hover{

background:#fff;

border-color:var(--ns-blue);

}

@keyframes fadeUp{

from{

opacity:0;

transform:translateY(35px);

}

to{

opacity:1;

transform:translateY(0);

}

}

@media(max-width:900px){

.ns-final-options{

grid-template-columns:1fr;

}

.ns-final-bottom{

flex-direction:column;

}

.ns-final-primary,

.ns-final-secondary{

width:100%;

}

}
  
/* ==========================================================
   NanoSkill — Trust Strip
   ========================================================== */

.ns-trust-strip {
	position: relative;
	padding: 24px 0;
	overflow: hidden;
	border-top: 1px solid rgba(5, 30, 72, 0.07);
	border-bottom: 1px solid rgba(5, 30, 72, 0.07);
	background:
		linear-gradient(
			90deg,
			#ffffff 0%,
			#f7faff 50%,
			#ffffff 100%
		);
}

.ns-trust-strip::before {
	content: "";
	position: absolute;
	top: -85px;
	left: 14%;
	width: 190px;
	height: 190px;
	border-radius: 50%;
	background: rgba(21, 85, 216, 0.045);
	animation: nsTrustFloat 9s ease-in-out infinite;
	pointer-events: none;
}

.ns-trust-strip::after {
	content: "";
	position: absolute;
	right: 8%;
	bottom: -105px;
	width: 210px;
	height: 210px;
	border-radius: 50%;
	background: rgba(244, 181, 30, 0.07);
	animation: nsTrustFloat 11s ease-in-out infinite reverse;
	pointer-events: none;
}

.ns-trust-strip .ns-wrap {
	position: relative;
	z-index: 2;
}

.ns-trust-grid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	align-items: stretch;
	gap: 0;
	border: 1px solid rgba(5, 30, 72, 0.07);
	border-radius: 16px;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 12px 35px rgba(5, 30, 72, 0.055);
	backdrop-filter: blur(10px);
}

.ns-trust-item {
	position: relative;
	display: flex;
	align-items: center;
	gap: 10px;
	min-width: 0;
	padding: 16px 15px;
	opacity: 0;
	transform: translateY(14px);
	animation: nsTrustReveal 0.55s ease forwards;
	transition:
		background 0.28s ease,
		transform 0.28s ease;
}

.ns-trust-item:not(:last-child)::after {
	content: "";
	position: absolute;
	top: 22%;
	right: 0;
	width: 1px;
	height: 56%;
	background: rgba(5, 30, 72, 0.07);
}

.ns-trust-item:nth-child(1) {
	animation-delay: 0.04s;
}

.ns-trust-item:nth-child(2) {
	animation-delay: 0.09s;
}

.ns-trust-item:nth-child(3) {
	animation-delay: 0.14s;
}

.ns-trust-item:nth-child(4) {
	animation-delay: 0.19s;
}

.ns-trust-item:nth-child(5) {
	animation-delay: 0.24s;
}

.ns-trust-item:nth-child(6) {
	animation-delay: 0.29s;
}

.ns-trust-item:hover {
	transform: translateY(-3px);
	background: #ffffff;
}

.ns-trust-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	color: var(--ns-blue);
	background: #edf4ff;
	transition:
		color 0.28s ease,
		background 0.28s ease,
		transform 0.28s ease;
}

.ns-trust-item:hover .ns-trust-icon {
	transform: rotate(-4deg) scale(1.04);
	color: var(--ns-navy);
	background: var(--ns-gold);
}

.ns-trust-icon svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ns-trust-item strong,
.ns-trust-item span {
	display: block;
}

.ns-trust-item strong {
	color: var(--ns-navy);
	font-size: 11px;
	font-weight: 900;
	line-height: 1.35;
}

.ns-trust-item span {
	margin-top: 2px;
	color: var(--ns-muted);
	font-size: 8px;
	line-height: 1.45;
}


/* Animations */

@keyframes nsTrustReveal {
	from {
		opacity: 0;
		transform: translateY(14px);
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes nsTrustFloat {
	0%,
	100% {
		transform: translate3d(0, 0, 0);
	}

	50% {
		transform: translate3d(0, -14px, 0);
	}
}


/* Medium screens */

@media (max-width: 1150px) {
	.ns-trust-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ns-trust-item:nth-child(3)::after,
	.ns-trust-item:nth-child(6)::after {
		display: none;
	}

	.ns-trust-item:nth-child(-n + 3) {
		border-bottom: 1px solid rgba(5, 30, 72, 0.07);
	}
}


/* Mobile */

@media (max-width: 700px) {
	.ns-trust-strip {
		padding: 18px 0;
	}

	.ns-trust-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		border-radius: 14px;
	}

	.ns-trust-item {
		padding: 14px 12px;
	}

	.ns-trust-item:nth-child(3)::after {
		display: block;
	}

	.ns-trust-item:nth-child(even)::after {
		display: none;
	}

	.ns-trust-item:nth-child(-n + 4) {
		border-bottom: 1px solid rgba(5, 30, 72, 0.07);
	}

	.ns-trust-icon {
		width: 34px;
		height: 34px;
	}

	.ns-trust-item strong {
		font-size: 10px;
	}

	.ns-trust-item span {
		font-size: 8px;
	}
}


/* Small phones */

@media (max-width: 430px) {
	.ns-trust-grid {
		grid-template-columns: 1fr;
	}

	.ns-trust-item {
		padding: 13px 14px;
	}

	.ns-trust-item::after {
		display: none !important;
	}

	.ns-trust-item:not(:last-child) {
		border-bottom: 1px solid rgba(5, 30, 72, 0.07);
	}
}


/* Reduced-motion accessibility */

@media (prefers-reduced-motion: reduce) {
	.ns-trust-item,
	.ns-trust-strip::before,
	.ns-trust-strip::after,
	.ns-trust-icon {
		opacity: 1;
		transform: none;
		animation: none;
		transition: none;
	}
}


/* ==========================================================
   NanoSkill — Premium Footer
   ========================================================== */

.ns-footer {
	position: relative;
	overflow: hidden;
	padding: 72px 0 0;
	color: rgba(255, 255, 255, 0.72);
	background:
		radial-gradient(
			circle at 12% 18%,
			rgba(30, 94, 210, 0.25),
			transparent 27%
		),
		linear-gradient(
			145deg,
			#04142f 0%,
			#071d42 50%,
			#08275a 100%
		);
}

.ns-footer .ns-wrap {
	position: relative;
	z-index: 3;
}


/* Background decoration */

.ns-footer-glow {
	position: absolute;
	border-radius: 50%;
	pointer-events: none;
}

.ns-footer-glow-one {
	top: -170px;
	right: -120px;
	width: 400px;
	height: 400px;
	border: 70px solid rgba(244, 181, 30, 0.05);
	animation: nsFooterRotate 30s linear infinite;
}

.ns-footer-glow-two {
	bottom: -180px;
	left: -140px;
	width: 370px;
	height: 370px;
	background: rgba(37, 102, 220, 0.08);
	animation: nsFooterFloat 12s ease-in-out infinite;
}


/* Main grid */

.ns-footer-top {
	display: grid;
	grid-template-columns:
		minmax(230px, 1.25fr)
		repeat(3, minmax(120px, 0.72fr))
		minmax(220px, 1fr);
	gap: 45px;
	padding-bottom: 54px;
}


/* Brand */

.ns-footer-logo {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	color: #ffffff;
	text-decoration: none;
}

.ns-footer-logo-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 41px;
	height: 41px;
	border-radius: 12px;
	color: var(--ns-navy);
	background: var(--ns-gold);
	font-size: 19px;
	font-weight: 950;
	box-shadow: 0 10px 25px rgba(244, 181, 30, 0.18);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.ns-footer-logo:hover .ns-footer-logo-mark {
	transform: rotate(-6deg) scale(1.05);
	box-shadow: 0 14px 30px rgba(244, 181, 30, 0.28);
}

.ns-footer-logo-text strong,
.ns-footer-logo-text small {
	display: block;
}

.ns-footer-logo-text strong {
	color: #ffffff;
	font-size: 17px;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.ns-footer-logo-text small {
	margin-top: 2px;
	color: var(--ns-gold);
	font-size: 8px;
	font-weight: 900;
	letter-spacing: 0.19em;
	text-transform: uppercase;
}

.ns-footer-brand > p {
	max-width: 290px;
	margin: 21px 0 0;
	color: rgba(255, 255, 255, 0.6);
	font-size: 11px;
	line-height: 1.8;
}


/* Social links */

.ns-footer-socials {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 24px;
}

.ns-footer-socials a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 9px;
	color: rgba(255, 255, 255, 0.8);
	background: rgba(255, 255, 255, 0.05);
	transition:
		transform 0.25s ease,
		color 0.25s ease,
		background 0.25s ease,
		border-color 0.25s ease;
}

.ns-footer-socials a:hover {
	transform: translateY(-3px);
	border-color: var(--ns-gold);
	color: var(--ns-navy);
	background: var(--ns-gold);
}

.ns-footer-socials svg {
	width: 15px;
	height: 15px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
}


/* Footer columns */

.ns-footer-column h3,
.ns-footer-contact h3 {
	margin: 5px 0 20px;
	color: #ffffff;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.ns-footer-column ul {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ns-footer-column a {
	position: relative;
	display: inline-flex;
	align-items: center;
	color: rgba(255, 255, 255, 0.62);
	font-size: 10px;
	line-height: 1.5;
	text-decoration: none;
	transition:
		color 0.25s ease,
		transform 0.25s ease;
}

.ns-footer-column a::before {
	content: "";
	width: 0;
	height: 1px;
	margin-right: 0;
	background: var(--ns-gold);
	transition:
		width 0.25s ease,
		margin-right 0.25s ease;
}

.ns-footer-column a:hover {
	transform: translateX(2px);
	color: #ffffff;
}

.ns-footer-column a:hover::before {
	width: 9px;
	margin-right: 6px;
}


/* Contact */

.ns-footer-contact > p {
	margin: 0 0 20px;
	color: rgba(255, 255, 255, 0.57);
	font-size: 10px;
	line-height: 1.7;
}

.ns-footer-contact-item {
	display: flex;
	align-items: center;
	gap: 11px;
	color: #ffffff;
	text-decoration: none;
}

.ns-footer-contact-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	color: var(--ns-gold);
	background: rgba(255, 255, 255, 0.07);
}

.ns-footer-contact-icon svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ns-footer-contact-item small,
.ns-footer-contact-item strong {
	display: block;
}

.ns-footer-contact-item small {
	color: rgba(255, 255, 255, 0.48);
	font-size: 8px;
	font-weight: 700;
}

.ns-footer-contact-item strong {
	margin-top: 2px;
	color: #ffffff;
	font-size: 10px;
}

.ns-footer-contact-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 41px;
	margin-top: 19px;
	padding: 0 18px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 9px;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.06);
	font-size: 10px;
	font-weight: 900;
	text-decoration: none;
	transition:
		transform 0.25s ease,
		color 0.25s ease,
		background 0.25s ease,
		border-color 0.25s ease;
}

.ns-footer-contact-button:hover {
	transform: translateY(-2px);
	border-color: var(--ns-gold);
	color: var(--ns-navy);
	background: var(--ns-gold);
}

.ns-footer-contact-button span {
	font-size: 14px;
	transition: transform 0.25s ease;
}

.ns-footer-contact-button:hover span {
	transform: translateX(3px);
}


/* Newsletter row */

.ns-footer-newsletter {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
	align-items: center;
	gap: 35px;
	padding: 22px 24px;
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 15px;
	background: rgba(255, 255, 255, 0.055);
	box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
	backdrop-filter: blur(10px);
}

.ns-footer-newsletter-copy {
	display: flex;
	align-items: center;
	gap: 13px;
}

.ns-footer-newsletter-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 38px;
	height: 38px;
	border-radius: 11px;
	color: var(--ns-navy);
	background: var(--ns-gold);
}

.ns-footer-newsletter-icon svg {
	width: 17px;
	height: 17px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ns-footer-newsletter-copy strong,
.ns-footer-newsletter-copy span {
	display: block;
}

.ns-footer-newsletter-copy strong {
	color: #ffffff;
	font-size: 11px;
}

.ns-footer-newsletter-copy span {
	margin-top: 4px;
	color: rgba(255, 255, 255, 0.5);
	font-size: 9px;
	line-height: 1.5;
}

.ns-footer-newsletter-form {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
}

.ns-footer-newsletter-form input {
	width: 100%;
	height: 42px;
	padding: 0 14px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 9px;
	outline: none;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.07);
	font-family: inherit;
	font-size: 10px;
	transition:
		border-color 0.25s ease,
		background 0.25s ease,
		box-shadow 0.25s ease;
}

.ns-footer-newsletter-form input::placeholder {
	color: rgba(255, 255, 255, 0.4);
}

.ns-footer-newsletter-form input:focus {
	border-color: var(--ns-gold);
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 0 0 3px rgba(244, 181, 30, 0.1);
}

.ns-footer-newsletter-form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	height: 42px;
	padding: 0 18px;
	border: 0;
	border-radius: 9px;
	cursor: pointer;
	color: var(--ns-navy);
	background: var(--ns-gold);
	font-family: inherit;
	font-size: 10px;
	font-weight: 900;
	transition:
		transform 0.25s ease,
		background 0.25s ease;
}

.ns-footer-newsletter-form button:hover {
	transform: translateY(-2px);
	background: #ffffff;
}


/* Bottom bar */

.ns-footer-bottom {
	display: grid;
	grid-template-columns: 1fr auto 35px;
	align-items: center;
	gap: 30px;
	margin-top: 36px;
	padding: 20px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ns-footer-bottom p {
	margin: 0;
	color: rgba(255, 255, 255, 0.43);
	font-size: 8px;
}

.ns-footer-legal {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 18px;
}

.ns-footer-legal a {
	color: rgba(255, 255, 255, 0.48);
	font-size: 8px;
	text-decoration: none;
	transition: color 0.25s ease;
}

.ns-footer-legal a:hover {
	color: var(--ns-gold);
}

.ns-footer-back-top {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 9px;
	color: #ffffff;
	background: rgba(255, 255, 255, 0.06);
	transition:
		transform 0.25s ease,
		color 0.25s ease,
		background 0.25s ease;
}

.ns-footer-back-top:hover {
	transform: translateY(-3px);
	color: var(--ns-navy);
	background: var(--ns-gold);
}

.ns-footer-back-top svg {
	width: 14px;
	height: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}


/* Animations */

@keyframes nsFooterRotate {
	from {
		transform: rotate(0deg);
	}

	to {
		transform: rotate(360deg);
	}
}

@keyframes nsFooterFloat {
	0%,
	100% {
		transform: translate3d(0, 0, 0);
	}

	50% {
		transform: translate3d(0, -20px, 0);
	}
}


/* Large tablet */

@media (max-width: 1100px) {
	.ns-footer-top {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.ns-footer-brand {
		grid-column: span 2;
	}

	.ns-footer-contact {
		grid-column: span 2;
	}

	.ns-footer-newsletter {
		grid-template-columns: 1fr;
	}
}


/* Tablet */

@media (max-width: 800px) {
	.ns-footer {
		padding-top: 58px;
	}

	.ns-footer-top {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 38px 28px;
	}

	.ns-footer-brand,
	.ns-footer-contact {
		grid-column: span 2;
	}

	.ns-footer-brand > p {
		max-width: 500px;
	}

	.ns-footer-newsletter-form {
		grid-template-columns: 1fr;
	}

	.ns-footer-newsletter-form button {
		width: 100%;
	}

	.ns-footer-bottom {
		grid-template-columns: 1fr 34px;
	}

	.ns-footer-legal {
		grid-column: 1 / -1;
		grid-row: 2;
		justify-content: flex-start;
	}

	.ns-footer-back-top {
		grid-column: 2;
		grid-row: 1;
	}
}


/* Mobile */

@media (max-width: 560px) {
	.ns-footer {
		padding-top: 50px;
	}

	.ns-footer-top {
		grid-template-columns: 1fr 1fr;
		gap: 34px 18px;
		padding-bottom: 42px;
	}

	.ns-footer-brand,
	.ns-footer-contact {
		grid-column: 1 / -1;
	}

	.ns-footer-column h3,
	.ns-footer-contact h3 {
		margin-bottom: 16px;
	}

	.ns-footer-newsletter {
		padding: 18px;
	}

	.ns-footer-newsletter-copy {
		align-items: flex-start;
	}

	.ns-footer-bottom {
		gap: 18px;
	}

	.ns-footer-legal {
		gap: 10px 15px;
	}
}


/* Small phones */

@media (max-width: 390px) {
	.ns-footer-top {
		grid-template-columns: 1fr;
	}

	.ns-footer-brand,
	.ns-footer-contact {
		grid-column: auto;
	}

	.ns-footer-column {
		padding-bottom: 19px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	}
}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
	.ns-footer-glow,
	.ns-footer-logo-mark,
	.ns-footer-socials a,
	.ns-footer-back-top {
		transform: none;
		animation: none;
		transition: none;
	}
}

/* ==========================================
   NanoSkill Fixed Navigation
========================================== */

#masthead,
.site-header,
.ns-header,
.main-header {
	position: fixed !important;
	top: 12px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 99999;

	width: calc(100% - 32px);
	max-width: 1320px;

	margin: 0 !important;

	border: 1px solid rgba(5, 30, 72, 0.08);
	border-radius: 16px;

	background: rgba(255, 255, 255, 0.94);

	-webkit-backdrop-filter: blur(18px);
	backdrop-filter: blur(18px);

	box-shadow: 0 10px 35px rgba(5, 30, 72, 0.1);
}

body {
	padding-top: 100px;
}

@media (max-width: 768px) {
	#masthead,
	.site-header,
	.ns-header,
	.main-header {
		top: 8px;
		width: calc(100% - 20px);
		border-radius: 13px;
	}

	body {
		padding-top: 88px;
	}
}

/* NanoSkill navbar logo */

.ns-logo {
	display: inline-flex;
	align-items: center;
	flex-shrink: 0;
	text-decoration: none;
}

.ns-logo-image {
	display: block;
	width: auto;
	height: 52px;
	max-width: 260px;
	object-fit: contain;
	transition: transform 0.3s ease;
}

.ns-logo:hover .ns-logo-image {
	transform: scale(1.02);
}

@media (max-width: 768px) {
	.ns-logo-image {
		height: 38px;
		max-width: 190px;
	}
}

/* ==========================================================
   NANOSKILL LINK DECORATION OVERRIDES
   Overrides Tutor Starter's global a { text-decoration: underline; }
   ========================================================== */

/* Navigation and interface links */
.ns-header a,
.ns-header a:link,
.ns-header a:visited,
.ns-header a:hover,
.ns-header a:focus,
.ns-header a:active,
.ns-announcement a,
.ns-auth-page a,
.ns-onboarding-page a,
.ns-scholarships-page a,
.ns-courses-page a,
.ns-course-link a,
.ns-blog-page a {
	text-decoration: none;
}
/* Keep navigation, buttons and cards free from inherited underlines */
.ns-header a,
.ns-announcement a,
.ns-auth-page a,
.ns-onboarding-page a,
.ns-scholarships-page a,
.ns-courses-page a,
.ns-blog-page a,
a[class*="button"],
a[class*="btn"] {
	text-decoration: none !important;
}

/* Remove underlines from interface elements */
header a,
nav a,
footer a,
button a,
.ns-page-shell a,
.ns-courses-page a,
.ns-auth-page a,
.ns-onboarding-page a,
.ns-scholarships-page a,
.ns-blog-page .ns-blog-card a,
.tutor-course-card a,
.tutor-course-loop a,
.ns-course-link a,
a[class],
a[role="button"] {
text-decoration: none !important;
}

/* Keep article links visibly underlined */
.entry-content p a,
.entry-content li a,
.ns-blog-content p a,
.ns-blog-content li a {
	text-decoration: none;
}

/* ==========================================================
   POPULAR COURSES — FINAL OVERRIDE
   ========================================================== */

section.ns-popular-courses {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	padding: 88px 0 !important;
	overflow: hidden !important;
	background:
		radial-gradient(
			circle at 10% 20%,
			rgba(244, 181, 30, 0.13),
			transparent 28%
		),
		radial-gradient(
			circle at 90% 10%,
			rgba(21, 85, 216, 0.11),
			transparent 30%
		),
		linear-gradient(
			180deg,
			#f8fafc 0%,
			#ffffff 100%
		) !important;
}

section.ns-popular-courses > .ns-wrap {
	position: relative !important;
	z-index: 2 !important;
	width: min(1180px, calc(100% - 40px)) !important;
	max-width: 1180px !important;
	margin: 0 auto !important;
	padding: 0 !important;
}

.ns-popular-courses__heading {
	display: grid !important;
	grid-template-columns: minmax(0, 700px) auto !important;
	align-items: end !important;
	justify-content: space-between !important;
	gap: 40px !important;
	width: 100% !important;
	margin: 0 0 40px !important;
	text-align: left !important;
}

.ns-popular-courses__intro {
	width: 100% !important;
	max-width: 700px !important;
	margin: 0 !important;
	text-align: left !important;
}

.ns-popular-courses__label {
	display: inline-block !important;
	margin: 0 0 12px !important;
	color: #d99b00 !important;
	font-size: 12px !important;
	font-weight: 800 !important;
	letter-spacing: 0.15em !important;
	text-transform: uppercase !important;
}

.ns-popular-courses__heading h2 {
	max-width: 650px !important;
	margin: 0 !important;
	color: #051e48 !important;
	font-size: clamp(34px, 4vw, 52px) !important;
	font-weight: 800 !important;
	line-height: 1.08 !important;
	letter-spacing: -0.04em !important;
	text-align: left !important;
}

.ns-popular-courses__heading p {
	max-width: 660px !important;
	margin: 16px 0 0 !important;
	color: #65738a !important;
	font-size: 15px !important;
	line-height: 1.75 !important;
	text-align: left !important;
}

.ns-popular-courses__view-all {
	display: inline-flex !important;
	min-height: 48px !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 10px !important;
	justify-self: end !important;
	padding: 0 20px !important;
	margin: 0 !important;
	background: rgba(255, 255, 255, 0.72) !important;
	border: 1px solid rgba(5, 30, 72, 0.12) !important;
	border-radius: 12px !important;
	box-shadow: 0 12px 30px rgba(5, 30, 72, 0.07) !important;
	color: #051e48 !important;
	font-size: 13px !important;
	font-weight: 800 !important;
	text-decoration: none !important;
	white-space: nowrap !important;
	backdrop-filter: blur(14px) !important;
	-webkit-backdrop-filter: blur(14px) !important;
}

.ns-popular-courses__grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 18px !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.ns-popular-card {
	display: block !important;
	min-width: 0 !important;
	height: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
}

.ns-popular-card__link {
	display: flex !important;
	height: 100% !important;
	flex-direction: column !important;
	overflow: hidden !important;
	margin: 0 !important;
	padding: 0 !important;
	background:
		linear-gradient(
			145deg,
			rgba(255, 255, 255, 0.84),
			rgba(255, 255, 255, 0.54)
		) !important;
	border: 1px solid rgba(255, 255, 255, 0.88) !important;
	border-radius: 20px !important;
	box-shadow:
		0 18px 45px rgba(5, 30, 72, 0.09),
		inset 0 1px 0 rgba(255, 255, 255, 0.95) !important;
	color: inherit !important;
	text-decoration: none !important;
	backdrop-filter: blur(18px) !important;
	-webkit-backdrop-filter: blur(18px) !important;
	transition:
		transform 0.25s ease,
		box-shadow 0.25s ease !important;
}

.ns-popular-card__link:hover {
	transform: translateY(-6px) !important;
	box-shadow:
		0 26px 54px rgba(5, 30, 72, 0.15),
		inset 0 1px 0 rgba(255, 255, 255, 1) !important;
}

.ns-popular-card__image {
	position: relative !important;
	display: block !important;
	width: 100% !important;
	aspect-ratio: 16 / 10 !important;
	overflow: hidden !important;
	background: #e8eef6 !important;
}

.ns-popular-card__image img {
	display: block !important;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	margin: 0 !important;
	padding: 0 !important;
}

.ns-popular-card__badge {
	position: absolute !important;
	z-index: 2 !important;
	top: 12px !important;
	left: 12px !important;
	display: inline-flex !important;
	align-items: center !important;
	min-height: 26px !important;
	padding: 0 10px !important;
	background: rgba(255, 255, 255, 0.8) !important;
	border: 1px solid rgba(255, 255, 255, 0.9) !important;
	border-radius: 999px !important;
	color: #051e48 !important;
	font-size: 9px !important;
	font-weight: 800 !important;
	backdrop-filter: blur(12px) !important;
	-webkit-backdrop-filter: blur(12px) !important;
}

.ns-popular-card__content {
	display: flex !important;
	flex: 1 !important;
	flex-direction: column !important;
	padding: 17px !important;
}

.ns-popular-card__meta {
	display: flex !important;
	flex-wrap: wrap !important;
	gap: 7px !important;
	margin: 0 0 11px !important;
}

.ns-popular-card__meta span {
	display: inline-flex !important;
	align-items: center !important;
	min-height: 23px !important;
	padding: 0 8px !important;
	background: rgba(21, 85, 216, 0.08) !important;
	border-radius: 999px !important;
	color: #1555d8 !important;
	font-size: 8px !important;
	font-weight: 800 !important;
}

.ns-popular-card h3 {
	margin: 0 !important;
	color: #051e48 !important;
	font-size: 16px !important;
	font-weight: 800 !important;
	line-height: 1.35 !important;
	letter-spacing: -0.02em !important;
	text-align: left !important;
}

.ns-popular-card p {
	margin: 9px 0 0 !important;
	color: #65738a !important;
	font-size: 11px !important;
	line-height: 1.65 !important;
	text-align: left !important;
}

.ns-popular-card__footer {
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 10px !important;
	margin-top: auto !important;
	padding-top: 17px !important;
}

.ns-popular-card__price {
	color: #051e48 !important;
	font-size: 13px !important;
	font-weight: 800 !important;
}

.ns-popular-card__action {
	display: inline-flex !important;
	align-items: center !important;
	gap: 6px !important;
	color: #1555d8 !important;
	font-size: 9px !important;
	font-weight: 800 !important;
}

.ns-popular-courses a,
.ns-popular-courses a:link,
.ns-popular-courses a:visited,
.ns-popular-courses a:hover,
.ns-popular-courses a:focus,
.ns-popular-courses a:active {
	text-decoration: none !important;
}

@media (max-width: 1100px) {

	.ns-popular-courses__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

}

@media (max-width: 780px) {

	.ns-popular-courses__heading {
		grid-template-columns: 1fr !important;
		align-items: start !important;
		gap: 22px !important;
	}

	.ns-popular-courses__view-all {
		justify-self: start !important;
	}

}

@media (max-width: 600px) {

	section.ns-popular-courses {
		padding: 62px 0 !important;
	}

	section.ns-popular-courses > .ns-wrap {
		width: min(100% - 28px, 1180px) !important;
	}

	.ns-popular-courses__grid {
		grid-template-columns: 1fr !important;
	}

	.ns-popular-courses__heading h2 {
		font-size: 34px !important;
	}

}

/* ==========================================================
   FIX EBONYI SCHOLARSHIP CARD TEXT COLOURS
   ========================================================== */

.ns-scholarship-card:first-child {
	color: #102b4e !important;
}

.ns-scholarship-card:first-child h3,
.ns-scholarship-card:first-child p,
.ns-scholarship-card:first-child li,
.ns-scholarship-card:first-child strong,
.ns-scholarship-card:first-child a,
.ns-scholarship-card:first-child span {
	color: #102b4e !important;
}

.ns-scholarship-card:first-child > p {
	color: #64748b !important;
}

.ns-scholarship-card:first-child .ns-scholarship-card__features li {
	color: #425466 !important;
}

.ns-scholarship-card:first-child .ns-scholarship-card__button {
	color: #102b4e !important;
}

.ns-scholarship-card:first-child .ns-scholarship-card__badge {
	color: #946b00 !important;
}

.ns-scholarship-card:first-child .ns-scholarship-card__status {
	color: #157647 !important;
}