@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --red: #c4122f;
  --blue: #0d3862;
  --text: #0b1220;
  --muted: #111111;
  --line: #dbe3ee;
  --bg: #ffffff;
  --nav-right: 72px;
  --nav-top: 20px;
  --logo-size: 210px;
  --logo-left: 48px;
  --logo-top: -92px;
  --hero-h: 620px;
  --hero-copy-left: 168px;
  --hero-copy-top: 168px;
  --spot-size: 360px;
  --spot-left: -42px;
  --spot-top: -24px;
}
* {
  box-sizing: border-box
}


body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
a {
  color: inherit;
  text-decoration: none
}
button {
  font-family: inherit
}
img {
  max-width: 100%;
  display: block
}
.container {
  width: min(980px, calc(100% - 48px));
  margin-inline: auto;
}
/* HERO */
/* Sticky Apply CTA (desktop: right edge • mobile: footer bar)
   Hidden by default; JS toggles .applybtn.sticky */
.applybtn a{
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #1a375f;
  color: #fff;
  padding: 12px 10px;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .08em;
  cursor: pointer;
  z-index: 9999999999;
  text-decoration: none;
  border-radius: 14px 0 0 14px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0,0,0,.22);

  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

/* rotate text UP */
.applybtn a span{
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  display: inline-block;
}

.applybtn.sticky a{
  opacity: 1;
  pointer-events: auto;
}


.hero {
  position: relative;
  height: var(--hero-h);
  overflow: hidden;
  background: url("../images/topBG.jpg");
  background-size: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 520px at 70% 50%, rgba(255, 255, 255, .06), transparent 60%);
  pointer-events: none;
}
.hero__logoCircle {
  position: absolute;
  left: var(--logo-left);
  top: var(--logo-top);
  width: var(--logo-size);
  height: var(--logo-size);
  border-radius: 999px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 154;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .15);
}
.hero__logoCircle img {
  width: 160px;
  height: auto;
  padding-top: 50px;
}
.hero__nav {
  position: absolute;
  right: var(--nav-right);
  top: var(--nav-top);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 22px;
}
.hero__navLinks {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.hero__navLinks a {
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  opacity: .95;
}
.hero__navLinks a:hover {
  opacity: 1;
  text-decoration: underline
}
.btnPill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .2px;
  white-space: nowrap;
  border: 0;
  cursor: pointer;
  transition: opacity .18s ease, transform .1s ease;
}
.btnPill:active {
  transform: translateY(1px);
}
.btnPill--red {
  background: var(--red);
  color: #fff;
}
.btnPill--blue {
  background: var(--blue);
  color: #fff;
}
.hero__menuBtn {
  display: none;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .22);
  color: #fff;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}
.hero__menuBtn svg {
  width: 18px;
  height: 18px
}
.hero__copy {
  position: absolute;
  left: var(--hero-copy-left);
  top: var(--hero-copy-top);
  width: min(650px, 72vw);
  z-index: 3;
  padding: 50px 0 0 50px;
}
.hero__spot {
  position: absolute;
  left: var(--spot-left);
  top: var(--spot-top);
  width: var(--spot-size);
  height: var(--spot-size);
  border-radius: 999px;
  background: rgba(196, 18, 47, .85);
  z-index: -1;
}
.hero__title {
  margin: 0;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.6px;
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.02;
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;
  padding: 8px 14px;
  border-radius: 999px;
  background: #fff;
  color: #0a223c;
  font-weight: 800;
  font-size: 14px;
}
/* SECTION 2: ABOUT */
.about2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.about2__left {
  background: var(--red);
  position: relative;
  overflow: visible;
  width: 70%;
}
.about2__right {
  background: #fff;
  display: flex;
  align-items: center;
}
.about2__content {
  padding: 0 210px 0 0px;
  width: 100%;
  max-width: 720px;
}
.about2__content h2 {
  margin: 0 0 10px;
  color: var(--blue);
  font-size: 28px;
  font-weight: 800;
}
.about2__content p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.about2__stack {
  display: grid;
  gap: 12px;
  margin: 18px 0 18px;
}
.about2__box {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.45;
  color: #2a3a4f;
  background: #f6f8fb;
}
.about2__box--tint {
  background: rgba(196, 18, 47, .12);
  border-color: rgba(196, 18, 47, .28);
}
.about2__btnRow {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.about2__photoCard {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 360px;
  height: 380px;
  background: #e9eef6;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .20);
  z-index: 3;
  overflow: hidden;
  border-radius: 2px;
}
.about2__photoCard img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* WHY */
.why {
  padding: 60px 0 80px;
  background: #fff;
}
.why__title {
  margin: 0 0 34px;
  text-align: center;
  color: var(--blue);
  font-size: 28px;
  font-weight: 800;
}
.why__grid {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px 54px;
}
.whyItem {
  display: block;
  gap: 14px;
  align-items: flex-start;
}
.whyIcon {
  width: 42px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  margin-top: 2px;
}
.whyIcon svg {
  width: 20px;
  height: 20px;
  stroke: var(--red);
}
.whyItem h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  color: #101828;
}
.whyItem p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 420px;
}
/* SECTION 3: PROGRAMMES */
.programSec {
  padding: 70px 0;
  background: #fff;
}
.programSec h2 {
  text-align: center;
  margin: 0;
  color: var(--blue);
  font-size: 28px;
  font-weight: 800;
}
.programSec__sub {
  text-align: center;
  margin: 14px auto 50px;
  font-size: 15px;
  line-height: 1.55;
  color: #4b5563;
  max-width: 780px;
}
.programGrid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  align-items: flex-start;
}
/* LEFT CARD */
.programCard__img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .16);
}
.programCard__box {
  background: #fff;
  border-radius: 6px;
  margin-top: 0px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .12);
  padding: 20px 24px;
}
.programCard__box h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
}
.programCard__box ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.5;
  color: #374151;
}
.programNav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-top: 22px;
}
.navBtn {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  cursor: pointer;
  border-radius: 2px;
  border: 0;
  color: #fff;
  transition: 0.2s;
}
.navBtn--left {
  background: var(--red);
}
.navBtn--right {
  background: #111827;
}
.programTrack {
  flex: 1;
  height: 6px;
  background: #e5e7eb;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  margin-left: 14px;
}
.programTrack__bar {
  width: 33.33%;
  height: 100%;
  background: var(--red);
  position: absolute;
  left: 0;
  top: 0;
  transition: 0.35s ease;
}
/* RIGHT INFO + SCROLL INDICATOR */
.programInfoWrap {
  position: relative;
  display: flex;
}
.programInfoPanel {
  height: 580px;
  overflow-y: auto;
  padding-right: 28px;
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
}
.programInfoPanel h4 {
  margin: 24px 0 6px;
  font-size: 17px;
  font-weight: 800;
  color: var(--red);
}
.programInfoPanel h4:first-child {
  margin-top: 0;
}
.programInfoPanel p {
  margin: 0 0 10px;
}
.programInfoPanel ul {
  margin: 0 0 10px;
  padding-left: 18px;
}
.programScrollTrack {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 8px;
  background: #f9e1e7;
  border-radius: 999px;
}
.programScrollThumb {
  position: absolute;
  left: 0;
  width: 100%;
  height: 90px;
  background: var(--red);
  border-radius: 999px;
  transform: translateY(0);
  transition: transform .1s linear;
}
.programInfoPanel::-webkit-scrollbar{
	width:0px;
}

/* SEMESTER PILLS / ACCORDION */
.semesterTabs {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.semesterTab {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 700;
  background: #fce4ea;
  color: #111827;
}
.semesterTab.is-active {
  background: var(--red);
  color: #fff;
}
.semesterPanels {
  margin-top: 14px;
}
.semesterPanel {
  display: none;
}
.semesterPanel.is-active {
  display: block;
}
/* =======================
   SECTION 4: RESEARCH ECOSYSTEM
   ======================= */
.research {
  padding: 70px 0 120px;
  /* blue top, white bottom like your design */
  background: linear-gradient(to bottom, #0d3862 0%, #0d3862 55%, #ffffff 55%, #ffffff 100%);
}
.research__header {
  text-align: center;
  color: #ffffff;
  max-width: 900px;
  margin: 0 auto;
}
.research__header h2 {
  margin: 0 0 14px;
  font-size: 28px;
  font-weight: 800;
}
.research__header p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
/* cards row */
.researchCards {
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}
.researchCard {
  position: relative;
  display: flex; /* make each grid item a flex container */
  flex-direction: column;
}
.researchCard__imgWrapper {
  overflow: hidden;
  border-radius: 4px 4px 0 0;
}
.researchCard__imgWrapper img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.researchCard__body {
  background: #ffffff;
  padding: 20px 22px 26px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
  border-bottom: 3px solid #c4122f;
  margin-top: -12px;
  position: relative;
  z-index: 2;
  flex: 1; /* stretch body so all cards equal height */
  display: flex;
  flex-direction: column;
}
.researchCard__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 800;
  color: #c4122f;
}
.researchCard__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: #374151;
  flex: 1; /* push text to fill, equalising height */
}
/* =======================
   SECTION 5: FACULTY CAROUSEL
   ======================= */
.facultySec, .apply {
  padding: 80px 0 90px;
  background: #f7dbe3; /* soft pink */
}
.facultyGrid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
  gap: 48px;
  align-items: center;
}
.facultyIntro h2 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
}
.facultyIntro p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #374151;
  max-width: 340px;
}
/* carousel area */
.facultyCarousel {
  overflow: hidden;
}
.facultyCardsRow {
  display: flex;
  gap: 24px;
}
/* show 3 cards on desktop */
.facultyCard {
  flex: 0 0 calc((100% - 48px)/3);
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.facultyCard__img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}
.facultyCard__body {
  padding: 16px 18px 18px;
}
.facultyCard__name {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}
.facultyCard__role {
  margin: 0;
  font-size: 14px;
  color: #4b5563;
}
/* nav buttons (reuse navBtn styles) */
.facultyNav {
  display: flex;
  justify-content: center;
  margin-top: 32px;
  gap: 0;
}
.facultyNav .navBtn {
  border-radius: 0;
}
.facultyNav .navBtn:first-child {
  border-radius: 4px 0 0 4px;
}
.facultyNav .navBtn:last-child {
  border-radius: 0 4px 4px 0;
}
/* =======================
   ACADEMIC & CAREER PATHWAYS
   ======================= */
.pathways {
  background: #0d3862;
  color: #ffffff;
  padding: 70px 0 50px;
}
.pathways__heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 26px;
}
.pathways__heading h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 800;
}
.pathways__heading p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
.pathways__tabsWrap {
  display: flex;
  justify-content: center;
  margin-bottom: -16px;
}
.pathTabs {
  display: inline-flex;
  background: #ffffff;
  border-radius: 999px;
  overflow: hidden;
}
.pathTabs button {
  border: 0;
  padding: 10px 26px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  background: #0d3862;
  color: #fff;
  white-space: nowrap;
}
.pathTabs button.is-active {
  background: #fff;
  color: #0d3862;
}
.pathways__card {
  background: #ffffff;
  color: #111827;
  border-radius: 14px;
  max-width: 880px;
  margin: 0 auto;
  padding: 18px 26px 20px;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
}
.pathways__card ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.6;
}
/* =======================
   JOURNEY SECTION
   ======================= */
.journey {
  background: #f9fafb;
  padding: 50px 0 40px;
}
.journey__inner {
  max-width: 1040px;
  margin: 0 auto;
}
.journey__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
  margin: 0 0 12px;
}
.journey__imgWrap {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
}
.admission_processs {
  padding: 30px 0px;
}
#Admission_process {
  background: #f1eff2
}
.application-deadline-btn {
  background-color: #5d24fd;
  font-size: 20px;
  color: #fff;
  padding: 10px 26px;
  border-radius: 30px;
  margin-top: 20px;
  display: inline-block;
}
.application-deadline-btn:hover {
  background-color: var(--redcolor);
  color: #fff;
}
.distinct-features {
  background: #f0f0f0;
  padding: 40px 0px;
}
.distinct-features h2 {
  padding: 0 0 20px;
  color: var(--blue);
  font-size: 28px;
  font-weight: 800;
}
.distinct-features .features-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /*gap: 1px;*/
}
.distinct-features .features-cards .stage {
  background: #b42b35;
  padding: 3px 20px 3px 10px;
  width: fit-content;
  font-size: 16px;
  border-radius: 15px 50px 50px 15px;
  color: #fff
}
.distinct-features .features-cards .heading {
  font-size: 14px;
  color: #1a375f;
  font-weight: bold;
  border-bottom: 2px solid #b42b35;
  margin: 10px 0;
  padding-bottom: 10px;
}
.distinct-features .features-card {
  padding: 0 10px;
  position: relative;
  padding-top: 50px;
  border-right: 1px solid #ccc;
  height: fit-content;
}
.distinct-features .features-card:last-child {
  border-right: 0px solid #ccc;
}
.distinct-features .features-card:nth-child(2) {
  border-right: 0px solid #ccc;
}
.distinct-features .features-card:nth-child(3) {
  border-left: 1px solid #ccc;
}
.distinct-features .features-card p {
  font-size: 14px !important;
  line-height: 1.55;
  margin-bottom: 0;
  color: #1a1a1a;
  font-weight: 400;
}
.distinct-features .features-card .left-img {
  position: absolute;
  top: 0px;
  left: 14px;
  width: auto;
  height: 45px;
}
#building {
  position: absolute;
}
#building .right-img {
  position: relative;
  right: -380px;
  bottom: 120px;
}
.distinct-features .features-card ul {
  list-style: none; /* Remove default bullets */
  padding-left: 0;
  margin-top: 5px;
}
.distinct-features .features-card ul li {
  position: relative;
  padding-left: 20px; /* Enough space for triangle + spacing */
  margin-bottom: 4px;
  font-size: 14px;
}
.distinct-features .features-card ul li::before {
  content: "";
  position: absolute;
  top: 10px; /* Center vertically */
  left: 0;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 5px solid #3d3d3d;
}
/* =======================
   FAQ SECTION
   ======================= */
.faqList {
  border-top: 1px solid #e5e7eb;
}
.faqItem {
  border-bottom: 1px solid #e5e7eb;
}
.faqItem__question {
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  background: #f3f4f6;
  border: 0;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.faqItem__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.faqItem__number {
  font-weight: 700;
}
.faqItem__icon {
  font-size: 18px;
  font-weight: 700;
}
.faqItem__answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 14px;
  background: #ffffff;
  transition: max-height 0.25s ease, padding 0.25s ease;
}
.faqItem.is-open .faqItem__answer {
  padding: 12px 14px 14px;
  max-height: 600px; /* big enough for longest answer */
}
.faqItem__answer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
.faqSec {
  background: #ffffff;
  padding: 50px 0 70px;
}
.faqSec__title {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
  margin: 0 0 18px;
}
.faqList {
  border-top: 1px solid #e5e7eb;
}
.faqItem {
  border-bottom: 1px solid #e5e7eb;
}
.faqItem__question {
  width: 100%;
  text-align: left;
  padding: 12px 14px;
  background: #f3f4f6;
  border: 0;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.faqItem__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.faqItem__number {
  font-weight: 700;
}
.faqItem__icon {
  font-size: 18px;
  font-weight: 700;
}
.faqItem__answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 14px;
  background: #ffffff;
  transition: max-height 0.25s ease, padding 0.25s ease;
}
.faqItem.is-open .faqItem__answer {
  padding: 12px 14px 14px;
  max-height: 400px; /* enough for longest answer */
}
.faqItem__answer p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}
/* =======================
   FOOTER STRIP
   ======================= */
.pgFooter {
  background: #000000;
  color: #ffffff;
  padding: 26px 0;
}
.pgFooter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.pgFooter__left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pgFooter__left img {
  height: 42px;
  width: auto;
}
.pgFooter__brandName {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.pgFooter__text {
  font-size: 14px;
  margin: 0 0 4px;
}
.pgFooter__subtext {
  font-size: 14px;
  opacity: 0.8;
  margin: 0;
}
.pgFooter__cta .btnPill {
  font-size: 13px;
}
@media (max-width: 720px) {
  .pathways {
    padding: 60px 0 40px;
  }
  .pathways__card {
    padding: 16px 18px 18px;
  }
  .journey__inner, .faqSec .container {
    width: min(1180px, calc(100% - 32px));
  }
  .pgFooter__inner {
    align-items: flex-start;
  }
}
/* responsive */
@media (max-width: 980px) {
  .facultyGrid {
    grid-template-columns: 1fr;
  }
  .facultyIntro {
    max-width: 360px;
  }
}
@media (max-width: 900px) {
  /* show 2 cards */
  .facultyCard {
    flex: 0 0 calc((100% - 24px)/2);
  }
}
@media (max-width: 640px) {
  /* show 1 card */
  .facultyCard {
    flex: 0 0 100%;
  }
  .facultyIntro p {
    max-width: none;
  }
}
/* responsive */
@media (max-width: 1024px) {
  .researchCards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .research {
    padding: 60px 0 90px;
    background: #0d3862;
  }
  .researchCards {
    grid-template-columns: 1fr;
  }
}
/* RESPONSIVE */
@media(max-width:980px) {
  :root {
    --hero-h: 560px;
    --logo-size: 280px;
    --hero-copy-left: 96px;
    --hero-copy-top: 150px;
    --spot-size: 330px;
  }
  .about2 {
    grid-template-columns: 1fr;
    min-height: unset;
  }
  .about2__left {
    padding: 44px 0;
    width: inherit;
  }
  .about2__photoCard {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin: 0 auto;
    width: min(360px, calc(100% - 44px));
    height: 360px;
  }
  .about2__content {
    padding: 42px 28px 52px;
    max-width: 720px;
  }
  .why__grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .programGrid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .programInfoPanel {
    max-height: none;
    padding-right: 0;
  }
  .programScrollTrack {
    display: none;
  }
}
@media(max-width:820px) {
  .hero__menuBtn {
    display: inline-flex;
  }
  .hero__navLinks {
    display: none;
  }
  .hero__nav.isOpen .hero__navLinks {
    display: flex;
    position: absolute;
    right: 0;
    top: 48px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    width: min(280px, 88vw);
    background: rgba(10, 14, 24, .92);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 14px;
  }
}
@media(max-width:520px) {
  :root {
    --hero-h: 560px;
    --logo-size: 180px;
    --logo-left: 16px;
    --logo-top: -70px;
    --hero-copy-left: 26px;
    --hero-copy-top: 170px;
    --spot-size: 220px;
    --spot-left: 16px;
  }
  .container {
    width: min(1180px, calc(100% - 32px));
  }
  .navBtn {
    width: 40px;
    height: 40px;
  }
  .about2__btnRow .btnPill {
    width: 100%;
  }
  .distinct-features .features-cards {
    display: block;
  }
  .distinct-features .features-card {
    border-right: 0px solid #ccc;
    margin-bottom: 20px;
  }
  .distinct-features .features-card:nth-child(3) {
    border-left: 0px solid #ccc;
    margin-bottom: 20px;
  }
  #building .right-img {
    display: none
  }
  .pathTabs button {
    white-space: normal;
  }
  .pathways__tabsWrap {
    margin-bottom: -25px;
  }
  .distinct-features h2, .pathways__heading h2, .facultyIntro h2, .research__header h2, .programSec h2, .about2__content h2 {
    font-size: 22px;
    text-align: left;
  }
  .programSec h2 {
    font-size: 22px;
    text-align: left;
    padding-left: 20px;
  }
  .why__title {
    font-size: 22px;
    text-align: left;
    padding-left: 20px;
  }
  .facultySec, .apply {
    padding: 40px 0;
  }
  .programSec__sub {
    text-align: left;
    font-size: 14px;
    line-height: 1.55;
    padding: 0 20px;
  }
  .research__header p, .pathways__heading p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
  }
  .why {
    padding: 0px 0 80px;
  }
  .hero__copy {
    padding: 20px 0 0 50px;
  }
.applybtn a{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  transform: none;

  background: #b42b35; /* footer sticky CTA on mobile */
  color: #fff;
  padding: 14px 16px;
  font-size: 16px;
  letter-spacing: 0;
  width: 100%;
  text-align: center;
  border-radius: 0;
}

.applybtn a span{
  writing-mode: horizontal-tb;
  transform: none;
}
	
	.hero {    background-position: 80%;}

}

/* Move to top */
.toTop{
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.12);
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 9999999999;

  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease;
}

.toTop.is-visible{
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* keep it above the mobile sticky footer CTA */
@media (max-width: 520px){
  .toTop{
    bottom: 78px;
  }
}
