/* Base styles for MU Programs Pvt Ltd static site */
:root {
  --brand-primary: #1e4d91;
  --brand-accent: #f0b429;
  --text-color: #1a1a1a;
  --muted-text: #545e6f;
  --bg-color: #ffffff;
  --surface: #f7f9fc;
  --max-width: 1100px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.06);
  --shadow-md: 0 8px 24px rgba(16, 24, 40, 0.08);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  color: var(--text-color);
  background: var(--bg-color);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

a {
  color: var(--brand-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.muted {
  color: var(--muted-text);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid #e6ecf5;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
}

.brand__logo {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-primary), #2a6bd4);
}

.brand__name {
  font-weight: 700;
  letter-spacing: 0.2px;
}

nav.primary-nav {
  display: flex;
  gap: 20px;
}

.nav__link {
  padding: 10px 8px;
  border-radius: 8px;
}

.nav__link:hover,
.nav__link[aria-current="page"] {
  background: var(--surface);
  text-decoration: none;
}

.hero {
  background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
  border-bottom: 1px solid #eef2f9;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 28px;
  padding: 48px 0 36px;
  align-items: center;
}

.hero__title {
  font-size: 38px;
  line-height: 1.2;
  margin: 0 0 12px;
}

.hero__subtitle {
  color: var(--muted-text);
  margin: 0 0 20px;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--brand-primary);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.cta--secondary {
  background: #e9effa;
  color: var(--brand-primary);
}

.cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.cta:active {
  transform: translateY(0);
}

main .section {
  padding: 36px 0;
}

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

.card {
  border: 1px solid #e6ecf5;
  border-radius: 12px;
  padding: 18px;
  background: white;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.card h3 {
  margin-top: 0;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #d9e3f2;
}

footer.site-footer {
  border-top: 1px solid #e6ecf5;
  padding: 24px 0 40px;
  color: var(--muted-text);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 24px;
}

.copyright {
  margin-top: 20px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

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

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

/* Sections */
.section--alt {
  background: linear-gradient(180deg, #fbfdff 0%, #ffffff 100%);
  border-top: 1px solid #eef2f9;
  border-bottom: 1px solid #eef2f9;
}

.section__header {
  margin-bottom: 12px;
}

.section__eyebrow {
  display: inline-block;
  color: var(--brand-primary);
  background: #e9effa;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3px;
}

.section__title {
  margin: 8px 0 6px;
}

.section__subtitle {
  color: var(--muted-text);
  margin: 0;
}

/* Logos row */
.logos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  align-items: center;
  opacity: 0.9;
}

.logos img {
  filter: grayscale(100%);
  opacity: 0.8;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.stat {
  text-align: center;
  padding: 18px;
  border-radius: 12px;
  background: white;
  border: 1px solid #e6ecf5;
}

.stat__number {
  font-size: 28px;
  font-weight: 800;
  color: var(--brand-primary);
}

.stat__label {
  color: var(--muted-text);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Accordion */
.accordion {
  border-radius: 12px;
  border: 1px solid #e6ecf5;
  background: white;
}

.accordion__item + .accordion__item {
  border-top: 1px solid #e6ecf5;
}

.accordion__header {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.accordion__chevron {
  transition: transform 200ms ease;
}

.accordion__content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 260ms ease;
}

.accordion__inner {
  padding: 0 16px 16px;
  color: var(--muted-text);
}

.accordion__item.is-open .accordion__chevron {
  transform: rotate(180deg);
}

.accordion__item.is-open .accordion__content {
  max-height: 300px;
}

/* Forms */
label {
  display: block;
  font-weight: 600;
}

input, textarea {
  outline: none;
}

input:focus, textarea:focus {
  border-color: #c9d7ef !important;
  box-shadow: 0 0 0 3px rgba(30, 77, 145, 0.12);
}
