/* Al Fithrah Islamic Pre School: playful early-years look. Sunny colours, rounded shapes, gentle motion. */
:root {
	--bg: #fffaf1; --ink: #2f2a4a; --muted: #625e7a; --accent: #c9492c;
	--sky: #dff3ff; --sun: #ffc83d; --teal: #1f7f73; --blue: #3277c4;
	--line: rgba(47, 42, 74, .13); --card: #fff; --radius: 30px;
	--font-head: "Fredoka", "Nunito", system-ui, sans-serif; --font-body: "Nunito", system-ui, sans-serif;
	--head-bg: #fff; --foot-bg: #2f2a4a; --foot-ink: #cbc7e6;
}
.hd { border-bottom: 4px solid var(--sun); }
.brand-mark { border-radius: 50%; background: #fff3e6; }
.brand-text b { font-weight: 600; }
.hd-nav ul a { font-weight: 800; border-bottom-width: 4px; border-radius: 3px; }
.btn { font-weight: 800; }
.sec h2 { font-size: clamp(30px, 4vw, 46px); font-weight: 600; }
.sec p { color: var(--muted); }

.ps-hero { position: relative; padding: 60px 0 110px; background: var(--sky); overflow: hidden; }
.ps-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.ps-sticker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 20px; padding: 8px 18px; border-radius: 50px; background: var(--sun); font-weight: 800; font-size: 14px; transform: rotate(-3deg); }
.ps-hero h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 700; line-height: 1.08; }
.ps-hero h1 span { display: block; color: var(--accent); }
.ps-hero p { max-width: 460px; margin-bottom: 30px; font-size: 18px; color: var(--muted); }
.ps-art svg { display: block; width: 100%; max-width: 500px; margin-left: auto; }
.ps-art g { transform-box: fill-box; transform-origin: center; }
.ps-spin { animation: ps-spin 30s linear infinite; }
.ps-drift { animation: ps-drift 7s ease-in-out infinite alternate; }
.ps-bob { animation: ps-bob 3.6s ease-in-out infinite; }
.ps-bob2 { animation-delay: .5s; }
.ps-bob3 { animation-delay: 1s; }
@keyframes ps-spin { to { transform: rotate(360deg); } }
@keyframes ps-drift { to { transform: translateX(26px); } }
@keyframes ps-bob { 50% { transform: translateY(-9px); } }
.ps-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 70px; color: var(--bg); }

.ps-facts { position: relative; margin-top: -46px; }
.ps-facts ul { display: grid; grid-template-columns: repeat(3, minmax(0, 260px)); justify-content: center; gap: 20px; }
.ps-facts li { padding: 22px 12px; border-radius: var(--radius); background: #fff; box-shadow: 0 16px 36px rgba(47, 42, 74, .12); text-align: center; }
.ps-facts b { display: grid; place-items: center; height: 52px; color: var(--accent); font: 700 44px/1 var(--font-head); }
.ps-facts li:nth-child(2) b { color: var(--teal); }
.ps-facts li:nth-child(3) b { color: var(--blue); }
.ps-facts span { font-weight: 800; font-size: 14px; }

.ps-head { max-width: 660px; margin: 0 auto 50px; text-align: center; }
.ps-head span { color: var(--teal); font-weight: 800; font-size: 14px; letter-spacing: 1.4px; text-transform: uppercase; }
.ps-left { margin: 0 0 14px; text-align: left; }

.ps-bubbles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ps-bubble { padding: 34px 24px 26px; border-radius: 120px 120px var(--radius) var(--radius); text-align: center; }
.ps-bubble i { display: grid; place-items: center; width: 80px; height: 80px; margin: 0 auto 18px; border-radius: 50%; background: #fff; font-size: 32px; font-style: normal; }
.ps-bubble h3 { font-size: 23px; font-weight: 600; }
.ps-bubble p { margin: 0; font-size: 15px; }
.sec .ps-bubble p { color: var(--ink); }
.ps-c1 { background: #ffe0d8; } .ps-c1 i { color: var(--accent); }
.ps-c2 { background: #fff0c2; margin-top: 34px; } .ps-c2 i { color: #a87600; }
.ps-c3 { background: #d5f1ec; } .ps-c3 i { color: var(--teal); }
.ps-c4 { background: #dcebff; margin-top: 34px; } .ps-c4 i { color: var(--blue); }

.ps-journey { background: #fff1d6; }
.ps-path { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.ps-path::before { content: ""; position: absolute; left: 12%; right: 12%; top: 36px; border-top: 5px dashed var(--sun); }
.ps-path li { position: relative; text-align: center; }
.ps-path i { position: relative; display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 20px; border: 6px solid #fff; border-radius: 50%; background: var(--accent); color: #fff; font: 600 28px/1 var(--font-head); font-style: normal; box-shadow: 0 10px 22px rgba(47, 42, 74, .18); }
.ps-path li:nth-child(2) i { background: var(--teal); }
.ps-path li:nth-child(3) i { background: var(--blue); }
.ps-path li:nth-child(4) i { background: var(--sun); color: var(--ink); }
.ps-path h3 { font-size: 21px; font-weight: 600; }
.ps-path p { margin: 0; font-size: 15px; }

.ps-parents { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.ps-faq details { margin-bottom: 14px; border: 2px solid var(--line); border-radius: 22px; background: #fff; }
.ps-faq details[open] { border-color: var(--sun); }
.ps-faq summary { position: relative; padding: 18px 60px 18px 24px; list-style: none; font: 600 18px/1.4 var(--font-head); cursor: pointer; }
.ps-faq summary::-webkit-details-marker { display: none; }
.ps-faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; display: grid; place-items: center; width: 32px; height: 32px; margin-top: -16px; border-radius: 50%; background: var(--sun); }
.ps-faq details[open] summary::after { content: "\2212"; }
.ps-faq p { margin: 0; padding: 0 24px 20px; }
.ps-faq a { color: var(--accent); font-weight: 800; }

.ps-enquire { background: var(--sky); }
.ps-enquire-box { width: calc(100% - 2 * var(--site-side)); margin-inline: auto; display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; padding: 48px; border-radius: 44px; background: #fff; box-shadow: 0 24px 54px rgba(47, 42, 74, .12); }
.ps-form input, .ps-form select, .ps-form textarea { background: #fffaf1; }

@media (max-width: 960px) {
	.ps-bubbles, .ps-path { grid-template-columns: 1fr 1fr; }
	.ps-path::before { display: none; }
}
@media (max-width: 860px) {
	.ps-hero-grid, .ps-parents, .ps-enquire-box { grid-template-columns: minmax(0, 1fr); }
	.ps-art svg { margin: 0 auto; max-width: 400px; }
	.ps-enquire-box { padding: 30px 22px; border-radius: 30px; }
}
@media (max-width: 560px) {
	.ps-bubbles, .ps-path { grid-template-columns: minmax(0, 1fr); }
	.ps-c2, .ps-c4 { margin-top: 0; }
	.ps-facts ul { gap: 10px; }
	.ps-facts b { font-size: 34px; }
	.ps-facts span { font-size: 12px; }
}
