:root {
  --imtg-blue: #003399;
  --imtg-gold: #d4a415;
  --imtg-ink: #17233d;
  --imtg-muted: #5d6880;
  --imtg-bg: #f5f7fb;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--imtg-ink);
  background: #fff;
}
.imtg-fee-wrap {
  max-width: 1240px;
  margin: auto;
  padding: 0 24px;
}
.imtg-fee-hero {
  background: linear-gradient(115deg, #002274, #003399);
  color: white;
  padding: 76px 0 86px;
}
.imtg-fee-eyebrow {
  color: #f0cb63;
  font-size: 13px;
  letter-spacing: 2px;
  font-weight: 700;
  text-transform: uppercase;
}
.imtg-fee-hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  margin: 15px 0 18px;
}
.imtg-fee-hero p {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.7;
  color: #e2e9fb;
  margin: 0;
}
.imtg-fee-section {
  background: var(--imtg-bg);
  padding: 72px 0 88px;
}
.imtg-fee-heading {
  text-align: center;
  margin-bottom: 38px;
}
.imtg-fee-heading h2 {
  font-size: clamp(27px, 3vw, 38px);
  margin: 0 0 12px;
}
.imtg-fee-heading p {
  margin: 0;
  color: var(--imtg-muted);
  line-height: 1.6;
}
.imtg-fee-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.imtg-fee-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e3e8f3;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(21, 45, 93, 0.07);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.imtg-fee-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 42px rgba(21, 45, 93, 0.12);
}
.imtg-fee-card-top {
  min-height: 138px;
  padding: 25px 25px 22px;
  background: linear-gradient(145deg, #073caa, #002877);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.imtg-fee-letter {
  position: absolute;
  right: 15px;
  top: -31px;
  font-size: 145px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
}
.imtg-fee-campus {
  position: relative;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: #e9c85c;
  text-transform: uppercase;
  font-weight: 700;
}
.imtg-fee-card h3 {
  position: relative;
  font-size: 27px;
  line-height: 1.15;
  margin: 13px 0 0;
}
.imtg-fee-card-body {
  padding: 27px 25px 29px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.imtg-fee-batch {
  display: inline-block;
  align-self: flex-start;
  background: #fff7df;
  color: #745700;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 11px;
  border-radius: 30px;
}
.imtg-fee-card-body p {
  color: var(--imtg-muted);
  line-height: 1.65;
  font-size: 14px;
  margin: 19px 0 22px;
  min-height: 68px;
}
.imtg-fee-buttons {
  display: grid;
  gap: 11px;
  margin-top: auto;
}
.imtg-fee-button {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  border-radius: 9px;
  padding: 14px 16px;
  transition: filter 0.2s;
}
.imtg-fee-button:hover {
  filter: brightness(0.93);
}
.imtg-fee-button--gold {
  background: var(--imtg-gold);
  color: #14264e;
}
.imtg-fee-button--blue {
  background: var(--imtg-blue);
  color: white;
}
.imtg-fee-button span:last-child {
  font-size: 19px;
  line-height: 1;
}
.imtg-fee-note {
  margin: 27px 0 0;
  color: var(--imtg-muted);
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}
.imtg-fee-cta {
  background: #fff;
  padding: 54px 0;
}
.imtg-fee-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-left: 5px solid var(--imtg-gold);
  padding: 8px 0 8px 25px;
}
.imtg-fee-cta h2 {
  font-size: 27px;
  margin: 0 0 8px;
}
.imtg-fee-cta p {
  color: var(--imtg-muted);
  margin: 0;
  line-height: 1.5;
}
.imtg-fee-apply {
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
  background: var(--imtg-blue);
  color: #fff;
  padding: 15px 25px;
  border-radius: 8px;
  font-weight: 700;
}
.imtg-fee-apply:hover {
  background: #00266e;
}
@media (max-width: 980px) {
  .imtg-fee-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .imtg-fee-wrap {
    padding: 0 18px;
  }
  .imtg-fee-hero {
    padding: 58px 0 64px;
  }
  .imtg-fee-section {
    padding: 48px 0 58px;
  }
  .imtg-fee-grid {
    grid-template-columns: 1fr;
  }
  .imtg-fee-card-body p {
    min-height: 0;
  }
  .imtg-fee-cta-inner {
    display: block;
  }
  .imtg-fee-apply {
    margin-top: 22px;
  }
  .imtg-fee-card h3 {
    font-size: 25px;
  }
}

/* Admissions-style header and footer */
.imtg-fee-sitebar {
  background: #fff;
  border-bottom: 1px solid #e4e8f1;
  position: relative;
  z-index: 2;
}
.imtg-fee-sitebar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.imtg-fee-logo {
  width: 185px;
  max-width: 100%;
  height: auto;
  display: block;
}
.imtg-fee-sitebar nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.imtg-fee-sitebar nav a {
  text-decoration: none;
  color: #003399;
  font-weight: 700;
  font-size: 14px;
}
.imtg-fee-sitebar nav .imtg-fee-nav-apply {
  background: #d4a415;
  color: #fff;
  padding: 12px 19px;
  border-radius: 6px;
}
.imtg-fee-footer {
  background: #091c48;
  color: #dce5f5;
  padding: 54px 0 22px;
}
.imtg-fee-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.8fr;
  gap: 40px;
}
.imtg-fee-footer-logo {
  width: 175px;
  height: auto;
  max-width: 100%;
  background: #fff;
  padding: 9px;
  border-radius: 5px;
  margin-bottom: 15px;
}
.imtg-fee-footer p {
  margin: 8px 0;
  line-height: 1.65;
  font-size: 14px;
}
.imtg-fee-footer h2 {
  font-size: 17px;
  color: #fff;
  margin: 0 0 17px;
}
.imtg-fee-footer a {
  color: #e9eefb;
  text-decoration: none;
}
.imtg-fee-footer a:hover {
  text-decoration: underline;
  color: #fff;
}
.imtg-fee-footer-bottom {
  border-top: 1px solid #ffffff35;
  margin-top: 38px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  line-height: 1.6;
  color: #c5cfe2;
}
.imtg-fee-footer-bottom span:last-child {
  max-width: 650px;
}
@media (max-width: 720px) {
  .imtg-fee-sitebar-inner {
    flex-wrap: wrap;
  }
  .imtg-fee-logo {
    width: 145px;
  }
  .imtg-fee-sitebar nav {
    gap: 12px;
  }
  .imtg-fee-sitebar nav a {
    font-size: 12px;
  }
  .imtg-fee-footer-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .imtg-fee-footer {
    padding-top: 38px;
  }
}
