/* Front page sections (CMK clone) */

/* Hero */
.hero-section {
	position: relative;
	overflow: hidden;
	height: 70vh;
	min-height: 70vh;
}

.hero-section .hero-background {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: 70vh;
}

.hero-section .hero-overlay {
	background-color: var(--mk-hero-overlay-color, #000000);
	opacity: var(--mk-hero-overlay-opacity, 0.4);
	pointer-events: none;
}

.hero-section .hero-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-section .hero-content {
	z-index: 2;
}

.hero-section .hero-text {
	max-width: var(--mk-hero-max-width, 800px);
	color: #ffffff;
}

.hero-section .hero-text.mk-hero-align-center {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
}

.hero-section .hero-text.mk-hero-align-left {
	text-align: left;
	margin-left: 0;
	margin-right: auto;
}

.hero-section .hero-title {
	color: var(--mk-hero-title, #ffffff);
}

.hero-section .hero-subtitle {
	color: var(--mk-hero-subtitle, #ffffff);
}

.hero-section .btn-hero {
	background-color: var(--mk-hero-btn-bg, var(--moonkids-primary, #400080)) !important;
	border-color: var(--mk-hero-btn-bg, var(--moonkids-primary, #400080)) !important;
	color: var(--mk-hero-btn-text, #ffffff) !important;
	transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.hero-section .btn-hero:hover {
	background-color: var(--mk-hero-btn-hover-bg, var(--moonkids-secondary, #F4B011)) !important;
	border-color: var(--mk-hero-btn-hover-bg, var(--moonkids-secondary, #F4B011)) !important;
	color: var(--mk-hero-btn-text, #ffffff) !important;
	transform: translateY(-1px);
}

/* Clients carousel */
.clients-section {
	background: #ededed;
	border-top: 1px solid #f2f2f2;
	border-bottom: 1px solid #f2f2f2;
}

.clients-carousel-wrapper {
	width: 100%;
	max-width: 1306px;
	margin: 0 auto;
	overflow: hidden;
}

.moonkids-client-marquee {
	width: 100%;
	overflow: hidden;
}

.moonkids-client-track {
	display: flex;
	width: max-content;
	align-items: center;
	gap: 5px;
	animation: moonkids-clients-marquee 40s linear infinite;
	will-change: transform;
}

.client-logo {
	display: block;
	width: 100%;
	height: 125px;
	object-fit: contain;
	background: #fff;
	padding: 8px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.client-item {
	flex: 0 0 180px;
	width: 180px;
}

.client-item .fusion-image-wrapper {
	border-radius: 2px;
	overflow: hidden;
}

.client-item:hover .client-logo {
	transform: translateY(-2px);
}

.moonkids-client-marquee:hover .moonkids-client-track {
	animation-play-state: paused;
}

@keyframes moonkids-clients-marquee {
	0% {
		transform: translateX(0);
	}
	100% {
		transform: translateX(calc(-50% - 2.5px));
	}
}

/* Projects / section headings */
.section-heading {
	font-size: 2rem;
	font-weight: 700;
	color: var(--moonkids-text, #1b1b1b);
}

.section-subheading {
	font-size: 1.1rem;
}

/* Custom banner */
.custom-banner {
	min-height: 400px;
	display: flex;
	align-items: center;
}

/* Feature cards */
.feature-card {
	background: #f8f9fa;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.feature-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Two column */
.two-column-section .object-fit-cover {
	object-fit: cover;
}

@media (max-width: 768px) {
	.hero-section .display-4 { font-size: 1.75rem; }
	.custom-banner { min-height: 300px; }
}

/* ========== WooCommerce homepage products (pixel-match inspired) ========== */

.home-products-section {
	background: #fff;
}

.home-products-section .product-card {
	border-radius: 2px;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	border: 1px solid rgba(0, 0, 0, 0.04);
}

.home-products-section .product-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
	border-color: rgba(64, 0, 128, 0.18);
}

.home-products-section .product-image {
	position: relative;
	display: block;
	background: #e9ecef;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.home-products-section .product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.home-products-section .product-card:hover .product-image img {
	transform: scale(1.04);
}

.home-products-section .product-thumb.ph {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #dee2e6 0%, #e9ecef 100%);
}

.home-products-section .product-title a {
	color: var(--moonkids-text, #1b1b1b);
	font-weight: 700;
	line-height: 1.35;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.home-products-section .product-title a:hover {
	color: var(--moonkids-primary, #400080);
}

.home-products-section .product-price {
	font-weight: 700;
	color: var(--moonkids-text, #1b1b1b);
}

.home-products-section .product-price del {
	opacity: 0.55;
	font-weight: 600;
	margin-right: 6px;
}

.home-products-section .product-price ins {
	text-decoration: none;
}

/* Woo add-to-cart button in loop uses its own classes; normalize */
.home-products-section .add_to_cart_button,
.home-products-section .product_type_simple {
	border-radius: 2px !important;
}

@media (max-width: 991px) {
	.home-products-section .product-image {
		aspect-ratio: 4 / 3;
	}
}

/* ========== Classroom layout block (moonkids.ae style) ========== */

.home-classroom-layout {
	background: #ffffff;
}

.home-classroom-layout .classroom-hero-panel {
	position: relative;
	margin-bottom: 2rem;
}

.home-classroom-layout .classroom-hero-grid {
	display: grid;
	grid-template-columns: minmax(260px, 1fr) minmax(280px, 1.15fr);
	gap: clamp(1.25rem, 4vw, 2.5rem);
	align-items: center;
}

.home-classroom-layout .classroom-hero-copy {
	position: relative;
	z-index: 1;
	padding: clamp(1rem, 3vw, 2rem) 0;
}

.home-classroom-layout .classroom-hero-copy::before {
	content: "";
	position: absolute;
	inset: -12% -25% -8% -55%;
	background: radial-gradient(
		ellipse 70% 85% at 18% 48%,
		var(--moonkids-secondary, #f4b011) 0%,
		rgba(244, 176, 17, 0.45) 42%,
		transparent 68%
	);
	z-index: -1;
	pointer-events: none;
}

.home-classroom-layout .classroom-hero-title {
	font-weight: 800;
	letter-spacing: 0.04em;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	line-height: 1.08;
	margin: 0 0 1.25rem;
	color: var(--moonkids-primary, #400080);
	text-transform: uppercase;
}

.home-classroom-layout .classroom-cta-pill {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.65rem 1.35rem;
	background: var(--moonkids-primary, #400080);
	color: #fff !important;
	text-decoration: none !important;
	border-radius: 999px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-size: 0.72rem;
	box-shadow: 0 6px 20px rgba(64, 0, 128, 0.28);
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.home-classroom-layout .classroom-cta-pill:hover {
	background: #2d005c;
	transform: translateY(-2px);
	box-shadow: 0 10px 26px rgba(64, 0, 128, 0.35);
	color: #fff !important;
}

.home-classroom-layout .classroom-cta-icon {
	display: inline-flex;
	opacity: 0.95;
}

.home-classroom-layout .classroom-hero-visuals {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: flex-end;
	align-items: center;
}

.home-classroom-layout .classroom-hero-frame {
	flex: 1 1 42%;
	min-width: 140px;
	max-width: 280px;
	background: #fff;
	border-radius: 4px;
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
	overflow: hidden;
	padding: 0.35rem;
}

.home-classroom-layout .classroom-hero-frame--tilt-left {
	transform: rotate(-2.5deg);
}

.home-classroom-layout .classroom-hero-frame--tilt-right {
	transform: rotate(2deg);
}

.home-classroom-layout .classroom-hero-frame-link {
	display: block;
	line-height: 0;
}

.home-classroom-layout .classroom-hero-img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	display: block;
	border-radius: 2px;
}

.home-classroom-layout .classroom-hero-placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	background: linear-gradient(145deg, #e9ecef 0%, #dee2e6 100%);
	border-radius: 2px;
}

.home-classroom-layout .classroom-age-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.25rem;
	margin-top: 0.5rem;
}

.home-classroom-layout .classroom-age-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	text-decoration: none !important;
	color: inherit !important;
	transition: transform 0.2s ease;
}

.home-classroom-layout .classroom-age-card:hover {
	transform: translateY(-3px);
	color: inherit !important;
}

.home-classroom-layout .classroom-age-card--static {
	cursor: default;
}

.home-classroom-layout .classroom-age-media {
	display: block;
	width: 100%;
	border: 2px solid var(--moonkids-secondary, #f4b011);
	border-radius: 2px;
	overflow: hidden;
	background: #fafafa;
	line-height: 0;
}

.home-classroom-layout .classroom-age-img {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	display: block;
}

.home-classroom-layout .classroom-age-placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	background: linear-gradient(145deg, #e9ecef 0%, #dee2e6 100%);
}

.home-classroom-layout .classroom-age-label {
	margin-top: 0.65rem;
	font-weight: 600;
	font-size: 0.9rem;
	color: var(--moonkids-text, #1b1b1b);
	line-height: 1.3;
}

.home-classroom-layout .classroom-footer-bar {
	display: block;
	width: 100%;
	margin-top: 2rem;
	padding: 0.9rem 1rem;
	background: var(--moonkids-primary, #400080);
	color: #fff !important;
	text-align: center;
	text-decoration: none !important;
	font-weight: 700;
	font-size: 0.72rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	transition: background-color 0.2s ease, opacity 0.2s ease;
}

.home-classroom-layout .classroom-footer-bar:hover {
	background: #2d005c;
	color: #fff !important;
}

.home-classroom-layout .classroom-footer-bar--static {
	pointer-events: none;
}

@media (max-width: 991px) {
	.home-classroom-layout .classroom-hero-grid {
		grid-template-columns: 1fr;
	}

	.home-classroom-layout .classroom-hero-visuals {
		justify-content: center;
	}

	.home-classroom-layout .classroom-hero-frame {
		max-width: 46%;
	}

	.home-classroom-layout .classroom-age-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 575px) {
	.home-classroom-layout .classroom-hero-frame {
		max-width: 100%;
		flex: 1 1 100%;
		transform: none !important;
	}
}

/* ========== Equipment tiles grid ========== */

.home-equipment-grid {
	background: #fff;
}

.home-equipment-grid .equipment-heading {
	font-weight: 700;
	font-size: 18px;
	text-transform: none;
	color: var(--moonkids-text, #1b1b1b);
}

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

.home-equipment-grid .equipment-tile {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	align-items: stretch;
}

.home-equipment-grid .equipment-tile-media {
	border-radius: 2px;
	overflow: hidden;
	background: #e9ecef;
	aspect-ratio: 4 / 3;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.home-equipment-grid .equipment-tile-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.home-equipment-grid .equipment-tile:hover .equipment-tile-img {
	transform: scale(1.05);
}

.home-equipment-grid .equipment-tile-ph {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #dee2e6 0%, #e9ecef 100%);
}

.home-equipment-grid .equipment-tile-label {
	text-align: center;
	margin-top: 10px;
	font-weight: 600;
	font-size: 14px;
	color: var(--moonkids-text, #1b1b1b);
}

@media (max-width: 991px) {
	.home-equipment-grid .equipment-tiles {
		grid-template-columns: repeat(2, 1fr);
		gap: 14px;
	}
}

@media (max-width: 575px) {
	.home-equipment-grid .equipment-tiles {
		grid-template-columns: 1fr;
	}
}

/* ========== WooCommerce product categories (Shop by category) ========== */

.collections-list .collection-image-wrapper {
	height: 200px;
	background: #e9ecef;
	border-radius: 2px 2px 0 0;
	overflow: hidden;
}

.collections-list .collection-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.collections-list .card:hover .collection-img {
	transform: scale(1.04);
}

.collections-list .collection-img-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, #dee2e6 0%, #e9ecef 100%);
}

/* ========== Business type tabs ========== */

.mk-business-types {
	background-color: #f8f9fb;
}

.mk-business-title {
	font-size: clamp(1.8rem, 2.8vw, 2.4rem);
	font-weight: 700;
	color: var(--moonkids-primary, #400080);
	margin-bottom: 0.75rem;
}

.mk-business-subline {
	color: #4d4d4d;
	font-size: 1.02rem;
}

.mk-business-tabs {
	gap: 0.5rem;
}

.mk-business-tabs .nav-link {
	background: #ffffff;
	border: 1px solid rgba(64, 0, 128, 0.16);
	color: var(--moonkids-primary, #400080);
	font-weight: 600;
	border-radius: 999px;
	padding: 0.6rem 1rem;
}

.mk-business-tabs .nav-link.active {
	background-color: var(--moonkids-primary, #400080);
	border-color: var(--moonkids-primary, #400080);
	color: #fff;
}

.mk-business-content {
	border-radius: 16px;
}

.mk-business-pane-title {
	color: #1d1d1f;
	font-weight: 700;
	margin-bottom: 0.4rem;
}

.mk-business-pane-subtitle {
	color: #5b5b5b;
	margin-bottom: 1rem;
}

.mk-business-services-tag {
	color: var(--moonkids-primary, #400080);
	font-weight: 700;
}

.mk-business-services {
	list-style: none;
	padding-left: 0;
}

.mk-business-services li span {
	display: block;
	background: #fff;
	border: 1px solid #ece5f8;
	border-radius: 10px;
	padding: 0.5rem 0.75rem;
	color: #363636;
	font-size: 0.95rem;
}

.mk-business-projects-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: #212529;
	margin-bottom: 0.85rem;
}

.mk-business-project-card {
	background: #fff;
	border: 1px solid #f0e8fb;
	border-radius: 2px;
	overflow: hidden;
	height: 100%;
}

.mk-business-project-media img,
.mk-business-project-placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.mk-business-project-placeholder {
	background: linear-gradient(135deg, #eee 0%, #ddd 100%);
}

.mk-business-project-name {
	font-size: 0.93rem;
	color: #222;
	font-weight: 600;
	padding: 0.65rem 0.7rem 0.85rem;
	margin: 0;
}

/* Business type tab — WooCommerce product cards */
.mk-business-product-card {
	background: #fff;
	border: 1px solid #f0e8fb;
	border-radius: 2px;
	overflow: hidden;
	height: 100%;
	color: inherit;
	transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.mk-business-product-card:hover {
	box-shadow: 0 8px 24px rgba(64, 0, 128, 0.1);
	border-color: rgba(64, 0, 128, 0.2);
}

.mk-business-product-media {
	position: relative;
	overflow: hidden;
}

.mk-business-product-media img,
.mk-business-product-media .mk-business-project-placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

/* Sale badge: shared styles in assets/css/woocommerce.css (.mk-business-sale-badge) */

.mk-business-product-body {
	padding: 0.65rem 0.75rem 0.85rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.mk-business-product-rating {
	line-height: 1;
	margin-bottom: 0.15rem;
}

.mk-business-product-rating .star-rating {
	float: none;
	margin: 0;
	font-size: 0.82rem;
}

.mk-business-product-title {
	font-size: 0.93rem;
	color: var(--moonkids-text, #1b1b1b);
	font-weight: 600;
	margin: 0;
	line-height: 1.3;
}

.mk-business-product-card:hover .mk-business-product-title {
	color: var(--moonkids-primary, #400080);
}

.mk-business-product-cats {
	font-size: 0.78rem;
	color: #6c757d;
	margin: 0;
	line-height: 1.35;
}

.mk-business-product-price {
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--moonkids-text, #1b1b1b);
}

.mk-business-product-price del {
	opacity: 0.55;
	font-weight: 600;
	margin-right: 0.35rem;
}

.mk-business-product-price ins {
	text-decoration: none;
	color: var(--moonkids-primary, #400080);
}

/* ========== Strategy remaining sections ========== */
.service-box,
.package-box,
.trust-stat {
	background: #fff;
	border: 1px solid #ececec;
	border-radius: 12px;
}

.space-pill {
	background: var(--moonkids-accent, #F2F2F2);
	border: 1px solid #e2d9ee;
	border-left: 4px solid var(--moonkids-primary, #400080);
	padding: 0.75rem 0.9rem;
	border-radius: 0.5rem;
	font-weight: 600;
}

.process-list li {
	margin-bottom: 0.75rem;
}

.cta-band {
	background: linear-gradient(135deg, var(--moonkids-primary, #400080), #5e2ea9);
}
