/* Basic reset */
* {
  box-sizing: border-box;
}

:root {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #1f2937;
  background: #f8fafc;
  line-height: 1.6;
}

body {
  margin: 0;
  min-height: 100vh;
}

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

.container {
  width: min(1100px, 100% - 2rem);
  margin: 0 auto;
}

.site-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  display: block;
  height: 48px;
  width: auto;
}

.brand span {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-nav a {
  color: #334155;
  text-decoration: none;
  font-weight: 600;
}

.site-nav a:hover {
  color: #1d4ed8;
}

.hero {
  padding: 5rem 0;
  background: linear-gradient(rgba(15, 23, 42, 0.55), rgba(15, 23, 42, 0.25)), url('../images/navjeevanMainBuilding.jpeg') center/cover no-repeat;
  color: #ffffff;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.card-kicker {
  margin: 0 0 0.75rem;
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #e2e8f0;
}

.hero h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin: 0 0 1rem;
  color: #ffffff;
}

.hero p {
  font-size: 1.1rem;
  margin: 0 0 1.75rem;
  color: #f8fafc;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: #1d4ed8;
  color: #ffffff;
}

.btn-secondary {
  background: #e2e8f0;
  color: #0f172a;
}

.section-band,
.about-section,
.contact-strip {
  padding: 3rem 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 1.5rem;
}

.section-heading h2,
.about-section h2,
.contact-strip h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.5vw, 2.3rem);
  color: #0f172a;
  line-height: 1.2;
}

.institution-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.institution-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 1rem;
  padding: 1.5rem;
}

.institution-card h3 {
  margin: 0;
  color: #0f172a;
}

.institution-card p,
.about-copy p {
  color: #475569;
}

.institution-card.muted {
  background: #f8fafc;
}

.text-link {
  color: #1d4ed8;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.text-link.disabled {
  color: #64748b;
}

.about-section {
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}

.about-grid,
.contact-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.about-copy p {
  margin: 0 0 1rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.contact-inner {
  padding: 2rem;
  background: #1d4ed8;
  color: #ffffff;
  border-radius: 1rem;
}

.contact-inner .eyebrow,
.contact-inner h2 {
  color: #ffffff;
}

.contact-inner .btn {
  justify-self: end;
  background: #e2e8f0;
  color: #0f172a;
}

.site-footer {
  background: #0f172a;
  color: #e2e8f0;
  padding: 1.5rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #f8fafc;
  text-decoration: none;
}

@media (max-width: 760px) {
  .container {
    width: min(100%, 100% - 1.5rem);
  }

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

  .brand span {
    white-space: normal;
  }

  .contact-inner .btn {
    justify-self: start;
  }
}

@media (max-width: 520px) {
  .hero {
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: 2.35rem;
  }

  .btn {
    width: 100%;
  }
}
