/* Layout idea: white page, navy and blue bands, red used only for actions and marks. */
:root {
  --red: #E30613;
  --red-dark: #b8040f;
  --blue: #0057B8;
  --navy: #0B1F4D;
  --ink: #16213e;
  --muted: #55607a;
  --paper: #ffffff;
  --tint: #eef3fb;
  --line: #d8e0ee;
  --font-display: "Sora", "Segoe UI", Arial, sans-serif;
  --font-body: "Noto Sans", "Segoe UI", Arial, sans-serif;
  --font-nep: "Noto Sans Devanagari", "Mangal", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0; text-wrap: balance; color: var(--navy); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.wrap { width: min(1140px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

.eyebrow { font-family: var(--font-display); font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }

/* Buttons */
.btn { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .95rem; text-decoration: none; border: 2px solid transparent; border-radius: 10px; padding: 12px 22px; cursor: pointer; text-align: center; transition: background .15s, color .15s, border-color .15s; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-dark); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--navy); }
.btn-line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 4px solid var(--red); box-shadow: 0 2px 12px rgba(11, 31, 77, .08); }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; padding-block: 6px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.brand-logo { height: 56px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text small { color: var(--muted); font-size: .78rem; font-weight: 600; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--red); }
.nav .nav-cta { padding: 9px 16px; color: #fff; }
.nav-toggle { display: none; background: transparent; color: var(--navy); border: 2px solid var(--navy); border-radius: 8px; padding: 6px 14px; font: inherit; font-weight: 600; cursor: pointer; }
.hero-sub { color: var(--muted); font-size: .95rem; }
.hours { background: #fff; border-left: 5px solid var(--red); border-radius: 8px; padding: 10px 14px; color: var(--ink); box-shadow: 0 4px 14px rgba(11, 31, 77, .08); }
.foot-logo { height: 64px; width: auto; background: #fff; border-radius: 10px; padding: 6px 12px; margin-bottom: 10px; align-self: flex-start; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--tint), #fff); padding: 44px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 40px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.nep { font-family: var(--font-nep); font-weight: 700; font-size: 1.25rem; color: var(--blue); }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 0; padding: 0; }
.chips li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: .85rem; font-weight: 600; color: var(--navy); }
.banner { background: var(--navy); line-height: 0; }
.banner img { width: 100%; max-width: 1600px; height: auto; margin-inline: auto; display: block; aspect-ratio: 2056 / 765; }
.est { background: var(--navy); color: #fff; border-radius: 20px; border-bottom: 6px solid var(--red); padding: 32px; display: flex; flex-direction: column; gap: 4px; text-align: center; box-shadow: 0 18px 40px rgba(11, 31, 77, .22); }
.est span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #9fb2da; }
.est strong { font-family: var(--font-display); font-size: 2.6rem; line-height: 1.1; }
.est small { color: #cdd8f0; font-size: .95rem; }
.details dd.small { font-size: .95rem; word-break: break-word; }

/* Quick info band */
.band { background: var(--navy); color: #fff; }
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 22px 0; }
.quick div { display: flex; flex-direction: column; }
.quick span { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #9fb2da; }
.quick strong { font-family: var(--font-display); font-size: 1.02rem; }
.quick a { color: #fff; text-decoration: none; }
.quick a:hover { text-decoration: underline; }

/* Sections */
.section { padding: 72px 0; }
.section.tint { background: var(--tint); }
.section-head { display: flex; flex-direction: column; gap: 8px; margin-bottom: 28px; max-width: 62ch; }
.section-head p:last-child { color: var(--muted); }

/* Course tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.tab { font-family: var(--font-display); font-weight: 700; font-size: .92rem; background: #fff; color: var(--navy); border: 2px solid var(--line); border-radius: 999px; padding: 9px 20px; cursor: pointer; }
.tab:hover { border-color: var(--blue); }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 14px; padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.card:nth-child(3n+2) { border-top-color: var(--red); }
.card:nth-child(3n) { border-top-color: var(--navy); }
.card p { color: var(--muted); font-size: .95rem; }
.card .tag { align-self: flex-start; margin-top: auto; font-size: .75rem; font-weight: 600; color: var(--blue); background: var(--tint); border-radius: 6px; padding: 2px 10px; }
.panel-note { margin-top: 18px; color: var(--muted); font-size: .95rem; }

/* Study abroad */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.split > div { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.dest { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.dest li { background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .88rem; border-radius: 999px; padding: 6px 16px; }
.dest li:last-child { background: var(--red); }
.steps { list-style: none; margin: 4px 0 8px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; gap: 14px; }
.steps b { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--font-display); }
.steps div { display: flex; flex-direction: column; }
.steps span { color: var(--muted); font-size: .95rem; }
.split > .photo-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.photo { margin: 0; }
.photo img { border-radius: 16px; box-shadow: 0 14px 34px rgba(11, 31, 77, .2); width: 100%; height: auto; }
.photo-pair .photo:nth-child(2) { margin-top: 28px; }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter { font: 600 .88rem var(--font-body); background: #fff; color: var(--navy); border: 2px solid var(--line); border-radius: 999px; padding: 6px 16px; cursor: pointer; }
.filter[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.gallery { columns: 240px; column-gap: 16px; }
.shot { margin: 0 0 16px; padding: 0; border: 0; background: none; cursor: zoom-in; text-align: left; border-radius: 14px; overflow: hidden; position: relative; display: block; width: 100%; break-inside: avoid; box-shadow: 0 6px 18px rgba(11, 31, 77, .12); }
.shot img { width: 100%; height: auto; transition: transform .3s; }
.shot:hover img { transform: scale(1.03); }
.shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; color: #fff; font-weight: 600; font-size: .85rem; line-height: 1.35; background: linear-gradient(transparent, rgba(11, 31, 77, .9)); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(8, 16, 40, .92); display: grid; place-items: center; padding: 56px 16px 16px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(960px, 100%); }
.lightbox img { max-height: 76vh; width: auto; margin-inline: auto; border-radius: 12px; }
.lightbox figcaption { color: #fff; text-align: center; margin-top: 12px; font-weight: 600; }
.lb-close { position: absolute; top: 14px; right: 16px; background: #fff; color: var(--navy); border: 0; border-radius: 8px; padding: 8px 16px; font-weight: 700; cursor: pointer; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.about > div { display: flex; flex-direction: column; gap: 12px; }
.points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.points li { background: #fff; border-left: 5px solid var(--red); border-radius: 10px; padding: 14px 18px; display: flex; flex-direction: column; }
.points span { color: var(--muted); font-size: .95rem; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact > div { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.details { margin: 0; display: grid; gap: 2px; }
.details dt { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 12px; }
.details dd { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: var(--navy); }
.details a { color: var(--navy); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; display: flex; flex-direction: column; gap: 8px; box-shadow: 0 10px 28px rgba(11, 31, 77, .08); }
.form h3 { margin-bottom: 6px; }
.form label { font-weight: 600; font-size: .9rem; margin-top: 6px; }
.form input, .form select, .form textarea { font: inherit; padding: 11px 12px; border: 2px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--blue); outline: none; }
.form button[type="submit"] { margin-top: 12px; }
.form-error { color: var(--red-dark); font-weight: 600; min-height: 1.2em; }
.result { background: var(--tint); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.result[hidden] { display: none; }
.result pre { margin: 0; white-space: pre-wrap; font: inherit; background: #fff; border-radius: 8px; padding: 12px; border: 1px solid var(--line); }
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Footer */
.footer { background: var(--navy); color: #cdd8f0; padding: 32px 0 24px; border-top: 4px solid var(--red); }
.foot { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.foot div { display: flex; flex-direction: column; }
.foot strong { color: #fff; font-family: var(--font-display); }
.foot a { color: #fff; }
.foot small { grid-column: 1 / -1; color: #93a5cf; border-top: 1px solid rgba(255, 255, 255, .15); padding-top: 14px; }

.float-call { position: fixed; right: 16px; bottom: 16px; z-index: 60; background: var(--red); color: #fff; font-family: var(--font-display); font-weight: 700; text-decoration: none; border-radius: 999px; padding: 12px 22px; box-shadow: 0 8px 20px rgba(0, 0, 0, .3); display: none; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .split, .about, .contact { grid-template-columns: 1fr; }
  .quick { grid-template-columns: 1fr 1fr; }
  .section { padding: 52px 0; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav { display: none; flex-direction: column; align-items: stretch; width: 100%; padding-bottom: 14px; gap: 12px; }
  .nav.open { display: flex; }
  .float-call { display: block; }
}
@media (max-width: 480px) {
  .quick { grid-template-columns: 1fr; }
  .foot { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .shot img { transition: none; }
}
