/* Modern Baby Names Website - Enhanced Colorful Stylesheet */

/* Root variables and core layout */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	/* Vibrant Color Palette */
	--primary-color: #6366f1;
	--primary-light: #818cf8;
	--primary-dark: #4f46e5;
	--secondary-color: #ec4899;
	--secondary-light: #f472b6;
	--accent-purple: #a855f7;
	--accent-blue: #3b82f6;
	--accent-green: #10b981;
	--accent-orange: #f59e0b;
	--accent-pink: #f43f5e;
	--accent-teal: #14b8a6;

	/* Text Colors */
	--text-dark: #1e293b;
	--text-medium: #475569;
	--text-light: #64748b;
	--text-lighter: #94a3b8;

	/* Background Colors */
	--bg-light: #f8fafc;
	--bg-lighter: #f1f5f9;
	--white: #ffffff;
	--border-color: #e2e8f0;

	/* Gradients */
	--gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
	--gradient-secondary: linear-gradient(135deg, #f43f5e 0%, #ec4899 50%, #d946ef 100%);
	--gradient-success: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
	--gradient-info: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
	--gradient-warm: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
	--gradient-cool: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);

	/* Shadows */
	--shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
	--shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
	--shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
	--shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
	--shadow-colored: 0 10px 25px -5px rgba(99, 102, 241, 0.3);

	/* Other */
	--container-width: 1400px;
	--border-radius: 16px;
	--border-radius-lg: 24px;
	--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	line-height: 1.6;
	color: var(--text-dark);
	background: var(--bg-lighter);
	overflow-x: hidden;
}

.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 24px;
}

/* Header Styles */
.header {
	background: var(--white);
	box-shadow: var(--shadow-sm);
	position: sticky;
	top: 0;
	z-index: 1000;
	padding: 16px 0;
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--border-color);
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.logo a {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: var(--text-dark);
	gap: 12px;
	transition: var(--transition);
}

.logo a:hover {
	transform: scale(1.05);
}

.logo-icon {
	font-size: 32px;
}

.logo-text {
	font-size: 24px;
	font-weight: 800;
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.nav {
	display: flex;
	gap: 20px;
	align-items: center;
}

.nav-link {
	text-decoration: none;
	color: var(--text-medium);
	font-weight: 600;
	font-size: 15px;
	transition: var(--transition);
	position: relative;
	padding: 8px 0;
}

.nav-link:hover {
	color: var(--primary-color);
}

.nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 3px;
	background: var(--gradient-primary);
	transition: width 0.3s;
	border-radius: 2px;
}

.nav-link:hover::after {
	width: 100%;
}

.mobile-menu-toggle {
	display: none;
	flex-direction: column;
	gap: 6px;
	background: none;
	border: none;
	cursor: pointer;
	padding: 8px;
}

.mobile-menu-toggle span {
	width: 28px;
	height: 3px;
	background: var(--text-dark);
	border-radius: 3px;
	transition: var(--transition);
}

.mobile-menu {
	display: none;
	position: fixed;
	top: 72px;
	left: 0;
	right: 0;
	background: var(--white);
	box-shadow: var(--shadow-lg);
	z-index: 999;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s;
}

.mobile-menu.active {
	max-height: 500px;
}

.mobile-menu-content {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.mobile-nav-link {
	text-decoration: none;
	color: var(--text-dark);
	font-weight: 600;
	padding: 14px 20px;
	border-radius: 12px;
	transition: var(--transition);
	background: var(--bg-light);
}

.mobile-nav-link:hover {
	background: var(--gradient-primary);
	color: var(--white);
	transform: translateX(8px);
}

/* Hero Section - More Colorful */
.hero {
	background: var(--gradient-primary);
	color: var(--white);
	padding: 60px 0;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -10%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
	border-radius: 50%;
}

.hero::after {
	content: '';
	position: absolute;
	bottom: -50%;
	left: -10%;
	width: 500px;
	height: 500px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
	border-radius: 50%;
}

.hero-content {
	max-width: 1000px;
	margin: 0 auto;
	position: relative;
	z-index: 1;
}

.hero-title {
	font-size: 36px;
	font-weight: 900;
	margin-bottom: 12px;
	line-height: 1.2;
	text-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
	font-size: 16px;
	margin-bottom: 30px;
	opacity: 0.95;
	font-weight: 500;
}

/* Search Bar - Enhanced */
.search-bar {
	display: flex;
	max-width: 700px;
	margin: 0 auto 60px;
	background: var(--white);
	border-radius: 60px;
	overflow: hidden;
	box-shadow: var(--shadow-xl);
	border: 4px solid rgba(255, 255, 255, 0.2);
}

.search-input {
	flex: 1;
	padding: 14px 20px;
	border: none;
	font-size: 15px;
	color: var(--text-dark);
	outline: none;
	font-weight: 500;
}

.search-input::placeholder {
	color: var(--text-light);
}

.search-btn {
	background: var(--gradient-secondary);
	color: var(--white);
	border: none;
	padding: 14px 30px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: var(--transition);
}

.search-btn:hover {
	transform: scale(1.05);
	box-shadow: var(--shadow-lg);
}

/* Stats - More Vibrant */
.stats {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	max-width: 1000px;
	margin: 0 auto;
}

.stat-item {
	text-align: center;
	background: rgba(255, 255, 255, 0.15);
	padding: 16px;
	border-radius: var(--border-radius);
	backdrop-filter: blur(10px);
	border: 2px solid rgba(255, 255, 255, 0.2);
	transition: var(--transition);
}

.stat-item:hover {
	transform: translateY(-8px);
	background: rgba(255, 255, 255, 0.25);
}

.stat-number {
	font-size: 32px;
	font-weight: 900;
	margin-bottom: 6px;
	text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.stat-label {
	font-size: 14px;
	opacity: 0.95;
	line-height: 1.5;
	font-weight: 600;
}

/* Section Headers */
.section-header {
	text-align: center;
	margin-bottom: 60px;
}

.section-title {
	font-size: 30px;
	font-weight: 900;
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 8px;
}

.section-subtitle {
	font-size: 16px;
	color: var(--text-light);
	font-weight: 500;
}

/* Popular Letters Section - Grid Enhanced */
.popular-letters {
	padding: 60px 0;
	background: var(--white);
}

.letters-grid {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	gap: 8px;
}

.letter-card {
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
    border: 3px solid var(--border-color);
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.letter-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: var(--card-color);
	transform: scaleX(0);
	transition: transform 0.3s;
}

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

.letter-card:hover {
	border-color: var(--card-color);
	transform: translateY(-12px);
	box-shadow: 0 20px 40px -10px var(--card-color);
}

.letter-icon {
    font-size: 38px;
    font-weight: 900;
    color: var(--card-color);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 38px;
}

.letter-hindi {
	font-size: 26px;
}

.letter-count {
	font-size: 15px;
	color: var(--text-light);
	font-weight: 600;
	margin-top: 8px;
	line-height: 18px;
	float: left;
	width: 100%;
}

/* Browse Section - More Colorful */
.browse-section {
	padding: 60px 0;
	background: var(--bg-lighter);
}

/* .alphabet-section {
    background: var(--white);
    border-radius: var(--border-radius-lg);
    padding: 48px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.alphabet-section:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}
 */
.alphabet-header {
	display: flex;
	align-items: center;
	gap: 20px;
	margin-bottom: 36px;
	padding-bottom: 24px;
	border-bottom: 3px solid var(--border-color);
}

.alphabet-icon {
	font-size: 32px;
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.alphabet-header h3 {
	font-size: 28px;
	font-weight: 800;
	color: var(--text-dark);
}

.alphabet-grid {
	display: grid;
	grid-template-columns: repeat(13, 1fr);
	gap: 18px;
}

.alphabet-btn {
	background: var(--white);
	border: 3px solid var(--border-color);
	border-radius: 14px;
	padding: 18px;
	text-align: center;
	text-decoration: none;
	font-size: 22px;
	font-weight: 700;
	color: var(--text-dark);
	transition: var(--transition);
	position: relative;
	overflow: hidden;
}

.alphabet-btn::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--btn-color);
	opacity: 0;
	transition: opacity 0.3s;
	z-index: 0;
}

.alphabet-btn:hover::before {
	opacity: 0.15;
}

.alphabet-btn:hover {
	border-color: var(--btn-color);
	color: var(--btn-color);
	transform: translateY(-6px) scale(1.05);
	box-shadow: 0 12px 24px -8px var(--btn-color);
}

.alphabet-btn.hindi {
	font-size: 28px;
}

/* Why Choose Section - Card Grid */
.why-choose {
	padding: 60px 0;
	background: var(--white);
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 36px;
}

.feature-card {
	text-align: center;
	padding: 28px 24px;
	background: linear-gradient(135deg, var(--white) 0%, var(--bg-light) 100%);
	border-radius: var(--border-radius-lg);
	border: 3px solid var(--border-color);
	transition: var(--transition);
}

.feature-card:hover {
	transform: translateY(-12px);
	box-shadow: var(--shadow-xl);
	border-color: var(--primary-color);
}

.feature-icon {
	font-size: 38px;
	margin-bottom: 20px;
	display: inline-block;
	transition: var(--transition);
}

.feature-card:hover .feature-icon {
	transform: scale(1.2) rotate(5deg);
}

.feature-card h3 {
	font-size: 22px;
	font-weight: 800;
	color: var(--text-dark);
	margin-bottom: 12px;
}

.feature-card p {
	color: var(--text-light);
	line-height: 1.8;
	font-weight: 500;
}

/* Rashi Section - Grid Layout */
.rashi-section {
	padding: 60px 0;
	background: var(--bg-lighter);
}

.rashi-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.rashi-card {
	background: var(--white);
	border: 3px solid var(--border-color);
	border-radius: var(--border-radius-lg);
	padding: 24px 18px;
	text-align: center;
	text-decoration: none;
	transition: var(--transition);
	position: relative;
	overflow: hidden;
}

.rashi-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: var(--rashi-color);
	opacity: 0;
	transition: opacity 0.3s;
}

.rashi-card:hover::before {
	opacity: 0.1;
}

.rashi-card:hover {
	transform: translateY(-12px);
	border-color: var(--rashi-color);
	box-shadow: 0 20px 40px -10px var(--rashi-color);
}

.rashi-symbol {
	font-size: 34px;
	margin-bottom: 16px;
	color: var(--rashi-color);
	transition: var(--transition);
}

.rashi-card:hover .rashi-symbol {
	transform: scale(1.2);
}

.rashi-card h3 {
	font-size: 20px;
	font-weight: 800;
	color: var(--text-dark);
	margin-bottom: 8px;
}

.rashi-card p {
	font-size: 14px;
	color: var(--text-light);
	font-weight: 600;
}

/* CTA Section - Vibrant */
.cta-section {
	background: var(--gradient-primary);
	color: var(--white);
	padding: 60px 0;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.cta-section::before,
.cta-section::after {
	content: '';
	position: absolute;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
	border-radius: 50%;
}

.cta-section::before {
	top: -200px;
	right: -100px;
}

.cta-section::after {
	bottom: -200px;
	left: -100px;
}

.cta-content {
	position: relative;
	z-index: 1;
}

.cta-content h2 {
	font-size: 42px;
	font-weight: 900;
	margin-bottom: 16px;
}

.cta-content p {
	font-size: 20px;
	margin-bottom: 48px;
	opacity: 0.95;
	font-weight: 500;
}

.cta-buttons {
	display: flex;
	gap: 24px;
	justify-content: center;
	flex-wrap: wrap;
}

.cta-btn {
	padding: 18px 48px;
	border-radius: 60px;
	text-decoration: none;
	font-weight: 700;
	font-size: 17px;
	transition: var(--transition);
}

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

.cta-btn.primary:hover {
	background: var(--bg-light);
	transform: translateY(-6px);
	box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.3);
}

.cta-btn.secondary {
	background: rgba(255, 255, 255, 0.2);
	color: var(--white);
	border: 3px solid var(--white);
	backdrop-filter: blur(10px);
}

.cta-btn.secondary:hover {
	background: var(--white);
	color: var(--primary-color);
	transform: translateY(-6px);
}

/* Footer - Modern Design */
.footer {
	background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
	color: #e2e8f0;
	padding: 80px 0 24px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 48px;
	margin-bottom: 48px;
}

.footer-section h3,
.footer-section h4 {
	color: var(--white);
	margin-bottom: 24px;
	font-size: 20px;
	font-weight: 800;
}

.footer-heading {
	color: var(--white);
	margin-bottom: 24px;
	font-size: 20px;
	font-weight: 800;
}

.footer-text {
	color: #cbd5e1;
	line-height: 1.8;
	margin-bottom: 24px;
	font-weight: 500;
}

.social-links {
	display: flex;
	gap: 16px;
}

.social-link {
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--white);
	transition: var(--transition);
	backdrop-filter: blur(10px);
}

.social-link:hover {
	background: var(--primary-color);
	transform: translateY(-6px);
	box-shadow: 0 12px 24px -8px var(--primary-color);
}

.footer-links {
	list-style: none;
}

.footer-links li {
	margin-bottom: 14px;
}

.footer-links a {
	color: #cbd5e1;
	text-decoration: none;
	transition: var(--transition);
	font-weight: 500;
	display: inline-block;
}

.footer-links a:hover {
	color: var(--white);
	transform: translateX(4px);
}

.footer-bottom {
	border-top: 2px solid rgba(255, 255, 255, 0.1);
	padding-top: 32px;
	text-align: center;
	color: #cbd5e1;
}

.footer-bottom p {
	margin-bottom: 8px;
	font-weight: 500;
}

/* Popular Showcase Section */
.popular-showcase {
	padding: 60px 0;
	background: var(--bg-light);
}

.showcase-title {
	text-align: center;
	font-size: 36px;
	font-weight: 900;
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 48px;
}

.showcase-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 18px;
}

.showcase-card {
	background: var(--white);
	border-radius: var(--border-radius-lg);
	padding: 22px;
	border: 3px solid var(--border-color);
	transition: var(--transition);
	text-align: center;
}

.showcase-card:hover {
	transform: translateY(-8px);
	border-color: var(--card-color);
	box-shadow: 0 20px 40px -10px var(--card-color);
}

.showcase-letter {
	font-size: 48px;
	font-weight: 900;
	color: var(--card-color);
	margin-bottom: 16px;
}

.showcase-info {
	margin-bottom: 16px;
}

.showcase-count {
	font-size: 32px;
	font-weight: 800;
	color: var(--text-dark);
}

.showcase-label {
	font-size: 14px;
	color: var(--text-light);
	font-weight: 600;
}

.showcase-text {
	color: var(--text-medium);
	line-height: 1.6;
	margin-bottom: 24px;
	min-height: 48px;
}

.showcase-btn {
	display: inline-block;
	padding: 12px 28px;
	background: var(--card-color);
	color: var(--white);
	text-decoration: none;
	border-radius: 25px;
	font-weight: 700;
	transition: var(--transition);
}

.showcase-btn:hover {
	transform: scale(1.05);
	box-shadow: var(--shadow-md);
}

/* SEO Content Styles */
.seo-content {
	background: var(--white);
	padding: 30px;
	border-radius: var(--border-radius-lg);
	box-shadow: var(--shadow-md);
	border: 3px solid var(--border-color);
	margin-top: 60px;
}

.seo-content h2 {
	font-size: 36px;
	font-weight: 900;
	background: var(--gradient-primary);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 24px;
}

.seo-content h3 {
	font-size: 26px;
	font-weight: 800;
	color: var(--text-dark);
	margin: 36px 0 20px;
}

.seo-content p {
	font-size: 16px;
	line-height: 1.9;
	color: var(--text-medium);
	margin-bottom: 20px;
	font-weight: 500;
}

.seo-content ul.seo-list {
	list-style: none;
	padding: 0;
	margin: 24px 0;
}

.seo-content ul.seo-list li {
	padding: 14px 0 14px 32px;
	position: relative;
	color: var(--text-dark);
	line-height: 1.7;
	font-weight: 500;
}

.seo-content ul.seo-list li:before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--accent-green);
	font-weight: 900;
	font-size: 20px;
}

.seo-content strong {
	color: var(--primary-color);
	font-weight: 700;
}

/* -----------------------
   Responsive overrides
   (Exact format requested)
   ----------------------- */

/* Extra Small Screens (<= 280px) */
@media (max-width:280px) {
	.container {
		padding: 0 12px;
	}

	.hero {
		padding: 28px 0;
	}

	.hero-title {
		font-size: 22px;
	}

	.hero-subtitle {
		font-size: 14px;
	}

	.stats {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.stat-number {
		font-size: 28px;
	}

	.stat-label {
		font-size: 11px;
	}

	.letters-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}

	.letter-card {
		padding: 20px 12px;
	}

	.letter-icon {
		font-size: 32px;
	}

	.letter-hindi {
		font-size: 24px;
	}

	.alphabet-grid {
		grid-template-columns: repeat(6, 1fr);
		gap: 8px;
	}

	.alphabet-btn {
		padding: 10px;
		font-size: 16px;
	}

	.rashi-grid,
	.showcase-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.showcase-letter {
		font-size: 48px;
	}

	.section-title {
		font-size: 24px;
	}

	.seo-content {
		padding: 20px 12px;
	}

	.seo-content h2 {
		font-size: 22px;
	}

	.search-bar {
		max-width: 100%;
	}

	.search-input {
		padding: 14px 16px;
		font-size: 14px;
	}

	.search-btn {
		padding: 14px 16px;
		font-size: 14px;
	}

	.cta-content h2 {
		font-size: 24px;
	}

	.cta-content p {
		font-size: 14px;
	}

	.cta-btn {
		padding: 14px 24px;
		font-size: 14px;
	}

	.footer-content {
		grid-template-columns: 1fr;
		gap: 16px;
	}
}

/* Mobile Large / portrait phones and small tablets (<= 767px) */
@media (max-width:767px) {
	.nav {
		display: none;
	}

	.mobile-menu-toggle {
		display: flex;
	}

	.mobile-menu {
		display: block;
	}

	.hero {
		padding: 60px 0;
	}

	.hero-title {
		font-size: 32px;
	}

	.hero-subtitle {
		font-size: 16px;
	}

	.stats {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.stat-number {
		font-size: 24px;
	}

	.stat-label {
		font-size: 12px;
	}

	.letters-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 5px;
    }
	.letter-card {
        padding: 15px;
        border-radius: 5px;
    }
	.letter-icon {
        font-size: 22px;
        line-height: 22px;
        margin: 0;
        gap: 5px;
    }

	.letter-hindi {
		font-size: 22px;
	}

	.alphabet-grid {
		grid-template-columns: repeat(8, 1fr);
		gap: 10px;
	}

	.alphabet-btn {
		padding: 14px;
		font-size: 18px;
	}

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

	.rashi-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
	}

	.showcase-grid {
		grid-template-columns: repeat(1, 1fr);
		gap: 16px;
	}

	.showcase-letter {
		font-size: 56px;
	}

	.showcase-count {
		font-size: 24px;
	}

	.showcase-text {
		font-size: 14px;
		min-height: auto;
	}

	.footer-content {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.cta-buttons {
		flex-direction: column;
		gap: 12px;
	}

	.cta-btn {
		width: 100%;
	}

	.section-title {
		font-size: 28px;
	}

	.section-subtitle {
		font-size: 16px;
	}

	.alphabet-section {
		padding: 28px 0px !important;
	}

	.alphabet-header h3 {
		font-size: 20px;
	}

	.seo-content {
		padding: 28px 20px;
	}

	.seo-content h2 {
		font-size: 26px;
	}

	.seo-content h3 {
		font-size: 20px;
	}

	.seo-content p {
		font-size: 15px;
	}

	.search-bar {
		flex-direction: column;
		border-radius: 20px;
	}

	.search-input {
		padding: 16px 20px;
		font-size: 15px;
		border-radius: 20px 20px 0 0;
	}

	.search-btn {
		padding: 16px 20px;
		font-size: 15px;
		width: 100%;
		border-radius: 0 0 20px 20px;
	}
}

/* Tablets (768px - 1024px) */
@media (max-width:1024px) and (min-width:768px) {
	.container {
		padding: 0 20px;
	}

	.letters-grid {
		grid-template-columns: repeat(6, 1fr);
		gap: 20px;
	}

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

	.rashi-grid {
		grid-template-columns: repeat(3, 1fr);
	}

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

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

	.hero-title {
		font-size: 42px;
	}

	.hero-subtitle {
		font-size: 18px;
	}

	.section-title {
		font-size: 36px;
	}

	.stat-number {
		font-size: 28px;
	}

	.alphabet-section {
		padding: 24px;
	}

	.home-hero p {
		margin-bottom: 20px;
	}
	.home-hero {
		padding: 80px 20px 60px !important;
	}
	.stat-number {
		font-size: 32px !important;
	}
	.nav {
		gap: 20px;
	}
}

/* Large Screens (1024px - 1280px) */
@media (max-width:1280px) and (min-width:1024px) {
	.container {
		max-width: 1024px;
	}

	.letters-grid {
		grid-template-columns: repeat(6, 1fr);
	}

	a.letter-card {
		padding: 15px;
	}

	.features-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.rashi-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.showcase-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.hero-title {
		font-size: 48px;
	}

	.section-title {
		font-size: 38px;
	}

	.nav {
		gap: 20px;
	}
}

/* Extra Large Screens (1280px - 1400px) */
@media (min-width:1280px) and (max-width:1400px) {
	.container {
		max-width: 1280px;
	}

	.letters-grid {
		grid-template-columns: repeat(6, 1fr);
	}

	.features-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.rashi-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.showcase-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.nav {
		gap: 20px;
	}
}

/* General helpers to keep tables and modals usable on narrow screens */
@media (max-width:767px) {
	.names-table {
		min-width: 600px;
	}

	.names-table-wrapper {
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.modal-content {
		width: 95%;
		max-height: 95vh;
	}

	.detail-grid {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.nav {
		gap: 20px;
	}

}

/* Scrollbar Styling */
.modal-content::-webkit-scrollbar {
	width: 10px;
}

.modal-content::-webkit-scrollbar-track {
	background: var(--bg-light);
	border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
	background: var(--gradient-primary);
	border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
	background: var(--gradient-secondary);
}


/* Responsive fix: alphabet grid + table mobile behavior
   Include this AFTER your main CSS files (style.css / swar.css / english.css)
*/

/* --- Alphabet grid: desktop keeps 13 when width allows, else auto-fit --- */
.alphabet-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
	gap: 12px;
	align-items: stretch;
}

/* Very large screens: keep 13 columns (only when there's enough width) */
@media (min-width:1400px) {
	.alphabet-grid {
		grid-template-columns: repeat(13, 1fr);
		gap: 18px;
	}
}

/* Large desktops */
@media (min-width:1200px) and (max-width:1399px) {
	.alphabet-grid {
		grid-template-columns: repeat(11, 1fr);
		gap: 16px;
	}
}

/* Desktop / small desktop */
@media (min-width:1024px) and (max-width:1199px) {
	.alphabet-grid {
		grid-template-columns: repeat(10, 1fr) !important;
		gap: 16px;
	}
}

/* Tablets */
@media (min-width:768px) and (max-width:1023px) {
	.alphabet-grid {
		grid-template-columns: repeat(6, 1fr);
		gap: 14px;
	}
}

/* Mobile: let buttons wrap with minimum width so 13 columns won't appear */
@media (max-width:767px) {
	.alphabet-grid {
		grid-template-columns: repeat(8, 1fr);
		gap: 10px;
	}

	.alphabet-btn {
		padding: 10px 8px;
		font-size: 16px;
		white-space: nowrap;
		min-width: 0;
		/* prevent inherited min-widths */
	}
}

/* Extra small phones */
@media (max-width:280px) {
	.alphabet-grid {
		grid-template-columns: repeat(6, 1fr);
		gap: 8px;
	}

	.alphabet-btn {
		font-size: 14px;
		padding: 8px 6px;
	}
}

/* --- Names table: horizontal scroll fallback + mobile card layout --- */

/* Always allow horizontal scroll if table is wider than container */
.names-table-wrapper {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

/* Keep the table full width normally; do not force extremely large min-width here */
.names-table {
	width: 100%;
	border-collapse: collapse;
	min-width: 600px;
	/* reasonable fallback so desktop keeps column widths */
}

/* Mobile: convert table to stacked cards for readability */
@media (max-width:767px) {

	/* hide header, show each row as a card */
	.names-table thead {
		display: none;
	}

	.names-table tbody,
	.names-table tr,
	.names-table td {
		display: block;
		width: 100%;
	}

	.names-table tbody tr {
		background: var(--white);
		margin-bottom: 12px;
		padding: 12px;
		border-radius: 12px;
		box-shadow: var(--shadow-sm);
		border: 1px solid var(--border-color);
	}

	.names-table tbody td {
		padding: 6px 0;
		border: none;
	}

	/* label / value layout inside each cell */
	.names-table tbody td .name-cell,
	.names-table tbody td .meaning-cell {
		display: block;
	}

	/* Tweak typography for mobile */
	.name-english {
		font-size: 18px;
	}

	.name-hindi {
		font-size: 14px;
		color: var(--text-light);
	}

	.meaning-cell {
		font-size: 14px;
		color: var(--text-medium);
		line-height: 1.6;
	}
}

/* If you want to preserve table on small screens with horizontal scroll instead of stacking,
   comment out the above media-query block. */

/* --- Misc fixes that often break responsiveness --- */

/* Prevent long words or content from overflowing */
.alphabet-btn,
.name-english,
.meaning-cell,
.detail-text {
	word-break: break-word;
	overflow-wrap: anywhere;
}

/* Ensure modals fit on small screens */
.modal-content {
	max-width: 980px;
	width: 95%;
	max-height: 95vh;
}

/* Ensure load-more button fits */
.load-more-btn {
	max-width: 100%;
	box-sizing: border-box;
}

/* End responsive-fix.css */


/* Additional Styles for All Pages - Append to existing style.css */

/* ========================================
   BREADCRUMB NAVIGATION
   ======================================== */
.breadcrumb-section {
	background: #fff;
	padding: 16px 0;
	border-bottom: 1px solid #e2e8f0;
}

.breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	font-size: 14px;
}

.breadcrumb a {
	color: #6366f1;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s;
}

.breadcrumb a:hover {
	color: #4f46e5;
	text-decoration: underline;
}

.breadcrumb .separator {
	color: #94a3b8;
	font-weight: 700;
}

.breadcrumb .current {
	color: #1e293b;
	font-weight: 700;
}

/* ========================================
   HOME PAGE STYLES
   ======================================== */
.home-hero {
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
	padding: 120px 20px 80px;
	text-align: center;
	color: white;
	position: relative;
	overflow: hidden;
}

.home-hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: radial-gradient(circle at 30% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
	animation: heroFloat 20s ease-in-out infinite;
}

@keyframes heroFloat {

	0%,
	100% {
		transform: scale(1) rotate(0deg);
	}

	50% {
		transform: scale(1.05) rotate(2deg);
	}
}

.home-hero-content {
	position: relative;
	z-index: 2;
	max-width: 1000px;
	margin: 0 auto;
}

.home-hero h1 {
	font-size: 42px;
	font-weight: 900;
	margin-bottom: 24px;
	text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.2);
	letter-spacing: -1.5px;
	line-height: 1.1;
}

.home-hero p {
	font-size: 24px;
	margin-bottom: 50px;
	opacity: 0.95;
	font-weight: 500;
}

.stats {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
	margin-top: 50px;
}

.stat-item {
	text-align: center;
}

.stat-number {
	font-size: 48px;
	font-weight: 900;
	display: block;
	margin-bottom: 10px;
}

.stat-label {
	font-size: 16px;
	font-weight: 600;
	opacity: 0.9;
	text-transform: uppercase;
	letter-spacing: 1px;
}

/* Search Bar on Home */
.home-search-section {
	margin: -40px auto -25px;
	max-width: 700px;
	position: relative;
	z-index: 100;
	padding: 0 20px;
}

.home-search-box {
	position: relative;
}

.home-search-box input {
	width: 100%;
	padding: 22px 70px 22px 30px;
	border: none;
	border-radius: 60px;
	font-size: 18px;
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
	transition: all 0.3s;
}

.home-search-box input:focus {
	outline: none;
	box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.home-search-box button {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
	color: white;
	border: none;
	padding: 14px 32px;
	border-radius: 50px;
	cursor: pointer;
	font-weight: 700;
	font-size: 16px;
	transition: all 0.3s;
}

.home-search-box button:hover {
	transform: translateY(-50%) scale(1.05);
	box-shadow: 0 5px 15px rgba(99, 102, 241, 0.4);
}

/* Alphabet Grid Sections */
.alphabet-section {
	padding: 60px 20px;
	background: #f8fafc;
}

.section-header {
	text-align: center;
	margin-bottom: 40px;
}

.section-header h2 {
	font-size: 28px;
	font-weight: 900;
	color: #1e293b;
	margin-bottom: 12px;
}

.section-header p {
	font-size: 20px;
	color: #64748b;
	font-weight: 600;
}

.alphabet-grid {
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    gap: 10px;
    max-width: 100%;
    margin: 0 auto;
}

.alphabet-card {
	background: white;
	padding: 10px;
	border-radius: 5px;
	text-align: center;
	text-decoration: none;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	border: 2px solid transparent;
}

.alphabet-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
	border-color: currentColor;
}

.alphabet-card .letter {
    font-size: 28px;
    font-weight: 900;
    display: block;
    margin-bottom: 2px;
    line-height: 30px;
}

.alphabet-card .letter-hindi {
	font-size: 24px;
	font-weight: 700;
	display: block;
	opacity: 0.9;
}

/* Categories Section on Home */
.categories-home-section {
	padding: 60px 20px;
	background: white;
}

.categories-home-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
	max-width: 1400px;
	margin: 40px auto 0;
}

.category-home-card {
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
	padding: 35px;
	border-radius: 20px;
	text-decoration: none;
	transition: all 0.3s;
	border: 2px solid #e2e8f0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 16px;
}

.category-home-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
	border-color: currentColor;
}

.category-home-card .icon {
	font-size: 38px;
	filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.category-home-card .title {
	font-size: 22px;
	font-weight: 800;
	color: #1e293b;
	margin-bottom: 4px;
}

.category-home-card .title-hindi {
	font-size: 18px;
	font-weight: 700;
	opacity: 0.8;
}

.category-home-card .desc {
	font-size: 14px;
	color: #64748b;
	line-height: 1.6;
}

/* CTA Sections */
.home-cta,
.cta-section {
	padding: 80px 20px;
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
	text-align: center;
	color: white;
}

.home-cta h2,
.cta-section h2,
.cta-content h2 {
	font-size: 32px;
	font-weight: 900;
	margin-bottom: 20px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.home-cta p,
.cta-section p,
.cta-content p {
	font-size: 22px;
	margin-bottom: 40px;
	opacity: 0.95;
}

.cta-buttons {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
}

.cta-btn {
	padding: 18px 45px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 700;
	font-size: 18px;
	transition: all 0.3s;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
	display: inline-block;
}

.cta-btn.primary {
	background: white;
	color: #6366f1;
}

.cta-btn.secondary {
	background: rgba(255, 255, 255, 0.2);
	color: white;
	border: 2px solid white;
}

.cta-btn:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

/* ========================================
   ABOUT PAGE STYLES
   ======================================== */
.about-hero,
.contact-hero,
.policy-hero,
.terms-hero,
.disclaimer-hero,
.search-hero {
	padding: 80px 0;
	text-align: center;
	color: white;
}

.about-hero {
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
}

.about-hero h1,
.contact-hero h1,
.policy-hero h1,
.terms-hero h1,
.disclaimer-hero h1,
.search-hero h1 {
	font-size: 34px;
	font-weight: 900;
	margin-bottom: 16px;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.about-hero p {
	font-size: 20px;
	opacity: 0.95;
}

.about-content {
	max-width: 1200px;
	margin: 60px auto;
	padding: 0 24px;
}

.about-section {
	background: white;
	padding: 28px;
	border-radius: 16px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
	margin-bottom: 30px;
}

.about-section h2 {
	font-size: 32px;
	font-weight: 800;
	color: #1e293b;
	margin-bottom: 20px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.about-section p,
.about-section ul {
	font-size: 17px;
	line-height: 1.8;
	color: #475569;
	margin-bottom: 16px;
}

.about-section ul {
	padding-left: 24px;
}

.about-section ul li {
	margin-bottom: 8px;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 24px;
	margin: 40px 0;
}

.stat-box {
	background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
	padding: 30px;
	border-radius: 12px;
	text-align: center;
	border: 2px solid #e2e8f0;
}

.stat-box .number {
	font-size: 30px;
	font-weight: 900;
	color: #6366f1;
	margin-bottom: 8px;
}

.stat-box .label {
	font-size: 16px;
	color: #64748b;
	font-weight: 600;
}

.features-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(3, 1fr);
    margin: 30px 0;
}

.feature-card {
	background: #f8fafc;
	padding: 30px;
	border-radius: 12px;
	border-left: 4px solid #6366f1;
}

.feature-card h3 {
	font-size: 20px;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 12px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.feature-card p {
	font-size: 15px;
	color: #64748b;
	line-height: 1.6;
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */
.contact-hero {
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
}

.contact-content {
	max-width: 1400px;
	margin: 60px auto;
	padding: 0 24px;
}

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

.contact-form-section,
.contact-info-section {
	background: white;
	padding: 28px;
	border-radius: 16px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.contact-form-section h2,
.contact-info-section h2 {
	font-size: 28px;
	font-weight: 800;
	color: #1e293b;
	margin-bottom: 16px;
}

.alert {
	padding: 16px 20px;
	border-radius: 8px;
	margin-bottom: 24px;
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.alert-success {
	background: #d1fae5;
	border: 1px solid #10b981;
	color: #065f46;
}

.alert-error {
	background: #fee2e2;
	border: 1px solid #ef4444;
	color: #991b1b;
}

.form-group {
	margin-bottom: 24px;
}

.form-group label {
	display: block;
	font-weight: 600;
	color: #1e293b;
	margin-bottom: 8px;
	font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 12px 16px;
	border: 2px solid #e2e8f0;
	border-radius: 8px;
	font-size: 15px;
	font-family: inherit;
	transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #6366f1;
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.form-group textarea {
	resize: vertical;
	min-height: 120px;
}

.form-group small {
	display: block;
	margin-top: 6px;
	color: #64748b;
	font-size: 13px;
}

.btn-submit {
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
	color: white;
	padding: 14px 32px;
	border: none;
	border-radius: 30px;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: all 0.3s;
	width: 100%;
}

.btn-submit:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 16px rgba(99, 102, 241, 0.3);
}

.contact-info-card {
	background: #f8fafc;
	padding: 24px;
	border-radius: 12px;
	margin-bottom: 20px;
	border-left: 4px solid #6366f1;
}

.contact-info-card h3 {
	font-size: 20px;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 12px;
}

.contact-info-card p {
	font-size: 15px;
	color: #64748b;
	line-height: 1.6;
}

.contact-info-card a {
	color: #6366f1;
	text-decoration: none;
	font-weight: 600;
}

.contact-info-card a:hover {
	text-decoration: underline;
}

.social-links-contact {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 12px;
}

.social-btn {
	padding: 8px 16px;
	border-radius: 6px;
	text-decoration: none;
	font-size: 14px;
	font-weight: 600;
	transition: all 0.3s;
}

.social-btn.facebook {
	background: #1877f2;
	color: white;
}

.social-btn.twitter {
	background: #1da1f2;
	color: white;
}

.social-btn.instagram {
	background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
	color: white;
}

.faq-section {
	margin-top: 60px;
	background: white;
	padding: 28px;
	border-radius: 16px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.faq-section h2 {
	font-size: 32px;
	font-weight: 800;
	color: #1e293b;
	margin-bottom: 30px;
	text-align: center;
}

.faq-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 24px;
}

.faq-item {
	background: #f8fafc;
	padding: 24px;
	border-radius: 12px;
	border-left: 4px solid #6366f1;
}

.faq-item h4 {
	font-size: 16px;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 8px;
}

.faq-item p {
	font-size: 14px;
	color: #64748b;
	line-height: 1.6;
}

/* ========================================
   POLICY PAGES STYLES
   ======================================== */
.policy-hero {
	background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
}

.terms-hero {
	background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

.disclaimer-hero {
	background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
}

.policy-content,
.terms-content,
.disclaimer-content {
	max-width: 1000px;
	margin: 60px auto;
	padding: 50px;
	background: white;
	border-radius: 16px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.policy-content h2,
.terms-content h2,
.disclaimer-content h2 {
	font-size: 28px;
	font-weight: 800;
	color: #1e293b;
	margin-top: 40px;
	margin-bottom: 16px;
	border-left: 4px solid #6366f1;
	padding-left: 16px;
}

.policy-content h3,
.terms-content h3,
.disclaimer-content h3 {
	font-size: 20px;
	font-weight: 700;
	color: #475569;
	margin-top: 24px;
	margin-bottom: 12px;
}

.policy-content p,
.terms-content p,
.disclaimer-content p {
	font-size: 16px;
	line-height: 1.8;
	color: #64748b;
	margin-bottom: 16px;
}

.policy-content ul,
.policy-content ol,
.terms-content ul,
.disclaimer-content ul {
	font-size: 16px;
	line-height: 1.8;
	color: #64748b;
	margin-bottom: 16px;
	padding-left: 24px;
}

.policy-content li,
.terms-content li,
.disclaimer-content li {
	margin-bottom: 8px;
}

.policy-content strong,
.terms-content strong,
.disclaimer-content strong {
	color: #1e293b;
	font-weight: 600;
}

.last-updated {
	background: #f1f5f9;
	padding: 16px 20px;
	border-radius: 8px;
	margin-bottom: 30px;
	font-size: 15px;
	color: #475569;
	border-left: 4px solid #6366f1;
}

.important-notice {
	background: #fef3c7;
	border: 2px solid #f59e0b;
	padding: 20px;
	border-radius: 8px;
	margin: 24px 0;
}

.important-notice strong {
	color: #92400e;
	font-size: 18px;
}

/* ========================================
   SEARCH PAGE STYLES
   ======================================== */
.search-hero {
	background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
}

.search-box-hero {
	max-width: 600px;
	margin: 0 auto;
	position: relative;
}

.search-box-hero input {
	width: 100%;
	padding: 18px 60px 18px 24px;
	border: none;
	border-radius: 50px;
	font-size: 17px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.search-box-hero button {
	position: absolute;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
	color: white;
	border: none;
	padding: 12px 24px;
	border-radius: 40px;
	cursor: pointer;
	font-weight: 700;
	font-size: 15px;
}

.search-results-section {
	max-width: 1400px;
	margin: 60px auto;
	padding: 0 24px;
}

.results-header {
	background: white;
	padding: 24px 30px;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	margin-bottom: 30px;
}

.results-header h2 {
	font-size: 28px;
	font-weight: 800;
	color: #1e293b;
	margin-bottom: 8px;
}

.results-count {
	font-size: 16px;
	color: #64748b;
}

.no-results {
	background: white;
	padding: 60px 40px;
	border-radius: 16px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.no-results h3 {
	font-size: 32px;
	font-weight: 800;
	color: #1e293b;
	margin-bottom: 16px;
}

.no-results p {
	font-size: 17px;
	color: #64748b;
	margin-bottom: 24px;
}

.no-results ul {
	text-align: left;
	max-width: 500px;
	margin: 24px auto;
	font-size: 16px;
	color: #64748b;
}

.results-table-wrapper {
	background: white;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	overflow: hidden;
}

.results-table {
	width: 100%;
	border-collapse: collapse;
}

.results-table thead {
	background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.results-table th {
	padding: 18px 20px;
	text-align: left;
	font-weight: 700;
	color: #1e293b;
	font-size: 15px;
	border-bottom: 2px solid #e2e8f0;
}

.results-table tbody tr {
	border-bottom: 1px solid #f1f5f9;
	transition: all 0.2s;
	cursor: pointer;
}

.results-table tbody tr:hover {
	background: #f8fafc;
}

.results-table td {
	padding: 20px;
	font-size: 15px;
	color: #475569;
}

.name-cell {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.name-english {
	font-size: 18px;
	font-weight: 700;
	color: #1e293b;
}

.name-hindi {
	font-size: 15px;
	color: #6366f1;
	font-weight: 600;
}

.gender-badge {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 12px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.gender-badge.boy {
	background: #dbeafe;
	color: #1e40af;
}

.gender-badge.girl {
	background: #fce7f3;
	color: #9f1239;
}

.source-badge {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 8px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
}

.source-badge.swar {
	background: #ede9fe;
	color: #6b21a8;
}

.source-badge.vyanjan {
	background: #dbeafe;
	color: #1e40af;
}

.source-badge.english {
	background: #d1fae5;
	color: #065f46;
}

.source-badge.rashi {
	background: #fed7aa;
	color: #92400e;
}

.source-badge.category {
	background: #fce7f3;
	color: #9f1239;
}

.meaning-cell {
	max-width: 400px;
	line-height: 1.6;
}

/* ========================================
   MODAL STYLES
   ======================================== */
.modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.75);
	backdrop-filter: blur(8px);
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.modal.active {
	display: flex;
}

.modal-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.modal-container {
	background: white;
	border-radius: 24px;
	max-width: 700px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	position: relative;
	z-index: 10000;
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.3);
}

.modal-close {
	position: absolute;
	top: 24px;
	right: 24px;
	background: rgba(0, 0, 0, 0.1);
	color: #1e293b;
	border: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	font-size: 24px;
	cursor: pointer;
	transition: all 0.3s;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10001;
}

.modal-close:hover {
	background: rgba(0, 0, 0, 0.2);
	transform: rotate(90deg);
}

.modal-body {
	padding: 30px;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 991px) {
	.home-hero h1 {
		font-size: 48px;
	}

	.alphabet-grid {
		grid-template-columns: repeat(8, 1fr);
	}
	.categories-home-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

	.contact-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.popular-letters {
		padding: 60px 0;
	}
	.categories-home-section {
		padding: 60px 0;

	}
	.home-hero {
		padding: 80px 15px 60px;
	}

	.home-hero h1 {
		font-size: 36px;
	}

	.stats {
		gap: 10px;
	}

	.stat-number {
		font-size: 24px;
		line-height: 28px;
		margin-bottom: 5px;
	}

	.stat-item {
		text-align: center;
		width: 48%;
		display: flex;
		flex-direction: column;
		justify-content: center;
	}

	.stat-label {
		font-size: 12px;
	}

	.alphabet-grid {
		grid-template-columns:repeat(5, 1fr);
		gap: 5px;
	}

	.alphabet-card {
        padding: 10px 0px;
        border-radius: 5px;
    }

	.alphabet-card .letter {
        font-size: 22px;
        line-height: 22px;
        margin: 5px;
    }

	.alphabet-card .letter-hindi {
		font-size: 18px;
	}

	.section-header h2 {
		font-size: 32px;
	}

	.about-section,
	.contact-form-section,
	.contact-info-section {
		padding: 24px;
	}

	.policy-content,
	.terms-content,
	.disclaimer-content {
		padding: 30px 24px;
	}
	.category-home-card {
		padding: 10px;
		border-radius: 10px;
		gap: 0px;
	}
	.category-home-card .title {
		font-size: 18px;
		line-height: 20px;
	}
	.category-home-card .title-hindi {
		font-size: 16px;
	}
}

@media (max-width: 480px) {
	.home-hero h1 {
		font-size: 28px;
	}

	.alphabet-grid {
        grid-template-columns: repeat(5, 1fr);
    }

	.categories-home-grid, .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
}










/* .home-hero {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    padding: 120px 20px 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #FF9933 0%, #FFFFFF 50%, #128807 100%);
}
.home-hero-content h1{
    color: rgb(255 156 57);
}
.home-hero-content p {
    color: #1b8c10;
}
.stat-item span {
    color: #1b8c10;
}
.stat-item  {
    color: #1b8c10;
    border: 2px solid rgb(255 156 57);
} */