/* ==========================================================================
   IMS Noida — internal pages
   Restyles the shared parts of the inner pages (banner, course sections,
   rankings, labs, testimonials, text pages) in the green theme.
   Loaded by header.php after ims-theme.css. The blog does not load it.
   ========================================================================== */

/* ---------- Page banner (all inner pages) ---------- */
.inner-hero-banner { position: relative; padding: 0 !important; margin: 0 !important; background: var(--ims-900); }
.inner-banner-parent { position: relative !important; overflow: hidden; background: var(--ims-900); }
.inner-banner-parent > img.desktop-b,
.inner-banner-parent > img.mobile-b {
  height: clamp(340px, 32vw, 460px) !important;
  object-fit: cover;
  object-position: right center;
}
.inner-banner-parent::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(19,45,20, .94) 0%, rgba(19,45,20, .78) 32%, rgba(19,45,20, .1) 68%),
    linear-gradient(0deg, rgba(19,45,20, .45) 0%, rgba(19,45,20, 0) 40%);
}
.inner-banner-parent .banners-top-text {
  position: absolute !important;
  z-index: 2 !important;
  top: 0 !important;
  bottom: 0 !important;
  left: max(var(--ims-gutter), calc((100% - var(--ims-wrap)) / 2 + var(--ims-gutter))) !important;
  right: auto !important;
  width: min(820px, 58%) !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  animation: imsBannerIn .7s var(--ims-ease) both;
}
.inner-banner-parent .banners-top-text::before {
  content: var(--ims-school-label, "IMS Noida");
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  margin-bottom: 18px;
  padding-left: 16px;
  border-left: 5px solid var(--ims-school); /* school colour from the brand guide */
  color: var(--ims-200);
  font-family: var(--ims-font);
  font-size: clamp(18px, 2vw, 30px); /* 30px on desktop */
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.inner-banner-parent .banners-top-text h1 { margin: 0 !important; font-size: inherit !important; line-height: 1 !important; }
.inner-banner-parent .course-name {
  font-family: var(--ims-serif) !important;
  font-size: clamp(38px, 4.6vw, 64px) !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
  letter-spacing: -.015em;
  color: #fff !important;
}
.inner-banner-parent .second_title_header,
.inner-banner-parent .desk-text {
  margin-top: 16px !important;
  font-family: var(--ims-font) !important;
  font-size: clamp(24px, 2.6vw, 40px) !important; /* 40px on desktop */
  font-weight: 500 !important;
  line-height: 1.25 !important;
  color: rgba(255, 255, 255, .86) !important;
}
.inner-banner-parent .second_title_header:empty,
.inner-banner-parent .second_title_header span:empty { display: none; }
@keyframes imsBannerIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 767.98px) {
  .inner-banner-parent > img.desktop-b,
  .inner-banner-parent > img.mobile-b { height: 300px !important; object-position: 70% center; }
  .inner-banner-parent::after { background: linear-gradient(0deg, rgba(19,45,20, .95) 0%, rgba(19,45,20, .7) 45%, rgba(19,45,20, .15) 100%); }
  .inner-banner-parent .banners-top-text { left: var(--ims-gutter) !important; right: var(--ims-gutter) !important; width: auto !important; justify-content: flex-end; padding-bottom: 28px !important; }
  .inner-banner-parent .second_title_header br { display: none; }
}

/* ---------- Section headings used across inner pages ---------- */
.course-title,
.recruiters-title,
.recruiters-heading,
.labs-title,
.labs-title .recruiters-heading,
.sty2,
.contact-title h2,
.sec_title h2,
.global-heading:not(.innovation-section *) {
  font-family: var(--ims-serif) !important;
  font-weight: 700 !important;
  letter-spacing: -.01em;
  text-transform: none !important;
  text-shadow: none !important;
}
/* Any other section heading on an inner page takes the crest serif (colour unchanged) */
main section:not(.innovation-section):not(.ranking-section) h2:not(.ims-faq__title) { font-family: var(--ims-serif) !important; font-weight: 700; letter-spacing: -.01em; }
.recruiters-title, .labs-title { font-size: clamp(30px, 3.2vw, 44px) !important; line-height: 1.1 !important; color: var(--ims-800) !important; }
.recruiters-heading { font-size: inherit !important; color: var(--ims-800) !important; }
.labs-title { padding: 0 12px; }

/* ---------- Course overview ---------- */
/* On some course pages the enquiry widget's wrapper (.row.banner-sec2) is left
   open and ends up wrapping the page sections; cancel its row offset so the
   sections line up with the header. */
.row.banner-sec2 { margin-left: 0 !important; margin-right: 0 !important; }

/* Two columns: heading and text on the left, students photo on the right,
   then Scope / eligibility / specialisations across the full width. */
.course-overview {
  background: #fff !important;
  color: var(--ims-ink) !important;
  padding: clamp(64px, 8vw, 112px) 0 !important;
}
.course-overview .course-overview-wrapper {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  column-gap: clamp(32px, 5vw, 88px);
  align-items: start;
  max-width: none;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
/* rows: [space] heading, text [space] beside the photo, so the text block is
   vertically centred next to it; Scope and the lists follow at full width */
.course-overview .course-overview-wrapper { grid-template-rows: 1fr auto auto 1fr; }
.course-overview .course-overview-wrapper > * { grid-column: 1; }
.course-overview .course-overview-wrapper > .course-title:not(.mt-4) { grid-row: 2; }
.course-overview .course-overview-wrapper > .course-description { grid-row: 3; text-align: left; }
.course-overview .course-overview-wrapper > .course-description p { text-align: left !important; }
.course-overview .course-overview-wrapper > .course-title.mt-4 { grid-column: 1 / -1; grid-row: 5; }
.course-overview .course-overview-wrapper > .course-scope-description { grid-column: 1 / -1; grid-row: 6; }

.course-overview .course-overview-photo {
  grid-column: 2;
  grid-row: 1 / span 4;
  align-self: center;
  margin: 0;
  overflow: hidden;
  border-radius: 16px;
  border-bottom: 6px solid var(--ims-school); /* school colour from the brand guide */
  box-shadow: 0 24px 48px -28px rgba(27, 60, 28, .45);
}
.course-overview .course-overview-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
  transition: transform .6s var(--ims-ease);
}
.course-overview .course-overview-photo:hover img { transform: scale(1.03); }

.course-overview .course-title {
  padding: 0 !important;
  font-size: clamp(36px, 4vw, 56px) !important;
  line-height: 1.05;
  color: var(--ims-800) !important;
}
/* school name as a small coloured line above the first heading */
.course-overview .course-title:not(.mt-4)::before {
  content: var(--ims-school-label, "IMS Noida");
  display: block;
  margin-bottom: 14px;
  padding-left: 12px;
  border-left: 4px solid var(--ims-school);
  color: var(--brand-olive);
  font-family: var(--ims-font);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.course-overview .course-title.mt-4 {
  margin-top: clamp(48px, 6vw, 80px) !important;
  padding-top: clamp(40px, 5vw, 64px) !important;
  border-top: 1px solid var(--ims-line);
  font-size: clamp(30px, 3vw, 42px) !important;
}
@media (max-width: 991.98px) {
  .course-overview .course-overview-wrapper { grid-template-columns: 1fr; grid-template-rows: none; }
  .course-overview .course-overview-wrapper > .course-title:not(.mt-4) { grid-row: 1; }
  .course-overview .course-overview-wrapper > .course-description { grid-row: 2; }
  .course-overview .course-overview-photo { grid-column: 1; grid-row: 3; margin-top: 24px; }
  .course-overview .course-overview-wrapper > .course-title.mt-4 { grid-row: 4; }
  .course-overview .course-overview-wrapper > .course-scope-description { grid-row: 5; }
  .course-overview .course-overview-photo img { aspect-ratio: 16 / 10; }
}
.course-overview .course-description,
.course-overview .course-description p,
.course-overview .course-description li,
.course-overview .course-scope-description {
  color: var(--ims-ink) !important;
  font-family: var(--ims-font) !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.7 !important;
}
.course-overview .course-description p { margin-bottom: 14px; }
.course-overview .course-description p strong { color: var(--ims-800); font-weight: 700; }
.course-overview .course-scope-description { max-height: none !important; overflow: visible !important; }
.course-overview .course-description ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
  margin: 14px 0 22px !important;
  padding: 0 !important;
  list-style: none !important;
}
.course-overview .course-description ul li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px 12px 42px !important;
  border: 1px solid var(--ims-line);
  border-radius: 10px;
  background: var(--ims-cream);
  font-size: 15.5px !important;
  line-height: 1.45 !important;
  transition: border-color .2s, background-color .2s;
}
.course-overview .course-description ul li:hover { border-color: var(--ims-300); background: var(--ims-100); }
.course-overview .course-description ul li::before {
  content: "\f00c";
  position: absolute;
  left: 14px;
  top: 13px;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 13px;
  color: var(--ims-500);
}

/* ---------- About page: Overview (text + facts left, campus photo right) ---------- */
.ov-section { padding: clamp(72px, 9vw, 128px) 0; background: #fff; }
.ov-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.ov-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--brand-olive); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.ov-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.ov-title { margin: 0 0 24px; color: var(--brand-forest); font-family: var(--ims-serif) !important; font-size: clamp(40px, 4.4vw, 64px); font-weight: 700; line-height: 1.02; letter-spacing: -.015em; }
.ov-text { margin: 0 0 18px; color: var(--ims-ink); font-size: 17.5px; line-height: 1.75; }
.ov-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 32px 0 0; padding: 0; list-style: none; }
.ov-facts li { padding: 18px 18px 16px; border-radius: 14px; background: var(--brand-ivory); border-top: 4px solid var(--brand-olive); transition: transform .25s var(--ims-ease); }
.ov-facts li:hover { transform: translateY(-2px); }
.ov-facts strong { display: block; color: var(--brand-forest); font-family: var(--ims-serif); font-size: clamp(22px, 2vw, 30px); line-height: 1.1; }
.ov-facts span { display: block; margin-top: 4px; color: var(--ims-muted); font-size: 14px; }
.ov-photo { position: relative; margin: 0; }
.ov-photo > img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 18px; box-shadow: 0 30px 60px -32px rgba(27, 60, 28, .55); }
.ov-photo::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; z-index: -1; border-radius: 18px; background: var(--brand-gradient); }
.ov-badge { position: absolute; left: -28px; bottom: 32px; display: flex; align-items: center; gap: 14px; max-width: 280px; padding: 14px 20px 14px 14px; border-radius: 16px; background: #fff; box-shadow: 0 18px 40px -20px rgba(27, 60, 28, .5); color: var(--ims-ink); font-size: 14px; line-height: 1.35; }
.ov-badge img { width: 64px; height: 64px; flex: none; }
.ov-badge strong { display: block; color: var(--brand-forest); font-family: var(--ims-serif); font-size: 22px; }
.ov-section { position: relative; isolation: isolate; overflow: hidden; }
@media (max-width: 991.98px) {
  .ov-grid { grid-template-columns: 1fr; }
  .ov-photo { margin: 0 24px 24px 0; }
  .ov-badge { left: 12px; bottom: 12px; }
}
@media (max-width: 575.98px) {
  .ov-facts { grid-template-columns: 1fr; }
  .ov-photo::before { inset: 14px -14px -14px 14px; }
  .ov-badge { padding: 10px 14px 10px 10px; }
  .ov-badge img { width: 48px; height: 48px; }
  .ov-badge strong { font-size: 18px; }
}

/* ---------- Awards page: intro ---------- */
.awd-intro { padding: clamp(72px, 9vw, 120px) 0; background: #fff; }
.awd-intro__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.awd-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--brand-olive); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.awd-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.awd-intro__title { margin: 0 0 22px; color: var(--brand-forest); font-family: var(--ims-serif) !important; font-size: clamp(36px, 4vw, 58px); font-weight: 700; line-height: 1.05; letter-spacing: -.015em; }
.awd-intro__text { margin: 0; color: var(--ims-ink); font-size: 17.5px; line-height: 1.75; text-align: left; }
.awd-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.awd-chips li { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 999px; background: var(--brand-ivory); color: var(--brand-forest); font-size: 15px; font-weight: 600; }
.awd-chips i { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand-forest); color: #fff; font-size: 13px; }
.awd-intro__media { position: relative; margin: 0; padding: clamp(20px, 3vw, 36px); border-radius: 22px; background: var(--brand-ivory); }
.awd-intro__media::before { content: ""; position: absolute; inset: 0 0 auto auto; width: 45%; height: 45%; border-radius: 0 22px 0 120px; background: var(--brand-gradient); opacity: .9; }
.awd-intro__media img { position: relative; display: block; width: 100%; height: auto; }
@media (max-width: 991.98px) {
  .awd-intro__grid { grid-template-columns: 1fr; }
}

/* ---------- Awards page: "Awards & Appreciations" on Ivory instead of dark green ---------- */
.admsn_ofces.awd-gallery { background: var(--brand-ivory) !important; }
.admsn_ofces.awd-gallery::before { display: none; }
.awd-gallery h2.title_main1 { color: var(--brand-forest) !important; font-size: clamp(32px, 3.6vw, 50px) !important; }
.awd-gallery .heading-bottom-line::after { background: var(--brand-olive) !important; }
.awd-gallery .text-center > p { margin-top: 26px; color: var(--ims-ink) !important; font-size: 18px; }

/* ---------- Course pages: Career scope (design 2) ----------
   Ivory band. Careers: a numbered two-column list with large text.
   Eligibility (qualification + minimum marks): a Forest Green card beside it.
   Specialisations / highlights: pill tags across the full width. */
.course-overview .course-overview-wrapper > .course-title.mt-4 {
  margin-top: clamp(56px, 7vw, 96px) !important;
  padding: clamp(36px, 4vw, 64px) clamp(24px, 4vw, 64px) 0 !important;
  border-top: 0 !important;
  border-radius: 24px 24px 0 0;
  background: var(--brand-ivory);
  font-size: clamp(36px, 4vw, 58px) !important;
}
.course-overview .course-overview-wrapper > .course-title.mt-4::before {
  content: var(--ims-school-label, "Careers");
  display: block;
  margin-bottom: 12px;
  color: var(--brand-olive);
  font-family: var(--ims-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.course-overview .course-overview-wrapper > .course-scope-description {
  margin-top: 0 !important;
  padding: 0 clamp(24px, 4vw, 64px) clamp(36px, 4vw, 64px) !important;
  border-radius: 0 0 24px 24px;
  background: var(--brand-ivory);
}

/* layout of the scope block */
.course-overview #courseScopedescription {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr);
  column-gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-top: 28px !important;
  counter-reset: career;
}
.course-overview #courseScopedescription > * { grid-column: 1 / -1; }
/* the browser turns some stray markup into an empty paragraph: hide it */
.course-overview #courseScopedescription > p:not(:has(*)):not(ul + p) { display: none; }
.course-overview #courseScopedescription > ul:nth-of-type(1) { grid-column: 1; grid-row: 1 / span 4; }
.course-overview #courseScopedescription > ul:nth-of-type(1) + p { grid-column: 1; grid-row: 5; }
.course-overview #courseScopedescription > p:has(+ p + ul:nth-of-type(2)) { grid-column: 2; grid-row: 1; }
.course-overview #courseScopedescription > p:has(+ ul:nth-of-type(2)) { grid-column: 2; grid-row: 2; }
.course-overview #courseScopedescription > ul:nth-of-type(2) { grid-column: 2; grid-row: 3; }

/* careers: numbered list */
.course-overview #courseScopedescription > ul:nth-of-type(1) {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 0 32px !important;
  margin: 0 !important;
}
.course-overview #courseScopedescription > ul:nth-of-type(1) li {
  counter-increment: career;
  display: flex !important;
  align-items: center !important;
  gap: 16px;
  min-height: 72px;
  padding: 14px 40px 14px 0 !important;
  border: 0 !important;
  border-bottom: 1px solid rgba(27, 60, 28, .14) !important;
  border-radius: 0 !important;
  background: none !important;
  box-shadow: none !important;
  color: var(--brand-forest) !important;
  font-size: clamp(18px, 1.5vw, 21px) !important;
  font-weight: 600 !important;
  line-height: 1.3 !important;
  transition: padding .25s var(--ims-ease), color .25s !important;
}
.course-overview #courseScopedescription > ul:nth-of-type(1) li::before {
  content: counter(career, decimal-leading-zero) !important;
  position: static !important;
  flex: none;
  width: 44px;
  margin: 0 !important;
  color: var(--brand-olive) !important;
  font-family: var(--ims-serif) !important;
  font-size: 26px !important;
  font-weight: 700 !important;
  background: none !important;
}
.course-overview #courseScopedescription > ul:nth-of-type(1) li::after {
  content: "\f061";
  position: absolute;
  right: 6px;
  top: 50%;
  margin-top: -9px;
  color: var(--brand-olive);
  font-family: "Font Awesome 6 Free";
  font-size: 15px;
  font-weight: 900;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .25s, transform .25s var(--ims-ease);
}
.course-overview #courseScopedescription > ul:nth-of-type(1) li:hover { padding-left: 8px !important; color: var(--brand-olive) !important; }
.course-overview #courseScopedescription > ul:nth-of-type(1) li:hover::after { opacity: 1; transform: none; }
.course-overview #courseScopedescription > ul:nth-of-type(1) + p { margin: 18px 0 0 !important; color: var(--ims-muted) !important; font-size: 17px !important; font-style: italic; }

/* eligibility card (qualification + minimum marks) */
.course-overview #courseScopedescription > p:has(+ p + ul:nth-of-type(2)),
.course-overview #courseScopedescription > p:has(+ ul:nth-of-type(2)),
.course-overview #courseScopedescription > ul:nth-of-type(2) {
  margin: 0 !important;
  padding-left: 32px !important;
  padding-right: 32px !important;
  background: var(--brand-forest);
  color: rgba(255, 255, 255, .88) !important;
}
.course-overview #courseScopedescription > p:has(+ p + ul:nth-of-type(2)) { padding-top: 32px !important; padding-bottom: 20px !important; border-radius: 20px 20px 0 0; font-size: 18px !important; line-height: 1.6 !important; }
.course-overview #courseScopedescription > p:has(+ ul:nth-of-type(2)) { padding-top: 20px !important; padding-bottom: 8px !important; border-top: 1px solid rgba(255, 255, 255, .15); }
.course-overview #courseScopedescription > p:has(+ p + ul:nth-of-type(2)) strong,
.course-overview #courseScopedescription > p:has(+ ul:nth-of-type(2)) strong {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  color: #fff !important;
  font-family: var(--ims-serif);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}
.course-overview #courseScopedescription > p:has(+ p + ul:nth-of-type(2)) strong::before,
.course-overview #courseScopedescription > p:has(+ ul:nth-of-type(2)) strong::before {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--brand-beige);
  color: var(--brand-forest);
  font-family: "Font Awesome 6 Free";
  font-size: 17px;
  font-weight: 900;
}
.course-overview #courseScopedescription > p:has(+ p + ul:nth-of-type(2)) strong::before { content: "\f19d"; } /* graduation cap */
.course-overview #courseScopedescription > p:has(+ ul:nth-of-type(2)) strong::before { content: "\f295"; } /* percent */
.course-overview #courseScopedescription > ul:nth-of-type(2) {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 10px !important;
  padding-top: 4px !important;
  padding-bottom: 32px !important;
  border-radius: 0 0 20px 20px;
}
.course-overview #courseScopedescription > ul:nth-of-type(2) li {
  padding: 14px 16px 14px 46px !important;
  border: 1px solid rgba(255, 255, 255, .14) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .06) !important;
  color: #fff !important;
  font-size: 16.5px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
}
.course-overview #courseScopedescription > ul:nth-of-type(2) li::before { color: var(--brand-beige) !important; top: 16px !important; }

/* specialisations / programme highlights: pill tags */
.course-overview #courseScopedescription > p:has(+ ul:nth-of-type(3)) { margin: 44px 0 0 !important; }
.course-overview #courseScopedescription > p:has(+ ul:nth-of-type(3)) strong {
  color: var(--brand-forest) !important;
  font-family: var(--ims-serif);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 700;
}
.course-overview #courseScopedescription > ul:nth-of-type(3) {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px !important;
  margin: 18px 0 0 !important;
}
.course-overview #courseScopedescription > ul:nth-of-type(3) li {
  padding: 12px 22px 12px 44px !important;
  border: 1px solid rgba(27, 60, 28, .18) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--brand-forest) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  transition: background-color .2s, color .2s, transform .2s var(--ims-ease) !important;
}
.course-overview #courseScopedescription > ul:nth-of-type(3) li::before {
  content: "" !important;
  left: 20px !important;
  top: 50% !important;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-radius: 50%;
  background: var(--ims-school, var(--brand-olive));
  box-shadow: 0 0 0 2px rgba(27, 60, 28, .15);
}
.course-overview #courseScopedescription > ul:nth-of-type(3) li:hover { background: var(--brand-forest) !important; color: #fff !important; transform: translateY(-2px); }

@media (max-width: 991.98px) {
  .course-overview #courseScopedescription { grid-template-columns: 1fr; }
  .course-overview #courseScopedescription > * { grid-column: 1 !important; grid-row: auto !important; }
  .course-overview #courseScopedescription > p:has(+ p + ul:nth-of-type(2)) { margin-top: 32px !important; }
}
@media (max-width: 575.98px) {
  .course-overview #courseScopedescription > ul:nth-of-type(1) { grid-template-columns: 1fr !important; }
  .course-overview #courseScopedescription > p:has(+ p + ul:nth-of-type(2)),
  .course-overview #courseScopedescription > p:has(+ ul:nth-of-type(2)),
  .course-overview #courseScopedescription > ul:nth-of-type(2) { padding-left: 20px !important; padding-right: 20px !important; }
}

/* ---------- Course pages: Top recruiters (two rows of logos scrolling in opposite directions) ---------- */
.crs-recruiters { position: relative; overflow: hidden; padding: clamp(72px, 9vw, 112px) 0; background: #fff; }
.crs-recruiters__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 48px; align-items: end; margin-bottom: clamp(32px, 4vw, 48px); }
.crs-kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px; color: var(--brand-olive); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.crs-kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.crs-recruiters__title { margin: 0; color: var(--brand-forest); font-family: var(--ims-serif) !important; font-size: clamp(36px, 4vw, 58px); font-weight: 700; line-height: 1.05; }
.crs-recruiters__side { display: flex; align-items: center; justify-content: flex-end; gap: 20px; }
.crs-recruiters__side p { margin: 0; max-width: 46ch; color: var(--ims-muted); font-size: 17px; line-height: 1.6; }
.crs-recruiters__pause { flex: none; display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--ims-line); border-radius: 50%; background: #fff; color: var(--brand-forest); cursor: pointer; transition: background-color .2s, color .2s; }
.crs-recruiters__pause:hover { background: var(--brand-forest); color: #fff; }

.crs-marquee { padding: 8px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.crs-marquee + .crs-marquee { margin-top: 8px; }
.crs-marquee__track { display: flex; width: max-content; gap: 18px; margin: 0; padding: 0; list-style: none; animation: crsMarquee 55s linear infinite; }
.crs-marquee--reverse .crs-marquee__track { animation-direction: reverse; animation-duration: 50s; }
.crs-marquee:hover .crs-marquee__track, .crs-recruiters.is-paused .crs-marquee__track { animation-play-state: paused; }
.crs-marquee__track li { flex: none; display: grid; place-items: center; width: 210px; height: 104px; padding: 12px 16px; overflow: hidden; border-radius: 18px; background: var(--brand-ivory); transition: transform .25s var(--ims-ease), background-color .25s, box-shadow .25s; }
.crs-marquee__track li:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 16px 32px -20px rgba(27, 60, 28, .5); }
.crs-marquee__track img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
@keyframes crsMarquee { to { transform: translateX(calc(-50% - 9px)); } }

@media (max-width: 767.98px) {
  .crs-recruiters__head { grid-template-columns: 1fr; }
  .crs-recruiters__side { justify-content: space-between; }
  .crs-marquee__track li { width: 170px; height: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .crs-marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .crs-marquee__track li[aria-hidden] { display: none; }
}

/* ---------- Top recruiters ---------- */
.top-recruiters { background: #fff !important; padding: clamp(56px, 7vw, 96px) 0 !important; }
.top-recruiters::before { background: #fff !important; }
.top-recruiters .recruiters-title { margin-bottom: 32px !important; }
.top-recruiters .owl-item img,
.top-recruiters .item img {
  height: 64px !important;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .8;
  transition: filter .25s, opacity .25s;
}
.top-recruiters .item img:hover { filter: none; opacity: 1; }

/* ---------- Rankings band: only the background changes (blue tint -> green) ---------- */
.ranking-section::before,
.blue-overlay::before { background: rgba(27,60,28, .92) !important; }
/* ---- Ranking band, redesigned: brand gradient, serif heading, figure cards with icons ---- */
.ranking-section::before,
.blue-overlay::before { background: linear-gradient(135deg, rgba(27, 60, 28, .96) 0%, rgba(27, 60, 28, .9) 55%, rgba(88, 123, 29, .88) 100%) !important; }
.ranking-section .ranking-section__top-numbers { padding-top: clamp(64px, 8vw, 104px) !important; }
.ranking-section .ranking-heading {
  margin: 0 auto 18px !important;
  padding: 0 !important;
  border: 0 !important;
  color: #fff !important;
  font-family: var(--ims-serif) !important;
  font-size: clamp(32px, 3.8vw, 54px) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: -.01em;
  text-transform: none !important;
  text-shadow: none !important;
}
.ranking-section .ranking-heading::after { content: ""; display: block; width: 64px; height: 3px; margin: 20px auto 0; border-radius: 2px; background: var(--brand-beige); }
.ranking-section .ranking-wrap p { max-width: 64ch; margin: 0 auto; color: rgba(255, 255, 255, .82) !important; font-size: 18px; line-height: 1.6; text-shadow: none !important; }

/* figure cards */
.ranking-section .ranking-section__top-numbers .row.g-0 { row-gap: 16px; }
.ranking-section .ranking-section__top-numbers .row.g-0 > [class*="col-"] { padding: 0 10px !important; }
.ranking-section .top-numbers__card {
  position: relative;
  align-items: center;
  padding: 34px 24px 30px !important;
  border: 1px solid rgba(255, 255, 255, .16) !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, .07) !important;
  transition: transform .25s var(--ims-ease), background-color .25s, border-color .25s;
}
.ranking-section .top-numbers__card:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .11) !important; border-color: rgba(225, 199, 160, .55) !important; }
.ranking-section .top-numbers__card::before {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: var(--brand-beige);
  color: var(--brand-forest);
  font-family: "Font Awesome 6 Free";
  font-size: 22px;
  font-weight: 900;
}
.ranking-section .row.g-0 > [class*="col-"]:nth-child(1) .top-numbers__card::before { content: "\f0b1"; } /* recruiters */
.ranking-section .row.g-0 > [class*="col-"]:nth-child(2) .top-numbers__card::before { content: "\e1bc"; } /* Indian rupee: package */
.ranking-section .row.g-0 > [class*="col-"]:nth-child(3) .top-numbers__card::before { content: "\f19d"; } /* placements */
.ranking-section .top-numbers__card h3 {
  margin: 0 !important;
  color: #fff !important;
  font-family: var(--ims-serif) !important;
  font-size: clamp(38px, 3.6vw, 52px) !important;
  font-weight: 700 !important;
  line-height: 1.05 !important;
}
.ranking-section .top-numbers__card span {
  display: block;
  margin-top: 8px;
  color: var(--brand-beige) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* "Foremost, Elite, Premier" as a beige badge with the stars inside */
.ranking-section .ranking-section__top-rankings { margin-top: clamp(48px, 6vw, 72px) !important; }
.ranking-section .ranking-section__top-rankings .stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  width: max-content;
  margin: 0 auto -1px !important;
  padding: 12px 26px 0;
  border-radius: 999px 999px 0 0;
  background: var(--brand-beige);
}
.ranking-section .ranking-section__top-rankings .stars i { color: var(--brand-forest) !important; font-size: 15px; }
.ranking-section .page-sub-heading {
  width: max-content;
  max-width: 100%;
  margin: 0 auto 36px;
  padding: 6px 36px 16px;
  border-radius: 22px;
  background: var(--brand-beige);
}
.ranking-section .page-sub-heading h3 { margin: 0 !important; color: var(--brand-forest) !important; font-family: var(--ims-serif) !important; font-size: clamp(24px, 2.4vw, 32px) !important; font-weight: 700 !important; }
.ranking-section .page-sub-heading h6 { margin: 2px 0 0 !important; color: var(--brand-chestnut) !important; font-size: 15px !important; font-weight: 600 !important; }

@media (max-width: 767.98px) {
  .ranking-section .top-numbers__card { padding: 26px 16px 22px !important; }
  .ranking-section .page-sub-heading { padding: 6px 22px 14px; }
}

/* ---------- Key study insights (photo cards) ---------- */
/* ---- Key Study Insights, redesigned: white band, centred heading,
        photo cards with a white caption panel and arrow ---- */
.tech-labs {
  position: relative;
  overflow: hidden;
  background: #fff !important;
  padding: clamp(72px, 9vw, 120px) 0 !important;
}
.tech-labs::before {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 46%;
  background: linear-gradient(180deg, rgba(242, 229, 215, 0) 0%, var(--brand-ivory) 100%);
  pointer-events: none;
}
.tech-labs > .container { position: relative; }
.tech-labs .labs-title {
  width: 100%;
  margin: 0 auto clamp(28px, 4vw, 48px) !important;
  padding: 0 !important;
  text-align: center;
  font-size: clamp(34px, 3.8vw, 54px) !important;
}
.tech-labs .labs-title::before {
  content: "Why study here";
  display: block;
  margin-bottom: 12px;
  color: var(--brand-olive);
  font-family: var(--ims-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.tech-labs .labs-title::after { content: ""; display: block; width: 64px; height: 3px; margin: 18px auto 0; border-radius: 2px; background: var(--ims-school, var(--brand-olive)); }

/* cards (#techLabs is a slick slider: keep its layout) */
.tech-labs .slick-slide { padding: 0 10px !important; }
.tech-labs .slick-list { margin: 0 -10px; padding: 6px 0 16px !important; }
.tech-labs .lab-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 24px 48px -30px rgba(27, 60, 28, .55);
  transition: transform .3s var(--ims-ease), box-shadow .3s;
}
.tech-labs .lab-wrap:hover { transform: translateY(-4px); box-shadow: 0 30px 56px -28px rgba(27, 60, 28, .6); }
.tech-labs .my_bg-1 {
  height: clamp(340px, 30vw, 460px) !important;
  background-size: cover !important;
  background-position: center !important;
  transition: transform .7s var(--ims-ease);
}
.tech-labs .lab-wrap:hover .my_bg-1 { transform: scale(1.04); }
.tech-labs .my_bg-1::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(27, 60, 28, .55) 0%, rgba(27, 60, 28, 0) 45%); }
.tech-labs .lab-text {
  position: absolute !important;
  z-index: 2;
  left: 14px !important;
  right: 14px !important;
  top: auto !important;
  bottom: 14px !important;
  width: auto !important;
  margin: 0 !important;
  padding: 16px 64px 16px 20px !important;
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  color: var(--brand-forest) !important;
  font-family: var(--ims-serif) !important;
  font-size: 21px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  box-shadow: 0 12px 24px -16px rgba(0, 0, 0, .4);
  transition: background-color .3s, color .3s;
}
.tech-labs .lab-text::after {
  content: "\f061";
  position: absolute;
  right: 12px;
  top: 50%;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border-radius: 50%;
  background: var(--brand-forest);
  color: #fff;
  font-family: "Font Awesome 6 Free";
  font-size: 14px;
  font-weight: 900;
  transition: transform .3s var(--ims-ease), background-color .3s, color .3s;
}
.tech-labs .lab-wrap:hover .lab-text { background: var(--brand-forest); color: #fff !important; }
.tech-labs .lab-wrap:hover .lab-text::after { background: var(--brand-beige); color: var(--brand-forest); transform: translateX(3px); }
.tech-labs .slick-dots li button::before { color: var(--brand-olive) !important; }
@media (max-width: 479.98px) { .tech-labs .my_bg-1 { height: 320px !important; } .tech-labs .lab-text { font-size: 19px !important; } }

/* ---------- Testimonials ---------- */
.testimonial-section { position: relative; background-attachment: scroll !important; padding: clamp(64px, 8vw, 104px) 0 !important; }
.testimonial-section::before { content: ""; position: absolute; inset: 0; background: rgba(27,60,28, .9); }
.testimonial-section > .container { position: relative; z-index: 1; }
.testimonial-section .sty2 { color: #fff !important; font-size: clamp(30px, 3.2vw, 44px) !important; }
.testimonial-section .sty2 i { font-style: normal; }
.testimonial-section .quote-text { font-family: var(--ims-serif) !important; font-size: clamp(20px, 2.1vw, 28px) !important; font-weight: 600 !important; line-height: 1.45 !important; color: #fff !important; }
.testimonial-section .quote-text i { font-style: normal; }
.testimonial-section .owl-dot span { background: rgba(255, 255, 255, .4) !important; }
.testimonial-section .owl-dot.active span { background: var(--ims-200) !important; }

/* ---------- Photo bands with old blue tint (contact office band, achievements) ---------- */
.admsn_ofces { position: relative; isolation: isolate; }
.admsn_ofces::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(27,60,28, .9); }
.admsn_ofces h2, .admsn_ofces h3 { color: #fff !important; }

/* ---------- Eligibility and grey bands ---------- */
.grey-gradient { background: var(--ims-cream) !important; }
.grey-gradient::before { background: transparent !important; }
.eligibility h2, .eligibility h3 { font-family: var(--ims-serif) !important; color: var(--ims-800) !important; }

/* ---------- Text pages (privacy, terms, disclaimer, notices) ---------- */
.privacy-policy, .contact-page { padding: clamp(48px, 6vw, 88px) 0 !important; }
.privacy-policy .container, .contact-page .container { max-width: 960px; }
.privacy-policy h2, .privacy-policy h3, .privacy-policy h4,
.contact-page h2, .contact-page h3 {
  font-family: var(--ims-serif) !important;
  color: var(--ims-800) !important;
  line-height: 1.2;
  margin-top: 1.6em;
}
.privacy-policy p, .privacy-policy li, .contact-page p, .contact-page li { color: var(--ims-ink); font-size: 17px; line-height: 1.7; }
.privacy-policy a, .contact-page a:not(.ims-btn) { color: var(--ims-600); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Tables (fees, notices, committees) ---------- */
main table:not(.ims-skip) { border-collapse: collapse; width: 100%; }
main table th { background: var(--ims-800) !important; color: #fff !important; font-weight: 600; padding: 12px 14px !important; border-color: var(--ims-700) !important; }
main table td { padding: 12px 14px !important; border-color: var(--ims-line) !important; color: var(--ims-ink); }
main table tbody tr:nth-child(even) td { background: var(--ims-cream); }
main table a { color: var(--ims-600); font-weight: 600; }

/* ---------- Buttons and accents left in page code ---------- */
main .btn-primary, main .btn-info, main .global-btn {
  border-radius: 999px !important;
  background: var(--ims-800) !important;
  border-color: var(--ims-800) !important;
  color: #fff !important;
  transition: transform .18s var(--ims-ease), background-color .18s;
}
main .btn-primary:hover, main .btn-info:hover, main .global-btn:hover { background: var(--ims-600) !important; transform: translateY(-2px); }

/* Enquire tab and mobile apply bar in brand colours */
.form-click.opacityprimary { background: var(--ims-500) !important; color: #fff !important; }
.frmBg { background: var(--ims-800) !important; }
.mobile-footer-container .mobile-link a { background: var(--ims-800) !important; color: #fff !important; }
.mobile-footer-container .mobile-link + .mobile-link a { background: var(--ims-500) !important; }

@media (prefers-reduced-motion: reduce) {
  .inner-banner-parent .banners-top-text { animation: none; }
  .tech-labs .lab-wrap, .tech-labs .my_bg-1 { transition: none; }
}
