/* Home page - modern student-friendly UI. Colours taken from the college logo: saffron / orange, white, lotus pink, a touch of sky blue. */
:root {
  --saffron: #f58220;
  --orange: #e8590c;
  --amber: #ffb703;
  --cream: #fff7ee;
  --peach: #ffe8d1;
  --lotus: #e9577e;
  --sky: #2f80c8;
  --ink: #1d2433;
  --muted: #5d6679;
  --line: #f0e3d3;
  --white: #fff;
  --grad: linear-gradient(135deg, #ff9a2e 0%, #f58220 45%, #e8590c 100%);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(232, 89, 12, .12);
  --shadow-lg: 0 24px 60px rgba(29, 36, 51, .18);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.hm { margin: 0; overflow-x: hidden; font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--white); line-height: 1.65; font-size: 16px; -webkit-font-smoothing: antialiased; }
.hm img { max-width: 100%; display: block; }
.hm a { color: inherit; text-decoration: none; }
.hm ul { list-style: none; margin: 0; padding: 0; }
.hm h1, .hm h2, .hm h3, .hm h4, .hm p { margin: 0; }
.hm .wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.hm .serif { font-family: 'Playfair Display', Georgia, serif; }

/* ---------- 1. top bar ---------- */
.hm-top { background: var(--grad); color: #fff; font-size: 13.5px; }
.hm-top .wrap { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 40px; flex-wrap: wrap; }
.hm-top .group { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.hm-top a { opacity: .95; transition: opacity .2s; }
.hm-top a:hover { opacity: 1; text-decoration: underline; }
.hm-top i { margin-right: 6px; }
.hm-top .tour { background: #fff; color: var(--orange); font-weight: 600; padding: 3px 14px; border-radius: 99px; opacity: 1; }
.hm-top .tour:hover { text-decoration: none; background: var(--cream); }
.hm-top .soc a { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .2); margin-left: 6px; }
.hm-top .soc a:hover { background: #fff; color: var(--orange); text-decoration: none; }
.hm-top .soc i { margin: 0; }

/* ---------- 2. brand header ---------- */
.hm-brand { background: #fff; }
.hm-brand .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 0; flex-wrap: wrap; }
.hm-logo { display: flex; align-items: center; gap: 18px; }
.hm-emblem { width: 96px; height: 96px; flex: none; background: var(--hm-emblem) no-repeat center / contain; filter: drop-shadow(0 4px 10px rgba(232, 89, 12, .3)); }
.hm-logo h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(28px, 4vw, 44px); line-height: 1.05; letter-spacing: .5px; font-weight: 800; color: var(--ink); }
.hm-logo h1 span { color: var(--orange); }
.hm-logo p { font-size: 13.5px; color: var(--muted); margin-top: 6px; }
.hm-logo p b { color: var(--orange); font-weight: 600; }
.hm-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.hm-badge { display: flex; align-items: center; gap: 10px; background: var(--cream); border: 1px dashed var(--saffron); border-radius: 14px; padding: 8px 16px; font-size: 13px; line-height: 1.3; }
.hm-badge b { display: block; font-size: 17px; color: var(--orange); letter-spacing: 1px; }
.hm-btn { display: inline-flex; align-items: center; gap: 8px; padding: 11px 26px; border-radius: 99px; font-weight: 600; font-size: 15px; border: 2px solid transparent; transition: transform .2s, box-shadow .2s, background .2s, color .2s; cursor: pointer; }
.hm-btn:hover { transform: translateY(-2px); }
.hm-btn.primary { background: var(--grad); color: #fff; box-shadow: 0 8px 20px rgba(232, 89, 12, .35); }
.hm-btn.ghost { border-color: #fff; color: #fff; }
.hm-btn.ghost:hover { background: #fff; color: var(--orange); }
.hm-btn.line { border-color: var(--saffron); color: var(--orange); }
.hm-btn.line:hover { background: var(--saffron); color: #fff; }

/* ---------- 3. main navigation ---------- */
.hm-nav { background: var(--ink); position: sticky; top: 0; z-index: 50; box-shadow: 0 4px 18px rgba(0, 0, 0, .18); border-top: 3px solid var(--saffron); }
.hm-nav .wrap { display: flex; align-items: center; justify-content: space-between; }
.hm-menu { display: flex; flex-wrap: wrap; }
.hm-nav .wrap { position: relative; }
.hm-menu > li { position: static; }
.hm-menu > li > a { display: block; padding: 15px 12px; color: #fff; font-size: 13.5px; font-weight: 500; letter-spacing: .3px; transition: background .2s, color .2s; position: relative; }
.hm-menu > li:hover > a { color: var(--amber); }
.hm-menu .has > a i { font-size: 10px; margin-left: 6px; opacity: .7; transition: transform .25s; }
.hm-menu .has:hover > a i { transform: rotate(180deg); }
/* mega dropdown: titled columns */
.hm-menu .mega { position: absolute; top: 100%; left: 0; width: min(100%, calc(var(--n) * 360px)); display: grid; grid-template-columns: repeat(var(--n), 1fr); background: #fff; border-radius: 0 0 20px 20px; box-shadow: var(--shadow-lg); border-top: 3px solid var(--saffron); overflow: hidden; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .22s, transform .22s, visibility .22s; }
.hm-menu > li:last-of-type .mega { left: auto; right: 0; }
.hm-menu > li:hover > .mega, .hm-menu > li:focus-within > .mega { opacity: 1; visibility: visible; transform: none; }
.hm-menu .mega .col { padding: 26px 28px 30px; border-left: 1px solid var(--line); }
.hm-menu .mega .col:first-child { border-left: 0; }
.hm-menu .mega .col:nth-child(even) { background: #fff9f2; }
.hm-menu .mega h5 { font-family: 'Playfair Display', serif; font-size: 21px; font-weight: 700; color: #ff9a2e; margin: 0 0 2px; }
.hm-menu .mega small { display: block; font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 14px; }
.hm-menu .mega ul { padding: 0; margin: 0; list-style: none; }
.hm-menu .mega ul.two { column-count: 2; column-gap: 20px; }
.hm-menu .mega li { break-inside: avoid; }
.hm-menu .mega a { display: block; padding: 7px 0; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: color .2s, transform .2s; }
.hm-menu .mega a:hover { color: var(--orange); transform: translateX(5px); }
.hm-menu > li.hot > a { color: var(--amber); font-weight: 700; }
.hm-burger { display: none; background: none; border: 0; color: #fff; font-size: 15px; padding: 14px 0; cursor: pointer; font-family: inherit; }
.hm-burger i { margin-right: 8px; font-size: 20px; vertical-align: middle; }

/* ---------- 4. hero: clean fading banner ---------- */
.hm-hero { background: var(--cream); padding: 28px 0 74px; }
.hm-stage { position: relative; aspect-ratio: 2 / 1; max-height: 600px; border-radius: 24px; overflow: hidden; background: #e9e2d8; box-shadow: 0 18px 44px rgba(29, 36, 51, .16); touch-action: pan-y; user-select: none; }
.hm-card { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity .7s ease, visibility .7s; }
.hm-card.on { opacity: 1; visibility: visible; z-index: 2; }
.hm-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.hm-stage .hm-arrow { position: absolute; top: 50%; z-index: 5; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); font-size: 24px; cursor: pointer; display: grid; place-items: center; padding: 0; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); transition: background .2s, color .2s; }
.hm-stage .hm-arrow:hover { background: var(--saffron); color: #fff; }
.hm-stage .hm-arrow.prev { left: 14px; } .hm-stage .hm-arrow.next { right: 14px; }
.hm-under { display: flex; justify-content: space-between; align-items: center; gap: 28px; padding: 26px 6px 0; flex-wrap: wrap; }
.hm-under .caps { display: grid; flex: 1; min-width: 260px; }
.hm-under .cap { grid-area: 1 / 1; opacity: 0; transition: opacity .45s; pointer-events: none; }
.hm-under .cap.on { opacity: 1; pointer-events: auto; }
.hm-under .tag { display: inline-block; color: var(--orange); font-size: 12.5px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 4px; }
.hm-under h2 { font-family: 'Playfair Display', serif; font-size: clamp(24px, 3vw, 36px); font-weight: 800; line-height: 1.15; color: var(--ink); }
.hm-under h2 em { font-style: normal; color: var(--orange); }
.hm-under p { color: var(--muted); font-size: 15px; margin-top: 6px; max-width: 580px; }
.hm-under .side { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.hm-pills { display: flex; gap: 8px; }
.hm-pills button { position: relative; width: 28px; height: 6px; padding: 0; border: 0; border-radius: 99px; background: #e2d6c6; cursor: pointer; overflow: hidden; transition: width .3s; }
.hm-pills button.on { width: 54px; }
.hm-pills button i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--orange); }

/* ---------- 5. quick access ---------- */
.hm-quick { position: relative; z-index: 10; margin-top: -42px; }
.hm-quick .grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; }
.hm-quick a { background: #fff; border-radius: var(--radius); padding: 18px 8px; text-align: center; box-shadow: var(--shadow-lg); font-weight: 600; font-size: 14.5px; transition: transform .25s, background .25s, color .25s; border-bottom: 4px solid var(--saffron); }
.hm-quick a i { display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 16px; background: var(--peach); color: var(--orange); font-size: 24px; transition: all .25s; }
.hm-quick a:hover { transform: translateY(-8px); background: var(--grad); color: #fff; }
.hm-quick a:hover i { background: rgba(255, 255, 255, .25); color: #fff; }

/* ---------- section scaffolding ---------- */
.hm-sec { padding: 84px 0; position: relative; }
.hm-sec.tint { background: var(--cream); }
.hm-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.hm-head .eyebrow { display: inline-block; color: var(--orange); font-weight: 600; letter-spacing: 3px; font-size: 13px; text-transform: uppercase; position: relative; padding: 0 44px; }
.hm-head .eyebrow::before, .hm-head .eyebrow::after { content: ''; position: absolute; top: 50%; width: 32px; height: 2px; background: var(--saffron); }
.hm-head .eyebrow::before { left: 0; } .hm-head .eyebrow::after { right: 0; }
.hm-head h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin: 8px 0 12px; line-height: 1.15; }
.hm-head h2 span { color: var(--orange); }
.hm-head p { color: var(--muted); }

/* ---------- 6. about ---------- */
.hm-about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.hm-photo { position: relative; padding: 0 0 28px 28px; }
.hm-photo::before { content: ''; position: absolute; inset: 28px 28px 0 0; border-radius: 28px; background: var(--grad); }
.hm-photo img { position: relative; border-radius: 28px; width: 100%; aspect-ratio: 4/4.2; object-fit: cover; box-shadow: var(--shadow-lg); }
.hm-photo .est { position: absolute; left: 0; bottom: 0; background: #fff; border-radius: 20px; padding: 14px 24px; box-shadow: var(--shadow-lg); text-align: center; }
.hm-photo .est b { display: block; font-family: 'Playfair Display', serif; font-size: 36px; line-height: 1; color: var(--orange); }
.hm-photo .est span { font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); }
.hm-about .eyebrow { color: var(--orange); font-weight: 600; letter-spacing: 3px; font-size: 13px; text-transform: uppercase; }
.hm-about h2 { font-family: 'Playfair Display', serif; font-size: clamp(30px, 4vw, 44px); font-weight: 800; line-height: 1.15; margin: 8px 0 22px; }
.hm-about h2 span { color: var(--orange); }
.hm-vm { display: grid; gap: 16px; margin-bottom: 26px; }
.hm-vm .card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--saffron); border-radius: 16px; padding: 18px 20px; box-shadow: var(--shadow); }
.hm-vm .card > i { flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--peach); color: var(--orange); display: grid; place-items: center; font-size: 20px; }
.hm-vm h3 { font-size: 17px; margin-bottom: 4px; color: var(--orange); }
.hm-vm p { font-size: 14.5px; color: var(--muted); }
.hm-vm a.inline { color: var(--orange); font-weight: 600; border-bottom: 1px dashed var(--orange); }
.hm-about .links { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 7. counters ---------- */
.hm-stats { position: relative; padding: 72px 0; overflow: hidden; color: var(--ink);
  background:
    radial-gradient(520px 260px at 4% 0%, rgba(245, 130, 32, .18), transparent 70%),
    radial-gradient(520px 260px at 98% 100%, rgba(255, 183, 3, .20), transparent 70%),
    radial-gradient(rgba(232, 89, 12, .16) 1.2px, transparent 1.5px) 0 0 / 24px 24px,
    linear-gradient(180deg, #fff3e4 0%, #ffe6cc 100%); }
.hm-stats .grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.hm-stats .st { --c1: #ff9a2e; --c2: #e8590c; --tint: #ffe9d2;
  position: relative; text-align: center; padding: 34px 16px 26px; border-radius: 26px; background: #fff; border: 1px solid #ffd9b3; overflow: hidden;
  box-shadow: 0 1px 0 #fff inset, 0 14px 34px rgba(232, 89, 12, .14);
  transition: opacity .45s calc(var(--i) * .09s), transform .45s calc(var(--i) * .09s) cubic-bezier(.3, 1.4, .5, 1), box-shadow .3s, border-color .3s; }
.hm-stats .st::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.hm-stats .st::after { content: ''; position: absolute; right: -46px; bottom: -46px; width: 140px; height: 140px; border-radius: 50%; background: var(--tint); transition: transform .5s; z-index: 0; }
.hm-stats .st > * { position: relative; z-index: 1; }
.hm-stats .st:hover { transform: translateY(-10px); border-color: var(--c1); box-shadow: 0 26px 50px rgba(29, 36, 51, .14); }
.hm-stats .st:hover::after { transform: scale(2.6); }
.js:not(.no-io) .hm-stats:not(.in) .st { opacity: 0; transform: translateY(30px) scale(.92); }
.hm-stats .ico { position: relative; display: grid; place-items: center; width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 22px; background: linear-gradient(135deg, var(--c1), var(--c2)); color: #fff; font-size: 30px; box-shadow: 0 14px 28px color-mix(in srgb, var(--c2) 40%, transparent); transform: rotate(-6deg); transition: transform .35s; }
.hm-stats .ico::after { content: ''; position: absolute; inset: -9px; border-radius: 28px; border: 2px solid var(--c1); opacity: 0; animation: ringPulse 2.4s ease-out infinite; animation-delay: calc(var(--i) * .35s); }
@keyframes ringPulse { from { transform: scale(.88); opacity: .8; } to { transform: scale(1.28); opacity: 0; } }
.hm-stats .st:hover .ico { transform: rotate(0) scale(1.1); }
.hm-stats .num { display: block; font-family: 'Poppins', system-ui, sans-serif; font-size: clamp(40px, 4.8vw, 60px); font-weight: 700; line-height: 1.1; letter-spacing: -1.5px; font-variant-numeric: lining-nums tabular-nums; color: var(--ink); }
.hm-stats .num sup { font-size: .5em; font-weight: 700; letter-spacing: 0; vertical-align: top; position: relative; top: .1em; margin-left: 2px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hm-stats .num::after { content: ''; display: block; width: 34px; height: 4px; border-radius: 4px; background: var(--grad); margin: 8px auto 6px; transition: width .4s; }
.hm-stats .st:hover .num::after { width: 64px; }
.hm-stats .lbl { display: block; letter-spacing: 2px; text-transform: uppercase; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-top: 2px; }
.hm-stats .bar { display: block; height: 5px; border-radius: 5px; background: var(--tint); margin: 18px auto 0; width: 60%; overflow: hidden; }
.hm-stats .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--c1), var(--c2)); border-radius: 5px; transition: width 1.1s .3s cubic-bezier(.22, .8, .24, 1); }
.hm-stats.in .bar i { width: 100%; }

/* ---------- 8. courses: interactive tabs ---------- */
.hm-cx { display: grid; grid-template-columns: 320px 1fr; gap: 26px; align-items: stretch; }
.hm-cx .tabs { display: flex; flex-direction: column; gap: 12px; }
.hm-cx .tabs button { display: flex; align-items: center; gap: 14px; text-align: left; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; cursor: pointer; font: inherit; color: var(--ink); box-shadow: var(--shadow); transition: all .3s; }
.hm-cx .tabs .ic { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--peach); color: var(--orange); font-size: 21px; transition: all .3s; }
.hm-cx .tabs .lb { flex: 1; font-weight: 600; font-size: 15.5px; line-height: 1.3; }
.hm-cx .tabs .lb small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); }
.hm-cx .tabs .ar { font-size: 12px; opacity: .35; transition: all .3s; }
.hm-cx .tabs button:hover { transform: translateX(6px); }
.hm-cx .tabs button.on { background: var(--grad); color: #fff; border-color: transparent; transform: translateX(10px); box-shadow: 0 16px 34px rgba(232, 89, 12, .38); }
.hm-cx .tabs button.on .ic { background: rgba(255, 255, 255, .25); color: #fff; }
.hm-cx .tabs button.on .lb small { color: rgba(255, 255, 255, .85); }
.hm-cx .tabs button.on .ar { opacity: 1; margin-right: -4px; }
.hm-cx .panes { background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-lg); padding: 34px; position: relative; overflow: hidden; min-height: 380px; }
.hm-cx .panes::before { content: ''; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(var(--peach), transparent 70%); }
.hm-cx .pane { display: none; position: relative; }
.hm-cx .pane.on { display: block; animation: paneIn .55s cubic-bezier(.22, .8, .24, 1); }
@keyframes paneIn { from { opacity: 0; transform: translateX(34px); } to { opacity: 1; transform: none; } }
.hm-cx .ph { display: flex; align-items: center; gap: 20px; margin-bottom: 26px; flex-wrap: wrap; }
.hm-cx .ph .big { width: 82px; height: 82px; border-radius: 24px; background: var(--grad); color: #fff; font-size: 36px; display: grid; place-items: center; box-shadow: 0 16px 30px rgba(232, 89, 12, .35); animation: bob 3.2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-8px) rotate(-4deg); } }
.hm-cx .ph h3 { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 800; line-height: 1.15; }
.hm-cx .ph p { color: var(--muted); font-size: 14.5px; }
.hm-cx .ph .cnt { margin-left: auto; text-align: center; background: var(--cream); border: 2px dashed var(--saffron); border-radius: 18px; padding: 8px 18px; font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); }
.hm-cx .ph .cnt b { display: block; font-family: 'Playfair Display', serif; font-size: 34px; line-height: 1; color: var(--orange); }
.hm-cx .chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hm-cx .chips li { display: inline-flex; align-items: center; gap: 9px; background: var(--cream); border: 1.5px solid var(--peach); border-radius: 99px; padding: 10px 20px; font-weight: 600; font-size: 15px; transition: all .25s; cursor: default; }
.hm-cx .chips li i { color: var(--saffron); transition: color .25s; }
.hm-cx .chips li:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-4px) scale(1.04); }
.hm-cx .chips li:hover i { color: #fff; }
.hm-cx .pane.on .chips li { animation: pop .55s calc(var(--k) * .07s + .15s) both cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { from { opacity: 0; transform: scale(.3) translateY(20px); } to { opacity: 1; transform: none; } }
.hm-cx .go { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- 9. departments ---------- */
.hm-depts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.hm-dept { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; flex-direction: column; transition: all .3s; position: relative; overflow: hidden; }
.hm-dept::before { content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: var(--peach); transition: transform .4s; }
.hm-dept:hover::before { transform: scale(3.4); }
.hm-dept > * { position: relative; }
.hm-dept .ic { width: 56px; height: 56px; border-radius: 16px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; }
.hm-dept h3 { font-size: 19px; margin-bottom: 6px; }
.hm-dept p { font-size: 14px; color: var(--muted); flex: 1; margin-bottom: 16px; }
.hm-dept .more { color: var(--orange); font-weight: 600; font-size: 14px; }
.hm-dept .more i { transition: margin .25s; margin-left: 4px; }
.hm-dept:hover .more i { margin-left: 12px; }
.hm-dept:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ---------- 10. notice board ---------- */
.hm-news { background: radial-gradient(700px 400px at 90% 0, rgba(245, 130, 32, .25), transparent 70%), var(--ink); color: #fff; overflow: hidden; }
.hm-news .hm-head h2 { color: #fff; } .hm-news .hm-head p { color: #b8c0d0; } .hm-news .hm-head .eyebrow { color: var(--amber); }
.hm-ticker { display: flex; align-items: center; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); border-radius: 99px; margin-bottom: 30px; overflow: hidden; }
.hm-ticker .lbl { flex: none; background: var(--grad); padding: 11px 24px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 13px; border-radius: 99px; position: relative; z-index: 2; }
.hm-ticker .track { overflow: hidden; flex: 1; -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.hm-ticker .run { display: flex; width: max-content; animation: run 55s linear infinite; }
.hm-ticker:hover .run { animation-play-state: paused; }
.hm-ticker .run span { white-space: nowrap; padding: 0 32px; font-size: 14.5px; display: inline-flex; align-items: center; gap: 10px; }
.hm-ticker .run span i { color: var(--amber); }
.hm-ticker .run span::after { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--saffron); margin-left: 32px; }
@keyframes run { to { transform: translateX(-50%); } }
.hm-nb { display: grid; grid-template-columns: 1fr 1.15fr; gap: 26px; }
.hm-nb .nav { display: flex; flex-direction: column; gap: 10px; }
.hm-nb .nav button { position: relative; display: flex; gap: 16px; align-items: center; text-align: left; font: inherit; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 14px 18px; cursor: pointer; overflow: hidden; transition: all .3s; }
.hm-nb .nav .no { flex: none; font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 800; color: rgba(255, 255, 255, .3); transition: color .3s; min-width: 40px; }
.hm-nb .nav .tx { font-size: 14.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-nb .nav .tx small { display: block; color: var(--amber); font-size: 11.5px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600; }
.hm-nb .nav .tx em { font-style: normal; background: #2fbf6c; color: #fff; border-radius: 6px; padding: 0 6px; margin-left: 6px; letter-spacing: .5px; animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .45; } }
.hm-nb .nav button:hover { background: rgba(255, 255, 255, .12); transform: translateX(6px); }
.hm-nb .nav button.on { background: rgba(245, 130, 32, .2); border-color: var(--saffron); transform: translateX(10px); }
.hm-nb .nav button.on .no { color: var(--amber); }
.hm-nb .nav .pr { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: var(--grad); }
.hm-nb .nav button.on .pr { animation: fill 6s linear forwards; }
.hm-nb.hold .nav button.on .pr { animation-play-state: paused; }
@keyframes fill { to { width: 100%; } }
.hm-nb .spot { position: relative; min-height: 360px; border-radius: 28px; overflow: hidden; background: var(--grad); box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
.hm-nb .spot::before { content: ''; position: absolute; inset: 0; background: radial-gradient(rgba(255, 255, 255, .22) 1.4px, transparent 1.6px) 0 0 / 22px 22px; opacity: .6; }
.hm-nb .slide { position: absolute; inset: 0; padding: 38px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 14px; opacity: 0; transform: translateX(60px) scale(.97); transition: all .6s cubic-bezier(.22, .8, .24, 1); pointer-events: none; }
.hm-nb .slide.on { opacity: 1; transform: none; pointer-events: auto; }
.hm-nb .slide .big { position: absolute; right: -20px; bottom: -34px; font-size: 230px; line-height: 1; color: rgba(255, 255, 255, .17); animation: bob 4s ease-in-out infinite; }
.hm-nb .slide .kind { background: #fff; color: var(--orange); font-weight: 600; font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase; padding: 5px 16px; border-radius: 99px; position: relative; }
.hm-nb .slide h3 { font-family: 'Playfair Display', serif; font-size: clamp(22px, 2.6vw, 32px); line-height: 1.25; font-weight: 800; max-width: 460px; position: relative; text-shadow: 0 2px 12px rgba(0, 0, 0, .15); }
.hm-nb .slide .hm-btn { background: #fff; color: var(--orange); position: relative; box-shadow: 0 10px 24px rgba(0, 0, 0, .2); }
.hm-news .foot { text-align: center; margin-top: 34px; }

/* ---------- 11. management ---------- */
.hm-team { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.hm-member { width: 290px; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); text-align: center; transition: all .3s; border: 1px solid var(--line); }
.hm-member:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.hm-member .ph { position: relative; height: 290px; overflow: hidden; background: var(--peach); }
.hm-member .ph img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
.hm-member:hover .ph img { transform: scale(1.07); }
.hm-member .ph::after { content: ''; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(transparent, rgba(232, 89, 12, .55)); }
.hm-member .tx { padding: 20px 16px 24px; position: relative; }
.hm-member .role { display: inline-block; margin-top: -40px; margin-bottom: 10px; background: var(--grad); color: #fff; font-size: 12.5px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; padding: 5px 18px; border-radius: 99px; position: relative; z-index: 2; box-shadow: 0 6px 16px rgba(232, 89, 12, .35); }
.hm-member h3 { font-size: 17px; line-height: 1.35; }

/* ---------- 12. gallery ---------- */
.hm-gal { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hm-gal a { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 1/1.05; display: block; cursor: zoom-in; box-shadow: var(--shadow); }
.hm-gal a:nth-child(1), .hm-gal a:nth-child(4) { aspect-ratio: 1/1.25; }
.hm-gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.hm-gal a:hover img { transform: scale(1.12); }
.hm-gal .ov { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 20px; color: #fff; background: linear-gradient(transparent 45%, rgba(29, 36, 51, .85)); }
.hm-gal .ov small { color: var(--amber); letter-spacing: 1.5px; font-size: 11.5px; text-transform: uppercase; font-weight: 600; }
.hm-gal .ov h3 { font-size: 18px; }
.hm-gal .zoom { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; background: var(--saffron); color: #fff; display: grid; place-items: center; opacity: 0; transform: scale(.6); transition: all .3s; }
.hm-gal a:hover .zoom { opacity: 1; transform: none; }
.hm-lb { position: fixed; inset: 0; z-index: 200; background: rgba(15, 18, 28, .92); display: none; align-items: center; justify-content: center; padding: 30px; }
.hm-lb.on { display: flex; }
.hm-lb img { max-height: 88vh; max-width: 92vw; border-radius: 14px; box-shadow: var(--shadow-lg); }
.hm-lb button { position: absolute; top: 20px; right: 24px; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--saffron); color: #fff; font-size: 22px; cursor: pointer; }

/* ---------- explore (site menu) ---------- */
.hm-explore { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hm-explore a { background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 9px 22px; font-size: 14.5px; font-weight: 500; transition: all .25s; box-shadow: 0 4px 12px rgba(0, 0, 0, .04); }
.hm-explore a i { color: var(--saffron); margin-right: 8px; transition: color .25s; }
.hm-explore a:hover { background: var(--grad); color: #fff; border-color: transparent; transform: translateY(-3px); }
.hm-explore a:hover i { color: #fff; }

/* ---------- 13. footer ---------- */
.hm-join { background: var(--grad); color: #fff; position: relative; overflow: hidden; padding: 38px 0; }
.hm-join::before, .hm-join::after { content: ''; position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.hm-join::before { width: 260px; height: 260px; left: -70px; top: -120px; } .hm-join::after { width: 200px; height: 200px; right: 12%; bottom: -120px; }
.hm-join .wrap { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.hm-join h3 { font-family: 'Playfair Display', serif; font-size: clamp(22px, 2.8vw, 32px); font-weight: 800; line-height: 1.2; max-width: 640px; }
.hm-join p { opacity: .92; margin-top: 4px; }
.hm-join .b { display: flex; gap: 12px; flex-wrap: wrap; }
.hm-btn.white { background: #fff; color: var(--orange); box-shadow: 0 10px 24px rgba(0, 0, 0, .18); }
.hm-foot { background: #121726; color: #bcc4d4; padding: 64px 0 0; position: relative; }
.hm-foot .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 44px; }
.hm-foot h4 { color: #fff; font-family: 'Playfair Display', serif; font-size: 20px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.hm-foot h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 44px; height: 3px; border-radius: 3px; background: var(--saffron); }
.hm-foot .fl { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.hm-foot .hm-emblem { width: 64px; height: 64px; }
.hm-foot .fl b { display: block; font-family: 'Playfair Display', serif; color: #fff; font-size: 22px; letter-spacing: .5px; }
.hm-foot .fl small { color: var(--amber); letter-spacing: 1.5px; text-transform: uppercase; font-size: 12px; }
.hm-foot .c-about p { font-size: 14.5px; }
.hm-foot .soc { display: flex; gap: 10px; margin-top: 20px; }
.hm-foot .soc a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: grid; place-items: center; font-size: 17px; transition: all .25s; }
.hm-foot .soc a:hover { background: var(--grad); color: #fff; transform: translateY(-4px) rotate(-8deg); }
.hm-foot .lk li { margin-bottom: 4px; }
.hm-foot .lk a { color: #fff; display: inline-block; padding: 5px 0; font-size: 14.5px; transition: all .25s; }
.hm-foot .lk a::before { content: '\203A'; color: var(--saffron); margin-right: 8px; display: inline-block; transition: margin .25s; }
.hm-foot .lk a:hover { color: var(--amber); margin-left: 6px; }
.hm-foot .tc { display: flex; align-items: center; gap: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: 16px; padding: 11px 14px; margin-bottom: 10px; transition: all .25s; font-size: 14.5px; color: #fff; }
.hm-foot .tc i { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--grad); display: grid; place-items: center; font-size: 17px; }
.hm-foot .tc small { display: block; font-size: 11.5px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--amber); }
.hm-foot .tc:hover { transform: translateX(6px); background: rgba(245, 130, 32, .16); border-color: var(--saffron); color: #fff; }
.hm-foot .cols2 { display: grid; grid-template-columns: 1fr 1.5fr; gap: 28px; padding-bottom: 44px; }
.hm-foot .enq { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 22px; padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.hm-foot .enq h4 { margin-bottom: 6px; }
.hm-foot .enq p { font-size: 13px; margin-top: -8px; }
.hm-foot .enq .r { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hm-foot .enq input, .hm-foot .enq select { width: 100%; font: inherit; font-size: 14.5px; color: #fff; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16); border-radius: 12px; padding: 11px 14px; outline: none; transition: border .2s; }
.hm-foot .enq select option { color: #000; }
.hm-foot .enq input::placeholder { color: #8f98ab; }
.hm-foot .enq input:focus, .hm-foot .enq select:focus { border-color: var(--saffron); }
.hm-foot .enq .hm-btn { justify-content: center; }
.hm-foot iframe { width: 100%; height: 100%; min-height: 280px; border: 0; border-radius: 22px; filter: saturate(.9); }
.hm-copy { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: 13.5px; }
.hm-copy .wrap { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.hm-copy span a { margin-left: 22px; } .hm-copy a:hover { color: var(--amber); }
.hm-top-btn { position: fixed; right: 22px; bottom: 22px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--grad); color: #fff; font-size: 18px; cursor: pointer; box-shadow: 0 10px 24px rgba(232, 89, 12, .4); opacity: 0; visibility: hidden; transition: all .3s; z-index: 60; }
.hm-top-btn.on { opacity: 1; visibility: visible; }

/* ---------- reveal on scroll ---------- */
.js .rv { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; transition-delay: var(--d, 0s); }
.js .rv.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 991px) {
  .hm-quick .grid { grid-template-columns: repeat(4, 1fr); }
  .hm-about { grid-template-columns: 1fr; }
  .hm-photo { max-width: 460px; margin: 0 auto; }
  .hm-stats .grid { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .hm-gal { grid-template-columns: repeat(2, 1fr); }
  .hm-foot .cols { grid-template-columns: 1fr 1fr; }
  .hm-foot .cols > :last-child { grid-column: 1/-1; }
  .hm-burger { display: block; }
  .hm-menu { display: none; width: 100%; flex-direction: column; padding-bottom: 12px; }
  .hm-nav .wrap { flex-wrap: wrap; }
  .hm-nav.open .hm-menu { display: flex; }
  .hm-menu > li > a { padding: 11px 6px; }
  .hm-menu .mega { position: static; width: auto; display: none; grid-template-columns: 1fr; opacity: 1; visibility: visible; transform: none; box-shadow: none; border-radius: 12px; background: rgba(255, 255, 255, .06); border-top: 0; }
  .hm-menu .mega .col, .hm-menu .mega .col:nth-child(even) { background: none; border: 0; padding: 12px 16px 4px; }
  .hm-menu .mega h5 { color: var(--amber); font-size: 17px; }
  .hm-menu .mega small { margin-bottom: 4px; color: #aab2c3; }
  .hm-menu .mega ul.two { column-count: 1; }
  .hm-menu .mega a { color: #fff; }
  .hm-menu li.sopen > .mega { display: grid; }
  .hm-menu .sub a { color: #fff; }
  .hm-menu .sub a:hover { background: rgba(255, 255, 255, .1); color: var(--amber); }
  .hm-menu li.sopen > .sub { display: block; }
}
@media (max-width: 700px) {
  .hm-quick .grid { grid-template-columns: repeat(2, 1fr); }
  .hm-sec { padding: 60px 0; }
  .hm-top .group.l span:nth-child(2) { display: none; }
  .hm-brand .wrap { justify-content: center; text-align: center; }
  .hm-logo { flex-direction: column; gap: 10px; }
  .hm-cta { justify-content: center; }
  .hm-slides { height: 440px; }
  .hm-slide .shade { background: linear-gradient(0deg, rgba(29, 36, 51, .92) 10%, rgba(29, 36, 51, .35) 80%); }
  .hm-slide .cap { align-items: flex-end; padding-bottom: 80px; }
  .hm-arrow { display: none; }
  .hm-dots { bottom: 26px; }
  .hm-count { display: none; }
  .hm-quick { margin-top: -22px; }
  .hm-foot .cols { grid-template-columns: 1fr; }
  .hm-gal { gap: 10px; }
  .hm-news .list { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
  .hm-slide .cap .in > * { opacity: 1; transform: none; }
}

/* ---------- responsive overrides for the rebuilt sections ---------- */
@media (max-width: 991px) {
  .hm-cx { grid-template-columns: 1fr; }
  .hm-cx .tabs { flex-direction: row; overflow-x: auto; padding: 6px 4px 14px; scrollbar-width: none; }
  .hm-cx .tabs button { flex: none; }
  .hm-cx .tabs button.on, .hm-cx .tabs button:hover { transform: none; }
  .hm-cx .tabs .ar { display: none; }
  .hm-steps { grid-template-columns: repeat(2, 1fr); gap: 26px 14px; }
  .hm-steps::before { display: none; }
  .hm-nb { grid-template-columns: 1fr; }
  .hm-nb .nav button.on, .hm-nb .nav button:hover { transform: none; }
  .hm-foot .cols { grid-template-columns: 1fr 1fr; }
  .hm-foot .cols > :first-child { grid-column: 1/-1; }
  .hm-foot .cols2 { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .hm-hero { padding: 16px 0 60px; }
  .hm-stage { aspect-ratio: 16 / 10; border-radius: 16px; }
  .hm-stage .hm-arrow { width: 36px; height: 36px; margin-top: -18px; font-size: 20px; }
  .hm-cx .panes { padding: 22px 18px; }
  .hm-cx .ph .cnt { margin-left: 0; }
  .hm-nb .slide { padding: 26px; }
  .hm-nb .spot { min-height: 320px; }
  .hm-foot .cols { grid-template-columns: 1fr; }
  .hm-foot .enq .r { grid-template-columns: 1fr; }
  .hm-copy span a:first-child { margin-left: 0; }
}

/* ---------- 6. about (tabs + animated visual) ---------- */
.hm-ab { overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.ab-blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; pointer-events: none; animation: drift 14s ease-in-out infinite alternate; }
.ab-blob.b1 { width: 340px; height: 340px; background: #ffd7ae; left: -120px; top: 40px; }
.ab-blob.b2 { width: 300px; height: 300px; background: #ffc4d4; right: -100px; bottom: 20px; animation-delay: -6s; }
@keyframes drift { to { transform: translate(40px, -30px) scale(1.15); } }
.ab-grid { position: relative; display: grid; grid-template-columns: .95fr 1.1fr; gap: 64px; align-items: center; }
.ab-vis { position: relative; padding: 24px; perspective: 900px; }
.ab-frame { position: relative; border-radius: 32px; transition: transform .25s ease-out; transform-style: preserve-3d; }
.ab-frame img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 32px; box-shadow: var(--shadow-lg); display: block; position: relative; z-index: 2; }
.ab-frame::before { content: ''; position: absolute; inset: 20px -20px -20px 20px; border-radius: 32px; background: var(--grad); z-index: 1; }
.ab-ring { position: absolute; z-index: 3; right: -34px; top: -34px; width: 120px; height: 120px; border-radius: 50%; border: 3px dashed var(--saffron); animation: spin 22s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.ab-chip { position: absolute; z-index: 5; background: rgba(255, 255, 255, .95); border-radius: 18px; padding: 12px 18px; box-shadow: 0 16px 36px rgba(29, 36, 51, .2); display: flex; align-items: center; gap: 12px; animation: bob 4.6s ease-in-out infinite; }
.ab-chip b { display: block; font-family: 'Playfair Display', serif; font-size: 20px; line-height: 1.1; color: var(--ink); }
.ab-chip span { font-size: 12px; color: var(--muted); letter-spacing: .5px; }
.ab-chip i { width: 40px; height: 40px; border-radius: 12px; background: var(--grad); color: #fff; display: grid; place-items: center; font-size: 18px; }
.ab-chip.c1 { left: -6px; bottom: 56px; flex-direction: column; gap: 0; text-align: center; padding: 14px 24px; }
.ab-chip.c1 b { font-size: 36px; color: var(--orange); }
.ab-chip.c1 span { text-transform: uppercase; letter-spacing: 1.6px; }
.ab-chip.c2 { right: -8px; top: 70px; animation-delay: -1.5s; }
.ab-chip.c3 { right: 10px; bottom: 14px; animation-delay: -3s; }
.ab-txt .eyebrow { color: var(--orange); font-weight: 600; letter-spacing: 3px; font-size: 13px; text-transform: uppercase; }
.ab-txt h2 { font-family: 'Playfair Display', serif; font-size: clamp(30px, 4vw, 46px); font-weight: 800; line-height: 1.12; margin: 8px 0 12px; }
.ab-txt h2 span { color: var(--orange); background: linear-gradient(var(--saffron), var(--saffron)) no-repeat 0 100% / 0 4px; transition: background-size 1s .5s; padding-bottom: 4px; }
.ab-txt.in h2 span { background-size: 100% 4px; }
.ab-lead { color: var(--muted); font-size: 16.5px; margin-bottom: 24px; max-width: 560px; }
.ab-tabs { position: relative; display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 99px; padding: 5px; box-shadow: var(--shadow); margin-bottom: 22px; flex-wrap: wrap; }
.ab-tabs button { position: relative; z-index: 2; border: 0; background: none; font: inherit; font-weight: 600; font-size: 14.5px; padding: 9px 22px; border-radius: 99px; color: var(--ink); cursor: pointer; transition: color .3s; }
.ab-tabs button i { margin-right: 8px; color: var(--saffron); transition: color .3s; }
.ab-tabs button.on { color: #fff; }
.ab-tabs button.on i { color: #fff; }
.ab-ind { position: absolute; z-index: 1; top: 5px; bottom: 5px; left: 5px; width: 0; border-radius: 99px; background: var(--grad); box-shadow: 0 8px 18px rgba(232, 89, 12, .35); transition: left .4s cubic-bezier(.22, .8, .24, 1), width .4s cubic-bezier(.22, .8, .24, 1); }
.ab-panes { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--saffron); border-radius: 22px; padding: 26px 28px; box-shadow: var(--shadow); min-height: 330px; margin-bottom: 26px; }
.ab-pane { display: none; }
.ab-pane.on { display: block; animation: paneIn .5s cubic-bezier(.22, .8, .24, 1); }
.ab-pane h3 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; line-height: 1.25; margin-bottom: 16px; color: var(--ink); }
.ab-pane li { display: flex; align-items: center; gap: 14px; padding: 8px 0; font-size: 15px; color: #3b4457; }
.ab-pane li .ic { flex: none; width: 38px; height: 38px; border-radius: 12px; background: var(--peach); color: var(--orange); display: grid; place-items: center; font-size: 16px; transition: all .25s; }
.ab-pane li:hover .ic { background: var(--grad); color: #fff; transform: rotate(-8deg) scale(1.08); }
.ab-pane.on li { animation: slideIn .5s calc(var(--k) * .09s + .12s) both ease-out; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
.ab-link { display: inline-block; margin-top: 12px; color: var(--orange); font-weight: 600; font-size: 14px; border-bottom: 1px dashed var(--orange); }
.ab-txt .links { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 991px) {
  .ab-grid { grid-template-columns: 1fr; gap: 48px; }
  .ab-vis { max-width: 460px; margin: 0 auto; width: 100%; }
}
@media (max-width: 700px) {
  .ab-tabs { display: flex; }
  .ab-tabs button { flex: 1; padding: 9px 8px; font-size: 13.5px; }
  .ab-tabs button i { display: none; }
  .ab-panes { padding: 20px 18px; }
  .ab-chip.c2 { right: 0; }
}
@media (prefers-reduced-motion: reduce) { .ab-blob, .ab-ring, .ab-chip { animation: none !important; } }

@media (max-width: 991px) { .hm-stats .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 480px) {
  .hm-stats { padding: 44px 0; }
  .hm-stats .grid { gap: 12px; }
  .hm-stats .st { padding: 24px 8px 18px; border-radius: 20px; }
  .hm-stats .ico { width: 58px; height: 58px; font-size: 24px; border-radius: 18px; }
}
@media (prefers-reduced-motion: reduce) { .hm-stats .st { opacity: 1; transform: none; } .hm-stats .ico::after { animation: none; } }

/* small phones: keep the top bar to one tidy row */
@media (max-width: 700px) {
  .hm-top .wrap { justify-content: center; padding: 6px 0; }
  .hm-top .group:last-child a:not(.tour), .hm-top .soc { display: none; }
  .hm-top .group { gap: 14px; justify-content: center; }
}
@media (max-width: 360px) {
  .hm-top .tour { padding: 3px 10px; font-size: 12.5px; }
  .hm-logo h1 { font-size: 26px; }
  .hm-btn { padding: 10px 20px; }
}

/* mobile header: emblem beside the college name, then EAMCET code + Apply button on one row */
@media (max-width: 700px) {
  .hm-brand .wrap { flex-direction: column; align-items: stretch; gap: 12px; padding: 12px 0; text-align: left; }
  .hm-logo { flex-direction: row; align-items: center; gap: 12px; }
  .hm-logo .hm-emblem { width: 64px; height: 64px; }
  .hm-logo h1 { font-size: 26px; line-height: 1.05; }
  .hm-logo p { font-size: 11.5px; margin-top: 4px; line-height: 1.4; }
  .hm-logo p .more { display: none; }
  .hm-cta { flex-wrap: nowrap; justify-content: space-between; gap: 10px; }
  .hm-cta .hm-badge { flex: 1; padding: 6px 12px; justify-content: center; }
  .hm-cta .hm-badge i { font-size: 22px; }
  .hm-cta .hm-btn { flex: 1; justify-content: center; padding: 11px 14px; white-space: nowrap; }
}
@media (max-width: 360px) {
  .hm-logo h1 { font-size: 22px; }
  .hm-logo .hm-emblem { width: 54px; height: 54px; }
}

/* mobile header: EAMCET code and Apply button stay small next to the college name */
@media (max-width: 700px) {
  .hm-cta { justify-content: flex-start; gap: 10px; }
  .hm-cta .hm-badge { flex: none; gap: 8px; padding: 4px 12px; font-size: 11px; border-radius: 10px; }
  .hm-cta .hm-badge i { font-size: 16px; }
  .hm-cta .hm-badge b { font-size: 14px; letter-spacing: .5px; }
  .hm-cta .hm-btn { flex: none; padding: 7px 18px; font-size: 13px; gap: 6px; box-shadow: 0 4px 12px rgba(232, 89, 12, .3); }
}

/* ---------- course steps: small cards joined by dots, lit one by one with sparkles ---------- */
.hm-steps { --gap: 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 218px)); justify-content: center; gap: var(--gap); margin-top: 44px; position: relative; }
.hm-steps .stp { position: relative; display: block; text-align: center; padding: 20px 12px 16px; background: #fff; border: 1px solid #ffd9b3; border-radius: 18px; box-shadow: var(--shadow); transition: transform .35s, box-shadow .35s, border-color .35s; }
.hm-steps .stp b { position: absolute; top: 9px; left: 9px; width: 22px; height: 22px; border-radius: 50%; background: #d3d7df; color: #fff; font-size: 11.5px; display: grid; place-items: center; transition: background .4s; }
.hm-steps .stp .ic { position: relative; display: grid; place-items: center; width: 54px; height: 54px; margin: 0 auto 10px; border-radius: 16px; background: var(--peach); color: var(--orange); font-size: 22px; transition: background .4s, color .4s, box-shadow .4s; }
.hm-steps .stp .t { display: block; font-weight: 600; font-size: 14.5px; line-height: 1.3; }
.hm-steps .stp small { display: block; color: var(--muted); font-size: 12px; margin-top: 2px; }
/* dots between cards: grey rail on ::before, orange dots on ::after that run in when the step lights up */
.hm-steps .stp:not(:first-child)::before, .hm-steps .stp:not(:first-child)::after { content: ''; position: absolute; top: 50%; left: calc(var(--gap) * -1 + 6px); width: calc(var(--gap) - 12px); height: 8px; margin-top: -4px; background: radial-gradient(circle, #f0c79c 2.6px, transparent 3.2px) 0 50% / 14px 8px repeat-x; }
.hm-steps .stp:not(:first-child)::after { background-image: radial-gradient(circle, var(--saffron) 3px, transparent 3.6px); width: 0; overflow: hidden; transition: width .7s ease-out; filter: drop-shadow(0 0 4px rgba(245, 130, 32, .7)); }
.hm-steps .stp.on:not(:first-child)::after { width: calc(var(--gap) - 12px); }
.js .hm-steps:not(.lit) .stp { opacity: 0; transform: translateY(20px); }
.hm-steps .stp.on { animation: stepPop .7s cubic-bezier(.3, 1.5, .5, 1) both; border-color: var(--saffron); }
.hm-steps .stp.on b { background: var(--ink); }
.hm-steps .stp.on .ic { background: var(--grad); color: #fff; box-shadow: 0 10px 22px rgba(232, 89, 12, .42); animation: icBounce .8s .1s both; }
@keyframes stepPop { 0% { opacity: 0; transform: translateY(22px) scale(.88); } 60% { opacity: 1; transform: translateY(-5px) scale(1.04); } 100% { opacity: 1; transform: none; } }
@keyframes icBounce { 0%, 100% { transform: scale(1); } 35% { transform: scale(1.28) rotate(-10deg); } 65% { transform: scale(.94) rotate(6deg); } }
.hm-steps .stp:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.hm-steps .stp.on:nth-child(4) .ic i { animation: rocket 1.6s .9s ease-in-out infinite; }
@keyframes rocket { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(3px, -4px); } }
/* sparkles (made by script) */
.spark { position: absolute; z-index: 6; width: var(--s, 10px); height: var(--s, 10px); margin: calc(var(--s, 10px) / -2) 0 0 calc(var(--s, 10px) / -2); background: var(--sc, #ffb703); pointer-events: none;
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%); animation: sparkFly .95s cubic-bezier(.2, .7, .3, 1) forwards; }
@keyframes sparkFly { 0% { transform: translate(0, 0) scale(.2) rotate(0); opacity: 1; } 60% { opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(1.1) rotate(200deg); opacity: 0; } }
@media (max-width: 991px) {
  .hm-steps { --gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .hm-steps .stp:not(:first-child)::before, .hm-steps .stp:not(:first-child)::after { display: none; }
}
@media (prefers-reduced-motion: reduce) { .js .hm-steps:not(.lit) .stp { opacity: 1; transform: none; } .spark { display: none; } }

/* ---------- announcements: ticker strip and pop-up (managed in the Admin) ---------- */
.hm-ann { display: flex; align-items: center; background: var(--ink); color: #fff; font-size: 13.5px; overflow: hidden; }
.hm-ann .lbl { flex: none; background: var(--grad); padding: 8px 20px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; font-size: 12px; white-space: nowrap; position: relative; z-index: 2; }
.hm-ann .track { flex: 1; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.hm-ann .run { display: flex; width: max-content; animation: run 45s linear infinite; }
.hm-ann:hover .run { animation-play-state: paused; }
.hm-ann .run span { white-space: nowrap; padding: 0 30px; display: inline-flex; align-items: center; }
.hm-ann .run span::after { content: '\2726'; color: var(--amber); margin-left: 60px; }
.hm-ann .run a { color: #fff; text-decoration: underline; text-decoration-color: var(--saffron); text-underline-offset: 3px; }
.hm-ann .run a:hover { color: var(--amber); }
.hm-pop { position: fixed; inset: 0; z-index: 9500; background: rgba(15, 18, 28, .66); display: flex; align-items: center; justify-content: center; padding: 18px; backdrop-filter: blur(3px); animation: popBg .35s both; }
.hm-pop[hidden] { display: none; }
@keyframes popBg { from { opacity: 0; } to { opacity: 1; } }
.hm-pop .box { position: relative; width: min(520px, 100%); max-height: 90vh; overflow-y: auto; background: #fff; border-radius: 26px; box-shadow: 0 40px 90px rgba(0, 0, 0, .5); animation: popIn .5s cubic-bezier(.3, 1.4, .5, 1) both; border-top: 6px solid var(--saffron); }
@keyframes popIn { from { opacity: 0; transform: translateY(40px) scale(.9); } to { opacity: 1; transform: none; } }
.hm-pop .x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(29, 36, 51, .75); color: #fff; font-size: 17px; cursor: pointer; }
.hm-pop .x:hover { background: var(--orange); }
.hm-pop .pic { width: 100%; max-height: 260px; object-fit: cover; display: block; }
.hm-pop .in { padding: 26px 28px 30px; }
.hm-pop .tg { display: inline-block; color: var(--orange); font-weight: 600; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 6px; }
.hm-pop h3 { font-family: 'Playfair Display', serif; font-size: 27px; font-weight: 800; line-height: 1.2; margin-bottom: 10px; }
.hm-pop p { color: var(--muted); margin-bottom: 18px; }
.hm-member .nophoto { height: 100%; display: grid; place-items: center; font-size: 90px; color: #e2b98c; }
.hm-member .bio { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.hm-foot .enq .hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.hm-foot .enq .enq-msg { font-size: 13.5px; min-height: 20px; margin: 0; }
.hm-foot .enq .enq-msg.ok { color: #7be3a0; }
.hm-foot .enq .enq-msg.bad { color: #ffb4b4; }
.hm-top-btn { right: auto; left: 22px; }

/* ---------- announcements run along the TOP of the home carousel ---------- */
.hm-stage .hm-ann { position: absolute; left: 0; right: 0; top: 0; z-index: 6; border-radius: 0; background: rgba(29, 36, 51, .86); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: annDrop .7s cubic-bezier(.22, .8, .24, 1) both; }
.hm-stage .hm-ann .lbl { padding: 9px 18px; }
@keyframes annDrop { from { transform: translateY(-100%); } to { transform: none; } }
@media (max-width: 600px) { .hm-stage .hm-ann { font-size: 12px; } .hm-stage .hm-ann .lbl { padding: 7px 12px; font-size: 11px; } }

/* ---------- loading screen: logo, spinning ring, three dots circling ---------- */
.hm-pre { position: fixed; inset: 0; z-index: 99999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; background: radial-gradient(circle at 50% 40%, #fff 0, #fff4e6 70%); transition: opacity .6s ease, visibility .6s; }
.hm-pre.done { opacity: 0; visibility: hidden; pointer-events: none; }
.hm-pre .box { position: relative; width: 190px; height: 190px; display: grid; place-items: center; }
.hm-pre img { width: 104px; height: 104px; object-fit: contain; border-radius: 50%; animation: hmPrePulse 1.8s ease-in-out infinite; }
.hm-pre .ring { position: absolute; inset: 22px; border-radius: 50%; border: 4px solid rgba(245, 130, 32, .16); border-top-color: var(--orange, #e8590c); border-right-color: var(--saffron, #f58220); animation: hmPreSpin 1.1s linear infinite; }
.hm-pre .orbit { position: absolute; inset: 0; animation: hmPreSpin 2.6s linear infinite reverse; }
.hm-pre .orbit i { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--orange, #e8590c); box-shadow: 0 4px 10px rgba(232, 89, 12, .35); }
.hm-pre .orbit i:nth-child(1) { transform: rotate(0deg) translateY(-90px); }
.hm-pre .orbit i:nth-child(2) { transform: rotate(120deg) translateY(-90px); background: var(--saffron, #f58220); }
.hm-pre .orbit i:nth-child(3) { transform: rotate(240deg) translateY(-90px); background: var(--amber, #ffb703); }
.hm-pre p { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 18px; letter-spacing: .5px; color: var(--ink, #1d2433); margin: 0; animation: hmPreFade 1.8s ease-in-out infinite; }
html:not(.js) .hm-pre { display: none; }
@keyframes hmPreSpin { to { transform: rotate(360deg); } }
@keyframes hmPrePulse { 50% { transform: scale(.93); } }
@keyframes hmPreFade { 50% { opacity: .55; } }
@media (prefers-reduced-motion: reduce) { .hm-pre .ring, .hm-pre .orbit { animation-duration: 4s; } .hm-pre img, .hm-pre p { animation: none; } }

/* ---------- carousel: the slide text and its button sit on the picture ---------- */
.hm-card .hm-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 110px 64px 34px; color: #fff; background: linear-gradient(0deg, rgba(20, 24, 36, .88) 0, rgba(20, 24, 36, .55) 55%, rgba(20, 24, 36, 0) 100%); }
.hm-cap .tag { display: inline-block; color: #ffc27a; font-size: 12.5px; font-weight: 600; letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 6px; }
.hm-cap h2 { font-family: 'Playfair Display', serif; font-size: clamp(24px, 3.4vw, 42px); font-weight: 800; line-height: 1.12; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .35); margin: 0; }
.hm-cap h2 em { font-style: normal; color: #ffb86b; }
.hm-cap p { color: rgba(255, 255, 255, .9); font-size: 15.5px; margin: 8px 0 0; max-width: 620px; }
.hm-cap .hm-btn { margin-top: 16px; }
.hm-card .hm-cap > * { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.hm-card.on .hm-cap > * { opacity: 1; transform: none; }
.hm-card.on .hm-cap > :nth-child(2) { transition-delay: .1s; } .hm-card.on .hm-cap > :nth-child(3) { transition-delay: .2s; } .hm-card.on .hm-cap > :nth-child(4) { transition-delay: .3s; }
.hm-under { justify-content: center; padding: 18px 6px 0; }
@media (max-width: 760px) {
  .hm-card .hm-cap { padding: 70px 20px 18px; }
  .hm-cap p { display: none; } .hm-cap .hm-btn { margin-top: 10px; padding: 8px 16px; font-size: 13px; }
  .hm-stage { aspect-ratio: 4 / 3; }
}

/* ---------- pop-up message written in the Admin editor ---------- */
.hm-pop .rich { color: var(--muted); margin-bottom: 18px; line-height: 1.7; overflow-wrap: anywhere; }
.hm-pop .rich p { margin: 0 0 10px; }
.hm-pop .rich h2, .hm-pop .rich h3, .hm-pop .rich h4 { font-family: 'Playfair Display', serif; color: var(--ink); margin: 14px 0 8px; font-size: 20px; }
.hm-pop .rich ul, .hm-pop .rich ol { padding-left: 22px; margin: 0 0 10px; }
.hm-pop .rich a { color: var(--orange); text-decoration: underline; }
.hm-pop .rich img { max-width: 100%; height: auto; border-radius: 12px; }
.hm-pop .rich blockquote { border-left: 4px solid var(--saffron); margin: 10px 0; padding: 4px 14px; background: #fffaf3; }
.hm-pop .rich ul { list-style: disc; } .hm-pop .rich ol { list-style: decimal; } .hm-pop .rich li { display: list-item; margin: 2px 0; }

/* ---------- top bar on phones: one line that runs, so every item can be seen ---------- */
.hm-top .run-wrap { display: none; }
@media (max-width: 760px) {
  .hm-top .wrap { display: none; }
  .hm-top .run-wrap { display: block; overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
  .hm-top .run { display: flex; width: max-content; padding: 7px 0; animation: topRun 26s linear infinite; }
  .hm-top .run:hover, .hm-top .run:active, .hm-top .run:focus-within { animation-play-state: paused; }
  .hm-top .set { display: flex; align-items: center; gap: 26px; padding-right: 26px; white-space: nowrap; }
  .hm-top .set a { display: inline-flex; align-items: center; font-size: 13px; }
  .hm-top .set .tour { padding: 2px 12px; }
}
@keyframes topRun { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .hm-top .run { animation: none; overflow-x: auto; width: auto; } .hm-top .run-wrap { overflow-x: auto; } }

/* ---------- home: Explore Quick Links and Campus Photo Gallery animation ---------- */
.hm-explore a.ql { position: relative; overflow: hidden; }
.hm-explore a.ql::before { content: ""; position: absolute; inset: 0; background: var(--grad); transform: translateX(-101%); transition: transform .35s ease; z-index: -1; }
.hm-explore a.ql { z-index: 0; isolation: isolate; }
.hm-explore a.ql:hover::before { transform: none; }
.hm-explore a.ql:hover i { transform: translateX(5px); }
.hm-explore a.ql i { display: inline-block; transition: transform .25s, color .25s; }
.hm-explore a.ql.in { animation: qlPop .6s cubic-bezier(.3, 1.5, .5, 1) both; animation-delay: var(--d, 0s); }
@keyframes qlPop { 0% { transform: scale(.7); } 100% { transform: none; } }

.hm-gal a { transition: transform .45s cubic-bezier(.2, .8, .2, 1), box-shadow .45s; }
.hm-gal a:hover { transform: translateY(-8px) rotate(-.6deg); box-shadow: 0 22px 44px rgba(0, 0, 0, .22); z-index: 2; }
.hm-gal a:nth-child(even):hover { transform: translateY(-8px) rotate(.6deg); }
.hm-gal a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .35) 50%, transparent 65%); transform: translateX(-130%); pointer-events: none; }
.hm-gal a:hover::after { transform: translateX(130%); transition: transform .9s ease; }
.js .hm-gal a.rv { transform: translateY(40px) scale(.92); }
.js .hm-gal a.rv.in { transform: none; }
.hm-gal a.rv.in img { animation: galZoom 1.1s ease-out both; animation-delay: var(--d, 0s); }
@keyframes galZoom { from { transform: scale(1.18); } to { transform: scale(1); } }
@media (hover: none) { .hm-gal a:hover { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hm-explore a.ql.in, .hm-gal a.rv.in img { animation: none; } .hm-gal a:hover { transform: none; } }
