/**
 * Maharashtra Leader Portfolio Theme - Main Stylesheet
 * 
 * Color Scheme:
 * Navy (#1B365D), Saffron (#E67E22), Amber (#F39C12), Slate (#4A5568), Light (#F8F9FA)
 */

:root {
	--ml-navy: #1B365D;
	--ml-navy-dark: #0F213A;
	--ml-navy-light: #2A4A7F;
	--ml-saffron: #E67E22;
	--ml-saffron-hover: #D35400;
	--ml-amber: #F39C12;
	--ml-dark: #1A202C;
	--ml-slate: #4A5568;
	--ml-muted: #718096;
	--ml-border: #E2E8F0;
	--ml-light: #F8F9FA;
	--ml-card-bg: #FFFFFF;
	--ml-white: #FFFFFF;
	--ml-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	--ml-radius: 8px;
	--ml-radius-lg: 16px;
	--ml-shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
	--ml-shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
	--ml-shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.03);
	--ml-container-width: 1200px;
}

/* CSS Reset & Defaults */
*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	font-family: var(--ml-font);
	font-size: 16px;
	line-height: 1.6;
	color: var(--ml-dark);
	background-color: var(--ml-white);
	scroll-behavior: smooth;
	-webkit-font-smoothing: antialiased;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

a {
	color: var(--ml-navy);
	text-decoration: none;
	transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
	color: var(--ml-saffron);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

/* Screen Reader Only Utility */
.screen-reader-text {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

.skip-link:focus {
	position: fixed !important;
	top: 10px !important;
	left: 10px !important;
	width: auto !important;
	height: auto !important;
	clip: auto !important;
	background: var(--ml-saffron) !important;
	color: var(--ml-white) !important;
	padding: 8px 16px !important;
	z-index: 999999 !important;
	font-weight: 600 !important;
	border-radius: var(--ml-radius) !important;
}

/* Container */
.ml-container {
	width: 100%;
	max-width: var(--ml-container-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
}

/* Buttons */
.ml-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	font-weight: 600;
	font-size: 0.95rem;
	border-radius: var(--ml-radius);
	cursor: pointer;
	border: 2px solid transparent;
	transition: all 0.2s ease;
	line-height: 1.2;
}

.ml-btn-accent {
	background-color: var(--ml-saffron);
	color: var(--ml-white);
}

.ml-btn-accent:hover {
	background-color: var(--ml-saffron-hover);
	color: var(--ml-white);
	box-shadow: 0 4px 12px rgba(230, 126, 34, 0.35);
}

.ml-btn-primary {
	background-color: var(--ml-navy);
	color: var(--ml-white);
}

.ml-btn-primary:hover {
	background-color: var(--ml-navy-light);
	color: var(--ml-white);
}

.ml-btn-outline {
	background-color: transparent;
	color: var(--ml-navy);
	border-color: var(--ml-navy);
}

.ml-btn-outline:hover {
	background-color: var(--ml-navy);
	color: var(--ml-white);
}

.ml-btn-white {
	background-color: var(--ml-white);
	color: var(--ml-navy);
}

.ml-btn-white:hover {
	background-color: var(--ml-light);
	color: var(--ml-navy-dark);
}

.ml-btn-block {
	width: 100%;
}

/* Badges & Pills */
.ml-sector-pill {
	display: inline-block;
	background-color: #EBF4FF;
	color: var(--ml-navy);
	font-size: 0.75rem;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 50px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.ml-status-pill {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 50px;
}

.ml-status-completed {
	background-color: #DEF7EC;
	color: #03543F;
}

.ml-status-progress {
	background-color: #FEF08A;
	color: #713F12;
}

.ml-status-sanctioned {
	background-color: #E0E7FF;
	color: #3730A3;
}

.ml-status-proposed {
	background-color: #F3F4F6;
	color: #4B5563;
}

/* Header & Navigation */
.ml-site-header {
	background-color: var(--ml-white);
	border-bottom: 1px solid var(--ml-border);
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: var(--ml-shadow-sm);
}

.ml-header-topbar {
	background-color: var(--ml-navy-dark);
	color: #A0AEC0;
	font-size: 0.8rem;
	padding: 6px 0;
}

.ml-topbar-inner {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
}

.ml-topbar-text {
	display: flex;
	align-items: center;
	gap: 8px;
}

.ml-flag-stripe {
	display: inline-block;
	width: 16px;
	height: 10px;
	background: linear-gradient(to bottom, #FF9933 33.3%, #FFFFFF 33.3%, #FFFFFF 66.6%, #138808 66.6%);
	border-radius: 2px;
}

.ml-topbar-contact a {
	color: #E2E8F0;
	font-weight: 500;
}

.ml-topbar-contact a:hover {
	color: var(--ml-amber);
}

.ml-header-main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 14px;
	padding-bottom: 14px;
}

.ml-brand-name {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--ml-navy);
	line-height: 1.2;
	display: block;
}

.ml-brand-sub {
	font-size: 0.8rem;
	color: var(--ml-slate);
	display: block;
	font-weight: 500;
}

.ml-main-nav {
	display: flex;
	align-items: center;
}

.ml-menu-list {
	display: flex;
	list-style: none;
	gap: 24px;
	align-items: center;
}

.ml-menu-list a {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--ml-navy);
	padding: 6px 0;
	position: relative;
}

.ml-menu-list a:hover {
	color: var(--ml-saffron);
}

.ml-menu-toggle {
	display: none;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}

.ml-toggle-bar {
	display: block;
	width: 24px;
	height: 2px;
	background-color: var(--ml-navy);
	margin: 5px 0;
	transition: all 0.3s ease;
}

.ml-header-cta-mobile {
	display: none;
}

/* Hero Section */
.ml-hero-section {
	background: linear-gradient(135deg, #0F213A 0%, #1B365D 60%, #20406E 100%);
	color: var(--ml-white);
	padding: 70px 0 80px;
	position: relative;
	overflow: hidden;
}

.ml-hero-grid {
	display: grid;
	grid-template-columns: 1.2fr 0.8fr;
	gap: 50px;
	align-items: center;
}

.ml-badge-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: rgba(255, 255, 255, 0.1);
	border: 1px solid rgba(255, 255, 255, 0.2);
	padding: 6px 14px;
	border-radius: 50px;
	font-size: 0.85rem;
	font-weight: 500;
	color: #E2E8F0;
	margin-bottom: 20px;
}

.ml-badge-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: var(--ml-amber);
}

.ml-hero-title {
	font-size: 2.75rem;
	font-weight: 800;
	line-height: 1.15;
	margin-bottom: 12px;
	color: var(--ml-white);
}

.ml-hero-designation {
	font-size: 1.15rem;
	color: var(--ml-amber);
	font-weight: 600;
	margin-bottom: 20px;
}

.ml-hero-slogan {
	font-size: 1.05rem;
	color: #CBD5E0;
	line-height: 1.7;
	margin-bottom: 32px;
	max-width: 580px;
}

.ml-hero-actions {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.ml-hero-actions .ml-btn-outline {
	color: var(--ml-white);
	border-color: rgba(255, 255, 255, 0.4);
}

.ml-hero-actions .ml-btn-outline:hover {
	background-color: var(--ml-white);
	color: var(--ml-navy);
}

.ml-portrait-card {
	position: relative;
	max-width: 400px;
	margin: 0 auto;
}

.ml-portrait-frame {
	background-color: rgba(255, 255, 255, 0.08);
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: var(--ml-radius-lg);
	padding: 16px;
	backdrop-filter: blur(8px);
}

.ml-portrait-placeholder {
	background-color: #E2E8F0;
	border-radius: var(--ml-radius);
	padding: 30px 20px 20px;
	text-align: center;
}

.ml-leader-silhouette {
	width: 140px;
	height: 160px;
	margin: 0 auto 16px;
}

.ml-portrait-caption strong {
	display: block;
	color: var(--ml-navy);
	font-size: 1.1rem;
}

.ml-portrait-caption span {
	font-size: 0.85rem;
	color: var(--ml-slate);
}

.ml-portrait-badge {
	position: absolute;
	bottom: -15px;
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--ml-white);
	color: var(--ml-navy);
	padding: 8px 18px;
	border-radius: 50px;
	font-size: 0.8rem;
	font-weight: 700;
	box-shadow: var(--ml-shadow-lg);
	display: flex;
	align-items: center;
	gap: 6px;
	white-space: nowrap;
}

/* Stats Section */
.ml-stats-section {
	background-color: var(--ml-white);
	padding: 40px 0;
	margin-top: -30px;
	position: relative;
	z-index: 20;
}

.ml-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	background-color: var(--ml-white);
	border-radius: var(--ml-radius-lg);
	box-shadow: var(--ml-shadow-md);
	border: 1px solid var(--ml-border);
	padding: 30px 20px;
}

.ml-stat-card {
	text-align: center;
	border-right: 1px solid var(--ml-border);
	padding: 0 15px;
}

.ml-stat-card:last-child {
	border-right: none;
}

.ml-stat-number {
	display: block;
	font-size: 2.2rem;
	font-weight: 800;
	color: var(--ml-navy);
	line-height: 1.2;
	margin-bottom: 4px;
}

.ml-stat-label {
	font-size: 0.9rem;
	color: var(--ml-slate);
	font-weight: 500;
}

/* Awards & Credentials Strip */
.ml-awards-strip {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	background: #F8F9FA;
	border: 1px solid var(--ml-border);
	border-radius: var(--ml-radius-lg);
	padding: 24px;
}

.ml-award-item {
	display: flex;
	align-items: flex-start;
	gap: 14px;
}

.ml-award-icon {
	font-size: 1.8rem;
	line-height: 1;
	flex-shrink: 0;
}

.ml-award-item strong {
	display: block;
	font-size: 0.95rem;
	color: var(--ml-navy);
	margin-bottom: 2px;
	font-weight: 700;
}

.ml-award-item p {
	font-size: 0.8rem;
	color: var(--ml-slate);
	line-height: 1.4;
	margin: 0;
}

/* Generic Section Styles */
.ml-section {
	padding: 70px 0;
}

.ml-bg-light {
	background-color: var(--ml-light);
}

.ml-section-header {
	text-align: center;
	max-width: 720px;
	margin: 0 auto 50px;
}

.ml-section-subtitle {
	color: var(--ml-saffron);
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 8px;
}

.ml-section-title {
	font-size: 2.2rem;
	font-weight: 800;
	color: var(--ml-navy);
	line-height: 1.25;
	margin-bottom: 12px;
}

.ml-section-desc {
	font-size: 1.05rem;
	color: var(--ml-slate);
}

.ml-section-cta {
	text-align: center;
	margin-top: 40px;
}

/* Development Projects Grid */
.ml-projects-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.ml-project-card {
	background-color: var(--ml-card-bg);
	border-radius: var(--ml-radius-lg);
	border: 1px solid var(--ml-border);
	box-shadow: var(--ml-shadow-sm);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ml-project-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--ml-shadow-lg);
}

.ml-card-image-wrap {
	display: block;
	overflow: hidden;
	height: 200px;
}

.ml-card-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.ml-project-card:hover .ml-card-img {
	transform: scale(1.04);
}

.ml-card-image-placeholder {
	height: 180px;
	background: linear-gradient(135deg, #EDF2F7, #E2E8F0);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 8px;
	color: var(--ml-slate);
	font-size: 0.9rem;
	font-weight: 500;
}

.ml-card-body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.ml-card-top-meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 8px;
	margin-bottom: 14px;
}

.ml-card-title {
	font-size: 1.2rem;
	font-weight: 700;
	color: var(--ml-navy);
	line-height: 1.35;
	margin-bottom: 10px;
}

.ml-card-title a:hover {
	color: var(--ml-saffron);
}

.ml-card-excerpt {
	font-size: 0.92rem;
	color: var(--ml-slate);
	line-height: 1.6;
	margin-bottom: 20px;
	flex-grow: 1;
}

.ml-card-footer-meta {
	display: flex;
	justify-content: space-between;
	padding-top: 14px;
	border-top: 1px solid var(--ml-border);
	margin-bottom: 16px;
	font-size: 0.85rem;
}

.ml-meta-k {
	color: var(--ml-muted);
	display: block;
	font-size: 0.75rem;
}

.ml-meta-v {
	color: var(--ml-navy);
}

.ml-card-read-more {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ml-saffron);
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.ml-card-read-more:hover {
	color: var(--ml-saffron-hover);
}

/* Blog & Speeches Grid */
.ml-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.ml-blog-card {
	background-color: var(--ml-card-bg);
	border-radius: var(--ml-radius-lg);
	border: 1px solid var(--ml-border);
	box-shadow: var(--ml-shadow-sm);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ml-blog-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ml-shadow-md);
}

.ml-blog-card-image img {
	width: 100%;
	height: 190px;
	object-fit: cover;
}

.ml-blog-card-body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.ml-post-meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.8rem;
	color: var(--ml-slate);
	margin-bottom: 12px;
}

.ml-meta-sep {
	color: var(--ml-border);
}

.ml-meta-date, .ml-meta-reading {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.ml-blog-card-title {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--ml-navy);
	line-height: 1.35;
	margin-bottom: 10px;
}

.ml-blog-card-title a:hover {
	color: var(--ml-saffron);
}

.ml-blog-card-excerpt {
	font-size: 0.92rem;
	color: var(--ml-slate);
	line-height: 1.6;
	margin-bottom: 16px;
	flex-grow: 1;
}

.ml-blog-card-link {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ml-navy);
}

.ml-blog-card-link:hover {
	color: var(--ml-saffron);
}

/* Jan Sampark Banner */
.ml-jan-sampark-banner {
	padding: 30px 0 70px;
}

.ml-banner-card {
	background: linear-gradient(135deg, var(--ml-navy-dark), var(--ml-navy));
	border-radius: var(--ml-radius-lg);
	padding: 48px;
	color: var(--ml-white);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	box-shadow: var(--ml-shadow-lg);
}

.ml-banner-tag {
	display: inline-block;
	color: var(--ml-amber);
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 8px;
}

.ml-banner-title {
	font-size: 2rem;
	font-weight: 800;
	line-height: 1.25;
	margin-bottom: 10px;
}

.ml-banner-desc {
	color: #CBD5E0;
	font-size: 1.05rem;
	max-width: 600px;
}

.ml-banner-actions {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 240px;
}

/* Page Header */
.ml-page-header {
	background-color: var(--ml-light);
	border-bottom: 1px solid var(--ml-border);
	padding: 40px 0;
	margin-bottom: 50px;
}

.ml-breadcrumb {
	font-size: 0.85rem;
	color: var(--ml-muted);
	margin-bottom: 10px;
}

.ml-breadcrumb a {
	color: var(--ml-slate);
}

.ml-breadcrumb .ml-sep {
	margin: 0 6px;
}

.ml-page-title {
	font-size: 2.2rem;
	font-weight: 800;
	color: var(--ml-navy);
	line-height: 1.2;
}

.ml-page-desc {
	font-size: 1.05rem;
	color: var(--ml-slate);
	margin-top: 8px;
	max-width: 720px;
}

/* Single Article & Content */
.ml-single-container {
	max-width: 840px;
	margin-bottom: 80px;
}

.ml-article-header {
	margin-bottom: 24px;
}

.ml-article-title {
	font-size: 2.4rem;
	font-weight: 800;
	color: var(--ml-navy);
	line-height: 1.25;
	margin-top: 12px;
}

.ml-article-featured-image {
	margin-bottom: 30px;
	border-radius: var(--ml-radius);
	overflow: hidden;
}

.ml-image-caption {
	font-size: 0.85rem;
	color: var(--ml-muted);
	text-align: center;
	padding-top: 8px;
}

.entry-content {
	font-size: 1.1rem;
	line-height: 1.8;
	color: #2D3748;
}

.entry-content p {
	margin-bottom: 1.5em;
}

.entry-content h2 {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--ml-navy);
	margin: 1.8em 0 0.8em;
}

.entry-content h3 {
	font-size: 1.35rem;
	font-weight: 600;
	color: var(--ml-navy);
	margin: 1.5em 0 0.6em;
}

.entry-content blockquote {
	border-left: 4px solid var(--ml-saffron);
	padding: 16px 24px;
	margin: 2em 0;
	background-color: var(--ml-light);
	font-style: italic;
	font-size: 1.15rem;
	color: var(--ml-navy);
}

/* Social Share Bar */
.ml-share-bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 0;
	margin: 40px 0;
	border-top: 1px solid var(--ml-border);
	border-bottom: 1px solid var(--ml-border);
	flex-wrap: wrap;
	gap: 16px;
}

.ml-share-label {
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--ml-navy);
}

.ml-share-actions {
	display: flex;
	gap: 10px;
}

.ml-share-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 14px;
	border-radius: 50px;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--ml-white);
}

.ml-share-whatsapp {
	background-color: #25D366;
}

.ml-share-whatsapp:hover {
	background-color: #1EBE5D;
	color: var(--ml-white);
}

.ml-share-x {
	background-color: #000000;
}

.ml-share-x:hover {
	background-color: #222222;
	color: var(--ml-white);
}

.ml-share-fb {
	background-color: #1877F2;
}

.ml-share-fb:hover {
	background-color: #1464CA;
	color: var(--ml-white);
}

/* Author Card */
.ml-author-card {
	display: flex;
	gap: 20px;
	background-color: var(--ml-light);
	border: 1px solid var(--ml-border);
	border-radius: var(--ml-radius);
	padding: 24px;
	margin-bottom: 40px;
}

.ml-author-name {
	font-size: 1.15rem;
	font-weight: 700;
	color: var(--ml-navy);
}

.ml-author-title {
	font-size: 0.85rem;
	color: var(--ml-saffron);
	font-weight: 600;
	margin-bottom: 8px;
}

.ml-author-bio {
	font-size: 0.92rem;
	color: var(--ml-slate);
	line-height: 1.6;
}

.ml-post-nav {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	font-weight: 600;
	font-size: 0.95rem;
}

/* Project Facts Bar */
.ml-project-facts-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 15px;
	background-color: var(--ml-light);
	border: 1px solid var(--ml-border);
	border-radius: var(--ml-radius);
	padding: 20px;
	margin: 24px 0 30px;
}

.ml-fact-card {
	display: flex;
	flex-direction: column;
}

.ml-fact-label {
	font-size: 0.75rem;
	color: var(--ml-muted);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 4px;
}

.ml-fact-value {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--ml-navy);
}

.ml-impact-callout {
	display: flex;
	gap: 16px;
	background: #FFFBEB;
	border-left: 4px solid var(--ml-amber);
	padding: 18px 20px;
	border-radius: 4px;
	margin-bottom: 30px;
}

.ml-impact-icon {
	font-size: 1.5rem;
}

.ml-impact-text h4 {
	color: #92400E;
	font-size: 1rem;
	margin-bottom: 4px;
}

.ml-impact-text p {
	color: #78350F;
	font-size: 0.92rem;
	line-height: 1.5;
}

.ml-project-back-cta {
	margin-top: 30px;
}

/* Archive Filter Bar */
.ml-archive-container {
	margin-bottom: 80px;
}

.ml-filter-bar {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 40px;
	flex-wrap: wrap;
}

.ml-filter-title {
	font-size: 0.9rem;
	font-weight: 700;
	color: var(--ml-navy);
}

.ml-filter-pills {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.ml-filter-pill {
	display: inline-block;
	background-color: var(--ml-light);
	border: 1px solid var(--ml-border);
	color: var(--ml-navy);
	padding: 6px 14px;
	border-radius: 50px;
	font-size: 0.85rem;
	font-weight: 600;
	transition: all 0.2s ease;
}

.ml-filter-pill:hover,
.ml-filter-pill.is-active {
	background-color: var(--ml-navy);
	color: var(--ml-white);
	border-color: var(--ml-navy);
}

/* Gallery Page, Tabs & Lightbox */
.ml-gallery-container {
	margin-bottom: 80px;
}

/* Homepage Gallery Slider */
.ml-slider-wrapper {
	position: relative;
	overflow: hidden;
	padding: 10px 4px 20px;
}

.ml-slider-track {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none; /* Firefox */
	padding-bottom: 8px;
}

.ml-slider-track::-webkit-scrollbar {
	display: none; /* Chrome, Safari */
}

.ml-slide-item {
	flex: 0 0 calc((100% - 48px) / 3);
	min-width: 300px;
	scroll-snap-align: start;
}

.ml-slider-arrow {
	position: absolute;
	top: calc(50% - 15px);
	transform: translateY(-50%);
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background-color: var(--ml-white);
	color: var(--ml-navy);
	border: 1px solid var(--ml-border);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	z-index: 10;
	transition: all 0.25s ease;
}

.ml-slider-arrow:hover {
	background-color: var(--ml-navy);
	color: var(--ml-white);
	transform: translateY(-50%) scale(1.08);
}

.ml-slider-prev {
	left: 10px;
}

.ml-slider-next {
	right: 10px;
}

.ml-slider-dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 15px;
}

.ml-slider-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background-color: #CBD5E0;
	border: none;
	cursor: pointer;
	padding: 0;
	transition: all 0.25s ease;
}

.ml-slider-dot.is-active {
	background-color: var(--ml-saffron);
	width: 24px;
	border-radius: 10px;
}

@media (max-width: 992px) {
	.ml-slide-item {
		flex: 0 0 calc((100% - 24px) / 2);
		min-width: 280px;
	}
}

@media (max-width: 600px) {
	.ml-slide-item {
		flex: 0 0 88%;
		min-width: 260px;
	}
	.ml-slider-arrow {
		display: none;
	}
}

.ml-gallery-tabs-wrap {
	display: flex;
	justify-content: center;
	margin-bottom: 40px;
}

.ml-gallery-tabs {
	display: inline-flex;
	gap: 10px;
	background-color: var(--ml-light);
	padding: 6px;
	border-radius: 50px;
	border: 1px solid var(--ml-border);
}

.ml-gallery-tab {
	background: transparent;
	border: none;
	padding: 10px 22px;
	border-radius: 50px;
	font-family: var(--ml-font);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ml-slate);
	cursor: pointer;
	transition: all 0.25s ease;
}

.ml-gallery-tab:hover {
	color: var(--ml-navy);
}

.ml-gallery-tab.is-active {
	background-color: var(--ml-navy);
	color: var(--ml-white);
	box-shadow: var(--ml-shadow-sm);
}

.ml-gallery-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 28px;
}

.ml-gallery-item {
	background-color: var(--ml-card-bg);
	border: 1px solid var(--ml-border);
	border-radius: var(--ml-radius-lg);
	overflow: hidden;
	box-shadow: var(--ml-shadow-sm);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	cursor: pointer;
	display: flex;
	flex-direction: column;
}

.ml-gallery-item:hover {
	transform: translateY(-5px);
	box-shadow: var(--ml-shadow-lg);
}

.ml-gallery-thumb-wrap {
	position: relative;
	height: 220px;
	overflow: hidden;
	background-color: #E2E8F0;
}

.ml-gallery-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}

.ml-gallery-item:hover .ml-gallery-img {
	transform: scale(1.05);
}

.ml-gallery-placeholder {
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, var(--ml-navy-dark), var(--ml-navy));
}

.ml-gallery-placeholder-icon {
	font-size: 3rem;
}

.ml-video-play-badge,
.ml-photo-zoom-badge {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background-color: rgba(27, 54, 93, 0.85);
	color: var(--ml-white);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	transition: all 0.25s ease;
	backdrop-filter: blur(4px);
}

.ml-gallery-item:hover .ml-video-play-badge,
.ml-gallery-item:hover .ml-photo-zoom-badge {
	background-color: var(--ml-saffron);
	transform: translate(-50%, -50%) scale(1.1);
}

.ml-gallery-info {
	padding: 20px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.ml-gallery-badge {
	display: inline-block;
	align-self: flex-start;
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	padding: 3px 10px;
	border-radius: 50px;
	margin-bottom: 10px;
}

.ml-gallery-badge.is-photo {
	background-color: #EBF4FF;
	color: var(--ml-navy);
}

.ml-gallery-badge.is-video {
	background-color: #FEF3C7;
	color: #92400E;
}

.ml-gallery-title {
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--ml-navy);
	line-height: 1.35;
	margin-bottom: 8px;
}

.ml-gallery-meta {
	font-size: 0.82rem;
	color: var(--ml-slate);
	display: flex;
	gap: 14px;
	margin-top: auto;
}

/* Lightbox Modal */
.ml-modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 999999;
}

.ml-modal.is-open {
	display: flex;
	align-items: center;
	justify-content: center;
}

.ml-modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(15, 33, 58, 0.92);
	backdrop-filter: blur(6px);
}

.ml-modal-container {
	position: relative;
	width: 90%;
	max-width: 900px;
	max-height: 85vh;
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.ml-modal-close {
	position: absolute;
	top: -45px;
	right: 0;
	background: none;
	border: none;
	color: var(--ml-white);
	font-size: 2.2rem;
	line-height: 1;
	cursor: pointer;
	padding: 4px 10px;
	transition: color 0.2s ease;
}

.ml-modal-close:hover {
	color: var(--ml-saffron);
}

.ml-modal-content {
	width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.ml-modal-content img {
	max-width: 100%;
	max-height: 75vh;
	border-radius: var(--ml-radius);
	box-shadow: var(--ml-shadow-lg);
}

.ml-modal-content .ml-iframe-wrap {
	width: 100%;
	position: relative;
	padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
	height: 0;
	overflow: hidden;
	border-radius: var(--ml-radius);
}

.ml-modal-content .ml-iframe-wrap iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* Pagination */
.pagination {
	margin-top: 50px;
	text-align: center;
}

.pagination .nav-links {
	display: inline-flex;
	gap: 8px;
}

.pagination .page-numbers {
	padding: 8px 14px;
	border: 1px solid var(--ml-border);
	border-radius: var(--ml-radius);
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--ml-navy);
}

.pagination .page-numbers.current {
	background-color: var(--ml-navy);
	color: var(--ml-white);
	border-color: var(--ml-navy);
}

/* Contact Page Grid */
.ml-contact-container {
	margin-bottom: 80px;
}

.ml-contact-grid {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 40px;
}

.ml-info-card, .ml-form-card {
	background-color: var(--ml-white);
	border: 1px solid var(--ml-border);
	border-radius: var(--ml-radius-lg);
	padding: 36px;
	box-shadow: var(--ml-shadow-sm);
}

.ml-info-card-title, .ml-form-title {
	font-size: 1.6rem;
	font-weight: 800;
	color: var(--ml-navy);
	margin-bottom: 10px;
}

.ml-info-card-desc, .ml-form-subtitle {
	font-size: 0.95rem;
	color: var(--ml-slate);
	margin-bottom: 24px;
}

.ml-info-items {
	display: flex;
	flex-direction: column;
	gap: 22px;
}

.ml-info-item {
	display: flex;
	gap: 16px;
	align-items: flex-start;
}

.ml-info-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #EBF4FF;
	color: var(--ml-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ml-info-content strong {
	display: block;
	color: var(--ml-navy);
	font-size: 0.95rem;
	margin-bottom: 4px;
}

.ml-info-content p {
	font-size: 0.9rem;
	color: var(--ml-slate);
	line-height: 1.5;
}

/* Contact Form Elements */
.ml-contact-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.ml-form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.ml-form-group {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.ml-form-group label {
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--ml-navy);
}

.ml-form-group input,
.ml-form-group select,
.ml-form-group textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--ml-border);
	border-radius: var(--ml-radius);
	font-family: var(--ml-font);
	font-size: 0.95rem;
	color: var(--ml-dark);
	background-color: #FAFAFA;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ml-form-group input:focus,
.ml-form-group select:focus,
.ml-form-group textarea:focus {
	outline: none;
	border-color: var(--ml-navy);
	box-shadow: 0 0 0 3px rgba(27, 54, 93, 0.15);
	background-color: var(--ml-white);
}

/* Footer */
.ml-site-footer {
	background-color: var(--ml-navy-dark);
	color: #CBD5E0;
	padding: 60px 0 30px;
	margin-top: auto;
}

.ml-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 40px;
	padding-bottom: 50px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ml-footer-title {
	font-size: 1.3rem;
	font-weight: 800;
	color: var(--ml-white);
	margin-bottom: 4px;
}

.ml-footer-designation {
	font-size: 0.85rem;
	color: var(--ml-amber);
	font-weight: 600;
	margin-bottom: 12px;
}

.ml-footer-desc {
	font-size: 0.9rem;
	line-height: 1.6;
	margin-bottom: 20px;
	color: #A0AEC0;
}

.ml-footer-social {
	display: flex;
	gap: 12px;
}

.ml-footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.08);
	color: var(--ml-white);
	transition: background-color 0.2s ease;
}

.ml-footer-social a:hover {
	background-color: var(--ml-saffron);
}

.ml-footer-subtitle {
	font-size: 1rem;
	font-weight: 700;
	color: var(--ml-white);
	margin-bottom: 18px;
}

.ml-footer-menu {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.ml-footer-menu a {
	color: #A0AEC0;
	font-size: 0.9rem;
}

.ml-footer-menu a:hover {
	color: var(--ml-amber);
	padding-left: 4px;
}

.ml-contact-line {
	display: flex;
	gap: 10px;
	font-size: 0.9rem;
	margin-bottom: 12px;
	color: #A0AEC0;
}

.ml-contact-line svg {
	flex-shrink: 0;
	margin-top: 3px;
	color: var(--ml-amber);
}

.ml-contact-line a {
	color: #E2E8F0;
}

.ml-contact-line a:hover {
	color: var(--ml-amber);
}

.ml-footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-top: 24px;
	font-size: 0.85rem;
	color: #718096;
}

.ml-back-to-top a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #A0AEC0;
	font-weight: 600;
}

.ml-back-to-top a:hover {
	color: var(--ml-white);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
	.ml-stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	.ml-awards-strip {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
	.ml-stat-card {
		border-right: none;
		border-bottom: 1px solid var(--ml-border);
		padding-bottom: 15px;
	}
	.ml-stat-card:nth-child(3),
	.ml-stat-card:nth-child(4) {
		border-bottom: none;
		padding-bottom: 0;
	}
	.ml-projects-grid,
	.ml-blog-grid,
	.ml-gallery-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.ml-footer-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
	}
	.ml-project-facts-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.ml-hero-grid {
		grid-template-columns: 1fr;
		text-align: center;
		gap: 40px;
	}
	.ml-hero-slogan {
		margin-left: auto;
		margin-right: auto;
	}
	.ml-hero-actions {
		justify-content: center;
	}
	.ml-menu-toggle {
		display: block;
	}
	.ml-header-cta-desktop {
		display: none;
	}
	.ml-menu-wrap {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background-color: var(--ml-white);
		border-bottom: 1px solid var(--ml-border);
		padding: 20px;
		box-shadow: var(--ml-shadow-lg);
	}
	.ml-menu-wrap.is-open {
		display: block;
	}
	.ml-menu-list {
		flex-direction: column;
		align-items: flex-start;
		gap: 14px;
	}
	.ml-header-cta-mobile {
		display: block;
		margin-top: 16px;
		padding-top: 16px;
		border-top: 1px solid var(--ml-border);
	}
	.ml-header-cta-mobile .ml-btn {
		width: 100%;
	}
	.ml-projects-grid,
	.ml-blog-grid,
	.ml-gallery-grid {
		grid-template-columns: 1fr;
	}
	.ml-awards-strip {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	.ml-banner-card {
		flex-direction: column;
		text-align: center;
		padding: 30px 20px;
	}
	.ml-banner-actions {
		width: 100%;
	}
	.ml-contact-grid {
		grid-template-columns: 1fr;
	}
	.ml-form-row {
		grid-template-columns: 1fr;
	}
	.ml-footer-grid {
		grid-template-columns: 1fr;
	}
	.ml-footer-bottom {
		flex-direction: column;
		gap: 12px;
		text-align: center;
	}
}
