:root {
  --iuat-navy: #06366f;
  --iuat-blue: #0b5a9a;
  --iuat-teal: #008a9a;
  --iuat-red: #cf1f2e;
  --iuat-ink: #182230;
  --iuat-muted: #5f6b7a;
  --iuat-bg: #f6f9fc;
  --iuat-line: #d9e3ee;
  --iuat-card: #ffffff;
  --iuat-radius: 18px;
  --iuat-shadow: 0 18px 46px rgba(6, 54, 111, .10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--iuat-bg);
  color: var(--iuat-ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--iuat-blue); }
a:hover { color: var(--iuat-teal); }

img { max-width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(217, 227, 238, .9);
}
.navbar {
  min-height: 76px;
}
.navbar-brand {
  display: flex;
  gap: .75rem;
  align-items: center;
  text-decoration: none;
  color: var(--iuat-navy);
}
.navbar-brand img { width: 140px; height: auto; }
.brand-wordmark {
  display: none;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.brand-wordmark small {
  display: block;
  font-weight: 600;
  color: var(--iuat-muted);
  letter-spacing: normal;
}
.nav-link {
  color: var(--iuat-ink) !important;
  font-weight: 700;
  font-size: .95rem;
}
.nav-link:hover, .nav-link:focus { color: var(--iuat-blue) !important; }
.navbar-toggler { border: 0; }

.custom-btn, .btn-iuat-primary, .btn-iuat-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: .75rem 1.15rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.custom-btn:hover, .btn-iuat-primary:hover, .btn-iuat-secondary:hover { transform: translateY(-1px); }
.btn-iuat-primary, .custom-btn {
  background: var(--iuat-navy);
  color: #fff;
  box-shadow: 0 12px 28px rgba(6, 54, 111, .22);
}
.btn-iuat-primary:hover, .custom-btn:hover { background: #052a57; color: #fff; }
.btn-iuat-secondary {
  background: #fff;
  color: var(--iuat-navy);
  border: 1px solid var(--iuat-line);
}
.btn-iuat-secondary:hover { background: #f0f6fb; color: var(--iuat-navy); }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3.2rem, 8vw, 7rem) 0 clamp(2.4rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 82% 14%, rgba(0, 138, 154, .16), transparent 34%),
    radial-gradient(circle at 12% 18%, rgba(207, 31, 46, .08), transparent 30%),
    linear-gradient(135deg, #ffffff 0%, #f4f9fe 60%, #eef7fb 100%);
}
.hero:after {
  content: "";
  position: absolute;
  inset: auto -10vw -16vw auto;
  width: 44vw;
  height: 44vw;
  border: 52px solid rgba(6, 54, 111, .06);
  border-radius: 50%;
}
.kicker {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
  padding: .35rem .65rem;
  background: rgba(6, 54, 111, .08);
  color: var(--iuat-navy);
  border: 1px solid rgba(6, 54, 111, .14);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.hero-title {
  margin: 1.1rem 0 .75rem;
  font-size: clamp(2.5rem, 6vw, 5.3rem);
  line-height: .95;
  letter-spacing: -.075em;
  color: var(--iuat-navy);
  font-weight: 900;
}
.hero-title span { color: var(--iuat-red); }
.hero-lead {
  max-width: 760px;
  font-size: clamp(1.12rem, 2vw, 1.42rem);
  color: #384656;
}
.hero-card {
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(217,227,238,.9);
  box-shadow: var(--iuat-shadow);
  border-radius: 24px;
  padding: 1.5rem;
}
.hero-logo-panel {
  display: grid;
  place-items: center;
  min-height: 300px;
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--iuat-line);
  box-shadow: var(--iuat-shadow);
}
.hero-logo-panel img { max-width: min(430px, 92%); }

.stat-strip {
  position: relative;
  z-index: 1;
  margin-top: -2rem;
}
.stat-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--iuat-line);
  border-radius: 18px;
  padding: 1.2rem;
  box-shadow: 0 10px 26px rgba(6,54,111,.07);
}
.stat-card strong {
  display: block;
  color: var(--iuat-navy);
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  line-height: 1;
  letter-spacing: -.04em;
}
.stat-card span { display: block; color: var(--iuat-muted); font-weight: 700; margin-top: .45rem; }

.section-pad { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-title {
  color: var(--iuat-navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.055em;
}
.section-lead {
  max-width: 760px;
  color: #475465;
  font-size: 1.12rem;
}
.card-iuat {
  background: var(--iuat-card);
  border: 1px solid var(--iuat-line);
  border-radius: var(--iuat-radius);
  box-shadow: 0 10px 26px rgba(6,54,111,.06);
  padding: 1.25rem;
  height: 100%;
}
.card-iuat h3, .card-iuat h4 {
  color: var(--iuat-navy);
  font-weight: 850;
  letter-spacing: -.02em;
}
.card-iuat .eyebrow {
  color: var(--iuat-teal);
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .08em;
}

.flow-diagram {
  display: grid;
  gap: .85rem;
  grid-template-columns: 1fr;
}
.flow-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--iuat-line);
  border-left: 5px solid var(--iuat-teal);
  border-radius: 16px;
  padding: 1rem;
  font-weight: 800;
  color: var(--iuat-navy);
}
.flow-step small { display: block; color: var(--iuat-muted); font-weight: 600; margin-top: .2rem; }

.timeline {
  display: grid;
  gap: 1rem;
}
.timeline-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
  align-items: start;
  background: #fff;
  border: 1px solid var(--iuat-line);
  border-radius: 16px;
  padding: 1rem;
}
.timeline-year {
  color: #fff;
  background: var(--iuat-navy);
  border-radius: 999px;
  text-align: center;
  font-weight: 900;
  padding: .4rem .55rem;
}
.timeline-item h3 { margin: 0; font-size: 1.05rem; color: var(--iuat-navy); font-weight: 900; }
.timeline-item p { margin: .2rem 0 0; color: var(--iuat-muted); }

.article-page main { padding-top: 1.2rem; }
.article-content {
  background: #fff;
  border: 1px solid var(--iuat-line);
  border-radius: 24px;
  box-shadow: 0 14px 34px rgba(6,54,111,.07);
  padding: clamp(1.25rem, 4vw, 3rem);
}
.article-content h1 {
  color: var(--iuat-navy);
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -.055em;
  margin-bottom: 1rem;
}
.article-content h2 {
  color: var(--iuat-navy);
  margin-top: 2rem;
  font-weight: 900;
  letter-spacing: -.03em;
}
.article-content h3 { color: var(--iuat-navy); margin-top: 1.6rem; font-weight: 850; }
.article-content .lead { font-size: 1.15rem; color: #475465; }
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: .96rem;
}
.article-content th, .article-content td {
  border: 1px solid var(--iuat-line);
  padding: .72rem;
  vertical-align: top;
}
.article-content th {
  background: #edf5fb;
  color: var(--iuat-navy);
}
.article-content blockquote {
  border-left: 5px solid var(--iuat-teal);
  background: #f2fafb;
  padding: 1rem 1.2rem;
  border-radius: 0 14px 14px 0;
  color: var(--iuat-navy);
}
.article-content .article-hero {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--iuat-line);
  background: #fff;
}
.article-content .article-hero img { width: 100%; }

.related .sticky-sidebar {
  position: sticky;
  top: 96px;
  background: #fff;
  border: 1px solid var(--iuat-line);
  border-radius: 20px;
  padding: 1rem;
  box-shadow: 0 10px 26px rgba(6,54,111,.06);
}
.related h4 { color: var(--iuat-navy); }
.related .list-group-item { border-color: var(--iuat-line); }
.next-link {
  display: inline-flex;
  margin-top: 1.2rem;
  background: var(--iuat-navy);
  color: #fff;
  border-radius: 999px;
  padding: .8rem 1.15rem;
  text-decoration: none;
  font-weight: 800;
}
.next-link:hover { color:#fff; background:#052a57; }

.callout {
  background: linear-gradient(135deg, var(--iuat-navy), #0b5a9a);
  color: #fff;
  border-radius: 24px;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  box-shadow: var(--iuat-shadow);
}
.callout h2, .callout h3 { color: #fff; }
.callout a { color: #fff; }

.footer {
  background: #061d3a;
  color: #dbe8f5;
  padding: 3rem 0;
  margin-top: 3rem;
}
.footer a { color: #fff; }
.footer-logo { width: 170px; background:#fff; border-radius: 14px; padding: .4rem; }
.disclaimer {
  color: #7890aa;
  font-size: .92rem;
}

.topics-header, .topics-section { margin-bottom: 2rem; }
.topics-title, .topics-section__title { color: var(--iuat-navy); font-weight: 900; }
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  padding: 0;
  list-style: none;
}
.topic-card {
  display: block;
  height: 100%;
  padding: 1rem;
  background: #fff;
  border: 1px solid var(--iuat-line);
  border-radius: 16px;
  text-decoration: none;
  font-weight: 800;
  color: var(--iuat-navy);
}
.topic-card:hover { box-shadow: var(--iuat-shadow); color: var(--iuat-blue); }

@media (min-width: 768px) {
  .brand-wordmark { display: block; }
  .flow-diagram { grid-template-columns: repeat(4, 1fr); }
  .flow-step:after {
    content: "→";
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--iuat-teal);
    font-weight: 900;
  }
  .flow-step:nth-child(4n):after, .flow-step:last-child:after { display: none; }
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 0 1.25rem;
    border-top: 1px solid var(--iuat-line);
  }
  .navbar-nav { gap: .35rem; }
  .hero-logo-panel { margin-top: 1.5rem; }
}

/* Ensure white buttons on dark callout panels keep visible text. */
.callout .btn-iuat-secondary,
.callout .btn-iuat-secondary:visited {
  background: #fff;
  color: var(--iuat-navy);
  border-color: rgba(255,255,255,.75);
}
.callout .btn-iuat-secondary:hover,
.callout .btn-iuat-secondary:focus {
  background: #f0f6fb;
  color: var(--iuat-navy);
}
.callout .btn-iuat-primary,
.callout .btn-iuat-primary:visited {
  color: #fff;
}

/* Ensure white buttons in the dark footer retain visible navy text. */
.footer .btn-iuat-secondary,
.footer .btn-iuat-secondary:visited,
.footer a.btn-iuat-secondary,
.footer a.btn-iuat-secondary:visited {
  background: #fff;
  color: var(--iuat-navy) !important;
  border-color: rgba(255,255,255,.75);
}
.footer .btn-iuat-secondary:hover,
.footer .btn-iuat-secondary:focus,
.footer a.btn-iuat-secondary:hover,
.footer a.btn-iuat-secondary:focus {
  background: #f0f6fb;
  color: var(--iuat-navy) !important;
}


/* Responsive fixes for medium widths: keep the header from crowding and keep CTA buttons readable. */
@media (max-width: 1199.98px) {
  .navbar-collapse {
    padding: 1rem 0 1.25rem;
    border-top: 1px solid var(--iuat-line);
  }
  .navbar-nav { gap: .35rem; }
  .navbar-nav .btn-iuat-primary {
    width: fit-content;
    margin-top: .5rem;
  }
  .callout .row > [class*="col-lg-"] {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .callout .text-lg-end {
    text-align: left !important;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
  }
  .callout .text-lg-end .btn-iuat-secondary {
    margin: 0 !important;
  }
}

@media (min-width: 1200px) {
  .callout .text-lg-end {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: .75rem;
  }
  .callout .text-lg-end .btn-iuat-secondary {
    margin: 0 !important;
    min-width: 176px;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand img { width: 112px; }
  .brand-wordmark { display: none; }
  .callout .text-lg-end .btn-iuat-secondary,
  .navbar-nav .btn-iuat-primary {
    width: 100%;
  }
}
