* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-width: 320px;
  background: #fff7ff;
}

body {
  overflow-x: hidden;
}

.site-frame {
  width: 100%;
}

.screen {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.screen-top {
  aspect-ratio: 1440 / 900;
  background: #fff7ff;
}

.screen-top img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.screen-bottom {
  height: calc(696 / 1440 * 100vw);
  min-height: 155px;
  background: #000;
}

.bottom-crop {
  width: 100%;
  height: 100%;
  background-image: url("assets/reference-bottom.png");
  background-repeat: no-repeat;
  background-size: 100vw auto;
  background-position: top calc(-204 / 1440 * 100vw) center;
}

.hotspots {
  position: absolute;
  inset: 0;
}

.hotspot {
  position: absolute;
  display: block;
}

.home {
  left: 40.3%;
  top: 2.4%;
  width: 5.4%;
  height: 3.1%;
}

.admissions {
  left: 46.1%;
  top: 2.4%;
  width: 7.9%;
  height: 3.1%;
}

.contact {
  left: 55.8%;
  top: 2.4%;
  width: 5.2%;
  height: 3.1%;
}

.login {
  left: 83.9%;
  top: 2.4%;
  width: 4.6%;
  height: 3.1%;
}

.signup {
  left: 89.4%;
  top: 2.4%;
  width: 4.7%;
  height: 3.1%;
}

.search {
  left: 27.8%;
  top: 24.6%;
  width: 14.2%;
  height: 5.9%;
}

.pg {
  left: 42.9%;
  top: 24.6%;
  width: 14.1%;
  height: 5.9%;
}

.bsc {
  left: 58%;
  top: 24.6%;
  width: 14.2%;
  height: 5.9%;
}

.home-exact {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #fff7ff;
}

.home-exact img {
  width: 100%;
  display: block;
}

.home-exact-top {
  aspect-ratio: 1440 / 900;
}

.home-exact-top img {
  position: absolute;
  inset: 0;
  height: 100%;
}

.home-exact-bottom {
  height: calc(696 / 1440 * 100vw);
  min-height: 155px;
  background: #000;
}

.home-exact-bottom img {
  position: absolute;
  top: calc(-204 / 1440 * 100vw);
  left: 0;
}

.home-hotspot {
  position: absolute;
  z-index: 2;
}

.home-iisc-hotspot {
  left: 40.1%;
  top: 2.45%;
  width: 5.7%;
  height: 3.1%;
}

.home-admissions-hotspot {
  left: 46.35%;
  top: 2.45%;
  width: 7.6%;
  height: 3.1%;
}

.home-contact-hotspot {
  left: 55.8%;
  top: 2.45%;
  width: 5.1%;
  height: 3.1%;
}

.home-login-hotspot {
  left: 83.9%;
  top: 2.45%;
  width: 4.75%;
  height: 3.1%;
}

.home-signup-hotspot {
  left: 89.2%;
  top: 2.45%;
  width: 4.9%;
  height: 3.1%;
}

.home-search-hotspot {
  left: 27.9%;
  top: 30%;
  width: 14.2%;
  height: 5.8%;
}

.home-pg-hotspot {
  left: 43%;
  top: 30%;
  width: 14.1%;
  height: 5.8%;
}

.home-bsc-hotspot {
  left: 58%;
  top: 30%;
  width: 14.2%;
  height: 5.8%;
}

.landing-page {
  width: min(1296px, calc(100vw - 144px));
  margin: 13px auto 0;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

.landing-nav {
  height: 45px;
  padding: 0 14px 0 12px;
  display: grid;
  grid-template-columns: 300px 1fr 151px;
  align-items: center;
  border-radius: 8px;
  color: #1c1930;
  background: #fff;
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
  color: inherit;
  text-decoration: none;
}

.landing-logo,
.landing-footer-logo {
  display: inline-block;
  background-image: url("assets/favicon.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.landing-logo {
  width: 34px;
  height: 34px;
}

.landing-brand strong,
.landing-brand em {
  display: block;
  line-height: 1;
}

.landing-brand strong {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.landing-brand em {
  margin-top: 4px;
  color: #1682a4;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
}

.landing-links {
  display: flex;
  justify-content: center;
  gap: 70px;
  color: #373052;
  font-size: 11px;
  font-weight: 500;
}

.landing-links a,
.landing-actions a {
  text-decoration: none;
}

.landing-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.landing-login,
.landing-signup {
  width: 67px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-size: 8px;
  font-weight: 800;
}

.landing-login {
  border: 1px solid #d7dae5;
  color: #1b1724;
  background: #fff;
}

.landing-signup {
  color: #fff;
  background: #3a8f9c;
}

.landing-hero {
  position: relative;
  height: min(812px, calc(100vh - 88px));
  min-height: 600px;
  margin-top: 12px;
  overflow: visible;
  border-radius: 5px;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.24)),
    url("assets/reference-top.png");
  background-repeat: no-repeat;
  background-size: 111.111% auto;
  background-position: center -70px;
}

.landing-hero-copy {
  position: absolute;
  top: 98px;
  left: 50%;
  width: min(780px, calc(100% - 34px));
  transform: translateX(-50%);
  text-align: center;
}

.landing-hero h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(24px, 2.15vw, 31px);
  line-height: 1.43;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.22);
}

.landing-cta-row {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.landing-cta {
  height: 53px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 4px;
  color: #fff;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.landing-cta strong {
  font-size: 13px;
  line-height: 1.1;
  font-weight: 800;
}

.landing-cta span,
.landing-cta small {
  display: block;
  font-size: 6px;
  line-height: 1.2;
  font-weight: 700;
}

.landing-cta span {
  margin-top: 8px;
}

.landing-cta small {
  margin-top: 2px;
}

.search-programmes {
  width: 204px;
  background: #12314a;
}

.start-application {
  width: 203px;
  background: #f24e30;
}

.apply-bsc {
  width: 203px;
  background: #2f8797;
}

.landing-note {
  margin: 7px 0 0;
  color: #fff;
  font-size: 9px;
  line-height: 1;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.landing-video-card {
  position: absolute;
  left: 50%;
  bottom: -58px;
  z-index: 2;
  width: 121px;
  height: 101px;
  padding: 10px;
  transform: translateX(-50%);
  border: 1px solid #e1dee6;
  border-radius: 19px;
  color: #fff;
  background: #fff;
  text-decoration: none;
}

.landing-video-thumb {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 13px;
  background:
    linear-gradient(rgba(11, 43, 88, 0.2), rgba(11, 43, 88, 0.2)),
    url("assets/reference-top.png");
  background-size: 1440px 900px;
  background-position: -664px -847px;
}

.landing-play {
  position: absolute;
  top: 28px;
  left: 50%;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  transform: translateX(-50%);
  border-radius: 50%;
  color: #111;
  background: #fff;
  font-size: 12px;
}

.landing-video-card > span:last-child {
  position: absolute;
  right: 16px;
  bottom: 26px;
  left: 16px;
  font-size: 9px;
  font-weight: 600;
  text-align: center;
}

.landing-footer {
  min-height: 634px;
  margin-top: 83px;
  padding-top: 45px;
  color: #fff;
  background: #000;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

.landing-footer h2 {
  margin: 0 0 16px;
  font-size: 21px;
  line-height: 1.2;
  font-weight: 800;
}

.landing-footer p {
  width: min(930px, calc(100vw - 48px));
  margin: 0 auto;
  font-size: 10px;
  line-height: 1.28;
  font-weight: 600;
}

.landing-footer a {
  color: inherit;
}

.landing-footer-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 22px;
}

.landing-footer-buttons a {
  width: 120px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  color: #1b2740;
  background: #fff;
  font-size: 6px;
  font-weight: 800;
  text-decoration: none;
}

.landing-footer-buttons span {
  width: 12px;
  height: 9px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #ff3f38;
  border-radius: 3px;
  color: #ff3f38;
  font-size: 6px;
}

.landing-footer-bottom {
  width: min(1008px, calc(100vw - 80px));
  margin: 27px auto 0;
  padding-top: 19px;
  display: grid;
  grid-template-columns: 130px 1fr 210px 112px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.7);
  font-size: 9px;
  font-weight: 600;
  text-align: left;
}

.landing-footer-logo {
  width: 32px;
  height: 32px;
}

.landing-socials {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.landing-socials a {
  width: 27px;
  height: 27px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 50%;
  text-decoration: none;
}

@media (max-width: 900px) {
  .landing-page {
    width: calc(100vw - 28px);
  }

  .landing-nav {
    height: auto;
    min-height: 56px;
    grid-template-columns: 1fr auto;
    gap: 10px;
    padding: 8px 10px;
  }

  .landing-links {
    order: 3;
    grid-column: 1 / -1;
    gap: 22px;
  }

  .landing-hero {
    height: 70vh;
  }

  .landing-cta-row {
    align-items: center;
    flex-direction: column;
  }

  .landing-cta {
    width: min(260px, 100%);
  }

  .landing-footer-bottom {
    grid-template-columns: 1fr;
    gap: 14px;
    justify-items: center;
    text-align: center;
  }
}

.login-page,
.verify-page,
.next-page {
  display: none;
  min-height: 100vh;
  background: #fff;
}

.login-page {
  align-items: center;
  justify-content: center;
}

.auth-stage {
  position: relative;
  max-width: 100vw;
  max-height: 100vh;
}

.login-stage {
  width: min(100vw, calc(100vh * 1427 / 822));
  aspect-ratio: 1427 / 822;
}

.auth-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.login-home-link {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 0;
  width: 11%;
  height: 10%;
}

.mobile-login-form {
  position: absolute;
  z-index: 2;
  left: 52.75%;
  top: 63.96%;
  width: 30.15%;
  height: 6.55%;
}

.mobile-number-input {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 47%;
  border: 0;
  outline: 0;
  padding: 0 11px;
  color: #4d4d4d;
  background: transparent;
  font: 500 clamp(6px, 0.58vw, 8px) / 1 Arial, Helvetica, sans-serif;
}

.request-otp-button {
  position: absolute;
  inset: 54% 0 0 0;
  width: 100%;
  border: 0;
  padding: 0;
  color: transparent;
  background: transparent;
  cursor: pointer;
}

.login-page:target,
.verify-page:target {
  display: flex;
}

.verify-page:target {
  align-items: center;
  justify-content: center;
}

.verify-shell {
  width: min(760px, calc(100vw - 32px));
  height: min(613px, 100vh);
  display: grid;
  grid-template-columns: 277px 260px;
  align-items: center;
  justify-content: center;
  gap: 96px;
  background: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

.verify-photo {
  position: relative;
  width: 277px;
  height: 393px;
  overflow: hidden;
  border-radius: 5px;
  background-image:
    linear-gradient(rgba(2, 8, 15, 0.48), rgba(2, 8, 15, 0.52)),
    url("assets/login-reference.png");
  background-repeat: no-repeat;
  background-size: 1437px 827px;
  background-position: -226px -166px;
}

.verify-photo-copy {
  position: absolute;
  right: 9px;
  bottom: 24px;
  left: 9px;
  color: #fff;
}

.verify-photo-copy strong {
  display: block;
  margin-bottom: 9px;
  font-size: 11px;
  line-height: 1.1;
  font-weight: 800;
}

.verify-photo-copy p {
  margin: 0;
  font-size: 9px;
  line-height: 1.35;
  font-weight: 700;
}

.verify-card {
  width: 260px;
  margin-top: -2px;
  color: #111;
}

.verify-logo {
  width: 42px;
  height: 51px;
  margin: 0 auto 8px;
  background-image: url("assets/login-reference.png");
  background-repeat: no-repeat;
  background-size: 1427px 822px;
  background-position: -951px -305px;
}

.verify-heading {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 23px;
}

.verify-heading h1 {
  margin: 0;
  font-size: 14px;
  line-height: 1.1;
  font-weight: 800;
}

.verify-back {
  position: absolute;
  left: 0;
  top: -1px;
  color: #202020;
  font-size: 23px;
  line-height: 1;
  text-decoration: none;
}

.verify-progress {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 10px 0 14px;
}

.verify-progress span {
  width: 18px;
  height: 3px;
  border-radius: 3px;
  background: #d7edf0;
}

.verify-progress span:first-child,
.verify-progress span:nth-child(2) {
  background: #3b98a5;
}

.verify-copy {
  margin: 0 0 9px;
  color: #5f5f5f;
  font-size: 8px;
  line-height: 1.35;
  text-align: center;
}

.otp-form {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  margin: 0;
}

.otp-form label {
  color: #555;
  font-size: 7px;
}

.otp-entry {
  position: relative;
  height: 21px;
  cursor: text;
}

.otp-hidden {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  opacity: 0;
}

.otp-boxes {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
}

.otp-boxes span {
  display: grid;
  place-items: center;
  border: 1px solid #d3d3d3;
  border-radius: 6px;
  color: #555;
  background: #fff;
  font: 700 11px/1 Arial, Helvetica, sans-serif;
}

.resend-copy {
  margin: 19px 0 0;
  color: #656565;
  font-size: 7px;
  line-height: 1;
  text-align: center;
}

.resend-copy a,
.policy-copy a {
  color: #111;
  font-weight: 700;
  text-decoration: underline;
}

.terms-copy {
  margin: 20px 0 0;
  color: #777;
  font-size: 6px;
  line-height: 1;
  text-align: center;
}

.policy-copy {
  margin: 7px 0 0;
  color: #777;
  font-size: 6px;
  line-height: 1;
  text-align: center;
}

.next-page:target {
  display: block;
}

.manage-stage {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  background: #eefdff;
}

.manage-stage img {
  width: 100%;
  min-height: 100vh;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.track-status-link {
  position: absolute;
  z-index: 2;
  top: 60.8%;
  width: 4.7%;
  height: 2.1%;
  border: 0;
  padding: 0;
  color: transparent;
  background: transparent;
  cursor: pointer;
}

.track-status-one {
  left: 44.55%;
}

.track-status-two {
  left: 66.45%;
}

.track-status-three {
  left: 88.15%;
}

.interviewed-label {
  position: absolute;
  z-index: 3;
  top: 59.55%;
  width: 9.7%;
  height: 3.6%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: #fff;
  background: #3a919d;
  font: 500 clamp(8px, 0.95vw, 13px) / 1 Arial, Helvetica, sans-serif;
}

.interviewed-one {
  left: 34.75%;
}

.interviewed-two {
  left: 56.45%;
}

.interviewed-three {
  left: 78.05%;
}

.sidebar-redirect {
  position: absolute;
  z-index: 4;
  left: 9.05%;
  width: 14.25%;
  height: 4.2%;
  border-radius: 5px;
}

.eligible-programmes-link {
  top: 39.25%;
}

.feedback-link {
  top: 43.85%;
}

.manage-nav-link {
  position: absolute;
  z-index: 4;
  top: 4.2%;
  height: 4.1%;
}

.manage-about-link {
  left: 44%;
  width: 6.1%;
}

.manage-programmes-link {
  left: 57.25%;
  width: 9.9%;
}

.manage-contact-link {
  left: 74.55%;
  width: 7.9%;
}

.status-overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0 1.6vw;
  background: rgba(0, 0, 0, 0.52);
}

.status-overlay.is-open {
  display: flex;
}

.status-panel {
  width: min(97vw, 1388px);
  min-height: 352px;
  margin-top: 8.5vh;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
  font-family: Arial, Helvetica, sans-serif;
}

.status-panel h2 {
  margin: 0;
  padding: 14px 12px 0;
  color: #388d9c;
  font-size: clamp(20px, 2vw, 29px);
  line-height: 1.2;
  font-weight: 800;
}

.status-panel p {
  margin: 6px 0 0;
  padding: 0 12px;
  color: #b5b5b5;
  font-size: clamp(16px, 1.55vw, 23px);
  line-height: 1.2;
}

.status-line {
  margin: 32px 11px 0;
  padding-top: 32px;
  border-top: 1px solid #e6e6e6;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.step {
  width: 62px;
  display: grid;
  justify-items: center;
  gap: 8px;
  color: #9b9b9b;
  font-size: 7px;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

.step.wide {
  width: 86px;
}

.step i {
  width: 16px;
  height: 16px;
  display: block;
  border: 3px solid #a8a8a8;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #a8a8a8 0 3px, transparent 3.2px),
    #fff;
}

.step.complete {
  color: #2da7b6;
}

.step.complete i {
  border-color: #56bdc8;
  background:
    radial-gradient(circle at center, #56bdc8 0 3px, transparent 3.2px),
    #fff;
}

.step.recommended {
  color: #51b85e;
}

.step.recommended i {
  border-color: #63bd6d;
  background:
    radial-gradient(circle at center, #63bd6d 0 3px, transparent 3.2px),
    #fff;
}

.connector {
  width: clamp(35px, 4.7vw, 67px);
  height: 1px;
  margin-top: 8px;
  border-top: 2px dotted #b8b8b8;
}

.connector.done {
  border-top-color: #7b7b7b;
}

.connector.recommended {
  border-top-color: #56b862;
}

body:has(.login-page:target) .site-frame,
body:has(.verify-page:target) .site-frame,
body:has(.next-page:target) .site-frame,
body:has(.verify-page:target) .login-page,
body:has(.next-page:target) .login-page,
body:has(.next-page:target) .verify-page {
  display: none;
}
