/* ==========================================================================
   Rishikul Shiksha — About Page
   Compact, footer-aligned. Poppins body, Lora headings, 8px radius.
   ========================================================================== */

.rks-about {
	background: var(--rks-cream);
	color: var(--rks-text);
	font-family: var(--rks-font-body);
}
.rks-about h1, .rks-about h2, .rks-about h3, .rks-about h4 {
	font-family: var(--rks-font-heading);
	color: var(--rks-teal-dark);
	line-height: 1.25;
	margin: 0;
}
.rks-about p { margin: 0; line-height: 1.65; }
.rks-about .rks-eyebrow {
	display: inline-block;
	font-family: var(--rks-font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 1.4px;
	text-transform: uppercase;
	color: var(--rks-red);
	margin-bottom: 8px;
}

.rks-about__head {
	text-align: center;
	max-width: 620px;
	margin: 0 auto 28px;
}
.rks-about__head h2 {
	font-size: 28px;
	margin-top: 4px;
}


/* ============ HERO ============ */
.rks-about__hero {
	background: linear-gradient(180deg, #fff 0%, var(--rks-cream) 100%);
	padding: 36px 0 56px;
	border-bottom: 1px solid rgba(44, 104, 123, 0.08);
}
.rks-about__crumb {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12.5px;
	color: rgba(44, 104, 123, 0.7);
	margin-bottom: 24px;
}
.rks-about__crumb a { color: var(--rks-teal); font-weight: 500; }
.rks-about__crumb a:hover { color: var(--rks-red); }
.rks-about__crumb span[aria-current] { color: var(--rks-teal-dark); font-weight: 600; }
.rks-about__crumb > span:not([aria-current]) {
	display: inline-flex;
	align-items: center;
	color: rgba(44, 104, 123, 0.45);
}

.rks-about__hero-grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 48px;
	align-items: center;
}

.rks-about__hero-text h1 {
	font-size: clamp(2rem, 4.4vw, 2.875rem);
	margin: 4px 0 14px;
	letter-spacing: -0.01em;
}
.rks-about__hero-text h1 span {
	color: var(--rks-red);
	font-style: italic;
}
.rks-about__hero-text p {
	color: var(--rks-muted);
	font-size: 15px;
	line-height: 1.7;
	margin-bottom: 22px;
	max-width: 520px;
}

.rks-about__hero-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

/* Buttons (used in hero + CTA) */
.rks-about__btn-primary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--rks-red);
	color: #fff !important;
	padding: 10px 18px;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 600;
	transition: background .2s ease, transform .2s ease, box-shadow .2s ease;
	box-shadow: 0 4px 12px rgba(230, 57, 70, 0.22);
}
.rks-about__btn-primary:hover {
	background: var(--rks-red-dark);
	color: #fff !important;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(230, 57, 70, 0.32);
}
.rks-about__btn-ghost {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #fff;
	color: var(--rks-teal-dark) !important;
	padding: 10px 18px;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 600;
	border: 1px solid rgba(44, 104, 123, 0.18);
	transition: all .2s ease;
}
.rks-about__btn-ghost:hover {
	border-color: var(--rks-red);
	color: var(--rks-red) !important;
	transform: translateY(-2px);
}
.rks-about__btn-ghost--light {
	background: transparent;
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.4);
}
.rks-about__btn-ghost--light:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: #fff;
	color: #fff !important;
}

/* Hero media */
.rks-about__hero-media {
	position: relative;
}
.rks-about__hero-frame {
	border-radius: 8px;
	overflow: hidden;
	border: 1px solid rgba(44, 104, 123, 0.08);
	box-shadow: 0 14px 32px rgba(44, 104, 123, 0.14);
}
.rks-about__hero-frame img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4/3;
	object-fit: cover;
}

.rks-about__hero-float {
	position: absolute;
	background: #fff;
	padding: 10px 14px;
	border-radius: 8px;
	box-shadow: 0 10px 24px rgba(44, 104, 123, 0.18);
	display: flex;
	align-items: center;
	gap: 10px;
	border: 1px solid rgba(44, 104, 123, 0.06);
}
.rks-about__hero-float--badge {
	left: -20px;
	bottom: 22px;
}
.rks-about__hero-float--rating {
	right: -16px;
	top: 22px;
}
.rks-about__hero-float-ic {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 8px;
	background: rgba(230, 57, 70, 0.12);
	color: var(--rks-red);
}
.rks-about__hero-float-star {
	color: #f5a623;
	font-size: 22px;
	line-height: 1;
}
.rks-about__hero-float strong {
	display: block;
	font-family: var(--rks-font-heading);
	font-size: 14.5px;
	color: var(--rks-teal-dark);
	line-height: 1.1;
}
.rks-about__hero-float small {
	display: block;
	margin-top: 2px;
	font-size: 11.5px;
	color: var(--rks-muted);
}


/* ============ STATS STRIP ============ */
.rks-about__stats {
	margin-top: -28px;
	margin-bottom: 60px;
	position: relative;
	z-index: 2;
}
.rks-about__stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	background: #fff;
	border: 1px solid rgba(44, 104, 123, 0.08);
	border-radius: 8px;
	box-shadow: 0 12px 30px rgba(44, 104, 123, 0.10);
	overflow: hidden;
}
.rks-about__stats-grid > div {
	padding: 22px 24px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 4px;
	border-right: 1px solid rgba(44, 104, 123, 0.08);
}
.rks-about__stats-grid > div:last-child { border-right: 0; }
.rks-about__stats-ic {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: rgba(230, 57, 70, 0.12);
	color: var(--rks-red);
	margin-bottom: 6px;
}
.rks-about__stats-grid strong {
	font-family: var(--rks-font-heading);
	font-size: 24px;
	color: var(--rks-teal-dark);
	line-height: 1.1;
}
.rks-about__stats-grid small {
	font-size: 12.5px;
	color: var(--rks-muted);
	font-weight: 500;
}


/* ============ STORY ============ */
.rks-about__story {
	padding: 0 0 70px;
}
.rks-about__story-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 36px;
	align-items: start;
}
.rks-about__story-grid h2 {
	font-size: 26px;
	margin: 4px 0 14px;
}
.rks-about__story-grid > div > p {
	color: var(--rks-muted);
	font-size: 14.5px;
	margin-bottom: 12px;
}

.rks-about__story-points {
	list-style: none;
	padding: 0;
	margin: 18px 0 0;
}
.rks-about__story-points li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 0;
	font-size: 13.5px;
	color: var(--rks-text);
	font-weight: 500;
	border-bottom: 1px dashed rgba(44, 104, 123, 0.12);
}
.rks-about__story-points li:last-child { border-bottom: 0; }
.rks-about__tick {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(46, 184, 92, 0.18);
	color: #1f7a3a;
	flex-shrink: 0;
}

/* ============ Founder Quote (compact) ============ */
.rks-about__quote {
	margin: 0;
	background: #fff;
	border: 1px solid rgba(44, 104, 123, 0.10);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 12px 28px rgba(31, 77, 91, 0.08);
	position: relative;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.rks-about__quote:hover {
	transform: translateY(-2px);
	box-shadow: 0 18px 36px rgba(31, 77, 91, 0.14);
}

.rks-about__quote::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--rks-red) 0%, #d49a1e 50%, var(--rks-mint) 100%);
	z-index: 2;
}

.rks-about__quote-media {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--rks-cream);
}
.rks-about__quote-media img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center 30%;
}
.rks-about__quote-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, transparent 55%, rgba(31, 77, 91, 0.45) 100%);
	pointer-events: none;
}

.rks-about__quote-badge {
	position: absolute;
	left: 12px;
	bottom: 10px;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	background: rgba(255, 255, 255, 0.96);
	color: var(--rks-red);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 999px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.18);
	z-index: 1;
}
.rks-about__quote-badge svg { width: 12px; height: 12px; color: var(--rks-red); }

.rks-about__quote-body {
	margin: 0;
	padding: 14px 18px 4px;
	position: relative;
}
.rks-about__quote-glyph {
	width: 26px;
	height: 26px;
	color: var(--rks-red);
	opacity: 0.22;
	margin-bottom: -4px;
	display: block;
}
.rks-about__quote-body p {
	font-family: var(--rks-font-heading);
	color: var(--rks-teal-dark);
	font-size: 14.5px;
	line-height: 1.5;
	font-style: italic;
	margin: 0;
}

.rks-about__quote-author {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 10px 18px 14px;
	border-top: 1px solid rgba(44, 104, 123, 0.10);
	margin-top: 10px;
}
.rks-about__quote-author strong {
	display: block;
	font-family: var(--rks-font-heading);
	color: var(--rks-teal-dark);
	font-size: 13.5px;
	margin-bottom: 1px;
}
.rks-about__quote-author small {
	color: var(--rks-muted);
	font-size: 11px;
	letter-spacing: 0.02em;
}
.rks-about__quote-link {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 11.5px;
	font-weight: 600;
	color: var(--rks-red);
	text-decoration: none;
	padding: 6px 10px;
	border: 1px solid rgba(230, 57, 70, 0.22);
	border-radius: 7px;
	transition: background 0.18s ease, transform 0.15s ease, color 0.18s ease;
	flex-shrink: 0;
}
.rks-about__quote-link:hover {
	background: var(--rks-red);
	color: #fff;
	border-color: var(--rks-red);
	transform: translateX(2px);
}
.rks-about__quote-link svg { width: 11px; height: 11px; transition: transform 0.18s ease; }
.rks-about__quote-link:hover svg { transform: translateX(2px); }

@media (max-width: 768px) {
	.rks-about__quote-author { flex-direction: column; align-items: flex-start; }
	.rks-about__quote-link { width: 100%; justify-content: center; }
}


/* ============ MISSION & VISION ============ */
.rks-about__mv {
	padding: 60px 0;
	background: #fff;
	border-top: 1px solid rgba(44, 104, 123, 0.08);
	border-bottom: 1px solid rgba(44, 104, 123, 0.08);
}
.rks-about__mv-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.rks-about__mv-card {
	background: var(--rks-cream);
	border: 1px solid rgba(44, 104, 123, 0.08);
	border-radius: 8px;
	padding: 26px;
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.rks-about__mv-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 24px rgba(44, 104, 123, 0.10);
	border-color: rgba(142, 201, 196, 0.5);
}
.rks-about__mv-ic {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 8px;
	margin-bottom: 14px;
}
.rks-about__mv-ic--mint {
	background: rgba(142, 201, 196, 0.28);
	color: var(--rks-teal-dark);
}
.rks-about__mv-ic--red {
	background: rgba(230, 57, 70, 0.14);
	color: var(--rks-red);
}
.rks-about__mv-card h3 {
	font-size: 19px;
	margin-bottom: 8px;
}
.rks-about__mv-card p {
	font-size: 14px;
	color: var(--rks-muted);
}


/* ============ VALUES ============ */
.rks-about__values {
	padding: 60px 0;
}
.rks-about__values-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}
.rks-about__value {
	background: #fff;
	border: 1px solid rgba(44, 104, 123, 0.08);
	border-radius: 8px;
	padding: 20px;
	box-shadow: var(--rks-shadow);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.rks-about__value:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 22px rgba(44, 104, 123, 0.12);
	border-color: rgba(230, 57, 70, 0.3);
}
.rks-about__value-ic {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: rgba(230, 57, 70, 0.12);
	color: var(--rks-red);
	margin-bottom: 12px;
}
.rks-about__value h3 {
	font-size: 16px;
	margin-bottom: 6px;
}
.rks-about__value p {
	font-size: 13px;
	color: var(--rks-muted);
	line-height: 1.6;
}


/* ============ TIMELINE ============ */
.rks-about__timeline-sec {
	padding: 60px 0;
	background: #fff;
	border-top: 1px solid rgba(44, 104, 123, 0.08);
	border-bottom: 1px solid rgba(44, 104, 123, 0.08);
}
.rks-about__timeline {
	list-style: none;
	padding: 0;
	margin: 0;
	max-width: 760px;
	margin-left: auto;
	margin-right: auto;
	position: relative;
}
.rks-about__timeline::before {
	content: "";
	position: absolute;
	left: 56px;
	top: 8px;
	bottom: 8px;
	width: 2px;
	background: linear-gradient(180deg, var(--rks-red) 0%, var(--rks-mint) 100%);
	border-radius: 2px;
}
.rks-about__timeline li {
	display: grid;
	grid-template-columns: 90px 1fr;
	gap: 24px;
	align-items: start;
	padding: 14px 0;
	position: relative;
}
.rks-about__tl-year {
	font-family: var(--rks-font-heading);
	font-size: 16px;
	font-weight: 700;
	color: var(--rks-red);
	padding-top: 2px;
	text-align: right;
	padding-right: 4px;
	position: relative;
}
.rks-about__tl-year::after {
	content: "";
	position: absolute;
	right: -22px;
	top: 8px;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--rks-red);
	box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.12);
}
.rks-about__timeline li > div {
	background: var(--rks-cream);
	border: 1px solid rgba(44, 104, 123, 0.08);
	border-radius: 8px;
	padding: 14px 18px;
	margin-left: 16px;
}
.rks-about__timeline h4 {
	font-size: 15px;
	margin-bottom: 4px;
}
.rks-about__timeline p {
	font-size: 13px;
	color: var(--rks-muted);
}


/* ============ PATHWAYS ============ */
.rks-about__paths {
	padding: 60px 0;
}
.rks-about__paths-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
.rks-about__path {
	background: #fff;
	border: 1px solid rgba(44, 104, 123, 0.08);
	border-radius: 8px;
	padding: 24px;
	box-shadow: var(--rks-shadow);
	display: flex;
	flex-direction: column;
	transition: transform .2s ease, box-shadow .2s ease;
	position: relative;
	overflow: hidden;
}
.rks-about__path::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
}
.rks-about__path--mint::before { background: var(--rks-mint); }
.rks-about__path--red::before { background: var(--rks-red); }
.rks-about__path--teal::before { background: var(--rks-teal); }
.rks-about__path:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 28px rgba(44, 104, 123, 0.14);
}
.rks-about__path-ic {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border-radius: 8px;
	margin-bottom: 14px;
}
.rks-about__path--mint .rks-about__path-ic { background: rgba(142, 201, 196, 0.28); color: var(--rks-teal-dark); }
.rks-about__path--red .rks-about__path-ic { background: rgba(230, 57, 70, 0.14); color: var(--rks-red); }
.rks-about__path--teal .rks-about__path-ic { background: rgba(44, 104, 123, 0.12); color: var(--rks-teal); }

.rks-about__path h3 {
	font-size: 17px;
	margin-bottom: 8px;
}
.rks-about__path p {
	font-size: 13.5px;
	color: var(--rks-muted);
	margin-bottom: 16px;
	flex: 1;
}
.rks-about__path-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--rks-red);
	font-size: 13px;
	font-weight: 600;
	align-self: flex-start;
	transition: gap .2s ease;
}
.rks-about__path-link:hover {
	gap: 10px;
	color: var(--rks-red-dark);
}


/* ============ WHY US ============ */
.rks-about__why {
	padding: 60px 0;
	background: #fff;
	border-top: 1px solid rgba(44, 104, 123, 0.08);
	border-bottom: 1px solid rgba(44, 104, 123, 0.08);
}
.rks-about__why-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}
.rks-about__why-item {
	display: flex;
	gap: 12px;
	background: var(--rks-cream);
	border: 1px solid rgba(44, 104, 123, 0.08);
	border-radius: 8px;
	padding: 18px;
	transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.rks-about__why-item:hover {
	background: #fff;
	border-color: rgba(142, 201, 196, 0.5);
	transform: translateY(-2px);
}
.rks-about__why-ic {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: rgba(142, 201, 196, 0.28);
	color: var(--rks-teal-dark);
	flex-shrink: 0;
}
.rks-about__why-item h4 {
	font-size: 14.5px;
	margin-bottom: 4px;
}
.rks-about__why-item p {
	font-size: 13px;
	color: var(--rks-muted);
}


/* ============ CTA ============ */
.rks-about__cta {
	padding: 60px 0 80px;
}
.rks-about__cta-card {
	background: linear-gradient(135deg, var(--rks-teal) 0%, var(--rks-teal-dark) 100%);
	color: #fff;
	border-radius: 8px;
	padding: 36px 40px;
	display: grid;
	grid-template-columns: 1.5fr auto;
	gap: 28px;
	align-items: center;
	box-shadow: 0 14px 32px rgba(44, 104, 123, 0.22);
	position: relative;
	overflow: hidden;
}
.rks-about__cta-card::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--rks-red) 0%, var(--rks-mint) 50%, var(--rks-cream) 100%);
}
.rks-about__cta-eyebrow {
	color: var(--rks-mint);
}
.rks-about__cta-card h2 {
	color: #fff;
	font-size: 26px;
	margin: 4px 0 8px;
}
.rks-about__cta-card p {
	color: rgba(255, 255, 255, 0.85);
	font-size: 14.5px;
	max-width: 540px;
}
.rks-about__cta-actions {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}


/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
	.rks-about__hero-grid {
		grid-template-columns: 1fr;
		gap: 36px;
	}
	.rks-about__hero-float--badge { left: 10px; bottom: 10px; }
	.rks-about__hero-float--rating { right: 10px; top: 10px; }

	.rks-about__story-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.rks-about__values-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.rks-about__paths-grid {
		grid-template-columns: 1fr;
	}
	.rks-about__why-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.rks-about__cta-card {
		grid-template-columns: 1fr;
		text-align: left;
	}
}

@media (max-width: 768px) {
	.rks-about__hero { padding: 28px 0 40px; }
	.rks-about__hero-actions { width: 100%; }
	.rks-about__hero-actions a { flex: 1; justify-content: center; }

	.rks-about__stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.rks-about__stats-grid > div {
		border-right: 0;
		border-bottom: 1px solid rgba(44, 104, 123, 0.08);
	}
	.rks-about__stats-grid > div:nth-last-child(-n+2) { border-bottom: 0; }
	.rks-about__stats-grid > div:nth-child(odd) {
		border-right: 1px solid rgba(44, 104, 123, 0.08);
	}

	.rks-about__mv,
	.rks-about__values,
	.rks-about__timeline-sec,
	.rks-about__paths,
	.rks-about__why { padding: 44px 0; }

	.rks-about__head h2 { font-size: 22px; }
	.rks-about__story-grid h2 { font-size: 22px; }
	.rks-about__cta-card h2 { font-size: 22px; }

	.rks-about__mv-grid,
	.rks-about__values-grid,
	.rks-about__why-grid {
		grid-template-columns: 1fr;
	}

	.rks-about__timeline::before { left: 6px; }
	.rks-about__timeline li {
		grid-template-columns: 1fr;
		gap: 8px;
		padding-left: 24px;
	}
	.rks-about__tl-year {
		text-align: left;
		font-size: 14px;
	}
	.rks-about__tl-year::after {
		left: -22px;
		right: auto;
	}
	.rks-about__timeline li > div { margin-left: 0; }

	.rks-about__cta-card { padding: 24px; }
	.rks-about__cta-actions a { flex: 1; justify-content: center; }
}
