/* ==========================================================
   ScaleZen MIS — Original-style Hero (gradient banner)
   ========================================================== */

:root {
	--brand-1: #0b2559;   /* deep navy */
	--brand-2: #163f8f;   /* mid blue */
	--brand-3: #2a63c9;   /* lighter blue */
	--accent: #ffffff;
	--ink: #10142b;
	--slate: #5c6584;
	--paper: #ffffff;
	--line: #e7e1d2;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
	color: var(--ink);
	background: #f4f6fb;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: "Poppins", "Inter", sans-serif; margin: 0; }
a { text-decoration: none; color: inherit; }
p { margin: 0; }

.container {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

:focus-visible {
	outline: 2px solid var(--brand-3);
	outline-offset: 3px;
}

/* ============ NAV ============ */
.navbar {
	background: var(--paper);
	box-shadow: 0 2px 12px rgba(11, 37, 89, 0.06);
	position: sticky;
	top: 0;
	z-index: 50;
}
.navbar__inner {
	max-width: 1180px;
	margin: 0 auto;
	padding: 0.85rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.navbar__brand img { display: block; height: 40px; }
.navbar__links {
	display: flex;
	align-items: center;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
	font-weight: 500;
	font-size: 0.95rem;
	color: var(--slate);
}
.navbar__links a:hover { color: var(--brand-2); }
.navbar__links .is-active { color: var(--brand-2); font-weight: 600; }

.navbar__burger {
	display: none;
	flex-direction: column;
	gap: 5px;
	background: none;
	border: 0;
	padding: 0.4rem;
	cursor: pointer;
}
.navbar__burger span {
	width: 22px;
	height: 2px;
	background: var(--ink);
	border-radius: 2px;
}

/* ============ HERO / GRADIENT BANNER ============ */
.gradient-banner {
	position: relative;
	overflow: hidden;
	background: linear-gradient(125deg, var(--brand-1) 0%, var(--brand-2) 55%, var(--brand-3) 100%);
	padding: 5rem 0 9.5rem;
}

.shapes-container {
	position: absolute;
	inset: 0;
	pointer-events: none;
}
.shape {
	position: absolute;
	border-radius: 50%;
	filter: blur(2px);
}
.shape--1 {
	width: 480px;
	height: 480px;
	left: -160px;
	top: -180px;
	background: rgba(255, 255, 255, 0.05);
}
.shape--2 {
	width: 320px;
	height: 320px;
	right: -80px;
	top: -120px;
	background: rgba(255, 255, 255, 0.06);
}
.shape--3 {
	width: 620px;
	height: 620px;
	right: -260px;
	bottom: -320px;
	background: rgba(255, 255, 255, 0.05);
}
.shape--4 {
	width: 260px;
	height: 260px;
	left: 30%;
	bottom: -160px;
	background: rgba(255, 255, 255, 0.04);
}

.hero-row {
	position: relative;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 3rem;
	align-items: center;
}

.hero-content h1 {
	color: #ffffff;
	font-weight: 700;
	font-size: clamp(2.1rem, 3vw + 1rem, 2.9rem);
	line-height: 1.18;
	margin-bottom: 1.4rem;
}

.hero-content p {
	color: rgba(255, 255, 255, 0.88);
	font-size: 1.05rem;
	line-height: 1.7;
	margin-bottom: 1.25rem;
	max-width: 55ch;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.6rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.95rem 1.9rem;
	border-radius: 8px;
	font-size: 0.98rem;
	letter-spacing: 0.01em;
	transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.btn-main-md {
	background: #ffffff;
	color: var(--brand-1);
	box-shadow: 0 12px 26px -10px rgba(0, 0, 0, 0.35);
}
.btn-main-md:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 30px -10px rgba(0, 0, 0, 0.4);
}
.btn-outline-md {
	background: transparent;
	color: #ffffff;
	border: 1.5px solid rgba(255, 255, 255, 0.55);
}
.btn-outline-md:hover {
	border-color: #ffffff;
	transform: translateY(-2px);
}

.hero-visual {
	display: flex;
	justify-content: center;
}
.hero-dashboard-img {
	max-width: 100%;
	height: auto;
	display: block;
	filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.35));
}

/* ============ FEATURE CARD (overlapping hero) ============ */
.features-wrap {
	margin-top: -6rem;
	position: relative;
	z-index: 5;
	padding-bottom: 3rem;
}

.features-card {
	background: var(--paper);
	border-radius: 16px;
	box-shadow: 0 24px 55px -25px rgba(11, 37, 89, 0.35);
	padding: 2.8rem 2.4rem;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2.4rem;
	text-align: center;
}

.feature__icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin: 0 auto 1.1rem;
	border-radius: 12px;
	background: rgba(22, 63, 143, 0.1);
	color: var(--brand-2);
}
.feature__icon svg { width: 26px; height: 26px; }

.feature h3 {
	font-size: 1.08rem;
	font-weight: 600;
	margin-bottom: 0.6rem;
	color: var(--ink);
}
.feature p {
	font-size: 0.92rem;
	line-height: 1.6;
	color: var(--slate);
}

.trust-line {
	text-align: center;
	margin-top: 2.2rem;
	font-size: 1rem;
	font-weight: 600;
	color: var(--brand-1);
}

/* ============ INTRO SECTION (photo + info card) ============ */
.intro-section {
	padding: 4.5rem 0;
	background: #f4f6fb;
}

.intro-row {
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: 3rem;
	align-items: center;
}

.intro-visual {
	display: flex;
	justify-content: center;
}
.intro-img {
	width: 100%;
	max-width: 480px;
	height: auto;
	display: block;
	border-radius: 20px;
	box-shadow: 0 30px 60px -25px rgba(11, 37, 89, 0.35);
}

.intro-card {
	background: var(--paper);
	border-radius: 18px;
	padding: 2.6rem 2.6rem;
	box-shadow: 0 18px 45px -25px rgba(11, 37, 89, 0.25);
	border: 1px solid var(--line);
}

.intro-card h2 {
	font-size: clamp(1.5rem, 1.6vw + 1rem, 1.9rem);
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 1rem;
}

.intro-card > p {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--slate);
	margin-bottom: 1.6rem;
}

.intro-list {
	display: flex;
	flex-direction: column;
	gap: 1.1rem;
}
.intro-list li {
	display: flex;
	align-items: flex-start;
	gap: 0.85rem;
	font-size: 0.96rem;
	line-height: 1.55;
	color: var(--ink);
}
.intro-list strong {
	color: var(--brand-1);
	font-weight: 600;
}
.intro-list__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	margin-top: 0.1rem;
	border-radius: 50%;
	background: rgba(22, 63, 143, 0.12);
	color: var(--brand-2);
}
.intro-list__icon svg { width: 14px; height: 14px; }

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
	.hero-row { grid-template-columns: 1fr; text-align: center; }
	.hero-content p { margin-left: auto; margin-right: auto; }
	.hero-actions { justify-content: center; }
	.hero-visual { margin-top: 1.5rem; }
	.features-card { grid-template-columns: 1fr; }
	.intro-row { grid-template-columns: 1fr; }
	.intro-card { padding: 2rem 1.7rem; }
}

@media (max-width: 900px) {
	.navbar__links {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--paper);
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
		padding: 0.5rem 1.5rem 1.2rem;
		display: none;
		box-shadow: 0 12px 18px -10px rgba(11,37,89,0.12);
	}
	.navbar__links.is-open { display: flex; }
	.navbar__links li { width: 100%; }
	.navbar__links a { display: block; padding: 0.7rem 0; }
	.navbar__burger { display: flex; }

	.gradient-banner { padding: 3rem 0 8rem; }
	.features-wrap { margin-top: -5.5rem; }
	.features-card { padding: 2rem 1.4rem; }
}
/* ============ MODULES EXPLORER ============ */
/* ============ MODULES EXPLORER ============ */
.modules-section {
	padding: 4.5rem 0 5.5rem;
	background: #f4f6fb;
}

.modules-head {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 2.4rem;
}
.modules-head h2 {
	font-size: clamp(1.8rem, 2.4vw + 1rem, 2.6rem);
	font-weight: 700;
	color: var(--brand-1);
	margin-bottom: 1rem;
}
.modules-banner {
	display: inline-block;
	background: var(--brand-2);
	color: #ffffff;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 0.6rem 1.4rem;
	border-radius: 8px;
}

/* ===== TOP: MODULE CARD GRID ===== */
.module-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1rem;
	margin-bottom: 1.6rem;
}
.module-card {
	display: flex;
	align-items: center;
	gap: 0.9rem;
	text-align: left;
	background: var(--paper);
	border: 1.5px solid var(--line);
	border-radius: 14px;
	padding: 1.1rem 1.2rem;
	cursor: pointer;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.module-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 26px -18px rgba(11, 37, 89, 0.35);
}
.module-card.is-active {
	border-color: var(--brand-3);
	box-shadow: 0 0 0 3px rgba(42, 99, 201, 0.15);
}
.module-card__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: rgba(22, 63, 143, 0.1);
	color: var(--brand-2);
}
.module-card.is-active .module-card__icon {
	background: var(--brand-2);
	color: #ffffff;
}
.module-card__icon svg { width: 22px; height: 22px; }
.module-card__text { display: flex; flex-direction: column; gap: 0.15rem; min-width: 0; }
.module-card__text strong {
	font-size: 0.98rem;
	font-weight: 700;
	color: var(--ink);
	font-family: "Poppins", sans-serif;
}
.module-card__text small {
	font-size: 0.78rem;
	color: var(--slate);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* ===== BOTTOM: PANELS ===== */
.modules-panels {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 18px;
	padding: 2.2rem;
	min-height: 420px;
}
.module-panel { display: none; animation: moduleFade 0.25s ease; }
.module-panel.is-active { display: block; }
@keyframes moduleFade {
	from { opacity: 0; transform: translateY(6px); }
	to { opacity: 1; transform: translateY(0); }
}

/* MIS layout: facet-nav (left) + facet-content (right) */
.module-layout {
	display: grid;
	grid-template-columns: 250px 1fr;
	gap: 2rem;
}

.facet-nav {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}
.facet-nav-item {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	text-align: left;
	background: #f4f6fb;
	border: 1px solid var(--line);
	border-radius: 12px;
	padding: 0.8rem 0.9rem;
	font-family: "Inter", sans-serif;
	font-weight: 600;
	font-size: 0.92rem;
	color: var(--slate);
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.facet-nav-item:hover { color: var(--brand-1); }
.facet-nav-item.is-active {
	background: rgba(22, 63, 143, 0.08);
	border-color: var(--brand-3);
	color: var(--brand-1);
}
.facet-nav-item__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: rgba(22, 63, 143, 0.12);
	color: var(--brand-2);
}
.facet-nav-item.is-active .facet-nav-item__icon { background: var(--brand-2); color: #fff; }
.facet-nav-item__icon svg { width: 16px; height: 16px; }
.facet-nav-item__label { flex: 1; }
.facet-nav-item__count {
	font-size: 0.75rem;
	font-weight: 700;
	color: var(--brand-2);
	background: rgba(22, 63, 143, 0.12);
	padding: 0.1rem 0.5rem;
	border-radius: 999px;
}

.facet-panel { display: none; }
.facet-panel.is-active { display: block; animation: moduleFade 0.2s ease; }

/* Titles + description shared by MIS facets and simple modules */
.facet-panel h3, .module-simple h3 {
	font-size: 1.45rem;
	font-weight: 700;
	color: var(--ink);
	margin-bottom: 0.5rem;
	font-family: "Poppins", sans-serif;
}
.facet-panel h3 span, .module-simple h3 span {
	display: block;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--brand-3);
	margin-top: 0.25rem;
}
.facet-panel > p, .module-simple > p {
	font-size: 1rem;
	line-height: 1.65;
	color: var(--slate);
	margin-bottom: 1.4rem;
	max-width: 70ch;
}

/* Checklist rows (screenshot style) */
.checklist {
	display: flex;
	flex-direction: column;
	gap: 0.8rem;
}
.checklist-row {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	background: #f4f6fb;
	border: 1px solid var(--line);
	border-radius: 10px;
	padding: 0.9rem 1.1rem;
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.5;
}
.checklist-row b { font-weight: 700; }
.checklist-row__tick {
	flex: none;
	color: #1f9d55;
	font-weight: 800;
	font-size: 1rem;
}
.clr-a { color: var(--brand-1); }
.clr-b { color: #9c3d54; }
.clr-c { color: var(--brand-2); }
.clr-d { color: #6b3fa0; }

/* Footer strip (Who Uses It / What You Get / Key Outputs) */
.facet-footer {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.2rem;
	margin-top: 1.8rem;
	padding-top: 1.6rem;
	border-top: 1px solid var(--line);
}
.facet-footer h4 {
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	color: var(--brand-1);
	margin-bottom: 0.3rem;
}
.facet-footer p {
	font-size: 0.85rem;
	line-height: 1.5;
	color: var(--slate);
}

@media (max-width: 960px) {
	.module-cards { grid-template-columns: repeat(2, 1fr); }
	.module-layout { grid-template-columns: 1fr; }
	.facet-nav { flex-direction: row; overflow-x: auto; }
	.facet-nav-item { flex: none; }
	.facet-footer { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
	.module-cards { grid-template-columns: 1fr; }
}
/* ===== Accordion (Manage / Reports individual points) ===== */
.accordion-list {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
}
.accordion-item {
	background: #f4f6fb;
	border: 1px solid var(--line);
	border-radius: 10px;
	overflow: hidden;
}
.accordion-header {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	width: 100%;
	text-align: left;
	background: transparent;
	border: 0;
	padding: 0.85rem 1.1rem;
	font-family: "Inter", sans-serif;
	cursor: pointer;
}
.accordion-header__tick {
	flex: none;
	color: #1f9d55;
	font-weight: 800;
}
.accordion-header__title {
	flex: 1;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--ink);
}
.accordion-header__chevron {
	flex: none;
	font-size: 1.2rem;
	color: var(--brand-3);
	transition: transform 0.2s ease;
}
.accordion-item.is-open .accordion-header__chevron {
	transform: rotate(90deg);
}
.accordion-body {
	display: none;
	padding: 0 1.1rem 1.1rem 2.5rem;
}
.accordion-item.is-open .accordion-body {
	display: block;
	animation: moduleFade 0.2s ease;
}
.accordion-body p {
	font-size: 0.9rem;
	line-height: 1.6;
	color: var(--slate);
	margin-bottom: 0.9rem;
	max-width: 65ch;
}
.accordion-body .module-screenshot-placeholder {
	aspect-ratio: 16 / 7;
	max-width: 480px;
}
.accordion-why {
    margin-bottom: 16px;
    color: var(--text-secondary, #444);
}

.accordion-roles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}

.accordion-role h5 {
    margin-bottom: 8px;
    font-weight: 600;
}

.accordion-role ul {
    margin: 0;
    padding-left: 18px;
}

.accordion-role li {
    margin-bottom: 4px;
    font-size: 14px;
}

.accordion-table-wrap {
    margin-bottom: 16px;
    overflow-x: auto;
}

.accordion-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.accordion-table th,
.accordion-table td {
    border: 1px solid #e0e0e0;
    padding: 8px 10px;
    text-align: left;
}

.accordion-table th {
    background: #f7f7f9;
    font-weight: 700;
}
/* Accordion body ला compact ani card-like look */
/* ===== Accordion body — card look ===== */
.accordion-body {
    max-width: 100%;
    padding: 24px 28px;
    background: linear-gradient(180deg, #fbfcfe 0%, #f6f8fc 100%);
    border-radius: 12px;
    margin-top: 8px;
    border: 1px solid #e3e8f0;
}

.accordion-body p {
    font-size: 16px;
    line-height: 1.75;
    color: #384156;
    margin-bottom: 20px;
    font-weight: 450;
}

/* ===== Section titles (List View Columns / Add Form / Report Columns) ===== */
.accordion-table-wrap {
    margin-bottom: 20px;
    max-width: 900px;
    overflow-x: auto;
}

.accordion-table-wrap h5 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 800;
    margin-bottom: 12px;
    padding: 7px 16px 7px 14px;
    border-radius: 999px;
    border-left: none;
}

/* List View / Report Columns section — green */
.accordion-table-wrap:nth-of-type(1) h5 {
    color: #0f7a42;
    background: rgba(31, 157, 85, 0.12);
}

/* Add Form section — maroon/pink */
.accordion-table-wrap:nth-of-type(2) h5 {
    color: #9c3d54;
    background: rgba(156, 61, 84, 0.1);
}

/* Any 3rd section (e.g. Filters, Bulk Import) — blue */
.accordion-table-wrap:nth-of-type(3) h5 {
    color: var(--brand-2);
    background: rgba(22, 63, 143, 0.1);
}

/* ===== Table itself ===== */
.accordion-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 15px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(11, 37, 89, 0.06);
    border: 1px solid #e5e9f0;
}

.accordion-table th {
    background: linear-gradient(180deg, var(--brand-2) 0%, var(--brand-1) 100%);
    color: #ffffff;
    font-weight: 700;
    padding: 12px 16px;
    text-align: left;
    font-size: 14px;
    letter-spacing: 0.2px;
}

.accordion-table th:first-child { border-top-left-radius: 10px; }
.accordion-table th:last-child { border-top-right-radius: 10px; }

.accordion-table td {
    padding: 12px 16px;
    border-top: 1px solid #eef1f6;
    color: #333b4d;
    font-size: 15px;
    font-weight: 450;
}

.accordion-table tbody tr:nth-child(even) {
    background: #f7f9fc;
}

.accordion-table tbody tr:hover {
    background: rgba(42, 99, 201, 0.07);
}

.accordion-table tbody tr:last-child td {
    border-bottom: none;
}

/* First column (Sr.No / Field name) thoda bold + accent color */
.accordion-table td:first-child {
    font-weight: 700;
    color: var(--brand-1);
}

/* ===== Screenshot ===== */
.module-screenshot {
    max-width: 480px;
    margin-top: 20px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid #e5e9f0;
    box-shadow: 0 6px 20px rgba(11, 37, 89, 0.1);
    cursor: zoom-in;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.module-screenshot:hover {
    border-color: var(--brand-3);
    box-shadow: 0 10px 26px rgba(11, 37, 89, 0.18);
}

.module-screenshot img {
    width: 100%;
    display: block;
    transition: transform 0.25s ease;
}

.module-screenshot:hover img {
    transform: scale(1.03);
}

/* ===== Accordion header — small color refresh so open item stands out ===== */
.accordion-item.is-open {
    border-color: var(--brand-3);
    box-shadow: 0 0 0 2px rgba(42, 99, 201, 0.1);
}

.accordion-item.is-open .accordion-header__title {
    color: var(--brand-2);
}

/* Screenshot compact + attractive */
.module-screenshot {
    max-width: 480px;
    margin-top: 16px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

.module-screenshot img {
    width: 100%;
    display: block;
    transition: transform 0.25s ease;
}

.module-screenshot:hover img {
    transform: scale(1.03);
}

.accordion-table-wrap:nth-of-type(1) h5 {
    border-left-color: #1f9d55;   /* green — List View */
    color: #1f9d55;
}
.accordion-table-wrap:nth-of-type(2) h5 {
    border-left-color: #9c3d54;   /* maroon — Add Form */
    color: #9c3d54;
}
/* Screenshot click cursor */
.module-screenshot {
    cursor: zoom-in;
}

/* Lightbox overlay */
.screenshot-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(11, 37, 89, 0.9);
    z-index: 999;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}
.screenshot-lightbox.is-open {
    display: flex;
}
.screenshot-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.screenshot-lightbox__close {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    color: #fff;
    font-size: 2.2rem;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
}
.screenshot-lightbox__close:hover {
    color: var(--brand-3);
}
/* Modules section */
.modules-section .container {
    max-width: 1400px;
}

/* Facet-nav  */
.module-layout {
    grid-template-columns: 270px 1fr;
}

/* Accordion body  */
.accordion-body {
    max-width: 100%;
}

/* Table  */
.accordion-table-wrap {
    max-width: 900px;
}

/* ============ EXPLORE MODULES — scoped styles ============ */
.explore-modules{
	--em-primary:#6C4FF6;
	--em-primary-dark:#5539E0;
	--em-primary-soft:#F0ECFF;
	--em-ink:#171A2E;
	--em-muted:#6B7186;
	--em-line:#E7E4F6;
	--em-bg:#FBFAFF;
	background:var(--em-bg);
	padding:80px 24px;
	font-family:'Inter',sans-serif;
	color:var(--em-ink);
}

.em-container{ max-width:1180px; margin:0 auto; }

.em-head{ text-align:center; margin-bottom:48px; }

.em-badge{
	display:inline-block;
	padding:6px 16px;
	border-radius:999px;
	background:var(--em-primary-soft);
	color:var(--em-primary-dark);
	font-weight:600;
	font-size:13px;
	letter-spacing:.02em;
	margin-bottom:18px;
}

.em-title{
	font-family:'Poppins',sans-serif;
	font-weight:700;
	font-size:clamp(28px,4vw,44px);
	line-height:1.15;
	margin:0 0 14px;
	color:var(--em-ink);
}

.em-subtitle{
	font-size:16px;
	color:var(--em-muted);
	max-width:520px;
	margin:0 auto;
	line-height:1.6;
}

/* ---- CARD GRID ---- */
.em-cards{
	display:grid;
	grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
	gap:18px;
	margin-bottom:8px;
}

.em-card{
	position:relative;
	display:flex;
	flex-direction:column;
	align-items:center;
	gap:12px;
	padding:26px 18px;
	background:#fff;
	border:1.5px solid var(--em-line);
	border-radius:16px;
	cursor:pointer;
	font-family:inherit;
	transition:border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}

.em-card:hover{
	transform:translateY(-3px);
	box-shadow:0 12px 24px -12px rgba(108,79,246,.25);
}

.em-card.is-active{
	border-color:var(--em-primary);
	box-shadow:0 14px 30px -14px rgba(108,79,246,.35);
}

.em-card.is-active::after{
	content:"";
	position:absolute;
	bottom:-1px; left:50%;
	transform:translateX(-50%);
	width:36px; height:3px;
	border-radius:3px;
	background:var(--em-primary);
}

.em-card__icon{
	width:48px; height:48px;
	display:flex; align-items:center; justify-content:center;
	border-radius:13px;
	background:var(--em-primary-soft);
	color:var(--em-primary);
	transition:background .25s ease, color .25s ease, transform .25s ease;
}
.em-card__icon svg{ width:22px; height:22px; }

.em-card.is-active .em-card__icon{
	background:var(--em-primary);
	color:#fff;
	transform:scale(1.06);
}

.em-card__title{
	font-family:'Poppins',sans-serif;
	font-weight:600;
	font-size:14px;
	text-align:center;
	color:var(--em-ink);
	line-height:1.35;
}

/* ---- DETAIL PANEL ---- */
.em-detail{
	position:relative;
	margin-top:28px;
	background:#fff;
	border:1.5px solid var(--em-line);
	border-radius:20px;
	padding:40px 44px;
	overflow:hidden;
}

.em-detail::before{
	content:"";
	position:absolute;
	inset:0 auto 0 0;
	width:4px;
	background:linear-gradient(180deg,var(--em-primary),var(--em-primary-dark));
}

.em-panel{
	display:none;
	align-items:flex-start;
	gap:26px;
	animation:emFade .35s ease;
}
.em-panel.is-active{ display:flex; }

@keyframes emFade{
	from{ opacity:0; transform:translateY(6px); }
	to{ opacity:1; transform:translateY(0); }
}

.em-panel__icon{
	flex:0 0 auto;
	width:56px; height:56px;
	border-radius:14px;
	background:var(--em-primary-soft);
	color:var(--em-primary);
	display:flex; align-items:center; justify-content:center;
}
.em-panel__icon svg{ width:26px; height:26px; }

.em-panel__body h3{
	font-family:'Poppins',sans-serif;
	font-weight:700;
	font-size:22px;
	margin:2px 0 10px;
	color:var(--em-ink);
}

.em-panel__body p{
	color:var(--em-muted);
	font-size:15px;
	line-height:1.7;
	margin:0 0 16px;
	max-width:640px;
}

.em-panel__list{
	list-style:none;
	margin:0; padding:0;
	display:flex; flex-direction:column; gap:10px;
}

.em-panel__list li{
	position:relative;
	padding-left:24px;
	font-size:14.5px;
	color:var(--em-ink);
}
.em-panel__list li::before{
	content:"";
	position:absolute; left:0; top:7px;
	width:9px; height:9px;
	border-radius:50%;
	background:var(--em-primary-soft);
	border:2px solid var(--em-primary);
}

/* ---- RESPONSIVE ---- */
@media (max-width:560px){
	.explore-modules{ padding:56px 18px; }
	.em-cards{ grid-template-columns:repeat(2, 1fr); }
	.em-detail{ padding:28px 24px; }
	.em-panel{ flex-direction:column; gap:16px; }
}

/* Reduced motion */
@media (prefers-reduced-motion:reduce){
	.em-card, .em-card__icon{ transition:none; }
	.em-panel{ animation:none; }
}

/* ============ SHOWCASE SECTION ============ */
.showcase-section {
    padding: 80px 0;
    background: #f7f9fc;
}

.showcase-section .container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.showcase-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.showcase-badge {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #2563eb;
    background: #e8efff;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.showcase-head h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 34px;
    color: #10213f;
    margin: 0 0 12px;
}

.showcase-head p {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #57647c;
    margin: 0;
}

.showcase-row {
    display: flex;
    align-items: center;
    gap: 56px;
    margin-bottom: 64px;
}

.showcase-row:last-child {
    margin-bottom: 0;
}

.showcase-row--reverse {
    flex-direction: row-reverse;
}

.showcase-visual {
    flex: 1 1 50%;
    min-width: 0;
}

.showcase-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(16, 33, 63, 0.12);
}

.showcase-card {
    flex: 1 1 50%;
    min-width: 0;
}

.showcase-card h3 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.3;
    color: #10213f;
    margin: 0 0 14px;
}

.showcase-card > p {
    font-family: 'Inter', sans-serif;
    font-size: 15.5px;
    line-height: 1.6;
    color: #57647c;
    margin: 0 0 20px;
}

.showcase-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.showcase-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #23324f;
    line-height: 1.5;
}

.showcase-list__icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.showcase-list__icon svg {
    width: 13px;
    height: 13px;
}

.showcase-note {
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    line-height: 1.6;
    color: #57647c;
    background: #eef2fb;
    border-left: 3px solid #2563eb;
    padding: 14px 18px;
    border-radius: 8px;
    margin: 0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 900px) {
    .showcase-row,
    .showcase-row--reverse {
        flex-direction: column;
        gap: 28px;
        margin-bottom: 48px;
    }

    .showcase-head h2 {
        font-size: 26px;
    }

    .showcase-card h3 {
        font-size: 22px;
    }
}

.navbar__mobile-actions {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
  margin-top: 10px;
  border-top: 1px solid #e7e1d2;
}

.navbar__mobile-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 11px 16px;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}

.navbar__mobile-btn--login {
  border: 1.5px solid #1A2340;
  color: #1A2340;
  background: transparent;
}

.navbar__mobile-btn--call {
  border: 1.5px solid #2255C4;
  color: #2255C4;
  background: transparent;
}

.navbar__mobile-btn--demo {
  background: linear-gradient(135deg, #2255C4, #1738A0);
  color: #fff;
}

@media (max-width: 900px) {
  .navbar__mobile-actions { display: flex; }
}

/* ============================================================
   FONT SIZE BOOST — paste this AFTER your existing style.css
   (or merge these rules into style.css, replacing older sizes)
   Increases text size across every section of the page.
   ============================================================ */

/* ---------- BASE ---------- */
html {
    font-size: 17px; /* base bump from typical 14-16px */
}

body {
    font-size: 1rem;
    line-height: 1.65;
}

/* ---------- NAVBAR ---------- */
.navbar__links a {
    font-size: 16px;
}

/* ---------- HERO ---------- */
.hero-content h1 {
    font-size: 42px;
    line-height: 1.25;
}

.hero-content p {
    font-size: 17px;
    line-height: 1.75;
}

.hero-actions .btn {
    font-size: 16px;
}

/* ---------- FEATURE CARDS (pulled-over section) ---------- */
.feature h3 {
    font-size: 20px;
}

.feature p {
    font-size: 15.5px;
    line-height: 1.65;
}

.trust-line {
    font-size: 16px;
}

/* ---------- INTEGRATED MIS INTRO SECTION ---------- */
.intro-card h2 {
    font-size: 30px;
}

.intro-card > p {
    font-size: 16.5px;
    line-height: 1.75;
}

.intro-list li {
    font-size: 15.5px;
    line-height: 1.6;
}

/* ---------- MODULES EXPLORER HEAD ---------- */
.modules-head h2 {
    font-size: 45px;
}

.modules-banner {
    font-size: 15px;
}

/* ---------- MODULE CARDS (top grid) ---------- */
.module-card__text strong {
    font-size: 15.5px;
}

.module-card__text small {
    font-size: 13px;
}

/* ---------- FACET NAV (Key Features / Manage / Reports) ---------- */
.facet-nav-item__label {
    font-size: 15px;
}

.facet-nav-item__count {
    font-size: 12.5px;
}

/* ---------- FACET CONTENT — Key Features panel ---------- */
.facet-panel h3 {
    font-size: 22px;
}

.facet-panel h3 span {
    font-size: 15px;
}

.facet-panel > p {
    font-size: 15.5px;
    line-height: 1.7;
}

.checklist-row {
    font-size: 15px;
}

.facet-footer h4 {
    font-size: 14.5px;
}

.facet-footer p {
    font-size: 14.5px;
    line-height: 1.6;
}

/* ---------- ACCORDIONS (Manage / Reports item lists) ---------- */
.accordion-header__title {
    font-size: 16px;
}

.accordion-body > p {
    font-size: 15px;
    line-height: 1.7;
}

.accordion-table-wrap h5 {
    font-size: 14.5px;
}

.accordion-table {
    font-size: 14px;
}

.accordion-table th,
.accordion-table td {
    font-size: 14px;
    padding: 8px 10px;
}

/* ---------- EXPLORE MODULES SHOWCASE (bottom section) ---------- */
.em-title {
    font-size: 40px;
}

.em-subtitle {
    font-size: 16.5px;
}

.em-badge {
    font-size: 14.5px;
}

.em-card__title {
    font-size: 18px;
}

.em-panel__body h3 {
    font-size: 24px;
}

.em-panel__body p {
    font-size: 16px;
    line-height: 1.7;
}

.em-panel__list li {
    font-size: 15.5px;
    line-height: 1.6;
}

/* ---------- SHOWCASE SECTION (image + text section) ---------- */
.showcase-head h2 {
    font-size: 36px;
}

.showcase-head p {
    font-size: 17px;
}

.showcase-badge {
    font-size: 14px;
}

.showcase-card h3 {
    font-size: 28px;
}

.showcase-card > p {
    font-size: 16.5px;
}

.showcase-list li {
    font-size: 16px;
}

.showcase-note {
    font-size: 15.5px;
}

/* ---------- RESPONSIVE: keep things readable, not oversized, on mobile ---------- */
@media (max-width: 768px) {
    html {
        font-size: 16px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .showcase-head h2 {
        font-size: 26px;
    }

    .showcase-card h3 {
        font-size: 22px;
    }

    .em-title {
        font-size: 24px;
    }

    .em-panel__body h3 {
        font-size: 20px;
    }
}


/* ============================================================
   1) SIGNATURE EXPLAINER SECTION — widened
   ============================================================ */
/* ============================================================
   SIGNATURE EXPLAINER SECTION — LIGHT THEME
   ============================================================ */
.mx-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #f4f8ff 0%, #eaf1ff 55%, #f7faff 100%);
    padding: 96px 0 84px;
}
 
.mx-glow {
    position: absolute;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    pointer-events: none;
}
 
.mx-glow--right {
    top: -160px;
    right: -160px;
    background: radial-gradient(circle, rgba(242,169,59,0.16) 0%, rgba(242,169,59,0) 70%);
}
 
.mx-glow--left {
    bottom: -190px;
    left: -180px;
    background: radial-gradient(circle, rgba(41,84,200,0.14) 0%, rgba(41,84,200,0) 70%);
}
 
.mx-container {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
    text-align: center;
}
 
.mx-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 12.5px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #d9861f;
    margin-bottom: 18px;
}
 
.mx-headline {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 42px;
    line-height: 1.22;
    color: #10213f;
    margin: 0 0 16px;
    letter-spacing: -0.01em;
}
 
.mx-sub {
    font-family: 'Inter', sans-serif;
    font-size: 16.5px;
    line-height: 1.7;
    color: #57647c;
    max-width: 620px;
    margin: 0 auto 60px;
}
 
/* ---------- FLOW ---------- */
.mx-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 44px;
    flex-wrap: nowrap;
}
 
.mx-inputs {
    display: grid;
    grid-template-columns: repeat(3, minmax(140px, 1fr));
    gap: 14px;
    flex: 1 1 auto;
    max-width: 620px;
}
 
.mx-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #dde6f7;
    border-radius: 12px;
    padding: 14px 16px;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #263757;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(16,33,63,0.05);
}
 
.mx-chip__icon {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    color: #2954c8;
    display: flex;
}
 
.mx-chip__icon svg {
    width: 100%;
    height: 100%;
}
 
.mx-wire {
    flex: 0 0 auto;
    width: 90px;
    height: 24px;
}
 
.mx-wire svg {
    width: 100%;
    height: 100%;
    overflow: visible;
}
 
.mx-wire__line {
    stroke: #e5983a;
    stroke-width: 2;
    stroke-dasharray: 6 6;
    animation: mx-dash 1.1s linear infinite;
}
 
.mx-wire__head {
    fill: none;
    stroke: #e5983a;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
 
@keyframes mx-dash {
    to { stroke-dashoffset: -24; }
}
 
.mx-core {
    position: relative;
    flex: 0 0 auto;
    width: 152px;
    height: 152px;
    border-radius: 50%;
    background: linear-gradient(160deg, #2954c8 0%, #1c3d99 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(41,84,200,0.28);
}
 
.mx-core__ring {
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    border: 1.5px dashed rgba(229,152,58,0.6);
}
 
.mx-core__label {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.3;
    color: #ffffff;
}
 
.mx-output {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    border: 1px solid #f2c98c;
    border-radius: 16px;
    padding: 22px 26px;
    min-width: 160px;
    box-shadow: 0 8px 22px rgba(229,152,58,0.12);
}
 
.mx-output__icon {
    width: 26px;
    height: 26px;
    color: #d9861f;
}
 
.mx-output__icon svg {
    width: 100%;
    height: 100%;
}
 
.mx-output__text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #10213f;
    line-height: 1.35;
}
 
/* ---------- CTA ---------- */
.mx-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14.5px;
    color: #ffffff;
    background: #2954c8;
    padding: 13px 26px;
    border-radius: 999px;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
 
.mx-cta:hover {
    background: #1c3d99;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(41,84,200,0.3);
}
 
/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .mx-inputs {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
        max-width: 420px;
    }
 
    .mx-wire {
        width: 50px;
    }
}
 
@media (max-width: 860px) {
    .mx-flow {
        flex-direction: column;
        gap: 16px;
    }
 
    .mx-inputs {
        max-width: 420px;
    }
 
    .mx-wire {
        width: 24px;
        height: 44px;
        transform: rotate(90deg);
    }
 
    .mx-headline {
        font-size: 30px;
    }
}
 
@media (max-width: 480px) {
    .mx-inputs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
 
    .mx-headline {
        font-size: 25px;
    }
 
    .mx-sub {
        font-size: 14.5px;
    }
}
 
@media (prefers-reduced-motion: reduce) {
    .mx-wire__line {
        animation: none;
    }
}
/* ============================================================
   2) FOOTER — same dark family, BLUE accent (not amber) so it
   reads as a distinct section from the explainer above it.
   ============================================================ */
.sz-footer {
    position: relative;
    background: #0d1b2e; /* flat, no gradient/glow — deliberately different from mx-section */
    padding: 64px 0 0;
    border-top: 1px solid rgba(255,255,255,0.06);
}
 
.sz-footer__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}
 
.sz-footer__grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 48px;
}
 
.sz-footer__logo {
    height: 42px;
    margin-bottom: 18px;
    border-radius: 8px;
}
 
.sz-footer__about {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: #9aa8c2;
    max-width: 340px;
    margin: 0 0 22px;
}
 
.sz-footer__social {
    display: flex;
    gap: 10px;
}
 
.sz-footer__social-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    color: #cdd7ec;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s ease, color .15s ease;
}
 
.sz-footer__social-icon svg {
    width: 16px;
    height: 16px;
}
 
.sz-footer__social-icon:hover {
    background: #2954c8;
    color: #ffffff;
}
 
.sz-footer__col h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15.5px;
    color: #ffffff;
    margin: 0 0 18px;
}
 
.sz-footer__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
 
.sz-footer__col a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #9aa8c2;
    text-decoration: none;
    transition: color .15s ease;
}
 
.sz-footer__col a:hover {
    color: #6fa0ff;
}
 
.sz-footer__contact-list {
    margin-bottom: 22px !important;
}
 
.sz-footer__contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    line-height: 1.6;
    color: #9aa8c2;
}
 
.sz-footer__contact-icon {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    color: #6fa0ff;
}
 
.sz-footer__contact-icon svg {
    width: 100%;
    height: 100%;
}
 
.sz-footer__demo-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 14px;
    color: #ffffff;
    background: #2954c8;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    transition: background .15s ease, transform .15s ease;
}
 
.sz-footer__demo-btn:hover {
    background: #3a63d8;
    transform: translateY(-1px);
}
 
.sz-footer__bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 22px 0;
    text-align: center;
}
 
.sz-footer__bottom p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #7c8aa8;
    margin: 0;
}
 
.sz-footer__scrolltop {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 10px;
    background: #2954c8;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(41,84,200,0.4);
    transition: background .15s ease, transform .15s ease;
    z-index: 40;
}
 
.sz-footer__scrolltop:hover {
    background: #3a63d8;
    transform: translateY(-2px);
}
 
.sz-footer__scrolltop svg {
    width: 20px;
    height: 20px;
}
 
/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .sz-footer__grid {
        grid-template-columns: 1fr 1fr;
        row-gap: 36px;
    }
 
    .sz-footer__brand {
        grid-column: 1 / -1;
    }
}
 
@media (max-width: 560px) {
    .sz-footer__grid {
        grid-template-columns: 1fr;
    }
 
    .sz-footer__container {
        padding: 0 24px;
    }
}
/* ============================================================
   MOBILE — Explore Each MIS Area as a fullscreen popup
   ============================================================ */

.mobile-panel-close {
  display: none;
}

@media (max-width: 768px) {

  .module-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }

  /* Panels become a fullscreen popup, hidden until opened */
  .modules-panels {
    display: none;
  }

  .modules-panels.mobile-open {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: #fff;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 64px 16px 30px;
    border: none;
    border-radius: 0;
  }

  .mobile-panel-close {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 1001;
    background: var(--brand-2);
    color: #fff;
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
  }

  /* Inside the popup: facet-nav as horizontal scroll pills */
  .module-layout {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .facet-nav {
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
    padding-bottom: 0.4rem;
    border-bottom: 1px solid var(--line);
  }

  .facet-nav-item {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.6rem 0.9rem;
    font-size: 0.85rem;
  }

  .facet-nav-item__label { font-size: 0.85rem; }

  .facet-panel h3, .module-simple h3 { font-size: 1.15rem; }
  .facet-panel h3 span, .module-simple h3 span { font-size: 0.8rem; }
  .facet-panel > p, .module-simple > p { font-size: 0.9rem; }

  .checklist-row { font-size: 0.88rem; padding: 0.75rem 0.9rem; }

  .facet-footer { grid-template-columns: 1fr; gap: 1rem; }

  .accordion-header { padding: 0.75rem 0.85rem; gap: 0.5rem; }
  .accordion-header__title { font-size: 0.9rem; line-height: 1.35; }

  .accordion-body { padding: 16px 14px; }
  .accordion-body p { font-size: 0.88rem; }

  /* Tables scroll horizontally instead of squeezing */
  .accordion-table-wrap {
    max-width: 100%;
    border: 1px solid #e5e9f0;
    border-radius: 10px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .accordion-table-wrap h5 {
    font-size: 12px;
    padding: 6px 12px;
    margin: 0;
  }

  .accordion-table {
    font-size: 12.5px;
    border-radius: 0;
    box-shadow: none;
    border: none;
    min-width: 560px;
  }

  .accordion-table th,
  .accordion-table td {
    padding: 8px 10px;
    font-size: 12.5px;
    white-space: nowrap;
  }

  .module-screenshot { max-width: 100%; }

  .accordion-table-wrap::after {
    content: "⟷ Scroll to see more";
    display: block;
    text-align: center;
    font-size: 11px;
    color: var(--slate);
    padding: 4px 0 6px;
    background: #f7f9fc;
  }

  body.mobile-modal-lock {
    overflow: hidden;
  }
}

@media (max-width: 480px) {
  .module-cards { grid-template-columns: 1fr; }
  .modules-head h2 { font-size: 1.5rem; }
}
@media (max-width: 768px) {

  /* Grid overflow fix — हे मुख्य कारण आहे */
  .module-layout {
    grid-template-columns: 1fr;
    min-width: 0;
    width: 100%;
  }

  .facet-nav,
  .facet-content,
  .facet-panel {
    min-width: 0;
    width: 100%;
  }

  /* popup madhech horizontal scroll block kara — फक्त tables ला allow ठेवा */
  .modules-panels.mobile-open {
    overflow-x: hidden;
  }

  .modules-panels.mobile-open .module-panel,
  .modules-panels.mobile-open .module-layout,
  .modules-panels.mobile-open .facet-content {
    max-width: 100%;
    overflow-x: hidden;
  }

  /* text wrap व्यवस्थित व्हावं म्हणून */
  .facet-panel p,
  .facet-panel h3,
  .checklist-row,
  .accordion-header__title,
  .accordion-body p {
    overflow-wrap: break-word;
    word-break: break-word;
  }
}
@media (max-width: 768px) {
  .facet-nav-item {
    flex: 0 0 auto;
    min-width: max-content;
  }
}




