/* Styles colorful, kid-friendly UI for Lotus Kindergarten site. */
:root {
	--kid-pink: #ff6ea8;
	--kid-yellow: #ffd84d;
	--kid-sky: #69d2ff;
	--kid-purple: #9d7bff;
	--kid-mint: #80e0b2;
	--kid-orange: #ff9f4d;
	--kid-text: #2e2a55;
	--kid-bg: #fffaf0;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--kid-bg);
	color: var(--kid-text);
	font-family: 'Nunito', sans-serif;
	padding-top: 84px;
	position: relative;
}

.site-main,
.site-footer {
	position: relative;
	z-index: 2;
}

.graffiti-load {
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	position: fixed;
	z-index: 1;
}

.graffiti-blob {
	animation: graffiti-blob-pop 1.15s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
	opacity: 0;
	position: absolute;
	transform: scale(0.35) rotate(-18deg);
}

.graffiti-blob--1 {
	animation-delay: 0.05s;
	background: linear-gradient(135deg, var(--kid-pink), var(--kid-purple));
	border-radius: 58% 42% 62% 38% / 48% 55% 45% 52%;
	height: clamp(52px, 9vw, 88px);
	left: -2%;
	top: 18%;
	width: clamp(56px, 10vw, 96px);
}

.graffiti-blob--2 {
	animation-delay: 0.15s;
	background: linear-gradient(145deg, var(--kid-sky), var(--kid-mint));
	border-radius: 42% 58% 48% 52% / 55% 45% 55% 45%;
	height: clamp(44px, 7vw, 72px);
	right: 3%;
	top: 28%;
	width: clamp(48px, 8vw, 78px);
}

.graffiti-blob--3 {
	animation-delay: 0.25s;
	background: linear-gradient(160deg, var(--kid-yellow), var(--kid-orange));
	border-radius: 52% 48% 42% 58% / 44% 52% 48% 56%;
	bottom: 22%;
	height: clamp(40px, 6.5vw, 68px);
	left: 8%;
	width: clamp(42px, 7vw, 64px);
}

.graffiti-blob--4 {
	animation-delay: 0.35s;
	background: linear-gradient(125deg, var(--kid-mint), var(--kid-sky));
	border-radius: 48% 52% 55% 45% / 52% 48% 44% 56%;
	bottom: 12%;
	height: clamp(36px, 6vw, 58px);
	right: -1%;
	width: clamp(38px, 6.5vw, 60px);
}

.graffiti-blob--5 {
	animation-delay: 0.2s;
	background: linear-gradient(180deg, var(--kid-purple), var(--kid-pink));
	border-radius: 45% 55% 50% 50% / 50% 45% 55% 50%;
	height: clamp(28px, 4.5vw, 44px);
	left: 42%;
	opacity: 0;
	top: 42%;
	width: clamp(30px, 5vw, 48px);
}

.graffiti-tag {
	animation: graffiti-tag-pop 0.9s cubic-bezier(0.34, 1.3, 0.64, 1) 0.5s forwards;
	bottom: 6%;
	color: #d9468c;
	font-family: 'Permanent Marker', cursive;
	font-size: clamp(0.95rem, 2.8vw, 1.35rem);
	left: auto;
	line-height: 1;
	margin: 0;
	opacity: 0;
	position: absolute;
	right: 4%;
	text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.35);
	transform: rotate(-8deg) scale(0.5);
}

@keyframes graffiti-blob-pop {
	0% {
		filter: blur(2px);
		opacity: 0;
		transform: scale(0.35) rotate(-18deg);
	}

	55% {
		filter: blur(0);
		opacity: 0.42;
		transform: scale(1.08) rotate(6deg);
	}

	100% {
		filter: blur(0);
		opacity: 0.22;
		transform: scale(1) rotate(0deg);
	}
}

@keyframes graffiti-tag-pop {
	0% {
		opacity: 0;
		transform: rotate(-14deg) scale(0.5) translateY(12px);
	}

	100% {
		opacity: 0.55;
		transform: rotate(-8deg) scale(1) translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	.graffiti-blob,
	.graffiti-tag {
		animation: none;
		filter: none;
		transform: none;
	}

	.graffiti-blob {
		opacity: 0.18;
	}

	.graffiti-tag {
		opacity: 0.45;
	}
}

.confetti-canvas {
	height: 100%;
	inset: 0;
	pointer-events: none;
	position: fixed;
	width: 100%;
	z-index: 1015;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand span {
	font-family: 'Baloo 2', sans-serif;
}

.navbar {
	border-bottom: 4px solid var(--kid-yellow);
}

.navbar-brand span {
	color: #ef4f94;
	font-size: 1.2rem;
	font-weight: 700;
}

.btn-enroll {
	background: linear-gradient(120deg, var(--kid-pink), var(--kid-purple));
	border: 0;
	border-radius: 999px;
	color: #ffffff;
	font-weight: 700;
	padding: 0.6rem 1.2rem;
}

.hero-section {
	line-height: 0;
	margin: 0;
	overflow: hidden;
	padding: 0;
	width: 100%;
}

.hero-banner-full {
	display: block;
	height: auto;
	max-width: 100%;
	vertical-align: top;
	width: 100%;
}

.section-chip {
	background-color: #fff;
	border-radius: 999px;
	color: #ff539a;
	display: inline-block;
	font-weight: 800;
	margin-bottom: 1rem;
	padding: 0.45rem 1rem;
}

.hero-title {
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.1;
	margin-bottom: 1rem;
}

.hero-text {
	font-size: 1.1rem;
	margin-bottom: 1.5rem;
	max-width: 38ch;
}

.btn-kid-primary {
	background: linear-gradient(120deg, #ff5ea6, #ff9a4f);
	border: 0;
	border-radius: 14px;
	color: #ffffff;
	font-weight: 800;
	padding: 0.75rem 1.35rem;
}

.btn-kid-outline {
	background: #ffffff;
	border: 2px solid var(--kid-sky);
	border-radius: 14px;
	color: #1795c7;
	font-weight: 700;
	padding: 0.75rem 1.35rem;
}

.section-title {
	color: #5138b2;
	font-size: clamp(1.75rem, 3vw, 2.4rem);
	margin-bottom: 0.9rem;
}

.stats-grid {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr 1fr;
}

.stat-card {
	align-items: center;
	background: #ffffff;
	border: 3px dashed var(--kid-yellow);
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	justify-content: center;
	min-height: 9.5rem;
	padding: 1.15rem 0.85rem 1.25rem;
	text-align: center;
}

.stat-card-icon {
	color: #7b6fd6;
	font-family: 'Material Symbols Outlined';
	font-size: 2.15rem;
	font-style: normal;
	font-weight: normal;
	line-height: 1;
	margin: 0 0 0.1rem;
}

.stat-card h3.stat-count {
	color: #ff4f93;
	font-size: clamp(1.45rem, 4vw, 1.85rem);
	line-height: 1.1;
	margin: 0;
}

.stat-card-label {
	color: var(--kid-text);
	font-family: 'Nunito', sans-serif;
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.35;
	margin: 0;
	max-width: 12rem;
	padding-top: 0.15rem;
}

.bg-soft {
	background: linear-gradient(180deg, #f9f4ff 0%, #edfbff 100%);
}

.programs-equal-row > [class*="col-"] {
	display: flex;
}

.program-card {
	background: #ffffff;
	border: 3px solid #f0e4ff;
	border-radius: 18px;
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	height: 100%;
	min-height: 100%;
	padding: 1rem;
	transition: transform 0.25s ease;
	width: 100%;
}

.program-card:hover {
	transform: translateY(-6px);
}

.program-card-image-frame {
	aspect-ratio: 16 / 9;
	border-radius: 14px;
	margin-bottom: 0.85rem;
	min-height: 240px;
	overflow: hidden;
	width: 100%;
}

.program-card-img {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center center;
	width: 100%;
}

.program-card-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	min-height: 0;
}

.program-card-body p:last-of-type {
	flex-grow: 1;
	margin-bottom: 0;
}

.program-card h3 {
	color: #4a39a7;
	font-size: 1.45rem;
	margin-bottom: 0.5rem;
}

.gallery-tile {
	aspect-ratio: 3 / 2;
	border: 3px solid #ffffff;
	box-shadow: 0 12px 25px rgba(32, 57, 96, 0.14);
	height: auto;
	object-fit: cover;
	width: 100%;
}

.admission-form {
	background: #ffffff;
	border: 3px solid #ffe3f0;
	box-shadow: 0 15px 32px rgba(63, 33, 120, 0.08);
}

.contact-mini li {
	align-items: flex-start;
	display: flex;
	gap: 0.7rem;
	margin-bottom: 0.9rem;
}

.contact-mini i {
	color: #ff5da4;
	margin-top: 0.2rem;
}

.contact-card {
	background: #ffffff;
	border: 3px solid #dff4ff;
	border-radius: 16px;
	height: 100%;
	padding: 1.4rem;
	text-align: center;
}

.contact-card i {
	color: #ff7f44;
	font-size: 1.8rem;
	margin-bottom: 0.8rem;
}

.footer-kids {
	background: #3f2f8b;
	color: #f7f4ff;
}

.contact-details-panel {
	background: #ffffff;
	border: 3px solid #dff4ff;
	border-radius: 16px;
	padding: 1.5rem;
}

.contact-detail-block {
	display: flex;
	gap: 1rem;
	margin-bottom: 1.5rem;
	text-align: left;
}

.contact-detail-block:last-child {
	margin-bottom: 0;
}

.contact-detail-block > i {
	color: #ff7f44;
	flex-shrink: 0;
	font-size: 1.5rem;
	margin-top: 0.25rem;
}

.contact-detail-block h3 {
	color: #5138b2;
	font-size: 1.15rem;
	margin-bottom: 0.35rem;
}

.contact-detail-block p {
	margin-bottom: 0.25rem;
}

.contact-detail-block p:last-child {
	margin-bottom: 0;
}

.contact-map-panel {
	min-height: 280px;
}

.contact-map-ratio {
	border: 3px solid #e8e0ff;
	border-radius: 16px;
	overflow: hidden;
}

.contact-map-iframe {
	border: 0;
	height: 100%;
	width: 100%;
}
