:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --surface-alt: #eef3fb;
  --text: #162033;
  --muted: #4d5a71;
  --primary: #0f5fd9;
  --primary-dark: #0847a7;
  --ring: rgba(15, 95, 217, 0.28);
  --border: #d8e0ec;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(17, 32, 63, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 248, 251, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--primary), #6ca2ff);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: inline-flex;
  gap: 18px;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

.nav-links a:hover {
  color: var(--primary);
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text);
}

.hero {
  padding: 72px 0 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 28px;
}

.urdu-line {
  margin: 0 0 12px;
  font-size: 1.2rem;
  color: #264071;
  font-family: "Noto Nastaliq Urdu", serif;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
}

h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  margin-bottom: 14px;
}

.lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 62ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  text-decoration: none;
  border-radius: 10px;
  padding: 11px 16px;
  font-weight: 600;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn.primary {
  background: var(--primary);
  color: #fff;
}

.btn.primary:hover {
  background: var(--primary-dark);
}

.btn.ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
}

.hero-card ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.hero-date {
  margin: 6px 0 0;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary);
}

.section {
  padding: 58px 0;
}

.section p {
  color: var(--muted);
  line-height: 1.7;
}

.section.alt {
  background: var(--surface-alt);
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
}

.section-note {
  margin-bottom: 18px;
}

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

th,
td {
  text-align: left;
  padding: 13px 14px;
  border-bottom: 1px solid var(--border);
}

th {
  background: #e6edf8;
}

.small {
  margin-top: 10px;
  color: #6d7890;
  font-size: 0.9rem;
}

.chips {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chips li {
  background: #dce9ff;
  color: #10356e;
  border-radius: 999px;
  padding: 9px 12px;
  font-size: 0.95rem;
  font-weight: 500;
}

.timeline {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
}

.timeline li {
  color: var(--muted);
  line-height: 1.65;
  padding-left: 6px;
}

.faculty-grid {
  margin-top: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faculty-card h3 {
  margin-bottom: 8px;
  font-size: 1.02rem;
}

.faculty-card p {
  margin: 0;
  font-size: 0.95rem;
}

.placement {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.site-footer {
  background: #111d34;
  color: #dbe6ff;
  padding: 48px 0 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
}

.site-footer p {
  color: #b3c3e8;
  line-height: 1.7;
}

.copyright {
  margin: 34px 0 0;
  text-align: center;
  font-size: 0.9rem;
}

a:focus,
button:focus {
  outline: 3px solid var(--ring);
  outline-offset: 2px;
}

@media (max-width: 920px) {
  .hero-grid,
  .footer-grid,
  .grid.two-col,
  .faculty-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .menu-btn {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    right: 4vw;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 10px;
    box-shadow: var(--shadow);
    min-width: 190px;
    flex-direction: column;
    padding: 12px;
    display: none;
  }

  .nav-links.open {
    display: flex;
  }
}
