﻿/* 
 * Egurukul Web Core Styles
 * Modern, premium styling matching jnwebsolutions.com design.
 */

:root {
	--ew-primary: #0A66C2; /* Professional Blue */
	--ew-secondary: #FF6F00; /* Vibrant Orange */
	--ew-dark: #1F2937;
	--ew-light: #F9FAFB;
	--ew-white: #FFFFFF;
	--ew-text: #4B5563;
	--ew-heading: #111827;
	--ew-border: #E5E7EB;
	--ew-gradient-primary: linear-gradient(135deg, var(--ew-primary) 0%, #004282 100%);
	--ew-font-main: 'Inter', system-ui, -apple-system, sans-serif;
	--ew-radius: 12px;
	--ew-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
	--ew-shadow-hover: 0 20px 40px rgba(0, 0, 0, 0.1);
	--ew-transition: all 0.3s ease;
}

/* Dark Mode Overrides for Theme Compatibility */
:root[data-theme="dark"] {
	--ew-text: #CBD5E1;
	--ew-heading: #FFFFFF;
	--ew-light: #1E293B;
	--ew-white: #0F172A;
	--ew-border: #334155;
}

.ew-wrapper {
	font-family: var(--ew-font-main);
	color: var(--ew-text);
	line-height: 1.6;
}

.ew-wrapper h1,
.ew-wrapper h2,
.ew-wrapper h3,
.ew-wrapper h4,
.ew-wrapper h5,
.ew-wrapper h6 {
	color: var(--ew-heading);
	font-weight: 700;
	margin-bottom: 1rem;
}

/* Base Components */
.ew-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 28px;
	border-radius: 30px;
	font-weight: 600;
	text-decoration: none;
	transition: var(--ew-transition);
	font-size: 16px;
	border: none;
	cursor: pointer;
}

.ew-btn-primary {
	background: var(--ew-gradient-primary);
	color: var(--ew-white);
	box-shadow: 0 4px 15px rgba(10, 102, 194, 0.3);
}

.ew-btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 25px rgba(10, 102, 194, 0.4);
	color: var(--ew-white);
}

.ew-btn-secondary {
	background: transparent;
	color: var(--ew-primary);
	border: 2px solid var(--ew-primary);
}

.ew-btn-secondary:hover {
	background: var(--ew-primary);
	color: var(--ew-white);
}

/* Sections */
.ew-section {
	padding: 80px 0;
	position: relative;
}

.ew-section-title {
	text-align: center;
	margin-bottom: 50px;
}

.ew-section-title h2 {
	font-size: 36px;
	position: relative;
	display: inline-block;
}

.ew-section-title p {
	font-size: 18px;
	color: var(--ew-text);
	max-width: 600px;
	margin: 15px auto 0;
}

/* Hero Section */
.ew-hero {
	background: var(--ew-light);
	padding: 120px 0;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.ew-hero::before {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: radial-gradient(circle, rgba(10,102,194,0.05) 0%, transparent 70%);
	z-index: 1;
}

.ew-hero .ew-container {
	position: relative;
	z-index: 2;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.ew-hero-subtitle {
	display: inline-block;
	background: rgba(10, 102, 194, 0.1);
	color: var(--ew-primary);
	padding: 8px 20px;
	border-radius: 20px;
	font-weight: 600;
	margin-bottom: 20px;
	font-size: 14px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.ew-hero h1 {
	font-size: 56px;
	font-weight: 800;
	margin-bottom: 24px;
	line-height: 1.2;
}

.ew-hero .typing-text {
	color: var(--ew-secondary);
	border-right: 3px solid var(--ew-secondary);
	padding-right: 5px;
	animation: blink 0.75s step-end infinite;
}

@keyframes blink {
	from, to { border-color: transparent }
	50% { border-color: var(--ew-secondary); }
}

.ew-hero-desc {
	font-size: 20px;
	color: var(--ew-text);
	max-width: 800px;
	margin: 0 auto 40px;
}

.ew-hero-actions {
	display: flex;
	gap: 20px;
	justify-content: center;
}

/* Services Grid */
.ew-services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 30px;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.ew-service-card {
	background: var(--ew-white);
	padding: 40px 30px;
	border-radius: var(--ew-radius);
	box-shadow: var(--ew-shadow);
	transition: var(--ew-transition);
	position: relative;
	overflow: hidden;
	border: 1px solid var(--ew-border);
}

.ew-service-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--ew-shadow-hover);
	border-color: var(--ew-primary);
}

.ew-service-icon {
	width: 60px;
	height: 60px;
	background: rgba(10, 102, 194, 0.1);
	color: var(--ew-primary);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	margin-bottom: 25px;
	transition: var(--ew-transition);
}

.ew-service-card:hover .ew-service-icon {
	background: var(--ew-primary);
	color: var(--ew-white);
}

.ew-service-card h3 {
	font-size: 22px;
	margin-bottom: 15px;
}

.ew-service-card p {
	color: var(--ew-text);
	font-size: 15px;
}

/* Stats Counter */
.ew-stats-wrapper {
	background: var(--ew-gradient-primary);
	padding: 60px 0;
	color: var(--ew-white);
}

.ew-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 30px;
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
	padding: 0 20px;
}

.ew-stat-item h3 {
	font-size: 48px;
	font-weight: 800;
	color: var(--ew-white);
	margin-bottom: 5px;
}

.ew-stat-item p {
	font-size: 16px;
	font-weight: 500;
	opacity: 0.9;
}

/* Responsive */
@media (max-width: 991px) {
	.ew-hero h1 {
		font-size: 42px;
	}
	.ew-stats-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 767px) {
	.ew-hero h1 {
		font-size: 36px;
	}
	.ew-hero-actions {
		flex-direction: column;
	}
	.ew-stats-grid {
		grid-template-columns: 1fr;
	}
}

/* Testimonial Slider (Scroll Snap) */
/* Testimonials Swiper Override */
.ew-testimonials {
	position: relative;
}
.ew-testi-swiper {
	padding: 20px 10px 40px;
}
.ew-review-card.slider-card {
	padding: 2px; /* Border thickness */
	background: transparent;
	border-radius: 20px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.05);
	display: flex;
	flex-direction: column;
	position: relative;
	transition: var(--ew-transition);
	overflow: hidden;
	z-index: 1;
}

/* Neon Snake Glow Layer */
.ew-review-card.slider-card::before,
.ew-review-card.slider-card::after {
	content: '';
	position: absolute;
	top: -50%;
	left: -50%;
	width: 200%;
	height: 200%;
	background: conic-gradient(from 0deg, transparent 60%, #00f3ff 80%, #ff00ea 100%);
	animation: snake-spin 2.5s linear infinite;
	z-index: -2;
	opacity: 0;
	transition: opacity 0.4s ease;
}

/* Blur Effect for Intense Neon Glow */
.ew-review-card.slider-card::after {
	filter: blur(15px);
	z-index: -3;
}

.ew-review-card.slider-card:hover::before,
.ew-review-card.slider-card:hover::after {
	opacity: 1;
}

@keyframes snake-spin {
	100% { transform: rotate(360deg); }
}

.ew-review-card.slider-card:hover {
	transform: translateY(-5px);
}

.ew-quote-icon {
	color: rgba(10, 102, 194, 0.1);
	font-size: 40px;
	position: absolute;
	top: 30px;
	right: 30px;
}

.ew-stars {
	color: #FFB400;
	font-size: 16px;
	margin-bottom: 20px;
}

.ew-review-text {
	font-size: 17px;
	color: var(--ew-text);
	line-height: 1.8;
	font-style: italic;
	flex-grow: 1;
	margin-bottom: 30px;
}

.ew-review-author {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-top: auto;
}

.ew-author-avatar {
	width: 50px;
	height: 50px;
	background: var(--ew-gradient-primary);
	color: #FFFFFF;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	font-weight: 700;
	box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.ew-author-info h4 {
	margin: 0 0 5px;
	font-size: 16px;
	color: var(--ew-heading);
}

.ew-author-info span {
	font-size: 13px;
	color: var(--ew-primary);
	font-weight: 600;
}

.ew-slider-controls {
	display: flex;
	justify-content: center;
	gap: 15px;
	margin-top: 20px;
}

.ew-slider-btn {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--ew-white);
	border: 1px solid var(--ew-border);
	color: var(--ew-primary);
	font-size: 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: var(--ew-transition);
	box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.ew-slider-btn:hover {
	background: var(--ew-primary);
	color: var(--ew-white);
	border-color: var(--ew-primary);
}

/* Portfolio Section */
.ew-portfolio-item {
	border-radius: var(--ew-radius);
	overflow: hidden;
	position: relative;
	box-shadow: var(--ew-shadow);
}

.ew-portfolio-img {
	position: relative;
	width: 100%;
	padding-top: 75%; /* 4:3 Aspect Ratio */
	overflow: hidden;
}

.ew-portfolio-img img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.ew-portfolio-overlay {
	position: absolute;
	bottom: -100%;
	left: 0;
	width: 100%;
	padding: 30px;
	background: linear-gradient(to top, rgba(10, 102, 194, 0.95), transparent);
	transition: all 0.4s ease;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}

.ew-portfolio-item:hover .ew-portfolio-img img {
	transform: scale(1.1);
}

.ew-portfolio-item:hover .ew-portfolio-overlay {
	bottom: 0;
	height: 100%;
}

.ew-portfolio-overlay h3 {
	color: #FFFFFF;
	margin: 0;
	font-size: 22px;
}

.ew-portfolio-btn {
	width: 45px;
	height: 45px;
	background: #FFFFFF;
	color: var(--ew-primary);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	margin-bottom: 15px;
	text-decoration: none;
	transition: var(--ew-transition);
}

.ew-portfolio-btn:hover {
	background: var(--ew-secondary);
	color: #FFFFFF;
}

/* Tech Stack Marquee */
.ew-tech-marquee-track {
	display: flex;
	align-items: center;
	gap: 60px;
	width: max-content;
	animation: ew-marquee 30s linear infinite;
}

.ew-tech-item img {
	height: 60px;
	width: auto;
	object-fit: contain;
	filter: grayscale(100%) opacity(0.6);
	transition: var(--ew-transition);
}

.ew-tech-item:hover img {
	filter: grayscale(0%) opacity(1);
}

/* Features (Why Choose Us) */
.ew-feature-item {
	background: var(--ew-white);
	padding: 40px 30px;
	border-radius: var(--ew-radius);
	box-shadow: 0 5px 20px rgba(0,0,0,0.03);
	text-align: center;
	border-bottom: 3px solid transparent;
	transition: var(--ew-transition);
}

.ew-feature-item:hover {
	transform: translateY(-5px);
	box-shadow: var(--ew-shadow-hover);
	border-bottom-color: var(--ew-primary);
}

.ew-feature-icon {
	font-size: 40px;
	color: var(--ew-primary);
	margin-bottom: 20px;
}

/* FAQ Accordion */
.ew-accordion-wrapper {
	background: var(--ew-white);
	border-radius: var(--ew-radius);
	box-shadow: var(--ew-shadow);
	padding: 20px;
}

.ew-accordion-item {
	border-bottom: 1px solid var(--ew-border);
}

.ew-accordion-item:last-child {
	border-bottom: none;
}

.ew-accordion-header {
	width: 100%;
	text-align: left;
	padding: 20px;
	background: none;
	border: none;
	font-size: 18px;
	font-weight: 600;
	color: var(--ew-heading);
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: var(--ew-transition);
}

.ew-accordion-header:hover, .ew-accordion-header.active {
	color: var(--ew-primary);
}

.ew-accordion-icon i {
	transition: transform 0.3s ease;
}

.ew-accordion-content {
	display: none;
	padding: 0 20px 20px;
	color: var(--ew-text);
	line-height: 1.6;
}

/* Pricing Tables */
.ew-pricing-card {
	background: var(--ew-white);
	border: 1px solid var(--ew-border);
	border-radius: var(--ew-radius);
	padding: 40px;
	text-align: center;
	position: relative;
	transition: var(--ew-transition);
}

.ew-pricing-card:hover {
	transform: translateY(-10px);
	box-shadow: var(--ew-shadow-hover);
	border-color: var(--ew-primary);
}

.ew-pricing-card.ew-popular {
	border: 2px solid var(--ew-primary);
	box-shadow: var(--ew-shadow);
	transform: scale(1.05);
}

.ew-pricing-card.ew-popular:hover {
	transform: scale(1.05) translateY(-5px);
}

.ew-pricing-badge {
	position: absolute;
	top: -15px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--ew-primary);
	color: #FFFFFF;
	padding: 5px 20px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
}

.ew-pricing-card h3 {
	font-size: 24px;
	margin-bottom: 20px;
}

.ew-price {
	font-size: 48px;
	font-weight: 800;
	color: var(--ew-heading);
	margin-bottom: 30px;
}

.ew-currency {
	font-size: 24px;
	vertical-align: super;
	margin-right: 5px;
}

.ew-duration {
	font-size: 16px;
	color: var(--ew-text);
	font-weight: 500;
}

.ew-pricing-features {
	list-style: none;
	padding: 0;
	margin: 0 0 30px;
	text-align: left;
}

.ew-pricing-features li {
	padding: 12px 0;
	border-bottom: 1px solid var(--ew-border);
	color: var(--ew-text);
}

.ew-pricing-features li:last-child {
	border-bottom: none;
}

.ew-pricing-features i {
	color: var(--ew-primary);
	margin-right: 10px;
}

@media (max-width: 991px) {
	.ew-pricing-card.ew-popular {
		transform: scale(1);
	}
	.ew-pricing-card.ew-popular:hover {
		transform: scale(1) translateY(-5px);
	}
}

/* ==========================================================================
   Bento Grid Blog Section
   ========================================================================== */
.ew-bento-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(2, 250px);
	gap: 20px;
}

.ew-bento-item {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	display: flex;
	align-items: flex-end;
	text-decoration: none;
	background: var(--ew-primary);
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

/* Featured Item Spans 2x2 */
.ew-bento-featured {
	grid-column: span 2;
	grid-row: span 2;
}

/* Background Image with Zoom Effect */
.ew-bento-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
	transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 1;
}

/* Smooth Gradient Overlay */
.ew-bento-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to top, rgba(0, 15, 30, 0.9) 0%, rgba(0, 15, 30, 0.4) 50%, rgba(0, 15, 30, 0) 100%);
	z-index: 2;
	transition: background 0.4s ease;
}

/* Content Container */
.ew-bento-content {
	position: relative;
	z-index: 3;
	padding: 30px;
	width: 100%;
	transform: translateY(0);
	transition: transform 0.4s ease;
}

.ew-bento-meta {
	display: flex;
	gap: 15px;
	margin-bottom: 12px;
	font-size: 13px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.ew-bento-cat {
	color: #00f3ff;
}

.ew-bento-date {
	color: rgba(255, 255, 255, 0.7);
}

.ew-bento-title {
	color: #ffffff;
	font-size: 20px;
	line-height: 1.3;
	margin: 0;
	font-weight: 700;
	text-shadow: 0 2px 10px rgba(0,0,0,0.5);
	transition: color 0.3s ease;
}

.ew-bento-featured .ew-bento-title {
	font-size: 32px;
}

.ew-bento-arrow {
	position: absolute;
	bottom: 30px;
	right: 30px;
	z-index: 3;
	color: #fff;
	background: rgba(255, 255, 255, 0.2);
	backdrop-filter: blur(5px);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: translateX(-20px);
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Hover Animations */
.ew-bento-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 40px rgba(0, 243, 255, 0.15);
}

.ew-bento-item:hover .ew-bento-bg {
	transform: scale(1.08);
}

.ew-bento-item:hover .ew-bento-overlay {
	background: linear-gradient(to top, rgba(0, 15, 30, 0.95) 0%, rgba(0, 15, 30, 0.6) 50%, rgba(0, 15, 30, 0.2) 100%);
}

.ew-bento-item:hover .ew-bento-arrow {
	opacity: 1;
	transform: translateX(0);
	background: #00f3ff;
	color: #002040;
}

.ew-bento-item:hover .ew-bento-content {
	transform: translateY(-10px);
}

.ew-bento-item:hover .ew-bento-title {
	color: #00f3ff;
}

/* Responsive Stacking */
@media (max-width: 991px) {
	.ew-bento-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: auto;
	}
	.ew-bento-featured {
		grid-column: span 2;
		grid-row: span 1;
		height: 400px;
	}
	.ew-bento-item:not(.ew-bento-featured) {
		height: 300px;
	}
}

@media (max-width: 767px) {
	.ew-bento-grid {
		grid-template-columns: 1fr;
	}
	.ew-bento-featured {
		grid-column: 1;
		height: 350px;
	}
	.ew-bento-featured .ew-bento-title {
		font-size: 24px;
	}
}

/* ==========================================================================
   Single Post Layout
   ========================================================================== */
.ew-single-post-article {
	background: #fafafa;
	padding-bottom: 80px;
}

/* Hero Section */
.ew-single-hero {
	position: relative;
	width: 100%;
	height: 60vh;
	min-height: 400px;
	background-size: cover;
	background-position: center;
	display: flex;
	align-items: flex-end;
	justify-content: center;
}

.ew-single-hero-overlay {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: linear-gradient(to top, rgba(0, 15, 30, 0.95) 0%, rgba(0, 15, 30, 0.4) 60%, rgba(0, 15, 30, 0.1) 100%);
	z-index: 1;
}

.ew-single-hero-content {
	position: relative;
	z-index: 2;
	max-width: 900px;
	width: 100%;
	padding: 40px 20px;
	text-align: center;
	color: #fff;
}

.ew-single-meta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
	margin-bottom: 20px;
	font-size: 14px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.ew-single-cat {
	color: #00f3ff;
	background: rgba(0, 243, 255, 0.1);
	padding: 4px 12px;
	border-radius: 20px;
}

.ew-single-date {
	color: rgba(255, 255, 255, 0.8);
}

.ew-single-title {
	font-size: 48px;
	line-height: 1.2;
	margin: 0 0 30px 0;
	font-weight: 800;
	color: #fff;
	text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.ew-single-author {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 15px;
}

.ew-author-img img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	border: 2px solid #00f3ff;
	object-fit: cover;
}

.ew-author-name {
	text-align: left;
	font-size: 14px;
}

.ew-author-name span {
	display: block;
	color: rgba(255,255,255,0.7);
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.ew-author-name strong {
	color: #fff;
	font-size: 16px;
}

/* Reading Container */
.ew-single-reading-container {
	max-width: 800px;
	margin: -40px auto 0 auto;
	background: #fff;
	border-radius: 20px;
	padding: 60px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.05);
	position: relative;
	z-index: 10;
}

.ew-single-content {
	font-size: 18px;
	line-height: 1.8;
	color: #333;
}

.ew-single-content p {
	margin-bottom: 25px;
}

.ew-single-content h2, 
.ew-single-content h3 {
	margin-top: 40px;
	margin-bottom: 20px;
	color: #111;
}

.ew-single-content img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
	margin: 30px 0;
}

/* Social Share */
.ew-single-share {
	margin-top: 60px;
	padding-top: 40px;
	border-top: 1px solid #eee;
	text-align: center;
}

.ew-share-heading {
	font-size: 20px;
	margin-bottom: 20px;
	color: #111;
}

.ew-share-buttons {
	display: flex;
	gap: 15px;
	justify-content: center;
}

.ew-share-btn {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 20px;
	text-decoration: none;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ew-share-btn:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0,0,0,0.1);
	color: #fff;
}

.ew-facebook { background: #1877F2; }
.ew-twitter { background: #000000; }
.ew-linkedin { background: #0A66C2; }
.ew-whatsapp { background: #25D366; }

/* Facebook Comments */
.ew-single-comments {
	margin-top: 60px;
	padding-top: 40px;
	border-top: 1px solid #eee;
}

.ew-comments-heading {
	font-size: 24px;
	margin-bottom: 30px;
	color: #111;
}

/* Responsive */
@media (max-width: 768px) {
	.ew-single-title {
		font-size: 32px;
	}
	.ew-single-reading-container {
		margin: -20px 15px 0 15px;
		padding: 30px 20px;
	}
	.ew-single-content {
		font-size: 16px;
	}
}

/* ==========================================================================
   Dark Mode Toggle UI
   ========================================================================== */
.ew-theme-toggle {
	position: fixed;
	bottom: 30px;
	left: 30px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: #002040;
	color: #00f3ff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	cursor: pointer;
	z-index: 9999;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	border: 2px solid rgba(0, 243, 255, 0.2);
}

.ew-theme-toggle:hover {
	transform: translateY(-5px) scale(1.05);
	box-shadow: 0 8px 25px rgba(0, 243, 255, 0.3);
	background: #00f3ff;
	color: #002040;
}

:root[data-theme="dark"] .ew-theme-toggle {
	background: #00f3ff;
	color: #002040;
	border-color: #00f3ff;
}

:root[data-theme="dark"] .ew-theme-toggle:hover {
	background: #fff;
	color: #111;
	box-shadow: 0 8px 25px rgba(255, 255, 255, 0.4);
}

/* Ensure background of the whole page changes if we apply it globally */
:root[data-theme="dark"] body {
	background-color: #050b14;
	color: var(--ew-text);
}

/* ==========================================================================
   Scroll to Top Button
   ========================================================================== */
.ew-scroll-top {
	position: fixed;
	bottom: -60px; /* Hidden initially */
	right: 30px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: var(--ew-primary);
	color: var(--ew-white);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	cursor: pointer;
	z-index: 9999;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
	transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	opacity: 0;
	visibility: hidden;
}

.ew-scroll-top.show {
	bottom: 30px;
	opacity: 1;
	visibility: visible;
}

.ew-scroll-top:hover {
	transform: translateY(-5px);
	background: var(--ew-secondary);
	box-shadow: 0 8px 25px rgba(255, 111, 0, 0.4);
}

