/* Simple, clean, classic serif headings + neutral body */
:root {
  --container: 1100px;
  --muted: #f4f4f4;
  --text: #111;
  --accent: #0b6cb6;
}

* {
  box-sizing: border-box
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background: #fafafa;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* utility container */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 22px;
}

/* topbar */
.topbar {
  background: transparent;
  padding: 10px 16px;
}

.utility {
  display: flex;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}

.utility-nav {
  display: inline-flex;
  width: 100%;
  gap: 40px;
  font-size: 14px;
  flex-wrap: wrap;
}

.utility-nav a {
  color: #222;
  text-decoration: none;
  opacity: 0.9;
  white-space: nowrap;
}

/* Push Apply button to right (desktop) */
.utility-nav a.apply {
  font-weight: 600;
  margin-left: auto;
}

/* ================================
   Tablet Responsive
================================ */
@media (max-width: 900px) {
  .utility-nav {
    gap: 18px;
    font-size: 13px;
  }
}

/* ================================
   Mobile Responsive
================================ */
@media (max-width: 600px) {
  .utility-nav {
    justify-content: center;
    row-gap: 10px;
    font-size: 13px;
  }

  /* Center Apply button on mobile */
  .utility-nav a.apply {
    margin-left: 0;
    width: 100%;
    text-align: center;
    font-weight: 600;
  }
}


/* header */
.site-header {
  background: transparent;
  padding: 18px 0
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 50px
}

.logo img {
  height: 60px;
  width: auto;
  display: block
}

/* main nav */
.main-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.main-nav a {
  color: #111;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  opacity: 0.95
}

/* hero */
.hero {
  margin-top: 10px
}

.hero-img {
  width: 100%;
  display: block;
  height: 300px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.04)
}

.hero-caption {
  text-align: center;
  color: #888;
  margin-top: 8px;
  font-size: 13px
}

/* ================================
   Intro Two-Column Responsive
================================ */
.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 16px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

/* Common column */
.col {
  width: 100%;
}

/* Left column */
.left h2 {
  font-family: "Merriweather", serif;
  font-size: 24px;
  margin-bottom: 16px;
  color: #111;
  line-height: 1.3;
}

.notices {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.notices li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

.notices a {
  color: var(--accent, #0b6cb6);
  text-decoration: underline;
}

.notices a:hover {
  color: #084d82;
}

/* Right column */
.right {
  width: 100%;
}

.bullet {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.bullet li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

/* ================================
   Tablet (≤ 900px)
================================ */
@media (max-width: 900px) {
  .intro {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 40px 16px;
  }

  .left h2 {
    font-size: 22px;
  }
}

/* ================================
   Mobile (≤ 600px)
================================ */
@media (max-width: 600px) {
  .intro {
    padding: 32px 14px;
  }

  .left h2 {
    font-size: 20px;
  }

  .notices li,
  .bullet li {
    font-size: 15px;
  }
}

/* section titles */
.section-title {
  font-family: "Merriweather", serif;
  font-size: 28px;
  margin: 32px 0 8px
}

.section-sub {
  color: #444;
  margin-bottom: 22px
}

#title,
sub {
  text-align: center;
}

/* grid system */
.grid {
  display: grid;
  gap: 28px
}

.campuses-grid {
  grid-template-columns: repeat(4, 1fr)
}

.three-col {
  grid-template-columns: repeat(3, 1fr)
}

.research-grid {
  align-items: start
}

/* cards */
.card img,
.feature img,
.faculty-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border: 1px solid rgba(0, 0, 0, 0.04)
}

.card .caption,
.feature h4,
.faculty-card h4 {
  margin-top: 12px;
  font-size: 15px
}

.feature p,
.card .caption {
  color: #333
}

/* faculty */
.faculty-card img {
  height: 220px
}

.faculty-card .link {
  display: block;
  margin-top: 10px;
  color: #333;
  text-decoration: none;
  font-size: 13px
}


/* Rankings section */
.rankings {
  padding: 40px 0;
}

/* Grid */
.rank-grid {
  display: flex;
  gap: 20px;
}

/* Card */
.rank-card {
  flex: 1;
}

/* Text */
.rank-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #111;
}

.rank-card p {
  font-size: 14px;
  color: #333;
  line-height: 1.5;
}

.rank-card span {
  font-weight: 600;
}

/* Responsive */
@media (max-width: 900px) {
  .rank-grid {
    flex-wrap: wrap;
  }

  .rank-card {
    flex: 1 1 45%;
  }
}

@media (max-width: 600px) {
  .rank-card {
    flex: 1 1 100%;
  }
}


/* placements (logos) */
.placements .logos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  align-items: center;
  margin-top: 20px;
}

.logo-card {
  background: #fff;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 110px;
  border: 1px solid rgba(0, 0, 0, 0.03)
}

.logo-card img {
  max-width: 90%;
  max-height: 120px;
  object-fit: contain
}

/*Research*/
.research {
  width: 100%;
  overflow-x: hidden;
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
  height: 100%;
}

/* Research cards */
.research-card {
  background: #fff;
  height: 100%;
  padding: 16px;
}

/* Images must NEVER overflow */
.research-card img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}


/* suggested */
.big-title {
  font-size: 34px;
  text-align: center;
  margin: 36px 0
}

.suggest img {
  width: 100%;
  height: 160px;
  object-fit: cover
}

.suggest h4 {
  margin: 12px 0
}

.suggest p {
  color: #444
}

/* ================================
   Footer
================================ */
.site-footer {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  margin-top: 40px;
  font-size: 14px;
  color: #333;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 40px 22px;
}

.footer-col h4 {
  font-family: "Merriweather", serif;
  font-size: 16px;
  margin-bottom: 12px;
}

.footer-col p {
  margin-bottom: 12px;
  line-height: 1.6;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 6px;
}

.footer-col ul li a {
  text-decoration: underline;
  color: #111;
}

.footer-col ul li a:hover {
  color: var(--accent);
}

/* Social links */
.social-links {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.social-links a {
  text-decoration: underline;
  font-size: 14px;
}



/* ================================
   Responsive
================================ */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

/* responsive */
@media (max-width:1000px) {
  .campuses-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .three-col {
    grid-template-columns: repeat(2, 1fr)
  }

  .placements .logos-grid {
    grid-template-columns: repeat(2, 1fr)
  }

  .hero-img {
    height: 260px
  }
}

@media (max-width:700px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px
  }

  .main-nav {
    flex-wrap: wrap
  }

  .intro {
    flex-direction: column
  }

  .grid {
    grid-template-columns: 1fr
  }

  .campuses-grid,
  .three-col,
  .placements .logos-grid {
    grid-template-columns: 1fr
  }

  .hero-img {
    height: 200px
  }

  .utility-nav {
    justify-content: center;
    font-size: 13px;
    gap: 12px
  }

  .logo img {
    height: 52px
  }

  .notices li {
    font-size: 16px
  }

  .section-title {
    font-size: 22px
  }
}

@media (max-width: 900px) {
  .research-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .research-grid {
    grid-template-columns: 1fr;
  }
}


/* small tweaks */
a {
  color: inherit
}

h2,
h3,
h4 {
  font-family: "Merriweather", serif
}