@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@keyframes marquee {
  to {
    transform: translateX(calc(-50% - 7px));
  }
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeRight {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes growX {
  0% {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes twinkle {

  0%,
  to {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(0.75);
    opacity: 0.75;
  }
}

:root {
  --brown: #74392a;
  --brown-dark: #5e2d21;
  --yellow: #ffb100;
  --btn-yellow: #ffc72c;
  --navy: #004863;
  --navy-2: #0a2756;
  --navy-deep: #063f59;
  --ink: #000;
  --ink-2: #14213d;
  --muted: #424754;
  --cream: #fcf8f1;
  --grey-bg: #f9f9f9;
  --faq-text: #071b3a;
  --faq-blue: #0051b6;
  --faq-border: #dfe9f5;
  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial,
    sans-serif;
  --fs-body: 1.0rem;
  --lh-body: 1.5;
  --fs-small: 0.75rem;
  --fs-h2: clamp(1.40rem, 1rem + 1.2vw, 3.25rem);
  --fs-h3: 1.0rem;
  --header-h: 56px;
  --section-y: 50px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (max-width: 991.98px) {
  :root {
    --header-h: 66px;
    --section-y: 56px;
  }
}

@media (max-width: 767.98px) {
  :root {
    --fs-body: 0.9375rem;
    --fs-h3: 1.08rem;
    --section-y: 48px;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

figure,
p,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

.section {
  padding: var(--section-y) 0;
  position: relative;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 2000;
  background: var(--navy-2);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  text-decoration: none;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

.card-heading,
.hero-title,
.section-heading {
  font-family: var(--font);
}

.section-heading {
  font-size: var(--fs-h2);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--brown);
  margin: 0 0 0.6em;
}

.card-heading,
.section-heading .hl {
  font-weight: 700;
}

.card-heading {
  font-size: var(--fs-h3);
  line-height: 1.45;
  color: var(--ink);
  margin: 0;
}

.faq-a p,
.hero-text,
.lead-text,
.place-label,
.practice-list li,
.spec-list li,
.stat-label,
.why-card p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

.lead-text {
  max-width: 1200px;
}

.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.98);
  padding: 14px 0;
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}

.site-header.scrolled {
  box-shadow: 0 6px 24px rgba(6, 26, 61, 0.12);
  padding: 8px 0;
}

.site-header .logo {
  height: 58px;
  width: auto;
  transition: height 0.3s ease;
}

.site-header.scrolled .logo {
  height: 44px;
}

.logo-link,
.main-nav {
  display: flex;
  align-items: center;
}

.logo-link {
  text-decoration: none;
}

.site-header .nav-link {
  position: relative;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.4rem 0.9rem;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.site-header .nav-link::before {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.site-header .nav-link.active,
.site-header .nav-link:hover {
  color: var(--brown);
}

.site-header .nav-link.active::before,
.site-header .nav-link:hover::before {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--brown);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  flex: 0 0 auto;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1199.98px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 0.5rem 16px 1rem;
    box-shadow: 0 14px 28px rgba(6, 26, 61, 0.14);
    border-top: 1px solid #e4e8f1;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.35s;
  }

  .main-nav.open {
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
  }

  .site-header .main-nav .nav-link {
    padding: 0.85rem 0.25rem;
    font-size: 0.95rem;
    border-bottom: 1px solid #e4e8f1;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .site-header .main-nav .nav-link:last-child {
    border-bottom: 0;
  }

  .site-header .main-nav .nav-link::before {
    display: none;
  }

  .site-header .main-nav .nav-link::after {
    content: "";
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--yellow);
    border-right: 2px solid var(--yellow);
    transform: rotate(45deg);
  }
}

@media (max-width: 991.98px) {
  .site-header {
    padding: 10px 0;
  }

  .site-header .logo,
  .site-header.scrolled .logo {
    height: 44px;
  }
}

.hero {
  position: relative;
  background: #3a1d12 url(../img/hero-bg.webp) center/cover no-repeat;
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg,
      rgba(40, 18, 10, 0.35) 0,
      rgba(40, 18, 10, 0.1) 45%,
      transparent 70%);
}

.banner-mob {
  display: none;
}

.hero>.container {
  position: relative;
  z-index: 1;
  padding: 40px 0 40px 0;
}

.hero-title {
  font-size: clamp(4.5rem, 2rem + 8vw, 9.6rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 10px;
  animation: fadeUp 0.8s var(--ease) 0.1s both;
}

.hero-tagline {
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.75rem);
  font-weight: 600;
  margin: 0 0 22px;
  animation: fadeUp 0.8s var(--ease) 0.25s both;
}

.hero-rule {
  display: block;
  width: 468px;
  max-width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  animation: growX 0.9s var(--ease) 0.4s both;
  transform-origin: left;
}

.hero-text {
  font-weight: 500;
  max-width: 470px;
  animation: fadeUp 0.8s var(--ease) 0.5s both;
  font-size: calc(var(--fs-body) + 0.1rem);
}

.lead-card {
  position: relative;
  z-index: 9;
  width: 100%;
  background: #fff;
  color: var(--ink-2);
  border-radius: 18px;
  padding: 24px 16px 20px;
  box-shadow: 0 30px 70px rgba(3, 15, 38, 0.35);
  overflow: hidden;
  animation: fadeRight 0.9s var(--ease) 0.35s both;
  margin-left: -100px;
}


.lead-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg,
      var(--btn-yellow),
      var(--yellow),
      var(--brown));
}

.form-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  letter-spacing: 0.03em;
  margin: 0 0 0.2rem;
}

.form-sub {
  color: #5b6782;
  font-size: 0.85rem;
  text-align: center;
  margin-bottom: 1.1rem;
}

.lead-card .form-control,
.lead-card .form-select {
  height: 40px;
  border-radius: 12px;
  border: 1.5px solid #e4e8f1;
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--ink-2);
  padding: 0.55rem 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lead-card .form-select {
  padding: 0.55rem 2.2rem 0.55rem 0.95rem;
}

.lead-card .form-control::placeholder {
  color: #6c757d;
  opacity: 1;
}

.lead-card .form-select:invalid {
  color: #6c757d;
}

.lead-card .form-control:focus,
.lead-card .form-select:focus {
  border-color: var(--brown);
  box-shadow: 0 0 0 4px rgba(116, 57, 42, 0.12);
}

.lead-card .input-group-text {
  border-radius: 12px 0 0 12px;
  border: 1.5px solid #e4e8f1;
  background: #f5f7fc;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--ink-2);
}

.lead-card .input-group .form-control {
  border-radius: 0 12px 12px 0 !important;
}

.lead-card .invalid-feedback {
  font-size: 0.72rem;
}

.lead-card .form-check-input {
  margin-top: 0.2rem;
}

.lead-card .form-check-input:checked {
  background-color: var(--navy-2);
  border-color: var(--navy-2);
}

.lead-card .form-check-label {
  font-size: .6rem;
  color: #5b6782;
  line-height: 1.45;
}

.btn-amity {
  --bs-btn-padding-y: 0.7rem;
  --bs-btn-padding-x: 1.8rem;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--btn-yellow);
  color: #061a3d;
  font-weight: 700;
  font-size: 1rem;
  border: 0;
  border-radius: 50px;
  box-shadow: 0 10px 25px rgba(255, 199, 44, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-amity::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      transparent 30%,
      rgba(255, 255, 255, 0.55) 50%,
      transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}

.btn-amity:focus-visible,
.btn-amity:hover {
  background: var(--btn-yellow);
  color: #061a3d;
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(255, 199, 44, 0.5);
}

.btn-amity:hover::after {
  transform: translateX(120%);
}

.btn-amity .btn-arrow {
  transition: transform 0.25s ease;
}

.btn-amity:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-amity:disabled {
  opacity: 0.7;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2.5rem 0.5rem;
}

.form-success.show {
  display: block;
  animation: fadeUp 0.5s var(--ease) both;
}

.form-success .card-heading {
  color: var(--navy-2);
  margin: 1rem 0 0.3rem;
}

.form-success p {
  color: #5b6782;
}

.stats-band {
  background: var(--yellow);
  padding: 36px 0 18px;
}

.stat {
  padding: 0 16px 6px;
  color: #000;
}

.stat-mid {
  position: relative;
}

@media (min-width: 768px) {

  .stat-mid::after,
  .stat-mid::before {
    content: "";
    position: absolute;
    top: 2px;
    bottom: 6px;
    width: 2px;
    background: rgba(255, 255, 255, 0.7);
  }

  .stat-mid::before {
    left: 0;
  }

  .stat-mid::after {
    right: 0;
  }
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  line-height: 1.1;
}

.stat-label {
  font-weight: 500;
  margin-top: 4px;
}

.stat-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  margin-top: 10px;
  transition: transform 0.35s var(--ease);
}

.stat-badge:hover {
  transform: scale(1.08);
}

.stat-badge img {
  display: block;
  width: auto;
}

.badge-it {
  height: 24px;
}

.badge-ol {
  height: 14px;
}

.niche-marquee {
  background: var(--grey-bg);
  padding: 40px 0;
  overflow: hidden;
}

.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg,
      transparent,
      #000 6%,
      #000 94%,
      transparent);
  mask-image: linear-gradient(90deg,
      transparent,
      #000 6%,
      #000 94%,
      transparent);
}

.marquee-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: marquee 40s linear infinite;
}

.marquee:focus-within .marquee-track,
.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track li {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 8px 24px;
  background: #fff;
  border-radius: 6px;
  color: #20346c;
  font-weight: 700;
  font-size: clamp(0.7rem, 0.6rem + 0.5vw, 1.4rem);
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(32, 52, 108, 0.05);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease,
    color 0.25s ease;
}

.marquee-track li:hover {
  transform: scale(1.07);
  box-shadow: 0 12px 24px rgba(32, 52, 108, 0.15);
  color: var(--brown);
}

.why-section {
  background: var(--cream);
  padding-bottom: calc(var(--section-y));
}

.why-lead {
  font-size: calc(var(--fs-body));
  margin-bottom: 30px;
}

@media (min-width: 1200px) {
  .why-grid {
    --bs-gutter-x: 25px;
    --bs-gutter-y: 25px;
  }
}

.why-card {
  position: relative;
  height: 100%;
  min-height: 191px;
  background: #fff;
  border: 1px solid var(--brown);
  border-right: 12px solid var(--brown);
  border-radius: 8px;
  padding: 18px 22px 20px;
}

.why-card .card-heading {
  margin: 0 56px 10px 0;
}

.why-card p {
  padding-right: 14px;
}

.why-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  object-fit: contain;
  transition: transform 0.35s var(--ease);
}

.why-card:hover .why-icon {
  transform: scale(1.15) rotate(-4deg);
}

.recognition-section {
  background: #0d0d14 url(../img/recognition-bg.webp) center right/cover no-repeat;
  color: #fff;
}

.recognition-inner {
  position: relative;
  max-width: 650px;
}

.recognition-section .section-heading {
  color: #fff;
  margin-bottom: 0.45em;
}

.recognition-lead {
  font-weight: 500;
  max-width: 680px;
  margin-bottom: 30px;
  font-size: calc(var(--fs-body));
}

.rank-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 256px));
  gap: 36px 36px;
}

.rank-card {
  position: relative;
  background: #fff;
  color: #111;
  border-radius: 8px;
  min-height: 140px;
  padding: 22px 16px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.rank-card .card-heading {
  font-weight: 500;
}

.rank-card::before {
  content: "";
  position: absolute;
  top: -22px;
  left: -22px;
  width: 46px;
  height: 46px;
  background: url(../img/sparkle.webp) center/contain no-repeat;
  animation: twinkle 3s ease-in-out infinite;
}

.rank-card:nth-child(2)::before {
  animation-delay: 0.7s;
}

.rank-card:nth-child(3)::before {
  animation-delay: 1.4s;
}

.rank-card:nth-child(4)::before {
  animation-delay: 2.1s;
}

.rank-logo {
  display: block;
  width: auto;
  transition: transform 0.35s var(--ease);
}

.rank-card:hover .rank-logo {
  transform: scale(1.1);
}

.rank-logo-it {
  height: 30px;
}

.rank-logo-ol,
.rank-logo-tw {
  height: 26px;
  margin-bottom: 8px;
}

.rank-logo-tw {
  height: 28px;
}

.rank-logo-nirf {
  height: 44px;
}

.specialise-section {
  background: #fff;
  overflow: hidden;
  padding-bottom: calc(var(--section-y) - 30px);
}

.specialise-media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  background: url(../img/specialise-court.webp) right top/auto 100%no-repeat;
}

.specialise-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      #fff 0,
      rgba(255, 255, 255, 0.92) 38%,
      rgba(255, 255, 255, 0.2) 62%,
      rgba(255, 255, 255, 0) 72%);
}

.specialise-copy {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

.specialise-lead {
  font-size: var(--fs-body);
  color: #2a5266;
  margin: 0 0 30px;
  max-width: 520px;
}

.spec-list li,
.specialise-lead strong {
  color: var(--navy-deep);
}

.spec-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.spec-list li {
  display: flex;
  align-items: center;
  background: var(--cream);
  border-left: 3px solid var(--brown);
  padding: 12px 18px;
  min-height: 64px;
  font-weight: 500;
}

.spec-list li strong {
  font-size: 1.15em;
  font-weight: 700;
}

.spec-list .spec-extra {
  display: none;
}

.spec-list.is-open .spec-extra {
  display: flex;
  animation: fadeUp 0.45s var(--ease) both;
}

.spec-list.is-open .spec-extra:nth-child(6) {
  animation-delay: 0.05s;
}

.spec-list.is-open .spec-extra:nth-child(7) {
  animation-delay: 0.1s;
}

.spec-list.is-open .spec-extra:nth-child(8) {
  animation-delay: 0.15s;
}

.spec-list.is-open .spec-extra:nth-child(9) {
  animation-delay: 0.2s;
}

.spec-list.is-open .spec-extra:nth-child(10) {
  animation-delay: 0.25s;
}

.view-more {
  display: block;
  margin: 26px auto 0;
  background: 0 0;
  border: 0;
  padding: 4px 8px;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 600;
}

.view-more:hover {
  text-decoration: underline;
}

.practice-section {
  position: relative;
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: auto 1fr;
  background: #fff url(../img/practice-podium.webp) left top/auto 100%no-repeat;
}

.practice-media {
  display: none;
}

.practice-copy {
  grid-column: 2;
  padding: 44px 32px 34px 0;
}

.practice-lead {
  margin: 0;
  max-width: 520px;
}

.practice-list-wrap {
  grid-column: 2;
  background: var(--cream);
  padding: 6px 0 20px 24px;
  margin-left: -28px;
}

.practice-list {
  max-width: 574px;
}

.practice-list li {
  position: relative;
  font-weight: 600;
  padding: 17px 0 17px 28px;
  border-bottom: 2px solid #dcd6d0;
  transition: transform 0.35s var(--ease), color 0.25s ease;
}

.practice-list li:last-child {
  border-bottom: 0;
}

.practice-list li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #000;
  transform: translateY(-50%);
  transition: background 0.25s ease, transform 0.25s ease;
}

.practice-list li:hover {
  color: var(--brown);
  transform: translateX(6px);
}

.practice-list li:hover::before {
  background: var(--yellow);
  transform: translateY(-50%) scale(1.8);
}

.placements-section {
  background: #fff;
}

.placements-lead {
  margin-bottom: 50px;
  font-size: calc(var(--fs-body));
}

.place-card,
.place-stats {
  display: flex;
  justify-content: center;
}

.place-stats {
  flex-wrap: wrap;
  gap: 27px;
  margin-bottom: 64px;
}

.place-card {
  flex: 0 1 284px;
  min-height: 168px;
  background: var(--cream);
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.18);
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--brown);
  padding: 20px;
}

.place-num {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.15;
}

.place-label {
  font-weight: 500;
  font-size: calc(var(--fs-body) + 0.3rem);
  line-height: 1.3;
}

.recruiter-tabs {
  display: inline-flex;
  border: 1px solid #000;
  border-radius: 6px;
  padding: 4px;
  margin-bottom: 42px;
}

.tab-btn {
  border: 0;
  border-radius: 4px;
  background: 0 0;
  color: var(--brown);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 11px 24px;
  min-width: 120px;
  transition: background 0.25s ease, color 0.25s ease;
}

.tab-btn.active {
  background: var(--brown);
  color: #fff;
}

.tab-btn:not(.active):hover {
  background: var(--cream);
}

.tab-pane-x.active {
  animation: fadeUp 0.45s var(--ease) both;
}

.logo-cell,
.logo-strip {
  display: flex;
  background: #fff;
}

.logo-strip {
  max-width: 1128px;
  margin: 0 auto;
  border: 1px solid #000;
}

.logo-cell {
  flex: 1 1 0;
  min-height: 92px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-right: 1px solid #000;
}

.logo-cell:last-child {
  border-right: 0;
}

.logo-cell-wide {
  flex-grow: 1.2;
}

.logo-cell img {
  max-height: 76px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  transition: transform 0.35s var(--ease);
}

.logo-cell:hover img {
  transform: scale(1.12);
}

.logo-strip-empty .logo-cell {
  color: #888;
  font-size: 0.9rem;
  font-style: italic;
}

.campus-section {
  background: var(--cream);
  overflow: hidden;
}

.campus-lead {
  margin-bottom: 20px;
}

.coverflow {
  position: relative;
  margin: 52px auto 0;
  width: 100%;
  max-width: 1392px;
  height: 246px;
  padding: 0 16px;
  outline: 0;
}

.cf-item {
  position: absolute;
  top: 0;
  left: 0;
  border: 1px solid #c9c9c9;
  background: #fff;
  box-shadow: 4px 4px 6px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.6s ease, width 0.6s ease, height 0.6s ease,
    opacity 0.6s ease, box-shadow 0.3s ease;
}

.cf-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s var(--ease);
}

.cf-item:hover img {
  transform: scale(1.1);
}

.cf-item.no-anim {
  transition: none;
}

.cf-item.is-active {
  cursor: default;
  box-shadow: 6px 8px 18px rgba(0, 0, 0, 0.35);
}

.coverflow:focus-visible {
  outline: 3px solid var(--brown);
  outline-offset: 6px;
}

.faq-section {
  background: #fff;
}

.faq-heading {
  color: #000;
  margin-bottom: 30px;
}

.faq-heading .hl {
  color: var(--brown);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--faq-border);
  border-radius: 12px;
  background: #fff;
  margin-bottom: 16px;
  box-shadow: 0 2px 4px rgba(7, 27, 58, 0.04);
  transition: border-color 0.2s ease, transform 0.35s var(--ease),
    box-shadow 0.35s ease;
}

.faq-item.is-open {
  border-color: var(--faq-blue);
}

.faq-h {
  font-size: 1.0625rem;
}

.faq-q {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  background: 0 0;
  border: 0;
  font: inherit;
  color: var(--faq-text);
  padding: 24px 56px 24px 24px;
}

.faq-q::after {
  content: "";
  position: absolute;
  right: 26px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-right: 2.4px solid var(--faq-blue);
  border-bottom: 2.4px solid var(--faq-blue);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.3s var(--ease);
}

.faq-item.is-open .faq-q::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-a {
  overflow: hidden;
  transition: height 0.35s var(--ease);
}

.faq-a p {
  margin: 0 24px;
  border-top: 1px solid #e4e8ee;
  padding: 12px 40px 24px 0;
  color: var(--muted);
}

.cta-section {
  background: var(--brown);
  padding-bottom: calc(var(--section-y) + 20px);
}

.cta-heading {
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: clamp(1.5rem, 1rem + 1.6vw, 2.5rem);
  margin-bottom: 32px;
}

.btn-cta {
  font-size: 1.35rem;
  padding: 0.55rem 2.2rem;
}

.site-footer {
  background: var(--yellow);
  padding: 15px 0;
  text-align: center;
}

.site-footer p {
  font-size: 0.9rem;
  font-weight: 500;
}

.zoom-card {
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease,
    background-color 0.3s ease;
}

@media (hover: hover) and (pointer: fine) {
  .why-card.zoom-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 20px 40px rgba(116, 57, 42, 0.18);
    position: relative;
    z-index: 2;
  }

  .place-card.zoom-card:hover,
  .rank-card.zoom-card:hover {
    transform: scale(1.06);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
    position: relative;
    z-index: 2;
  }

  .spec-list li.zoom-card:hover {
    transform: scale(1.03);
    background: #f6eee1;
    box-shadow: 0 10px 22px rgba(116, 57, 42, 0.12);
  }

  .faq-item.zoom-card:hover {
    transform: scale(1.015);
    box-shadow: 0 8px 22px rgba(4, 45, 78, 0.1);
  }
}

.js [data-reveal] {
  opacity: 0;
  transition: opacity 0.8s ease var(--d, 0s),
    transform 0.8s var(--ease) var(--d, 0s);
}

.js [data-reveal="up"] {
  transform: translateY(36px);
}

.js [data-reveal="left"] {
  transform: translateX(-48px);
}

.js [data-reveal="right"] {
  transform: translateX(48px);
}

.js [data-reveal="zoom"] {
  transform: scale(0.88);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.js .zoom-card[data-reveal].is-visible {
  transition: opacity 0.8s ease var(--d, 0s), transform 0.35s var(--ease),
    box-shadow 0.35s ease, background-color 0.3s ease;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  ::after,
  ::before {
    animation: none !important;
    transition: none !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1199.98px) {

  .rank-card .card-heading br,
  .why-card .card-heading br {
    display: none;
  }

  .specialise-media::before {
    background: linear-gradient(90deg,
        #fff 0,
        rgba(255, 255, 255, 0.94) 50%,
        rgba(255, 255, 255, 0.3) 80%,
        rgba(255, 255, 255, 0.1) 100%);
  }
}

@media (max-width: 991.98px) {
  .hero {
    min-height: 0;
    padding-bottom: 40px;
    background-position: 70%center;
  }

  .hero::before {
    background: linear-gradient(180deg,
        rgba(40, 18, 10, 0.55),
        rgba(40, 18, 10, 0.35));
  }

  .lead-card {
    margin: 16px auto 0;
    max-width: 560px;
  }

  .recognition-section {
    background-position: 75%center;
  }

  .recognition-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(10, 8, 12, 0.55);
  }

  .specialise-section {
    padding-top: 0;
  }

  .specialise-media {
    position: relative;
    height: 320px;
    background-size: cover;
    background-position: 70%top;
  }

  .specialise-media::before {
    background: linear-gradient(0deg, #fff 0, rgba(255, 255, 255, 0) 35%);
  }

  .specialise-copy {
    margin-top: 28px;
    max-width: none;
  }

  .practice-section {
    grid-template-columns: 100%;
    grid-template-rows: auto;
    background-image: none;
    min-height: 0;
  }

  .practice-media {
    display: block;
    min-height: 340px;
    background: url(../img/practice-podium.webp) 20%center / cover no-repeat;
  }

  .practice-copy,
  .practice-list-wrap {
    grid-column: 1;
    margin-left: 0;
  }

  .practice-copy {
    padding: 36px 16px 28px;
  }

  .practice-list-wrap {
    padding: 4px 16px 16px;
  }

  .logo-strip {
    flex-wrap: wrap;
  }

  .logo-cell {
    flex: 1 1 33.333%;
    border-bottom: 1px solid #000;
  }

  .logo-cell:nth-child(3n) {
    border-right: 0;
  }

  .logo-cell:nth-last-child(-n + 3) {
    border-bottom: 0;
  }

  .logo-strip-empty .logo-cell {
    border: 0;
  }
}

@media (max-width: 767.98px) {
  .stats-band {
    padding: 28px 0 8px;
  }

  .stat {
    padding-bottom: 24px;
  }

  .stat+.stat {
    border-top: 2px solid rgba(255, 255, 255, 0.7);
    padding-top: 24px;
  }

  .niche-marquee {
    padding: 24px 0;
  }

  .marquee-track li {
    min-height: 60px;
    padding: 10px 22px;
  }

  .lead-card {
    padding: 26px 18px 20px;
  }

  .rank-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 22px;
  }

  .spec-list {
    grid-template-columns: 1fr;
  }

  .place-card {
    flex-basis: 100%;
    min-height: 130px;
  }

  .logo-cell {
    flex-basis: 50%;
  }

  .logo-cell:nth-child(3n) {
    border-right: 1px solid #000;
  }

  .logo-cell:nth-child(2n) {
    border-right: 0;
  }

  .logo-cell:nth-last-child(-n + 3) {
    border-bottom: 1px solid #000;
  }

  .logo-cell:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .tab-btn {
    padding: 10px 14px;
    min-width: 0;
  }

  .coverflow {
    margin-top: 20px;
  }

  .faq-q {
    padding: 18px 48px 18px 18px;
  }

  .faq-a p {
    margin: 0 18px;
    padding-right: 0;
  }

  .faq-section {
    padding: var(--section-y) 0 calc(var(--section-y));
  }
}

@media (max-width: 479.98px) {
  .rank-grid {
    grid-template-columns: repeat(2, 1fr);
    margin-left: 22px;
  }
}

main>section {
  overflow-x: clip;
}


@media only screen and (min-width: 320px) and (max-width: 769px) {
  :root {
    --fs-body: 0.7375rem;
    --fs-h3: 0.9rem;
  }

  .hero {
    background: #5f2413;
    display: block;
  }

  .hero-copy,
  .hero::before {
    display: none;
  }

  .banner-mob {
    display: block;
  }

  .hero>.container {
    padding: 0px;
  }

  .stat {
    padding: 0 10px 6px;
  }

  .stat-badge {
    padding: 10px 10px;
  }

  .stat+.stat {
    border: none;
    padding-top: 0px;
  }

  .stat-num {
    font-size: 1.4rem;
    line-height: 1.1;
  }

  .badge-it {
    height: 16px;
  }

  .badge-ol {
    height: 8px;
  }

  .marquee-track li {
    min-height: 40px;
  }

  .why-icon {
    position: initial;
  }

  .why-card {
    padding: 15px 15px 15px;
  }

  .why-card .card-heading {
    margin: 0 0px 10px 0;
  }

  .card-heading {
    line-height: 1.35;
  }

  .recognition-section,
  .specialise-section,
  .practice-section {
    text-align: center;
  }

  .practice-list li {
    padding: 10px 0 10px 28px;
    width: 45%;
    display: inline-block;
  }

  .spec-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .practice-list-wrap {
    text-align: left;
  }

  .placements-lead {
    margin-bottom: 30px;
  }

  .place-stats {
    flex-wrap: initial;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 30px;
  }
}