/* Layout: one column of demo panels, each showing a design at full width; single light theme by choice (matches the reference shots). */
:root {
  color-scheme: light;
  --bg: #f4f6fb;
  --panel: #ffffff;
  --ink: #13203f;
  --muted: #5b6475;
  --line: #e7eaf2;
  --navy: #1a2a52;
  --f: "Poppins", "Segoe UI", system-ui, sans-serif;
}
.t-blue   { --c: #1a73e8; --c2: #4facfe; --soft: #eaf3ff; --rgb: 26, 115, 232; }
.t-purple { --c: #6c3ce1; --c2: #a17bff; --soft: #f1ebff; --rgb: 108, 60, 225; }
.t-green  { --c: #0b9b72; --c2: #33c79c; --soft: #e4f7f0; --rgb: 11, 155, 114; }
.t-orange { --c: #f07a00; --c2: #ffab3d; --soft: #fff2e3; --rgb: 240, 122, 0; }

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--f); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
a:focus-visible { outline: 3px solid rgba(var(--rgb, 26, 115, 232), .45); outline-offset: 3px; }

.page { max-width: 1240px; margin: 0 auto; padding: 40px 20px 80px; }

/* ---------- page header ---------- */
.g-head { margin-bottom: 36px; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #f07a00; }
.g-head h1 { margin: 6px 0 8px; font-size: clamp(28px, 4vw, 40px); line-height: 1.15; text-wrap: balance; }
.g-head p { margin: 0 0 18px; max-width: 640px; color: var(--muted); line-height: 1.6; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a { padding: 7px 14px; border-radius: 30px; background: var(--panel); border: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.jump a:hover { border-color: var(--navy); }
.group { margin: 48px 0 16px; font-size: 22px; }

/* ---------- demo panel ---------- */
.demo { scroll-margin-top: 16px; margin-bottom: 22px; padding: 24px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 6px 20px rgba(19, 32, 63, .04); }
.demo-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 10px 24px; }
.demo-name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.tag { padding: 5px 12px; border-radius: 8px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; }
.demo h2 { margin: 0; font-size: 18px; font-weight: 600; padding-left: 14px; border-left: 2px solid var(--line); }
.note { margin: 0; font-size: 12px; line-height: 1.6; color: var(--muted); text-align: right; }
.note b { color: var(--ink); font-weight: 600; }
.demo-desc { margin: 6px 0 20px; font-size: 13.5px; color: var(--muted); }

.grid { display: grid; gap: 18px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* shared card bits */
.ttl { display: block; font-size: 18px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.sub { display: block; margin-top: 3px; font-size: 12.5px; color: var(--muted); line-height: 1.45; }
.lnk { font-size: 12.5px; font-weight: 600; color: var(--navy); }
.go { flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; transition: .3s; }
.go .ar { width: 16px; height: 16px; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 18px; }

/* icon holders */
.ic, .circ, .badge, .ring, .ic3 { display: grid; place-items: center; flex-shrink: 0; }
.ic { width: 52px; height: 52px; margin-bottom: 12px; }
.ic img { width: 52px; height: 52px; object-fit: contain; }
.ic-fill { border-radius: 50%; background: var(--c); color: #fff; }
.ic-fill svg { width: 28px; height: 28px; }

/* ===== Course 1 · Clean Card with Hover Glow ===== */
.cv1 { position: relative; display: flex; flex-direction: column; min-height: 196px; padding: 22px 22px 20px; border-radius: 14px; background: #fff; border: 1px solid rgba(var(--rgb), .22); box-shadow: 0 4px 14px rgba(19, 32, 63, .05); overflow: hidden; transition: .3s; }
.cv1::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 3px; border-radius: 0 3px 0 0; background: var(--c); opacity: .55; transition: .3s; }
.cv1:hover, .cv1.is-hover { background: linear-gradient(160deg, var(--soft), #fff 75%); border-color: rgba(var(--rgb), .5); box-shadow: 0 0 0 4px rgba(var(--rgb), .08), 0 14px 32px rgba(var(--rgb), .2); }
.cv1:hover::after, .cv1.is-hover::after { width: 100%; opacity: 1; }

/* ===== Course 2 · Minimal with Left Accent & Icon ===== */
.cv2 { position: relative; display: flex; align-items: flex-start; gap: 14px; min-height: 140px; padding: 20px 64px 20px 20px; border-radius: 12px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--c); box-shadow: 0 4px 14px rgba(19, 32, 63, .05); transition: .3s; }
.cv2 .ic { margin: 0; width: 48px; height: 48px; transition: transform .3s; }
.cv2 .ic img { width: 48px; height: 48px; }
.cv2 .body { display: flex; flex-direction: column; min-width: 0; }
.cv2 .ttl { font-size: 17px; }
.cv2 .lnk { margin-top: 14px; color: var(--c); font-size: 12px; }
.cv2 .go { position: absolute; right: 18px; bottom: 18px; width: 30px; height: 30px; background: var(--soft); color: var(--c); }
.cv2:hover { background: var(--soft); }
.cv2:hover .ic { transform: scale(1.08) rotate(-4deg); }
.cv2:hover .go { background: var(--c); color: #fff; }

/* ===== Course 3 · Creative Shape Cards ===== */
.cv3 { display: block; transform: skewX(-8deg); border-radius: 22px 22px 22px 34px; background: linear-gradient(120deg, var(--c2), var(--c)); box-shadow: 0 12px 26px rgba(var(--rgb), .3); overflow: hidden; position: relative; transition: transform .35s, box-shadow .35s; }
.cv3::before { content: ""; position: absolute; right: -30px; top: -40px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.cv3::after { content: ""; position: absolute; left: 30%; bottom: -60px; width: 160px; height: 100px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.cv3 .in { position: relative; z-index: 1; transform: skewX(8deg); display: flex; align-items: center; gap: 12px; min-height: 118px; padding: 18px 20px 18px 24px; }
.ic3 { width: 54px; height: 54px; border-radius: 50%; background: #fff; box-shadow: 0 6px 14px rgba(0, 0, 0, .12); }
.ic3 img { width: 40px; height: 40px; object-fit: contain; }
.ic3.ic3-fill svg { width: 28px; height: 28px; color: var(--c); }
.ic3-fill { background: #fff; }
.cv3 .body { flex: 1; min-width: 0; }
.cv3 .ttl { color: #fff; font-size: 16px; }
.cv3 .sub { color: rgba(255, 255, 255, .88); font-size: 10.5px; }
.cv3 .go { background: #fff; color: var(--c); }
.cv3:hover { transform: skewX(-8deg) translateY(-6px); box-shadow: 0 18px 34px rgba(var(--rgb), .42); filter: saturate(1.15); }

/* ===== Course 4 · Glassmorphism ===== */
.glass-bg { position: relative; padding: 22px; border-radius: 16px; background:
  radial-gradient(circle at 8% 20%, rgba(79, 172, 254, .22), transparent 40%),
  radial-gradient(circle at 40% 90%, rgba(161, 123, 255, .2), transparent 40%),
  radial-gradient(circle at 70% 10%, rgba(51, 199, 156, .18), transparent 40%),
  radial-gradient(circle at 95% 80%, rgba(255, 171, 61, .22), transparent 40%), #f8f9fd; }
.cv4 { position: relative; display: flex; flex-direction: column; min-height: 210px; padding: 20px; border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, rgba(255, 255, 255, .78), rgba(var(--rgb), .10));
  border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 10px 30px rgba(var(--rgb), .14), inset 0 1px 0 #fff; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transition: .35s; }
.cv4 .blob { position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--rgb), .3), transparent 70%); }
.badge { position: relative; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; background: #fff; box-shadow: 0 6px 16px rgba(var(--rgb), .2); }
.badge img { width: 40px; height: 40px; object-fit: contain; }
.badge-fill { background: var(--c); color: #fff; }
.badge-fill svg { width: 28px; height: 28px; }
.cv4 .ttl, .cv4 .sub, .cv4 .foot { position: relative; }
.cv4 .ttl { font-size: 17px; }
.cv4 .sub { font-size: 11.5px; }
.cv4 .lnk { font-size: 11.5px; }
.cv4:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(var(--rgb), .24), inset 0 1px 0 #fff; background: linear-gradient(160deg, rgba(255, 255, 255, .92), rgba(var(--rgb), .16)); }

/* ===== Course 5 · Minimal Card with Left Accent ===== */
.cv5 { position: relative; display: flex; flex-direction: column; min-height: 200px; padding: 20px 18px 18px 22px; border-radius: 12px; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(19, 32, 63, .05); overflow: hidden; transition: .3s; }
.cv5::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c); transition: width .3s; }
.circ { width: 52px; height: 52px; margin-bottom: 14px; border-radius: 50%; background: var(--soft); }
.circ img { width: 36px; height: 36px; object-fit: contain; }
.circ-fill { background: var(--soft); color: var(--c); }
.circ-fill svg { width: 26px; height: 26px; }
.cv5 .ttl { font-size: 16px; }
.cv5 .sub { font-size: 11.5px; }
.cv5 .lnk { font-size: 11.5px; }
.cv5 .go { width: 30px; height: 30px; background: var(--soft); color: var(--c); }
.cv5:hover { box-shadow: 0 14px 30px rgba(var(--rgb), .16); }
.cv5:hover::before { width: 7px; }
.cv5:hover .go { background: var(--c); color: #fff; }

/* ===== Course 6 · Card with Image & Overlay ===== */
.cv6 { position: relative; display: flex; flex-direction: column; min-height: 230px; padding: 18px; border-radius: 16px; overflow: hidden; color: #fff; isolation: isolate; box-shadow: 0 10px 26px rgba(19, 32, 63, .18); }
.cv6 .bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.cv6 .shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 14, 32, .45) 0%, rgba(8, 14, 32, .78) 55%, rgba(var(--rgb), .9) 130%), linear-gradient(110deg, rgba(var(--rgb), .55), transparent 60%); }
.cv6 .badge { width: 50px; height: 50px; }
.cv6 .badge img { width: 36px; height: 36px; }
.cv6 .ttl { color: #fff; font-size: 17px; }
.cv6 .sub { color: rgba(255, 255, 255, .85); font-size: 11.5px; }
.cv6 .lnk { color: #fff; font-size: 11.5px; }
.cv6 .go { width: 40px; height: 40px; box-shadow: 0 6px 16px rgba(var(--rgb), .5); }
.cv6:hover .bg { transform: scale(1.08); }

/* ===== Course 7 · Creative Tilt Card ===== */
.cv7 { position: relative; display: flex; flex-direction: column; min-height: 200px; padding: 20px 18px 18px 54px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 6px 18px rgba(19, 32, 63, .07); overflow: hidden; transition: transform .35s, box-shadow .35s; }
.cv7 .slab { position: absolute; left: -26px; top: -30px; width: 58px; height: 150%; transform: rotate(10deg); background: linear-gradient(180deg, var(--c2), var(--c)); border-radius: 0 10px 10px 0; }
.cv7 .dots { position: absolute; right: 12px; top: 12px; width: 44px; height: 30px; background-image: radial-gradient(rgba(var(--rgb), .35) 1.4px, transparent 1.6px); background-size: 8px 8px; }
.cv7 .circ { position: relative; width: 46px; height: 46px; margin-bottom: 12px; }
.cv7 .circ img { width: 32px; height: 32px; }
.cv7 .ttl, .cv7 .sub, .cv7 .foot { position: relative; }
.cv7 .ttl { font-size: 16px; color: var(--c); }
.cv7 .sub { font-size: 11.5px; }
.cv7 .lnk { font-size: 11.5px; }
.cv7 .go { width: 30px; height: 30px; }
.cv7:hover { transform: rotate(-1.2deg) translateY(-6px); box-shadow: 0 18px 34px rgba(var(--rgb), .2); }

/* ===== Course 8 · Icon Card with Hover Animation ===== */
.cv8 { display: flex; flex-direction: column; min-height: 210px; padding: 22px 18px 18px; border-radius: 16px; background: linear-gradient(170deg, var(--soft), #fff 70%); border: 1px solid rgba(var(--rgb), .18); transition: .35s; }
.ring { width: 60px; height: 60px; margin: 4px 0 18px 4px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 7px rgba(var(--rgb), .14), 0 0 0 14px rgba(var(--rgb), .06), 0 8px 18px rgba(var(--rgb), .25); transition: transform .5s, box-shadow .35s; }
.ring img { width: 42px; height: 42px; object-fit: contain; }
.ring-fill { background: var(--c); color: #fff; }
.ring-fill svg { width: 30px; height: 30px; }
.cv8 .ttl { font-size: 16px; }
.cv8 .sub { font-size: 11.5px; }
.cv8 .lnk { font-size: 11.5px; }
.cv8 .go { width: 30px; height: 30px; }
.cv8:hover { box-shadow: 0 16px 34px rgba(var(--rgb), .22); border-color: rgba(var(--rgb), .4); }
.cv8:hover .ring { transform: rotate(360deg) scale(1.06); box-shadow: 0 0 0 9px rgba(var(--rgb), .2), 0 0 0 18px rgba(var(--rgb), .08), 0 10px 22px rgba(var(--rgb), .35); }

/* ===== Learning Mode 1 · with FREE offer ===== */
.lm1 { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; padding: 22px; border-radius: 16px; background: linear-gradient(135deg, #fff9f2, #f7f8fc); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 20px; background: #fff2e3; color: #c25e00; font-size: 12px; font-weight: 600; }
.pill svg { width: 15px; height: 15px; }
.lm1-h { margin: 10px 0 4px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; }
.lm1-p { margin: 0 0 18px; font-size: 13.5px; color: var(--muted); }
.lm1-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.lm1-card { position: relative; display: flex; flex-direction: column; padding: 16px 16px 18px; border-radius: 16px; background: linear-gradient(160deg, var(--soft), #fff 80%); border: 1px solid rgba(var(--rgb), .2); box-shadow: 0 8px 20px rgba(var(--rgb), .1); transition: .3s; }
.lm1-card .art { width: 100px; height: 84px; margin-bottom: 6px; }
.lm1-card .ttl { font-size: 15.5px; }
.lm1-card .sub { font-size: 12px; }
.chk { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding-right: 40px; font-size: 11.5px; font-weight: 500; color: var(--ink); }
.chk svg { width: 15px; height: 15px; color: var(--c); flex-shrink: 0; }
.lm1-card .go { position: absolute; right: 14px; bottom: 14px; width: 30px; height: 30px; }
.lm1-card:hover { transform: translateY(-5px); box-shadow: 0 16px 30px rgba(var(--rgb), .2); }
.lm1-free { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; padding: 22px 20px; border-radius: 16px; background: linear-gradient(140deg, #fff3e6, #ffe2c4); border: 1px solid #ffd2a8; box-shadow: 0 10px 26px rgba(240, 122, 0, .14); }
.free { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px 5px 10px; border-radius: 20px; background: linear-gradient(90deg, #ff8a2a, #f05a14); color: #fff; font-size: 13px; font-weight: 700; }
.free svg { width: 16px; height: 16px; }
.lm1-free h3 { position: relative; z-index: 1; margin: 12px 0 8px; max-width: 60%; font-size: 21px; line-height: 1.2; }
.lm1-free h3 span { display: block; color: #f07a00; }
.lm1-free p { position: relative; z-index: 1; margin: 0 0 18px; max-width: 60%; font-size: 12.5px; line-height: 1.5; color: #4a4f5c; }
.btn { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding: 10px 16px; border-radius: 30px; background: linear-gradient(90deg, #ff7a1f, #f05a14); color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 8px 18px rgba(240, 90, 20, .3); }
.btn .ar { width: 15px; height: 15px; }
.books { position: absolute; right: -6px; bottom: 6px; width: 150px; height: 140px; }

/* ===== Learning Mode 2–4 panels ===== */
.lm-panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.lm-panels .demo { margin-bottom: 0; }
.lm-panels .note { text-align: left; }
.lm-panels .demo-top { flex-direction: column; }
.lm-stack { display: grid; gap: 12px; }
.lm-stack .ic { margin: 0; width: 46px; height: 46px; border-radius: 12px; }
.lm-stack .ic svg { width: 26px; height: 26px; }
.lm-stack .body { flex: 1; min-width: 0; }
.lm-stack .ttl { font-size: 15px; }
.lm-stack .sub { font-size: 12px; }

/* 2 · gradient */
.lm2 { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 14px; background: linear-gradient(110deg, var(--c2), var(--c)); color: #fff; box-shadow: 0 10px 22px rgba(var(--rgb), .3); transition: .3s; }
.lm2 .ic { background: rgba(255, 255, 255, .2); color: #fff; }
.lm2 .ttl { color: #fff; }
.lm2 .sub { color: rgba(255, 255, 255, .88); }
.lm2 .go { background: #fff; color: var(--c); }
.lm2:hover { transform: translateX(6px); }

/* 3 · minimal */
.lm3 { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 14px rgba(19, 32, 63, .05); transition: .3s; }
.lm3 .ic { background: var(--soft); color: var(--c); }
.lm3 .go { width: 30px; height: 30px; background: var(--soft); color: var(--c); }
.lm3:hover { background: var(--soft); border-color: rgba(var(--rgb), .3); }
.lm3:hover .go { background: var(--c); color: #fff; }

/* 4 · creative 3D */
.lm4 { position: relative; display: flex; align-items: center; gap: 12px; min-height: 92px; padding: 14px 104px 14px 14px; border-radius: 16px; background: linear-gradient(120deg, var(--soft), #fff 90%); border: 1px solid rgba(var(--rgb), .25); box-shadow: 0 10px 0 -4px rgba(var(--rgb), .12), 0 12px 24px rgba(var(--rgb), .14); transition: transform .4s, box-shadow .4s; transform-style: preserve-3d; }
.lm4 .ic { background: linear-gradient(135deg, var(--c2), var(--c)); color: #fff; box-shadow: 0 6px 14px rgba(var(--rgb), .35); }
.lm4 .art { position: absolute; right: 4px; bottom: 2px; width: 104px; height: 86px; filter: drop-shadow(0 8px 10px rgba(var(--rgb), .25)); }
.lm4:hover { transform: perspective(700px) rotateX(6deg) rotateY(-8deg) translateY(-4px); box-shadow: 0 14px 0 -4px rgba(var(--rgb), .16), 0 20px 34px rgba(var(--rgb), .22); }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lm1 { grid-template-columns: 1fr; }
  .lm1-free { min-height: 220px; }
  .lm-panels { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .page { padding-block: 28px 60px; }
  .demo { padding: 18px 16px; }
  .note { text-align: left; }
  .g2, .g4 { grid-template-columns: 1fr; }
  .lm1 { padding: 14px; }
  .lm1-cards { grid-template-columns: 1fr; }
  .cv3 { transform: skewX(-5deg); }
  .cv3 .in { transform: skewX(5deg); }
  .cv3:hover { transform: skewX(-5deg) translateY(-4px); }
  .glass-bg { padding: 14px; }
}
@media (max-width: 420px) {
  .lm1-free h3, .lm1-free p { max-width: 100%; }
  .lm1-free { padding-bottom: 150px; }
  .books { width: 130px; height: 120px; }
}
@media (hover: none) {
  .cv3:hover, .cv4:hover, .cv7:hover, .lm1-card:hover, .lm2:hover, .lm4:hover { transform: none; }
  .cv3:hover { transform: skewX(-5deg); }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* the CMA logo file has wide transparent padding; enlarge it to match the CA logo */
img[src="https://icommclasses.com/images/cma-logo11.png"] { transform: scale(1.75); }

/* ===== Course 8 · Creative Tilt Card — Layered ===== */
.cv9 { position: relative; display: block; padding: 8px 0 8px 16px; }
.cv9 .panel { position: absolute; left: 0; top: 2px; bottom: 2px; width: 92px; border-radius: 14px; transform: skewY(-10deg) rotate(-4deg); transform-origin: left center;
  background: linear-gradient(160deg, var(--c2), var(--c)); box-shadow: 0 10px 22px rgba(var(--rgb), .35); transition: transform .4s; }
.cv9 .panel::after { content: ""; position: absolute; left: 12px; top: 10px; bottom: 10px; width: 22px; border-radius: 10px; background: rgba(255, 255, 255, .22); }
.cv9 .face { position: relative; z-index: 1; display: flex; flex-direction: column; min-height: 136px; padding: 18px 16px 14px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 24px rgba(19, 32, 63, .09); transition: transform .4s, box-shadow .4s; }
.cv9 .dots { position: absolute; right: 12px; top: 10px; width: 34px; height: 22px; background-image: radial-gradient(rgba(var(--rgb), .4) 1.3px, transparent 1.5px); background-size: 7px 7px; }
.cv9 .head { display: flex; align-items: center; gap: 12px; padding-right: 30px; }
.mini { width: 46px; height: 46px; display: grid; place-items: center; flex-shrink: 0; }
.mini img { width: 46px; height: 46px; object-fit: contain; }
.mini-fill { border-radius: 50%; background: var(--c); color: #fff; }
.mini-fill svg { width: 26px; height: 26px; }
.cv9 .txt { min-width: 0; }
.cv9 .ttl { font-size: 16px; }
.cv9 .sub { font-size: 11px; }
.cv9 .foot { padding-top: 14px; }
.cv9 .lnk { font-size: 11.5px; }
.cv9 .go { width: 30px; height: 30px; }
.cv9:hover .face { transform: translate(4px, -5px); box-shadow: 0 18px 34px rgba(var(--rgb), .2); }
.cv9:hover .panel { transform: skewY(-14deg) rotate(-7deg); }
@media (hover: none) { .cv9:hover .face { transform: none; } .cv9:hover .panel { transform: skewY(-10deg) rotate(-4deg); } }
.cv9 .lnk { font-size: 10.5px; }
.cv9 .head { gap: 14px; }
.mini img[src="https://icommclasses.com/images/cma-logo11.png"] { transform: scale(1.3); }

/* ===== Learning Mode 2 · Offer first ===== */
.lm1-offer-first { grid-template-columns: 340px minmax(0, 1fr); }

/* ===== Learning Mode 3 · Big offer + 2×2 cards ===== */
.lm1-big { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); align-items: stretch; }
.lm1-free.big { padding: 32px 28px; min-height: 100%; }
.lm1-free.big .free { font-size: 15px; padding: 7px 16px 7px 12px; }
.lm1-free.big h3 { margin-top: 18px; font-size: clamp(26px, 3vw, 34px); max-width: 70%; }
.lm1-free.big p { font-size: 15px; max-width: 62%; }
.lm1-free.big .btn { padding: 12px 20px; font-size: 14px; }
.lm1-free.big .books { width: 230px; height: 215px; right: -4px; bottom: 10px; }
.lm1-cards.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.logo { width: 64px; height: 64px; margin-bottom: 12px; border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 6px 16px rgba(var(--rgb), .18); }
.logo img { width: 46px; height: 46px; object-fit: contain; }
.logo img[src="https://icommclasses.com/images/cma-logo11.png"] { transform: scale(1.35); }
.logo-fill { background: var(--c); color: #fff; }
.logo-fill svg { width: 32px; height: 32px; }
.lm1-course .sub { font-size: 11.5px; }

@media (max-width: 1100px) {
  .lm1-offer-first, .lm1-big { grid-template-columns: 1fr; }
  .lm1-free.big { min-height: 300px; }
}
@media (max-width: 520px) {
  .lm1-cards.two { grid-template-columns: 1fr; }
  .lm1-free.big h3, .lm1-free.big p { max-width: 100%; }
  .lm1-free.big { padding-bottom: 210px; }
}

/* ===== Tilted (cross / 3D) mode cards for Learning Mode 1–3 ===== */
.lm1-cards { perspective: 1100px; margin-top: 34px; gap: 18px; }
.lm1-card {
  transform: rotateY(-16deg) rotateX(4deg) skewY(-3deg);
  transform-origin: left center;
  box-shadow: 16px 18px 30px rgba(var(--rgb), .2), 0 2px 0 rgba(255, 255, 255, .9) inset;
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s;
}
.lm1-card .art { margin-top: -46px; width: 108px; height: 90px; filter: drop-shadow(0 10px 10px rgba(var(--rgb), .25)); }
.lm1-course .logo { margin-top: -40px; }
.lm1-cards.two { row-gap: 46px; }
.lm1-card:hover { transform: rotateY(-4deg) rotateX(0) skewY(0) translateY(-6px); box-shadow: 8px 20px 34px rgba(var(--rgb), .26); }
@media (max-width: 720px) {
  .lm1-cards { row-gap: 46px; }
  .lm1-card { transform: rotateY(-8deg) skewY(-2deg); }
}
@media (hover: none) {
  .lm1-card:hover { transform: rotateY(-8deg) skewY(-2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .lm1-card, .lm1-card:hover { transform: none; }
}

/* =====================================================================
   About section designs
   ===================================================================== */
.ab-pill { display: inline-block; padding: 6px 14px; border-radius: 20px; background: #ffe9d6; color: #d96200; font-size: 13px; font-weight: 600; }
.ab-pill.line { background: none; padding: 0 0 4px; border-radius: 0; border-bottom: 2px solid #f47a12; }
.ab-pill.solid { background: #f47a12; color: #fff; }
.ab-h { margin: 14px 0; font-size: clamp(32px, 4.2vw, 50px); font-weight: 800; line-height: 1.08; color: #0f1f45; text-wrap: balance; }
.ab-h span { display: block; color: #f47a12; }
.ab-h span.inl { display: inline; color: inherit; }
.ab-h em { font-style: normal; color: #f47a12; }
.ab-h.sm { font-size: clamp(24px, 3vw, 32px); margin: 0 0 4px; }
.ab-h.sm .inl { color: #f47a12; }
.ab-p { margin: 0 0 22px; max-width: 560px; font-size: 15px; line-height: 1.75; color: #4a5468; }
.ab-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 30px; background: linear-gradient(90deg, #ff8a2a, #f05a14); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 10px 22px rgba(240, 90, 20, .3); transition: transform .3s; }
.ab-btn .ar { width: 16px; height: 16px; }
.ab-btn:hover { transform: translateY(-3px); }
.ab-btn.ghost { background: transparent; border: 1.5px solid rgba(255, 255, 255, .7); box-shadow: none; }
.ab-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ab-script { position: absolute; z-index: 3; font-family: "Caveat", cursive; font-size: 34px; line-height: .95; color: #f47a12; text-align: center; transform: rotate(-8deg); }
.ab-script.light { color: #fff; }

/* stats */
.ab-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.ab-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 14px 8px; border-radius: 12px; background: #fff; border: 1px solid #f3e6da; box-shadow: 0 6px 16px rgba(15, 31, 69, .06); text-align: center; transition: transform .3s; }
.ab-stat .si { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: #fff1e3; color: #f47a12; margin-bottom: 4px; }
.ab-stat .si svg { width: 22px; height: 22px; }
.ab-stat b { font-size: 22px; font-weight: 800; color: #0f1f45; }
.ab-stat span:last-child { font-size: 11.5px; color: #5b6475; }
.ab2 .ab-stat:hover { transform: translateY(-4px); }

/* badge */
.ab-badge { position: absolute; z-index: 3; left: 6%; bottom: 6%; display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 40px; background: #fff; box-shadow: 0 12px 28px rgba(15, 31, 69, .18); }
.ab-badge .bi { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #f47a12; color: #fff; flex-shrink: 0; }
.ab-badge .bi svg { width: 22px; height: 22px; }
.ab-badge b { display: block; font-size: 14px; color: #0f1f45; }
.ab-badge b i { font-style: normal; color: #f47a12; padding: 0 2px; }
.ab-badge small { font-size: 12px; color: #5b6475; }

/* ===== About 1 · tilted photo ===== */
.ab1 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 36px; border-radius: 18px; background: linear-gradient(135deg, #ffffff, #fff7ef); }
.ab1-visual { position: relative; padding: 40px 30px 30px 10px; }
.ab1-shape { position: absolute; inset: 22px 0 10px 40px; border-radius: 26px; background: linear-gradient(135deg, #ff9a3c, #f05a14); transform: rotate(7deg); }
.ab1-photo { position: relative; z-index: 2; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 80%; border: 10px solid #fff; border-radius: 20px; box-shadow: 0 20px 40px rgba(15, 31, 69, .2); transform: rotate(-3deg); transition: transform .5s; display: block; }
.ab1:not(.ab2) .ab1-visual:hover .ab1-photo { transform: rotate(0); }
.ab1 .ab-script { right: -6px; top: -4px; }

/* ===== About 2 · clean card ===== */
.ab2 { background: #ffffff; border: 1px solid #f1ebe4; }
.ab2 .ab1-visual { padding: 0 24px 24px 0; }
.ab2-shape { position: absolute; right: 0; bottom: 0; width: 70%; height: 70%; border-radius: 24px; background: linear-gradient(135deg, #ff9a3c, #f05a14); }
.ab2 .ab1-photo { transform: none; border: 0; border-radius: 20px; }
.ab2 .ab-badge { left: 4%; bottom: 10%; }

/* ===== About 3 · dark partner ===== */
.ab3 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: stretch; border-radius: 18px; overflow: hidden; background: radial-gradient(circle at 15% 20%, #142c5e, #0b1a3a 60%); color: #fff; }
.ab3 .ab-text { padding: 44px 36px 44px 44px; align-self: center; }
.ab3 .ab-h { color: #fff; }
.ab3 .ab-p { color: #c6cfe0; }
.ab3-visual { position: relative; min-height: 360px; }
.ab3-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 80%; border-radius: 52% 0 0 52% / 70% 0 0 70%; box-shadow: -12px 0 0 #f47a12; }
.ab3 .ab-script { right: 26px; top: 22px; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.ab3-dots { position: absolute; left: 12%; bottom: 18px; width: 60px; height: 40px; background-image: radial-gradient(rgba(255, 255, 255, .6) 1.5px, transparent 1.7px); background-size: 9px 9px; }

/* ===== About 4 · six reasons ===== */
.ab4 { padding: 32px; border-radius: 18px; background: #fffaf5; }
.ab4-sub { margin: 0 0 26px; font-size: 18px; font-weight: 600; color: #0f1f45; }
.ab4-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 40px; max-width: 760px; }
.ab4-item, .ab5-item, .ab6-item { display: flex; align-items: center; gap: 16px; }
.ab4-item b, .ab5-item b, .ab6-item b { display: block; font-size: 16px; font-weight: 700; color: #0f1f45; }
.ab4-item small, .ab5-item small, .ab6-item small { display: block; margin-top: 2px; font-size: 13px; line-height: 1.5; color: #5b6475; }
.ti { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0; background: #fff0e0; color: #f47a12; transition: .3s; }
.ti svg { width: 26px; height: 26px; }
.ab4-item:hover .ti { background: #f47a12; color: #fff; }

/* ===== About 5 · why choose us card ===== */
.ab5 { max-width: 460px; padding: 30px 28px; border-radius: 20px; background: linear-gradient(160deg, #fff4ea, #fffaf6); border: 1px solid #ffe2c8; box-shadow: 0 14px 30px rgba(240, 122, 0, .1); display: grid; gap: 22px; }
.ab5 h3 { margin: 0; font-size: 26px; font-weight: 800; color: #0f1f45; }
.ab5-item { align-items: flex-start; transition: transform .3s; }
.ab5 .ti { width: 46px; height: 46px; border-radius: 12px; background: linear-gradient(135deg, #ff9a3c, #f05a14); color: #fff; }
.ab5 .ti svg { width: 24px; height: 24px; }
.ab5-item:hover { transform: translateX(6px); }

/* ===== About 6 · split layout ===== */
.ab6 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) minmax(0, .8fr); border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid #eef0f5; }
.ab6-panel { position: relative; z-index: 2; margin-right: -70px; padding: 40px 90px 40px 40px; background: #0b1a3a; color: #fff; clip-path: polygon(0 0, 100% 0, 80% 100%, 0 100%); }
.ab6-panel .ab-h { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.ab6-panel .ab-p { color: #c6cfe0; font-size: 14px; }
.ab6-photo { position: relative; overflow: hidden; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); }
.ab6-photo::before, .ab6-photo::after { content: ""; position: absolute; z-index: 2; top: -10%; bottom: -10%; width: 14px; background: #f47a12; transform: skewX(-12deg); }
.ab6-photo::before { left: 13%; }
.ab6-photo::after { right: 6%; width: 22px; }
.ab6-photo img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; object-position: center 45%; display: block; transition: transform .6s; }
.ab6-photo:hover img { transform: scale(1.06); }
.ab6-list { display: grid; align-content: center; gap: 22px; padding: 30px 26px; }
.ci { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: #fff0e0; color: #f47a12; }
.ci svg { width: 22px; height: 22px; }
.ab6-item b { font-size: 15px; }
.ab6-item small { font-size: 12.5px; }

/* ----- About responsive ----- */
@media (max-width: 1100px) {
  .ab6 { grid-template-columns: 1fr 1fr; }
  .ab6-panel { grid-column: 1 / -1; margin-right: 0; padding: 36px; clip-path: none; }
  .ab6-photo { clip-path: none; }
  .ab6-photo::before, .ab6-photo::after { display: none; }
}
@media (max-width: 900px) {
  .ab1 { grid-template-columns: 1fr; padding: 28px 22px; }
  .ab3 { grid-template-columns: 1fr; }
  .ab3-visual { order: -1; min-height: 260px; }
  .ab3-visual img { border-radius: 0 0 50% 50% / 0 0 18% 18%; box-shadow: 0 10px 0 #f47a12; }
  .ab3 .ab-text { padding: 36px 24px; }
}
@media (max-width: 640px) {
  .ab-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ab4 { padding: 24px 18px; }
  .ab4-grid { grid-template-columns: 1fr; gap: 20px; }
  .ab6 { grid-template-columns: 1fr; }
  .ab6-panel { padding: 30px 22px; }
  .ab-script { font-size: 26px; }
  .ab1-visual { padding: 30px 14px 20px 4px; }
  .ab-badge { left: 4%; bottom: 2%; padding: 8px 14px 8px 8px; }
  .ab-badge b { font-size: 13px; }
}

/* hide the printed heading strip at the top of the group photo */
.ab1-photo, .ab3-visual img { object-position: center bottom; }

/* =====================================================================
   Branches · Visit Our Branches
   ===================================================================== */
.br { padding: 30px; border-radius: 18px; background: linear-gradient(180deg, #fffaf5, #ffffff 40%); }
.br .ab-pill { display: inline-flex; align-items: center; gap: 6px; }
.br .ab-pill .pin { width: 14px; height: 14px; }
.br-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 30px; align-items: center; margin-bottom: 26px; }
.br-head .ab-p { margin-bottom: 0; }
.br-hero { position: relative; height: 210px; }
.br-hero img { position: absolute; inset: 0 0 0 18%; width: 82%; height: 100%; object-fit: cover; object-position: center 52%; border-radius: 120px 18px 18px 18px; box-shadow: -10px 0 0 #f47a12, 0 16px 30px rgba(15, 31, 69, .15); }
.br-hero .ab-script { left: 0; top: 30px; font-size: 32px; }

.br-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.br-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 18px; padding: 12px; border-radius: 16px; background: #fff; border: 1.5px solid #ffd9b8; box-shadow: 0 10px 24px rgba(240, 122, 0, .08); transition: transform .3s, box-shadow .3s; }
.br-card:hover { transform: translateY(-5px); box-shadow: 0 18px 34px rgba(240, 122, 0, .16); }
.br-photo { border-radius: 12px; overflow: hidden; min-height: 240px; }
.br-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.br-card:hover .br-photo img { transform: scale(1.06); }
.br-info { display: flex; flex-direction: column; align-items: flex-start; padding: 6px 8px 8px 0; min-width: 0; }
.br-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 20px; background: #fff0e0; color: #d96200; font-size: 12px; font-weight: 600; }
.br-tag svg { width: 13px; height: 13px; }
.br-info h4 { margin: 10px 0 10px; font-size: 21px; font-weight: 800; color: #0f1f45; }
.br-line { display: flex; gap: 10px; margin: 0 0 10px; font-size: 13.5px; line-height: 1.55; color: #3c475c; }
.br-line svg { width: 17px; height: 17px; flex-shrink: 0; margin-top: 2px; color: #f47a12; }
.br-tel { font-weight: 700; color: #0f1f45; }
.br-perks { display: flex; flex-wrap: wrap; gap: 10px 16px; margin: 6px 0 16px; }
.br-perks span { display: flex; align-items: center; gap: 7px; font-size: 11.5px; line-height: 1.25; color: #3c475c; }
.br-perks i { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff0e0; color: #f47a12; }
.br-perks i svg { width: 16px; height: 16px; }
.br-btn { margin-top: auto; min-height: 44px; padding: 0 20px; font-size: 13.5px; }
.br-btn .nav { width: 15px; height: 15px; }

.br-why { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 2.4fr); gap: 24px; align-items: center; margin-top: 26px; padding: 26px 160px 26px 26px; border-radius: 16px; background: linear-gradient(90deg, #fff4ea, #fffaf6); border: 1px solid #ffe2c8; }
.br-why-text { padding-left: 16px; border-left: 3px solid #f47a12; }
.br-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #f47a12; }
.br-why-text h4 { margin: 2px 0 8px; font-size: 24px; font-weight: 800; color: #0f1f45; }
.br-why-text p { margin: 0; font-size: 13px; line-height: 1.6; color: #4a5468; }
.br-why-items { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.br-why-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 4px 12px; text-align: center; }
.br-why-item + .br-why-item { border-left: 1px solid #f3dcc6; }
.wi { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: #f47a12; color: #fff; box-shadow: 0 8px 16px rgba(244, 122, 18, .3); }
.wi svg { width: 22px; height: 22px; }
.br-why-item b { font-size: 14px; color: #0f1f45; }
.br-why-item small { font-size: 11.5px; line-height: 1.45; color: #5b6475; }
.br-script { right: 18px; top: 50%; margin-top: -34px; font-size: 30px; }

@media (max-width: 1100px) {
  .br-cards { grid-template-columns: 1fr; }
  .br-why { grid-template-columns: 1fr; padding-right: 26px; }
  .br-script { position: static; margin: 0; justify-self: end; }
}
@media (max-width: 760px) {
  .br { padding: 20px 14px; }
  .br-head { grid-template-columns: 1fr; }
  .br-hero { height: 180px; }
  .br-card { grid-template-columns: 1fr; }
  .br-photo { min-height: 200px; height: 220px; }
  .br-why-items { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .br-why-item:nth-child(3) { border-left: 0; }
}

.br-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; }
.br-perks span { gap: 5px; font-size: 10.5px; }
.br-perks i { width: 26px; height: 26px; flex-shrink: 0; }
.br-hero img { inset: 0 0 0 24%; width: 76%; }
.br-hero .ab-script { left: -4px; }

/* =====================================================================
   Website images: logos, icon, world map, directors, faculty
   ===================================================================== */
/* the website's CMA logo is wide; give it more width inside round/square holders */
img[src="https://icommclasses.com/images/icom-cma-removebg-preview.png"] { width: 92% !important; height: auto !important; max-height: 70%; object-fit: contain; }
.ic img[src="https://icommclasses.com/images/icom-cma-removebg-preview.png"], .mini img[src="https://icommclasses.com/images/icom-cma-removebg-preview.png"] { width: 100% !important; max-height: none; }
img[src="https://icommclasses.com/images/css-removebg-preview.png"] { object-fit: contain; }

/* i-Comm icon inside pills and the Learn | Grow | Succeed badge */
.pill-logo { width: 18px; height: 18px; object-fit: contain; margin-right: 6px; vertical-align: -4px; }
.ab-pill.solid .pill-logo { background: #fff; border-radius: 50%; padding: 2px; }
.ab-badge .bi { background: #fff; border: 2px solid #f47a12; }
.ab-badge .bi img { width: 30px; height: 30px; object-fit: contain; }
.g-head .eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.g-head .eyebrow img { width: 30px; height: 30px; object-fit: contain; }

/* world map backdrop (the dotted map used on icommclasses.com) */
.br { background: url("https://icommclasses.com/images/world-map.png") right 24px top 20px / 620px auto no-repeat, linear-gradient(180deg, #fffaf5, #ffffff 40%); }
.br-why { background: url("https://icommclasses.com/images/world-map.png") center / 70% auto no-repeat, linear-gradient(90deg, #fff4ea, #fffaf6); }
.glass-bg { background-image: url("https://icommclasses.com/images/world-map.png"),
  radial-gradient(circle at 8% 20%, rgba(79, 172, 254, .22), transparent 40%),
  radial-gradient(circle at 40% 90%, rgba(161, 123, 255, .2), transparent 40%),
  radial-gradient(circle at 70% 10%, rgba(51, 199, 156, .18), transparent 40%),
  radial-gradient(circle at 95% 80%, rgba(255, 171, 61, .22), transparent 40%);
  background-size: 80% auto, auto, auto, auto, auto; background-position: center, 0 0, 0 0, 0 0, 0 0; background-repeat: no-repeat; }

/* ===== About 7 · directors ===== */
.dir { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 40px; align-items: center; padding: 36px; border-radius: 18px; background: url("https://icommclasses.com/images/world-map.png") center / 90% auto no-repeat, linear-gradient(135deg, #ffffff, #fff6ee); }
.dir-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.dir-card { margin: 0; border-radius: 20px; overflow: hidden; background: #fff; border: 6px solid #fff; box-shadow: 0 16px 34px rgba(15, 31, 69, .14); transition: transform .35s, box-shadow .35s; }
.dir-card:nth-child(2) { transform: translateY(26px); }
.dir-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.dir-card:hover { box-shadow: 0 0 0 4px #f47a12, 0 20px 40px rgba(244, 122, 18, .25); transform: translateY(-6px); }
.dir-card:nth-child(2):hover { transform: translateY(20px); }

/* ===== Faculty ===== */
.fac { padding: 32px; border-radius: 18px; background: url("https://icommclasses.com/images/world-map.png") center top 40px / 80% auto no-repeat, #fffaf5; }
.fac-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 10px 40px; margin-bottom: 24px; }
.fac-head .ab-h { margin-bottom: 0; }
.fac-head .ab-p { margin: 0; max-width: 420px; }
.fac-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.fac-card { margin: 0; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 8px 20px rgba(15, 31, 69, .1); transition: transform .3s, box-shadow .3s; }
.fac-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; }
.fac-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 3px #f47a12, 0 16px 30px rgba(244, 122, 18, .22); }
.fac-btn { margin-top: 24px; }

.fac-dark { background: url("https://icommclasses.com/images/world-map.png") center top 40px / 80% auto no-repeat, radial-gradient(circle at 15% 20%, #142c5e, #0b1a3a 65%); }
.fac-dark .ab-h { color: #fff; }
.fac-dark .ab-p { color: #c6cfe0; }
.fac-slider { position: relative; }
.fac-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 14px; scrollbar-width: thin; }
.fac-track .fac-card { scroll-snap-align: start; }
.fac-nav { position: absolute; top: 50%; z-index: 2; width: 44px; height: 44px; margin-top: -26px; border: 0; border-radius: 50%; display: grid; place-items: center; background: #f47a12; color: #fff; cursor: pointer; box-shadow: 0 8px 18px rgba(0, 0, 0, .25); }
.fac-nav .ar { width: 18px; height: 18px; }
.fac-nav.prev { left: -14px; }
.fac-nav.prev .ar { transform: rotate(180deg); }
.fac-nav.next { right: -14px; }
.fac-nav:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

@media (max-width: 1100px) {
  .fac-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fac-track { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
}
@media (max-width: 900px) {
  .dir { grid-template-columns: 1fr; padding: 28px 22px 48px; }
  .fac-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fac-track { grid-auto-columns: calc((100% - 2 * 16px) / 3); }
}
@media (max-width: 560px) {
  .fac { padding: 22px 14px; }
  .fac-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .fac-track { grid-auto-columns: 70%; }
  .fac-nav { display: none; }
  .br { background-size: 90% auto, auto; }
}

/* wide CMA logo: let square (non-round) holders grow sideways */
.ic:has(img[src="https://icommclasses.com/images/icom-cma-removebg-preview.png"]), .mini:has(img[src="https://icommclasses.com/images/icom-cma-removebg-preview.png"]) { width: auto; }
.ic img[src="https://icommclasses.com/images/icom-cma-removebg-preview.png"] { width: 112px !important; height: 48px !important; }
.mini img[src="https://icommclasses.com/images/icom-cma-removebg-preview.png"] { width: 92px !important; height: 40px !important; }

/* ===== Branch photos: zoom in on the signboard so it reads clearly ===== */
.br-photo { min-height: 280px; }
.br-photo img { object-position: var(--focus, center); transform: scale(1.35); transform-origin: var(--focus, center); }
.br-card:hover .br-photo img { transform: scale(1.45); }

/* ===== Phones: one large photo per row ===== */
@media (max-width: 760px) {
  .br-photo { min-height: 0; height: auto; aspect-ratio: 4 / 3; }
  .br-photo img { transform: scale(1.5); }
  .br-card:hover .br-photo img { transform: scale(1.5); }
}
@media (max-width: 600px) {
  .dir-cards { grid-template-columns: 1fr; gap: 20px; justify-items: center; }
  .dir-card, .dir-card:nth-child(2) { width: 100%; max-width: 380px; transform: none; }
  .dir-card:hover, .dir-card:nth-child(2):hover { transform: none; }
  .dir { padding-bottom: 28px; }
}

/* per-branch zoom (the West Mambalam sign is wider) */
.br-photo img, .br-card:hover .br-photo img { transform: scale(var(--zoom, 1.35)); }
@media (hover: hover) { .br-card:hover .br-photo img { transform: scale(calc(var(--zoom, 1.35) + .08)); } }

/* desktop/tablet: show the whole branch photo (square, no zoom) */
@media (min-width: 761px) {
  .br-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; }
  .br-photo { min-height: 0; aspect-ratio: 1 / 1; align-self: center; }
  .br-photo img, .br-card:hover .br-photo img { transform: none; object-position: center; }
}
@media (min-width: 761px) and (hover: hover) { .br-card:hover .br-photo img { transform: scale(1.04); } }

/* ===== Directors: tilted cards with an orange box behind ===== */
.dir-card { position: relative; isolation: isolate; overflow: visible; background: transparent; border: 0; box-shadow: none; transform: rotate(-3deg); }
.dir-card img { border: 6px solid #fff; border-radius: 20px; box-shadow: 0 16px 34px rgba(15, 31, 69, .16); background: #fff; }
.dir-card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: 22px; background: linear-gradient(135deg, #ff9a3c, #f05a14); transform: rotate(7deg); box-shadow: 0 14px 28px rgba(240, 90, 20, .25); }
.dir-card:nth-child(2) { transform: translateY(26px) rotate(3deg); }
.dir-card:nth-child(2)::before { transform: rotate(-7deg); }
.dir-card:hover { transform: rotate(0) translateY(-6px); box-shadow: none; }
.dir-card:nth-child(2):hover { transform: translateY(20px) rotate(0); }
.dir-card:hover img { box-shadow: 0 0 0 4px #f47a12, 0 20px 40px rgba(244, 122, 18, .25); }
@media (max-width: 600px) {
  .dir-cards { gap: 40px; padding: 14px 18px; }
  .dir-card, .dir-card:hover { transform: rotate(-3deg); max-width: 330px; }
  .dir-card:nth-child(2), .dir-card:nth-child(2):hover { transform: rotate(3deg); }
}

/* ===== Big FREE box: fill the space ===== */
.lm1-free.big { background: url("https://icommclasses.com/images/world-map.png") center 40% / 110% auto no-repeat, linear-gradient(140deg, #fff3e6, #ffe2c4); }
.free-list { position: relative; z-index: 1; list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; max-width: 64%; }
.free-list li { display: flex; align-items: flex-start; gap: 8px; font-size: 13.5px; font-weight: 500; color: #2d3446; line-height: 1.4; }
.free-list svg { width: 18px; height: 18px; flex-shrink: 0; color: #f07a00; }
.free-proof { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; max-width: 64%; margin-bottom: 18px; padding: 8px 14px 8px 8px; border-radius: 14px; background: rgba(255, 255, 255, .85); border: 1px solid #ffd2a8; box-shadow: 0 8px 18px rgba(240, 122, 0, .12); transition: transform .3s; }
.free-proof:hover { transform: translateY(-3px); }
.free-proof img { width: 48px; height: 60px; object-fit: cover; object-position: top; border-radius: 8px; flex-shrink: 0; }
.free-proof b { display: block; font-size: 13.5px; color: #0f1f45; }
.free-proof small { font-size: 12px; color: #8a4207; }
.lm1-free.big .books { width: 270px; height: 252px; right: -10px; bottom: 4px; }
@media (max-width: 520px) { .free-list, .free-proof { max-width: 100%; } .lm1-free.big { padding-bottom: 230px; } }

/* ===== Vijayadasami offer box (replaces the big FREE box) ===== */
.lm1-free.vj { padding-top: 46px; background: url("https://icommclasses.com/images/world-map.png") center 45% / 110% auto no-repeat, linear-gradient(150deg, #fff7e8 0%, #ffe6c2 55%, #ffd7a8 100%); border-color: #ffc98a; }
/* marigold + mango-leaf garland along the top */
.toran { position: absolute; left: 0; right: 0; top: 0; height: 30px; pointer-events: none;
  background:
    radial-gradient(circle at 12px 10px, #ff9f1c 0 7px, #f77f00 7px 8.5px, transparent 9px) 0 0 / 34px 22px repeat-x,
    radial-gradient(ellipse 6px 11px at 29px 16px, #2f9e44 0 70%, transparent 72%) 0 0 / 34px 30px repeat-x,
    linear-gradient(#d97706, #d97706) 0 3px / 100% 2px no-repeat; }
.vj-pill { background: linear-gradient(90deg, #b91c1c, #ea580c); }
.vj h3 span { color: #c2410c; }
.vj-class { position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; max-width: 64%; margin-bottom: 16px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1.5px dashed #f59e0b; box-shadow: 0 8px 18px rgba(234, 88, 12, .14); }
.vj-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: linear-gradient(135deg, #fbbf24, #ea580c); color: #fff; }
.vj-ic svg { width: 22px; height: 22px; }
.vj-class b { display: block; font-size: 15px; color: #7c2d12; }
.vj-class small { font-size: 12.5px; color: #4a3b2f; }
.vj .books { width: 230px; height: 215px; right: 60px; bottom: 6px; }
.diya { position: absolute; right: 4px; bottom: 6px; width: 120px; height: 120px; filter: drop-shadow(0 8px 12px rgba(194, 65, 12, .3)); animation: diya-glow 2.4s ease-in-out infinite; }
@keyframes diya-glow { 50% { filter: drop-shadow(0 8px 20px rgba(255, 179, 0, .6)); } }
@media (max-width: 520px) {
  .vj-class { max-width: 100%; }
  .vj .books { width: 170px; height: 160px; right: 80px; }
  .diya { width: 96px; height: 96px; }
  .lm1-free.big.vj { padding-bottom: 190px; }
}
@media (prefers-reduced-motion: reduce) { .diya { animation: none; } }

/* ===== Branches 2 · full photo 60 / 40 ===== */
.br-v2 .br-cards { grid-template-columns: 1fr; gap: 26px; }
.br-v2 .br-card { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 0; padding: 0; overflow: hidden; align-items: stretch; border-radius: 20px; }
.br-v2 .br-card:nth-child(2) { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); }
.br-v2 .br-card:nth-child(2) .br-photo { order: 2; }
.br-v2 .br-photo { position: relative; border-radius: 0; min-height: 360px; aspect-ratio: auto; align-self: stretch; }
.br-v2 .br-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus, center); transform: none; }
.br-v2 .br-card:hover .br-photo img { transform: scale(1.04); }
.br-v2 .br-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 70%, rgba(255, 255, 255, .25)); pointer-events: none; }
.br-v2 .br-info { justify-content: center; padding: 30px 32px; }
.br-v2 .br-info h4 { font-size: 26px; }
.br-v2 .br-line { font-size: 15px; }
.br-v2 .br-perks span { font-size: 12px; }
.br-v2 .br-perks i { width: 32px; height: 32px; }
.br-v2 .br-btn { margin-top: 6px; }
@media (max-width: 760px) {
  .br-v2 .br-card, .br-v2 .br-card:nth-child(2) { grid-template-columns: 1fr; }
  .br-v2 .br-card:nth-child(2) .br-photo { order: 0; }
  .br-v2 .br-photo { min-height: 0; aspect-ratio: 4 / 3; }
  .br-v2 .br-photo img { transform: scale(var(--zoom, 1.3)); transform-origin: var(--focus, center); }
  .br-v2 .br-info { padding: 22px 18px 24px; }
  .br-v2 .br-info h4 { font-size: 22px; }
}

/* ===== Vijayadasami v2: big ribbon title ===== */
.vj-ribbon { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; width: calc(100% + 28px); margin: 6px -28px 18px -28px; padding: 14px 40px 14px 28px;
  background: linear-gradient(100deg, #9f1239 0%, #c2410c 55%, #ea580c 100%);
  clip-path: polygon(0 0, 100% 0, calc(100% - 22px) 50%, 100% 100%, 0 100%);
  box-shadow: 0 12px 24px rgba(159, 18, 57, .25); }
.vj-ribbon::before { content: ""; position: absolute; inset: 5px 30px 5px 0; border-top: 1.5px dashed rgba(253, 230, 138, .7); border-bottom: 1.5px dashed rgba(253, 230, 138, .7); pointer-events: none; }
.vj-lamp { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; background: radial-gradient(circle at 50% 40%, #fff7d6, #fde68a 60%, #f59e0b); box-shadow: 0 0 0 3px rgba(253, 230, 138, .45), 0 0 22px rgba(255, 209, 102, .8); color: #c2410c; }
.vj-lamp svg { width: 28px; height: 28px; }
.vj-title { display: flex; flex-direction: column; line-height: 1.05; }
.vj-title small { font-family: "Caveat", cursive; font-size: 26px; font-weight: 700; color: #fde68a; letter-spacing: .02em; }
.vj-title b { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; color: #fff; letter-spacing: -.01em; text-shadow: 0 2px 8px rgba(0, 0, 0, .2); }
.vj-lead { position: relative; z-index: 1; margin: 0 0 18px !important; max-width: 70% !important; font-size: 16px !important; line-height: 1.6 !important; color: #43302b !important; }
.vj-lead b { color: #9a3412; font-weight: 700; }
.vj-class b em { font-style: normal; display: inline-block; margin-right: 4px; padding: 1px 8px; border-radius: 6px; background: #dc2626; color: #fff; font-size: 12px; letter-spacing: .06em; vertical-align: 2px; }
.lm1-free.vj { padding-top: 40px; }
@media (max-width: 520px) {
  .vj-ribbon { width: calc(100% + 20px); margin-left: -20px; padding-left: 20px; }
  .vj-lead { max-width: 100% !important; }
}

/* ===== Branches 1 · photo covers the full left side of the card (desktop/tablet) ===== */
@media (min-width: 761px) {
  .br:not(.br-v2) .br-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0; padding: 0; overflow: hidden; align-items: stretch; }
  .br:not(.br-v2) .br-photo { position: relative; aspect-ratio: auto; min-height: 100%; border-radius: 0; align-self: stretch; }
  .br:not(.br-v2) .br-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--focus-d, center); transform: none; }
  .br:not(.br-v2) .br-card:hover .br-photo img { transform: scale(1.04); }
  .br:not(.br-v2) .br-info { padding: 22px 20px 22px 22px; justify-content: center; }
}

/* =====================================================================
   Results · AIR 1 Proud Moment
   ===================================================================== */
.air { position: relative; overflow: hidden; display: grid; gap: 18px 34px; align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .85fr) minmax(0, .8fr);
  grid-template-areas: "head photo side" "body photo side";
  padding: 34px 38px; border-radius: 22px; background: linear-gradient(120deg, #ffffff 0%, #fff8ee 45%, #eef4ff 100%); border: 1px solid #f1e6da; }
.air-blob { position: absolute; border-radius: 50%; pointer-events: none; }
.air-blob.b1 { width: 340px; height: 340px; left: -120px; bottom: -160px; background: radial-gradient(circle, rgba(255, 171, 61, .22), transparent 70%); }
.air-blob.b2 { width: 380px; height: 380px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(79, 140, 255, .18), transparent 70%); }
.air > *:not(.air-blob) { position: relative; }
.air-head { grid-area: head; align-self: end; }
.air-body { grid-area: body; align-self: start; }
.air-photo { grid-area: photo; }
.air-side { grid-area: side; display: flex; flex-direction: column; align-items: center; gap: 10px; }

.air-logo { width: 230px; max-width: 100%; height: auto; display: block; margin-bottom: 18px; }
.air-proud { margin: 0; font-family: "Caveat", cursive; font-size: 44px; font-weight: 700; color: #16306b; transform: rotate(-5deg); transform-origin: left; }
.air-kicker { margin: 4px 0 0; font-size: 17px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #13203f; }
.air-big { margin: -4px 0 10px; display: flex; align-items: flex-end; gap: 10px; font-size: clamp(76px, 9vw, 124px); font-weight: 800; line-height: .95; letter-spacing: -.02em; }
.air-air { color: #13306b; }
.air-one { position: relative; background: linear-gradient(180deg, #ffb347, #f26a0c); -webkit-background-clip: text; background-clip: text; color: transparent; }
.air-one .crown { position: absolute; left: 50%; top: -.28em; width: .42em; height: .42em; transform: translateX(-50%) rotate(12deg); color: #f5b300; filter: drop-shadow(0 3px 4px rgba(196, 127, 0, .35)); }
.air-exam { display: inline-block; padding: 8px 18px; border-radius: 10px; background: linear-gradient(90deg, #ff8a2a, #f05a14); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; box-shadow: 0 8px 18px rgba(240, 90, 20, .28); }
.air-body p { margin: 0 0 6px; max-width: 420px; font-size: 16px; line-height: 1.6; color: #2d3446; }
.air-body b { color: #13306b; }
.air-shine { font-family: "Caveat", cursive; font-size: 34px !important; font-weight: 700; color: #f26a0c !important; transform: rotate(-4deg); transform-origin: left; margin: 8px 0 18px !important; }

.air-photo { padding: 18px 14px 26px; }
.air-frame-bg { position: absolute; inset: 6px 0 12px 22px; border-radius: 24px; background: linear-gradient(135deg, #ffcf7a, #f5a623); transform: rotate(5deg); }
.air-frame { position: relative; border-radius: 22px; background: #fff; padding: 8px; box-shadow: 0 22px 44px rgba(19, 48, 107, .22); transform: rotate(-3deg); transition: transform .5s; }
.air-photo:hover .air-frame { transform: rotate(0); }
/* crop Vignesh from the left part of the poster (x 0–49%, y 5–67%) */
.air-crop { position: relative; aspect-ratio: 550 / 1000; overflow: hidden; border-radius: 16px; background: #7a1d0c; }
.air-crop img { position: absolute; left: 0; top: -8%; width: 233%; max-width: none; height: auto; }
.air-name { position: absolute; left: -12px; bottom: 18px; display: flex; flex-direction: column; align-items: flex-start; }
.air-name b { padding: 9px 20px; border-radius: 10px 10px 10px 0; background: #13306b; color: #fff; font-size: 20px; letter-spacing: .03em; box-shadow: 0 8px 18px rgba(19, 48, 107, .35); }
.air-name span { margin-left: 22px; padding: 3px 16px; border-radius: 0 0 10px 10px; background: #fbbf24; color: #13203f; font-size: 16px; font-weight: 800; }

.air-quote { position: relative; margin: 0; padding: 26px 24px 22px 30px; border-radius: 16px; background: #fff7e3; border: 1px solid #fde4b0; box-shadow: 0 14px 28px rgba(19, 48, 107, .12); transform: rotate(3deg); }
.air-quote::before { content: ""; position: absolute; left: 50%; top: -10px; width: 70px; height: 20px; transform: translateX(-50%) rotate(-3deg); background: rgba(255, 210, 140, .75); border-radius: 3px; }
.air-quote .q { position: absolute; left: 10px; top: -6px; font-family: Georgia, serif; font-size: 70px; line-height: 1; color: #f26a0c; }
.air-quote p { margin: 0; font-size: 18px; line-height: 1.5; color: #13203f; font-weight: 500; }
.air-quote b { color: #13306b; font-weight: 800; }
.air-trophy { width: 190px; height: 178px; filter: drop-shadow(0 12px 16px rgba(196, 127, 0, .25)); }

@media (max-width: 1000px) {
  .air { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head head" "photo side" "body body"; padding: 28px 24px; }
  .air-head, .air-body { align-self: auto; }
}
@media (max-width: 560px) {
  .air { gap: 14px 12px; padding: 20px 14px; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
  .air-logo { width: 170px; margin-bottom: 10px; }
  .air-proud { font-size: 34px; }
  .air-kicker { font-size: 14px; }
  .air-big { font-size: 84px; }
  .air-exam { font-size: 12.5px; padding: 6px 12px; }
  .air-photo { padding: 10px 6px 18px; }
  .air-name { left: -6px; bottom: 10px; }
  .air-name b { font-size: 13px; padding: 6px 10px; }
  .air-name span { font-size: 12px; margin-left: 10px; padding: 2px 10px; }
  .air-quote { padding: 18px 12px 14px 18px; }
  .air-quote .q { font-size: 46px; left: 4px; }
  .air-quote p { font-size: 13px; }
  .air-trophy { width: 110px; height: 104px; }
  .air-body p { font-size: 14.5px; }
  .air-shine { font-size: 28px !important; }
}

/* keep the crown clear of the "Our Student Achieves" line */
.air-big { margin-top: 14px; }
@media (max-width: 560px) { .air-big { margin-top: 20px; } }

/* ===== AIR 1 · alignment pass (desktop + mobile) ===== */
/* desktop: bigger logo + AIR 1, bigger photo, trophy overlapping toward the photo */
.air { grid-template-columns: minmax(0, 1fr) minmax(0, .95fr) minmax(0, .75fr); gap: 10px 30px; padding: 36px 40px 40px; }
.air-logo { width: 280px; margin-bottom: 22px; }
.air-proud { font-size: 48px; }
.air-big { font-size: clamp(84px, 10vw, 140px); margin: 16px 0 14px; }
.air-exam { font-size: 16px; padding: 9px 20px; }
.air-body { padding-top: 6px; }
.air-photo { padding: 20px 16px 30px; }
.air-side { align-self: center; gap: 0; }
.air-quote { width: 100%; }
.air-trophy { width: 210px; height: 196px; margin: 8px 0 0 -70px; align-self: flex-start; }

/* tablet */
@media (max-width: 1000px) {
  .air { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 30px 26px; }
  .air-head { text-align: center; }
  .air-logo { margin: 0 auto 16px; }
  .air-proud { transform-origin: center; }
  .air-big { justify-content: center; }
  .air-trophy { margin: 8px auto 0; align-self: center; }
}

/* phone: centred heading block, photo + quote side by side, message below */
@media (max-width: 560px) {
  .air { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 12px; padding: 22px 14px 24px; }
  .air-head { text-align: center; }
  .air-logo { width: 190px; margin: 0 auto 10px; }
  .air-proud { font-size: 34px; transform-origin: center; }
  .air-kicker { font-size: 13.5px; }
  .air-big { font-size: 88px; margin: 18px 0 10px; justify-content: center; }
  .air-exam { font-size: 12.5px; padding: 7px 14px; }
  .air-photo { padding: 10px 8px 18px; align-self: center; }
  .air-side { align-self: center; }
  .air-quote { padding: 18px 10px 14px 16px; }
  .air-quote p { font-size: 12.5px; line-height: 1.45; }
  .air-trophy { width: 104px; height: 98px; margin: 6px auto 0; align-self: center; }
  .air-body { text-align: center; padding-top: 4px; }
  .air-body p { margin-left: auto; margin-right: auto; }
  .air-shine { transform-origin: center; }
}
@media (max-width: 1000px) { .air-photo, .air-side { margin-top: 14px; } }

/* =====================================================================
   Vijayadasami Special Offer box (v3, festive scene)
   ===================================================================== */
.lm1-free.vj2 { padding: 26px 26px 28px; background: radial-gradient(circle at 78% 40%, #fff3d6 0%, transparent 55%), linear-gradient(160deg, #fffaf0 0%, #ffe9cc 55%, #ffd9a8 100%); border: 1px solid #ffd2a0; display: block; min-height: 560px; }
.vj2 .books { display: none; }
.vj2-content { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; max-width: 60%; }
.vj2-logo { width: 190px; height: auto; margin-bottom: 14px; }
.vj2-script { margin: 0; font-family: "Caveat", cursive; font-size: 48px; font-weight: 700; line-height: 1; color: #14306b; }
.vj2-brush { position: relative; margin: 4px 0 16px; padding: 6px 26px 10px 18px; transform: rotate(-3deg);
  background: linear-gradient(90deg, #f05a14, #ff8a2a 70%, rgba(255, 138, 42, .85));
  clip-path: polygon(2% 12%, 30% 0, 70% 6%, 100% 0, 97% 48%, 100% 100%, 64% 92%, 30% 100%, 0 90%, 3% 50%); }
.vj2-brush span { font-size: clamp(28px, 3vw, 36px); font-weight: 800; color: #fff; letter-spacing: -.01em; white-space: nowrap; }
.vj2-lead { margin: 0 0 16px; font-size: 15px; line-height: 1.6; color: #2b2f3a; }
.vj2-lead b { color: #ea580c; font-weight: 700; }
.vj2-card { display: flex; align-items: center; gap: 12px; width: 100%; margin-bottom: 16px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #ffd9b0; box-shadow: 0 8px 18px rgba(234, 88, 12, .12); }
.vj2-gift { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex-shrink: 0; background: linear-gradient(135deg, #ffb347, #f05a14); color: #fff; }
.vj2-gift svg { width: 24px; height: 24px; }
.vj2-card em { display: inline-block; padding: 1px 8px; border-radius: 6px; background: #f05a14; color: #fff; font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .06em; }
.vj2-card b { display: block; margin-top: 2px; font-size: 16px; color: #14306b; }
.vj2-card small { display: block; font-size: 12.5px; line-height: 1.45; color: #4a4f5c; }
.vj2-list { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 8px; }
.vj2-list li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: #2b2f3a; }
.vj2-list svg { width: 18px; height: 18px; color: #f07a00; flex-shrink: 0; }

.vj2-garland { position: absolute; z-index: 3; top: -8px; right: -8px; width: 180px; height: 130px; }
.vj2-scene { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.vj2-temple { position: absolute; right: 26px; top: 92px; width: 190px; height: 218px; color: #e9a96a; opacity: .35; }
.vj2-board { position: absolute; right: 20px; top: 190px; width: 132px; padding: 14px 10px; border-radius: 6px; background: #22302a; border: 7px solid #8b5a2b; box-shadow: 0 10px 18px rgba(0, 0, 0, .25); transform: rotate(2deg); display: flex; flex-direction: column; align-items: center; font-family: "Caveat", cursive; font-size: 24px; font-weight: 700; line-height: 1.05; color: #fff; }
.vj2-lamp { position: absolute; right: 168px; bottom: 34px; width: 74px; height: 172px; filter: drop-shadow(0 8px 10px rgba(183, 121, 31, .35)); animation: vj2-flicker 2.6s ease-in-out infinite; }
@keyframes vj2-flicker { 50% { filter: drop-shadow(0 8px 18px rgba(255, 193, 51, .7)); } }
.vj2-books { position: absolute; right: 14px; bottom: 30px; width: 176px; height: 136px; }
.vj2-flowers { position: absolute; width: 96px; height: 48px; }
.vj2-flowers.f1 { right: 150px; bottom: 14px; }
.vj2-flowers.f2 { right: -8px; bottom: 6px; width: 80px; }
.vj2-floor { position: absolute; left: 0; right: 0; bottom: 0; height: 46px; background: linear-gradient(180deg, #c98a4b, #9a5f2c); box-shadow: inset 0 3px 0 rgba(255, 255, 255, .25); clip-path: polygon(38% 0, 100% 0, 100% 100%, 30% 100%); }

/* tablet: the box spans full width, keep the scene on the right */
@media (max-width: 1100px) { .lm1-free.vj2 { min-height: 520px; } .vj2-content { max-width: 56%; } }
/* phone: content first, festive scene as a band below */
@media (max-width: 640px) {
  .lm1-free.vj2 { min-height: 0; padding: 22px 18px 0; }
  .vj2-content { max-width: 100%; }
  .vj2-logo { width: 160px; }
  .vj2-script { font-size: 40px; }
  .vj2-scene { position: relative; inset: auto; height: 250px; margin: 18px -18px 0; }
  .vj2-temple { top: 6px; right: 50%; transform: translateX(50%); }
  .vj2-board { top: 20px; right: 16px; width: 116px; font-size: 21px; }
  .vj2-lamp { right: auto; left: 22px; bottom: 30px; height: 160px; }
  .vj2-books { right: 12px; bottom: 28px; width: 160px; height: 124px; }
  .vj2-flowers.f1 { right: auto; left: 76px; bottom: 10px; }
  .vj2-floor { clip-path: none; }
  .vj2-garland { width: 130px; height: 94px; }
}
@media (prefers-reduced-motion: reduce) { .vj2-lamp { animation: none; } }

/* vj2: override the older .lm1-free p / h3 rules */
.lm1-free.vj2 .vj2-content p { max-width: none; margin: 0; position: relative; z-index: 1; }
.lm1-free.vj2 .vj2-script { font-size: 50px; line-height: 1; color: #14306b; font-weight: 700; }
.lm1-free.vj2 .vj2-brush { margin: 6px 0 16px; width: max-content; max-width: none; }
.lm1-free.vj2 .vj2-lead { margin-bottom: 16px; font-size: 15px; line-height: 1.6; color: #2b2f3a; }
.lm1-free.vj2 .vj2-list { max-width: 250px; }
.vj2-lamp { right: 160px; bottom: 34px; height: 142px; width: 62px; }
.vj2-flowers.f1 { right: 136px; }
@media (max-width: 640px) {
  .lm1-free.vj2 .vj2-script { font-size: 42px; }
  .lm1-free.vj2 .vj2-list { max-width: none; }
  .vj2-lamp { right: auto; left: 26px; height: 150px; width: 66px; }
  .vj2-flowers.f1 { right: auto; left: 70px; }
}

/* vj2: floor behind everything, books/lamp/flowers in front */
.vj2-floor { z-index: 0; }
.vj2-temple, .vj2-board, .vj2-lamp, .vj2-books, .vj2-flowers { z-index: 1; }
@media (max-width: 640px) {
  .lm1-free.vj2 { display: flex; flex-direction: column; }
  .vj2-scene { order: 2; }
  .vj2-books { bottom: 34px; }
  .vj2-floor { height: 40px; }
}
@media (max-width: 640px) { .vj2-scene { align-self: stretch; width: auto; } .vj2-content { align-self: stretch; } }

/* ===== Learning Mode 4 · offer as image ===== */
.lm1-vjimg { align-items: center; }
.vj-img { display: block; border-radius: 18px; overflow: hidden; box-shadow: 0 16px 34px rgba(240, 122, 0, .2); transition: transform .35s, box-shadow .35s; }
.vj-img img { width: 100%; height: auto; display: block; }
.vj-img:hover { transform: translateY(-6px); box-shadow: 0 24px 44px rgba(240, 122, 0, .28); }
.vj-img:focus-visible { outline: 3px solid #f07a00; outline-offset: 4px; }
@media (max-width: 1100px) { .vj-img { max-width: 560px; width: 100%; justify-self: center; } }


/* group jump links */
.jump-groups { margin-bottom: 10px; }
.jump-groups a { background: var(--navy); color: #fff; border-color: var(--navy); font-weight: 600; }
.jump-groups a:hover { background: #f07a00; border-color: #f07a00; }
.group { scroll-margin-top: 16px; }
