:root {
  --ink: #172033;
  --muted: #5d6678;
  --line: #dfe5ef;
  --brand: #176b62;
  --brand-dark: #0e4d47;
  --accent: #f2b84b;
  --soft: #eef7f5;
  --panel: #ffffff;
  --page: #f7f9fc;
  --danger: #b42318;
  --success: #18794e;
  --shadow: 0 16px 40px rgba(23, 32, 51, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.topbar {
  background: var(--brand-dark);
  color: #ffffff;
  font-size: 0.92rem;
}

.topbar-inner,
.nav-inner,
.section,
.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.quick-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.quick-links a {
  text-decoration: none;
  opacity: 0.92;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 240px;
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
}

.brand-text strong,
.brand-text span {
  display: block;
}

.brand-text strong {
  font-size: 1rem;
  line-height: 1.15;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.86rem;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 8px;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-dark);
  background: var(--soft);
}

.hero {
  min-height: 560px;
  display: grid;
  align-items: end;
  background:
    linear-gradient(90deg, rgba(9, 45, 42, 0.78), rgba(9, 45, 42, 0.42), rgba(9, 45, 42, 0.08)),
    url("assets/college-building.jpeg") center / cover;
  color: #ffffff;
}

.hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 86px 0 58px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 0.84rem;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 780px;
  font-size: clamp(2.15rem, 5vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero p,
.page-hero p {
  max-width: 660px;
  margin: 18px 0 0;
  font-size: 1.12rem;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  cursor: pointer;
}

.button.secondary {
  background: #ffffff;
  color: var(--brand-dark);
}

.button.outline {
  background: transparent;
  border-color: var(--brand);
  color: var(--brand-dark);
}

.stats-band {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
}

.stat {
  padding: 24px;
  border-left: 1px solid var(--line);
}

.stat:last-child {
  border-right: 1px solid var(--line);
}

.stat strong {
  display: block;
  color: var(--brand-dark);
  font-size: 1.55rem;
}

.stat span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 70px 0;
}

.section.tight {
  padding-top: 38px;
}

.section-title {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  line-height: 1.15;
}

.section-title p {
  color: var(--muted);
  margin: 12px 0 0;
}

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

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

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

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  box-shadow: 0 8px 22px rgba(23, 32, 51, 0.05);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.feature-image {
  min-height: 360px;
  border-radius: 8px;
  background: url("assets/college-gate.jpeg") center / cover;
  box-shadow: var(--shadow);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: 34px;
  align-items: center;
}

.check-list {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 34px;
  border-bottom: 1px solid var(--line);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 15px;
  width: 23px;
  height: 23px;
  width: 8px;
  height: 14px;
  border-right: 3px solid var(--brand-dark);
  border-bottom: 3px solid var(--brand-dark);
  border-radius: 50%;
  transform: rotate(45deg);
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(9, 45, 42, 0.86), rgba(9, 45, 42, 0.44)),
    url("assets/college-gate.jpeg") center / cover;
  color: #ffffff;
}

.page-hero-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 82px 0;
}

.notice {
  background: #fff8e8;
  border: 1px solid #f5d894;
  border-left: 5px solid var(--accent);
  border-radius: 8px;
  padding: 18px;
}

.notice strong {
  display: block;
  margin-bottom: 4px;
}

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

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

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

th {
  background: var(--soft);
  color: var(--brand-dark);
}

tr:last-child td {
  border-bottom: 0;
}

.faq-item {
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  border: 0;
  background: #ffffff;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 18px 18px;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.contact-card {
  display: grid;
  gap: 14px;
}

.contact-line {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.contact-line strong {
  display: block;
  color: var(--brand-dark);
}

form {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  font: inherit;
  color: var(--ink);
  background: #ffffff;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.form-message {
  margin: 0;
  font-weight: 800;
}

.form-message.error {
  color: var(--danger);
}

.form-message.success {
  color: var(--success);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
}

.site-footer {
  background: #101827;
  color: #e9edf5;
  margin-top: 40px;
}

.footer-inner {
  padding: 42px 0 24px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 28px;
}

.site-footer h2,
.site-footer h3 {
  margin: 0 0 12px;
}

.site-footer p,
.site-footer a {
  color: #c8d0df;
}

.site-footer a {
  display: block;
  text-decoration: none;
  margin: 8px 0;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 18px;
  grid-column: 1 / -1;
  color: #aeb8c8;
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .menu-button {
    display: block;
  }

  .nav-inner {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
    width: 100%;
    padding: 0 0 16px;
    flex-direction: column;
    align-items: stretch;
  }

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

  .stats-grid,
  .grid.two,
  .grid.three,
  .split,
  .gallery,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .stat {
    border-right: 1px solid var(--line);
  }

  .hero {
    min-height: 520px;
  }
}

@media (max-width: 560px) {
  .topbar-inner {
    align-items: flex-start;
    padding: 10px 0;
  }

  .brand {
    min-width: 0;
  }

  .brand-text strong {
    font-size: 0.92rem;
  }

  .hero-actions,
  .quick-links {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 48px 0;
  }

  .card {
    padding: 20px;
  }
}
