/*
Theme Name: Firefly Montessori House
Theme URI: https://fireflymontessorihouse.mahnooraftab.com
Author: Mahnoor Aftab
Description: A cheerful one-page Montessori school theme for an academic assignment.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: firefly-montessori-house
*/

:root{
  --ink:#27364a;
  --muted:#657184;
  --cream:#fffaf1;
  --yellow:#ffd76a;
  --peach:#ffb49a;
  --mint:#9edfc7;
  --sky:#a8d8ff;
  --lav:#cbb8f7;
  --white:#ffffff;
  --line:#e9e3d9;
  --shadow:0 18px 50px rgba(67,87,112,.12);
  --radius:28px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Trebuchet MS",Arial,sans-serif;background:var(--cream);color:var(--ink);line-height:1.6}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.container{width:min(1140px,calc(100% - 34px));margin:auto}
.site-header{position:sticky;top:0;z-index:40;background:rgba(255,250,241,.92);backdrop-filter:blur(16px);border-bottom:1px solid rgba(39,54,74,.08)}
.nav-wrap{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:12px;font-weight:800;letter-spacing:.2px}
.brand-mark{width:46px;height:46px;border-radius:50% 50% 45% 55%;background:var(--yellow);display:grid;place-items:center;box-shadow:0 8px 18px rgba(255,190,46,.25);font-size:24px}
.nav-links{display:flex;gap:24px;align-items:center;font-size:15px;font-weight:700}
.nav-links a:hover{color:#d97149}
.nav-cta,.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:999px;padding:14px 22px;font-weight:800;transition:.2s ease;border:0;cursor:pointer}
.nav-cta{background:var(--ink);color:var(--white)}
.nav-cta:hover,.btn-primary:hover{transform:translateY(-2px)}
.mobile-toggle{display:none;background:transparent;border:0;font-size:28px}
.hero{position:relative;overflow:hidden;padding:92px 0 76px}
.hero:before,.hero:after{content:"";position:absolute;border-radius:50%;filter:blur(1px);opacity:.75}
.hero:before{width:310px;height:310px;background:var(--sky);right:-110px;top:40px}
.hero:after{width:220px;height:220px;background:var(--peach);left:-70px;bottom:-70px}
.hero-grid{position:relative;z-index:2;display:grid;grid-template-columns:1.05fr .95fr;gap:58px;align-items:center}
.eyebrow{display:inline-flex;gap:8px;align-items:center;background:var(--white);border:1px solid var(--line);padding:8px 13px;border-radius:999px;font-size:13px;font-weight:800;box-shadow:0 8px 22px rgba(39,54,74,.06)}
h1{font-size:clamp(48px,7vw,88px);line-height:.98;margin:20px 0 24px;letter-spacing:-3px}
.hero p{font-size:19px;color:var(--muted);max-width:620px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:30px}
.btn-primary{background:var(--ink);color:#fff;box-shadow:0 14px 30px rgba(39,54,74,.18)}
.btn-light{background:var(--white);border:1px solid var(--line)}
.hero-card{position:relative;background:var(--white);padding:24px;border-radius:36px;box-shadow:var(--shadow);transform:rotate(2deg)}
.hero-visual{min-height:470px;border-radius:28px;background:linear-gradient(145deg,var(--yellow),#fff1bc 46%,var(--mint));padding:34px;display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;position:relative}
.sun{width:104px;height:104px;border-radius:50%;background:#fff8d9;position:absolute;right:28px;top:28px}
.rainbow{font-size:110px;line-height:1;position:absolute;right:18px;bottom:12px;transform:rotate(-8deg)}
.hero-note{position:relative;z-index:2;background:rgba(255,255,255,.88);width:72%;padding:22px;border-radius:24px;box-shadow:0 12px 28px rgba(64,73,97,.10)}
.hero-note strong{font-size:24px;display:block;margin-bottom:7px}
.doodle{font-size:52px}
.stats{margin-top:-8px;padding-bottom:34px}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.stat{background:#fff;border:1px solid var(--line);border-radius:22px;padding:20px;text-align:center}
.stat b{font-size:27px;display:block}
.section{padding:88px 0}
.section-title{max-width:720px;margin-bottom:36px}
.kicker{font-size:13px;text-transform:uppercase;letter-spacing:2px;font-weight:900;color:#d97149}
h2{font-size:clamp(34px,5vw,56px);line-height:1.05;margin:10px 0 16px;letter-spacing:-1.7px}
.section-title p{color:var(--muted);font-size:18px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{background:#fff;border-radius:var(--radius);padding:30px;border:1px solid var(--line);box-shadow:0 12px 38px rgba(67,87,112,.07)}
.card-icon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;font-size:30px;margin-bottom:20px}
.card:nth-child(1) .card-icon{background:#fff0b8}.card:nth-child(2) .card-icon{background:#d8f5ea}.card:nth-child(3) .card-icon{background:#e8ddff}
.card h3{font-size:24px;margin:0 0 10px}.card p{color:var(--muted);margin:0}
.about{background:#fff;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:54px;align-items:center}
.collage{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.collage div{border-radius:28px;min-height:200px;padding:22px;display:flex;align-items:flex-end;font-size:48px}
.collage div:nth-child(1){background:var(--mint);min-height:300px}.collage div:nth-child(2){background:var(--lav)}.collage div:nth-child(3){background:var(--sky)}.collage div:nth-child(4){background:var(--peach);min-height:300px;margin-top:-100px}
.checks{display:grid;gap:13px;margin-top:24px}.check{display:flex;gap:12px;align-items:flex-start}.tick{width:27px;height:27px;border-radius:50%;background:var(--yellow);display:grid;place-items:center;flex:none;font-weight:900}
.day-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:24px}
.timeline{background:#fff;border:1px solid var(--line);border-radius:30px;padding:30px}
.time-row{display:grid;grid-template-columns:100px 1fr;gap:18px;padding:17px 0;border-bottom:1px dashed var(--line)}.time-row:last-child{border-bottom:0}.time-row b{color:#d97149}
.info-panel{background:var(--ink);color:#fff;border-radius:30px;padding:34px;display:flex;flex-direction:column;justify-content:space-between}.info-panel p{color:#d8dfeb}.info-chip{display:inline-block;background:rgba(255,255,255,.12);padding:8px 12px;border-radius:999px;font-size:13px;font-weight:700;margin:4px 4px 0 0}
.admissions{background:linear-gradient(135deg,#fff3c7,#e5f8f0 45%,#e8ddff);border-radius:38px;padding:50px;display:grid;grid-template-columns:1fr auto;gap:30px;align-items:center}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.contact-card{background:#fff;border:1px solid var(--line);border-radius:28px;padding:30px}.contact-list{display:grid;gap:16px}.contact-item{display:flex;gap:13px}.contact-item span{font-size:24px}
.map-box{min-height:100%;background:linear-gradient(145deg,var(--sky),#eff8ff);border-radius:28px;padding:32px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}.map-box .map-icon{font-size:64px}
footer{padding:28px 0 42px;color:var(--muted);font-size:14px}.footer-row{display:flex;justify-content:space-between;gap:20px;align-items:center;border-top:1px solid var(--line);padding-top:24px}
@media(max-width:900px){.hero-grid,.about-grid,.day-grid,.contact-grid{grid-template-columns:1fr}.cards{grid-template-columns:1fr 1fr}.stats-grid{grid-template-columns:1fr 1fr}.hero-card{transform:none}.admissions{grid-template-columns:1fr}.nav-links{display:none;position:absolute;left:17px;right:17px;top:76px;background:#fff;padding:18px;border-radius:20px;box-shadow:var(--shadow);flex-direction:column;align-items:flex-start}.nav-links.open{display:flex}.mobile-toggle{display:block}.nav-cta{display:none}}
@media(max-width:600px){h1{font-size:52px}.hero{padding-top:62px}.cards{grid-template-columns:1fr}.stats-grid{grid-template-columns:1fr 1fr}.section{padding:68px 0}.admissions{padding:30px}.footer-row{flex-direction:column;align-items:flex-start}.hero-visual{min-height:390px}.hero-note{width:88%}}
.collage-photo {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.collage-photo img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 680px;
    object-fit: cover;
    border-radius: 30px;
    box-shadow: 0 18px 45px rgba(38, 55, 77, 0.12);
}

@media (max-width: 768px) {
    .collage-photo img {
        max-height: none;
        border-radius: 22px;
    }
}
