/*
 * KlayByte School brochure (resources/views/landing/klaybyte-school/brochure.blade.php):
 * a tri-fold, two landscape A4 pages of three 99 mm panels each.
 */
:root {
    --navy: #0b1437;
    --navy-2: #13204f;
    --blue: #2563eb;
    --gold: #f5c542;
    --ink: #0b1437;
    --text: #33405c;
    --muted: #5b6785;
    --line: #e3e8f2;
    --soft: #f3f6fc;
    --font: 'Hind Siliguri', 'Noto Sans Bengali', sans-serif;
    --font-display: 'Anek Bangla', 'Hind Siliguri', sans-serif;
}

@page {
    size: A4 landscape;
    margin: 0;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font);
    color: var(--text);
    background: #cbd5e1;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
}

h2,
h3,
h4,
p,
ul,
figure {
    margin: 0;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

.sheet {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 297mm;
    height: 210mm;
    margin: 24px auto;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 20px 50px rgba(15, 23, 42, .25);
}

.panel {
    position: relative;
    padding: 11mm 9mm 9mm;
    overflow: hidden;
}

.panel-soft {
    background: var(--soft);
}

.panel-navy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background:
        radial-gradient(70mm 50mm at 100% 0%, rgba(96, 165, 250, .22), transparent 70%),
        linear-gradient(170deg, var(--navy-2) 0%, var(--navy) 100%);
    color: #dbe4ff;
}

/* ── Page 1, left: why ─────────────────────────────────────────── */
.why-title {
    font-family: var(--font-display);
    font-size: 19pt;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink);
}

.why-lead {
    margin-top: 2mm;
    font-size: 10pt;
    line-height: 1.5;
    color: var(--muted);
}

.points {
    display: grid;
    gap: 5.5mm;
    margin: 7mm 0 0;
    padding: 0;
    list-style: none;
}

.point {
    display: flex;
    gap: 3.5mm;
    align-items: flex-start;
}

.point h3 {
    font-family: var(--font-display);
    font-size: 11pt;
    font-weight: 700;
    line-height: 1.25;
    color: var(--ink);
}

.point p {
    font-size: 8.8pt;
    line-height: 1.4;
}

.ic {
    flex: none;
    display: grid;
    place-items: center;
    width: 9mm;
    height: 9mm;
    border-radius: 50%;
    color: #fff;
    font-size: 11pt;
}

.ic-square {
    border-radius: 2.2mm;
    width: 8mm;
    height: 8mm;
    font-size: 10pt;
}

.ic-lg {
    width: 12mm;
    height: 12mm;
    font-size: 14pt;
}

.c-blue { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.c-green { background: linear-gradient(135deg, #22c55e, #15803d); }
.c-navy { background: linear-gradient(135deg, #1c2d69, #0b1437); }

.shot {
    overflow: hidden;
    border: .3mm solid var(--line);
    border-radius: 2mm;
    background: #fff;
    box-shadow: 0 2mm 5mm -2mm rgba(11, 20, 55, .25);
}

.shot img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top left;
}

.why-shot {
    position: absolute;
    left: 9mm;
    right: 9mm;
    bottom: 9mm;
}

/* ── Page 1, middle: see it yourself ───────────────────────────── */
.phones {
    display: flex;
    justify-content: center;
    gap: 4mm;
}

.phone {
    width: 34mm;
    overflow: hidden;
    border: 1.2mm solid var(--navy);
    border-radius: 4mm;
    background: #fff;
}

.phone img {
    width: 100%;
    aspect-ratio: 9 / 13;
    object-fit: cover;
    object-position: top;
}

.phones-caption {
    margin-top: 2.5mm;
    font-size: 8.5pt;
    text-align: center;
    color: var(--muted);
}

.try {
    margin-top: 6mm;
    text-align: center;
}

.try h3 {
    font-family: var(--font-display);
    font-size: 16pt;
    font-weight: 700;
    color: var(--ink);
}

.try p {
    margin: 1.5mm auto 0;
    max-width: 70mm;
    font-size: 9pt;
    line-height: 1.45;
    color: var(--muted);
}

.qr {
    width: 30mm;
    height: 30mm;
    margin: 4mm auto 0;
}

.qr svg {
    display: block;
    width: 100%;
    height: 100%;
}

.site-link {
    display: block;
    margin-top: 2.5mm;
    font-size: 10pt;
    font-weight: 700;
    text-align: center;
    color: var(--blue);
    text-decoration: underline;
}

.contact-list {
    display: grid;
    gap: 2.5mm;
    margin: 5mm 0 0;
    padding: 0;
    list-style: none;
}

.contact-list li {
    display: flex;
    gap: 3mm;
    align-items: center;
    font-size: 9pt;
    color: var(--ink);
}

.contact-list .ic {
    width: 7mm;
    height: 7mm;
    font-size: 8.5pt;
}

/* ── Page 1, right: cover ──────────────────────────────────────── */
.cover-logo {
    width: 24mm;
    margin-top: 2mm;
}

.cover-name {
    margin-top: 5mm;
    font-family: var(--font-display);
    font-size: 21pt;
    font-weight: 800;
    color: #fff;
}

.cover-sub {
    margin-top: 1mm;
    font-size: 11pt;
    font-weight: 600;
    color: var(--gold);
}

.cover-tagline {
    margin-top: 7mm;
    font-family: var(--font-display);
    font-size: 17pt;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
}

.cover-shot {
    width: 100%;
    margin-top: 7mm;
    border: 0;
}

.cover-modules {
    margin-top: 5mm;
    font-size: 8.5pt;
    opacity: .85;
}

.cover-site {
    margin-top: auto;
    font-size: 10.5pt;
    font-weight: 700;
    color: var(--gold);
}

/* ── Page 2: three groups ─────────────────────────────────────── */
.group-head {
    display: flex;
    gap: 3.5mm;
    align-items: center;
}

.group-head h2 {
    font-family: var(--font-display);
    font-size: 15pt;
    font-weight: 700;
    line-height: 1.2;
    color: var(--ink);
}

.group-head p {
    font-size: 8.8pt;
    color: var(--muted);
}

.group-shot {
    margin-top: 7mm;
}

.items {
    display: grid;
    gap: 6mm;
    margin: 8mm 0 0;
    padding: 0;
    list-style: none;
}

.item {
    display: flex;
    gap: 3mm;
    align-items: flex-start;
}

.item h3 {
    font-size: 10pt;
    font-weight: 700;
    line-height: 1.3;
    color: var(--ink);
}

.item p {
    font-size: 8.3pt;
    line-height: 1.4;
}

@media print {
    body {
        background: #fff;
    }

    .sheet {
        margin: 0;
        box-shadow: none;
        break-after: page;
    }
}
