:root {
  --navy: #0a1628;
  --navy-mid: #12254a;
  --navy-light: #1a3566;
  --saffron: #e8820c;
  --saffron-light: #f5a03a;
  --gold: #c9a227;
  --cream: #fdf8f0;
  --cream-dark: #f5ede0;
  --white: #ffffff;
  --text-dark: #0a1628;
  --text-mid: #2d3f6b;
  --text-muted: #6b7a99;
  --border: rgba(10, 22, 40, 0.12);
  --green: #1a6e40;
  --green-light: #e8f5ee;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 3px solid var(--saffron);
}

.nav-top {
  background: var(--navy-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 8px 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-top .emblem {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.nav-top-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 11px;
  letter-spacing: 0.05em;
}

.nav-top-text strong {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  display: block;
}

.nav-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  text-decoration: none;
}

.nav-logo {
  width: 44px;
  height: 44px;
  /* background: linear-gradient(135deg, var(--saffron) 0%, var(--gold) 100%); */
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

/* logo image */
.nav-logo img {
  width: 100%;
}

.nav-brand-text {
  line-height: 1.2;
}

.nav-brand-text span {
  display: block;
  font-size: 18px;
  font-weight: 600;
  color: var(--saffron-light);
  letter-spacing: 1px;
}

.nav-brand-text small {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.nav-link {
  padding: 8px 18px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: none;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}

.nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-link.active {
  color: var(--saffron-light);
  background: rgba(232, 130, 12, 0.12);
  font-weight: 500;
}

.nav-login-btn {
  margin-left: 8px;
  padding: 8px 22px;
  border-radius: 6px;
  background: var(--saffron);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.nav-login-btn:hover {
  background: var(--saffron-light);
  transform: translateY(-1px);
}

/* ─── PAGES ─── */
.page {
  display: none;
  padding-top: 112px;
  min-height: 100vh;
}

.page.active {
  display: block;
}

/* ─── HOME ─── */
.hero {
  background: var(--navy);
  padding: 90px 40px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 500px;
  height: 100%;
  background: linear-gradient(135deg, transparent 40%, rgba(232, 130, 12, 0.06) 100%);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-content {
  flex: 1;
}

.hero-carousel {
  flex: 1;
  /* position: relative; */
}

.carousel-track {
  position: relative;
  height: 100%;
  min-height: 400px;
  max-height: 400px;
  overflow: hidden;
  border-radius: 20px;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(232, 130, 12, 0.15);
  border: 1px solid rgba(232, 130, 12, 0.3);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 12px;
  color: var(--saffron-light);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-badge span {
  width: 6px;
  height: 6px;
  background: var(--saffron);
  border-radius: 50%;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 5vw, 58px);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 640px;
}

.hero h1 em {
  color: var(--saffron-light);
  font-style: normal;
}

.hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.65);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 14px 32px;
  background: var(--saffron);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}

.btn-primary:hover {
  background: var(--saffron-light);
  transform: translateY(-2px);
}

.btn-outline {
  padding: 13px 32px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.85);
  background: transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}


.hero-stat span {
  display: block;
  font-size: 32px;
  font-weight: 600;
  color: var(--saffron-light);
  letter-spacing: -0.5px;
}

.hero-stat p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

/* features */
.features {
  padding: 80px 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--saffron);
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 40px);
  color: var(--navy);
  line-height: 1.25;
  max-width: 480px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 52px;
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px;
  border: 1px solid var(--border);
  position: relative;
  transition: all 0.25s;
  cursor: default;
}

.feature-card:hover {
  border-color: var(--saffron);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(10, 22, 40, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* parts strip */
.parts-strip {
  background: var(--navy-mid);
  padding: 60px 40px;
}

.parts-strip-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.parts-strip h2 {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: #fff;
  margin-bottom: 36px;
}

.parts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.part-tile {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 24px 20px;
  text-align: center;
  transition: all 0.2s;
}

.part-tile:hover {
  background: rgba(232, 130, 12, 0.12);
  border-color: rgba(232, 130, 12, 0.3);
}

.part-tile .part-num {
  font-size: 28px;
  font-weight: 700;
  color: var(--saffron-light);
  font-family: 'Playfair Display', serif;
  display: block;
}

.part-tile .part-name {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 6px;
  line-height: 1.4;
}

/* ─── ABOUT ─── */
.about-hero {
  background: var(--navy);
  padding: 70px 40px;
}

.about-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.about-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: #fff;
  margin-bottom: 16px;
}

.about-hero p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 560px;
  line-height: 1.75;
}

.about-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

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

  .nav-main {
    padding: 0 20px;
  }

  .hero {
    padding: 60px 20px;
  }
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  color: var(--navy);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

.about-list {
  list-style: none;
  margin-top: 24px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-mid);
}

.about-list li:last-child {
  border-bottom: none;
}

.check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--green-light);
  color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  font-weight: 700;
  margin-top: 1px;
}

.about-card {
  background: #fff;
  border-radius: 14px;
  padding: 36px;
  border: 1px solid var(--border);
  position: sticky;
  top: 130px;
}

.about-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--saffron);
}

.about-stat-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.about-stat-num {
  font-size: 36px;
  font-weight: 700;
  color: var(--saffron);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.about-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.4;
}

.dept-list {
  margin-top: 24px;
}

.dept-pill {
  display: inline-block;
  background: var(--cream-dark);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  color: var(--text-mid);
  margin: 4px 4px 0 0;
}

/* 
/* ─── CONTACT ─── */
.contact-hero {
  background: var(--navy);
  padding: 70px 40px;
}

.contact-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  color: #fff;
  margin-bottom: 16px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.contact-hero p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 1200px;
  margin: 0 auto;
  line-height: 1.7;
}

.contact-body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 40px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
}

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

.contact-info h2 {
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-info>p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 15px;
  color: var(--text-dark);
  font-weight: 500;
}

/* form */
.contact-form {
  background: #fff;
  border-radius: 14px;
  padding: 40px;
  border: 1px solid var(--border);
}

.contact-form h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--saffron);
  background: #fff;
}

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

.form-submit {
  width: 100%;
  padding: 14px;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  margin-top: 8px;
}

.form-submit:hover {
  background: var(--navy-light);
}

.form-success {
  display: none;
  text-align: center;
  padding: 20px;
  background: var(--green-light);
  border-radius: 8px;
  color: var(--green);
  font-weight: 500;
  margin-top: 16px;
}

*/

/* ─── LOGIN ─── */
.login-page {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 20px 40px;
  position: relative;
  overflow: hidden;
}

.login-bg-pattern {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.015'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
}

.login-header {
  background: var(--navy-mid);
  padding: 32px 36px;
  text-align: center;
  border-bottom: 3px solid var(--saffron);
}

.login-emblem {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--saffron) 0%, var(--gold) 100%);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 20px;
  letter-spacing: 1px;
}

.login-header h2 {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}

.login-header p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

.login-body {
  padding: 36px;
}

.login-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.login-tab {
  padding: 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-muted);
  background: #fff;
  border: none;
  font-family: 'DM Sans', sans-serif;
}

.login-tab.active {
  background: var(--navy);
  color: #fff;
}

.login-group {
  margin-bottom: 18px;
}

.login-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-mid);
  margin-bottom: 8px;
}

.login-input-wrap {
  position: relative;
}

.login-input-wrap input {
  width: 100%;
  padding: 12px 40px 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  background: var(--cream);
  outline: none;
  transition: border-color 0.2s;
}

.login-input-wrap input:focus {
  border-color: var(--saffron);
  background: #fff;
}

.login-input-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--text-muted);
  pointer-events: none;
}

.login-forgot {
  text-align: right;
  font-size: 12px;
  color: var(--saffron);
  cursor: pointer;
  margin-top: -12px;
  margin-bottom: 20px;
  display: block;
}

.login-btn {
  width: 100%;
  padding: 14px;
  background: var(--saffron);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 16px;
}

.login-btn:hover {
  background: var(--saffron-light);
}

.login-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 12px;
}

.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.dashboard-btn {
  width: 100%;
  padding: 13px;
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'DM Sans', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}

.dashboard-btn:hover {
  border-color: var(--navy);
  background: var(--cream);
}

.login-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 20px;
  line-height: 1.6;
}

.login-error {
  display: none;
  background: #fff0f0;
  border: 1px solid #fca5a5;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13px;
  color: #b91c1c;
  margin-bottom: 16px;
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy-mid);
  border-top: 3px solid var(--saffron);
  padding: 48px 40px 24px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-brand h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--saffron-light);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  margin-bottom: 10px;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--saffron-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
}

.tricolor {
  display: flex;
  height: 3px;
  width: 48px;
  border-radius: 2px;
  overflow: hidden;
}

.tricolor span {
  flex: 1;
}

.tricolor span:nth-child(1) {
  background: #FF9933;
}

.tricolor span:nth-child(2) {
  background: #fff;
}

.tricolor span:nth-child(3) {
  background: #138808;
}

/* notification */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--navy);
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 14px;
  z-index: 1000;
  transform: translateY(80px);
  opacity: 0;
  transition: all 0.3s;
  pointer-events: none;
  border-left: 3px solid var(--saffron);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* each form description card*/
/* ═══════════════════════════════════════════════════
   FORMS SECTION — Append to style.css
   Replaces .parts-strip styles
═══════════════════════════════════════════════════ */

/* ── Outer section ── */
.forms-section {
  background: var(--navy-mid);
  padding: 72px 40px;
}

.forms-section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── Section header ── */
.forms-header {
  margin-bottom: 48px;
  max-width: 640px;
}

.forms-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 4vw, 38px);
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.2;
}

.forms-header p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
}

/* ── Cards grid ── */
.forms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

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

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

/* ── Individual card ── */
.form-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: all 0.22s;
  cursor: default;
}

.form-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(232, 130, 12, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.25);
}

/* IPR card gets a slightly warmer tint */
.ipr-card {
  background: rgba(232, 130, 12, 0.06);
  border-color: rgba(232, 130, 12, 0.2);
  grid-column: span 1;
}

.ipr-card:hover {
  background: rgba(232, 130, 12, 0.1);
  border-color: rgba(232, 130, 12, 0.5);
}

/* ── Card top row ── */
.fc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.fc-badge {
  background: var(--navy-dark, #0e2347);
  color: var(--saffron-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(232, 130, 12, 0.25);
}

.ipr-badge {
  background: var(--saffron);
  color: #fff;
  border-color: transparent;
}

.fc-icon {
  font-size: 26px;
  color: #fff;
  line-height: 1;
  opacity: 0.85;
}

/* ── Card titles ── */
.fc-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  line-height: 1.2;
}

.fc-subtitle {
  font-size: 12px;
  color: var(--saffron-light);
  font-weight: 500;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.fc-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 18px;
}

/* ── Fields block ── */
.fc-fields {
  flex: 1;
  margin-bottom: 16px;
}

.fc-fields-label {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

/* Field tags */
.fc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.fc-tags span {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  padding: 4px 9px;
  border-radius: 4px;
  line-height: 1.3;
  transition: all 0.15s;
}

.form-card:hover .fc-tags span {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}

/* ── Dynamic dept examples (Part 5) ── */
.fc-dept-examples {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fc-dept-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.fc-dept-tag {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
}

.fc-dept-tag.edu {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
}

.fc-dept-tag.park {
  background: rgba(34, 197, 94, 0.2);
  color: #86efac;
}

.fc-dept-tag.hosp {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
}

.fc-dept-tag.mkt {
  background: rgba(234, 179, 8, 0.2);
  color: #fde047;
}

.fc-dept-fields {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

/* ── Note banner ── */
.fc-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  background: rgba(232, 130, 12, 0.08);
  border: 1px solid rgba(232, 130, 12, 0.2);
  border-radius: 6px;
  padding: 9px 11px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.55;
  margin-bottom: 16px;
}

.ipr-note {
  background: rgba(201, 162, 39, 0.1);
  border-color: rgba(201, 162, 39, 0.25);
}

/* ── Card footer ── */
.fc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  margin-top: auto;
}

.fc-type-pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 50px;
}

.fc-type-pill.linked {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.fc-type-pill.dynamic {
  background: rgba(34, 197, 94, 0.15);
  color: #86efac;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.fc-type-pill.standalone {
  background: rgba(232, 130, 12, 0.2);
  color: var(--saffron-light);
  border: 1px solid rgba(232, 130, 12, 0.35);
}

.fc-count {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
}

/* ── Linked flow indicator ── */
.forms-flow {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 18px 24px;
}

.flow-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.flow-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.flow-step span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  white-space: nowrap;
}

.flow-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-arrow {
  font-size: 16px;
  color: rgba(232, 130, 12, 0.6);
  margin-bottom: 18px;
}

.flow-sep {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.15);
  margin: 0 6px;
  margin-bottom: 18px;
}

.ipr-step .flow-num,
.flow-num.ipr-num {
  background: rgba(232, 130, 12, 0.25);
  border-color: rgba(232, 130, 12, 0.5);
  color: var(--saffron-light);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

@media (max-width: 640px) {
  .forms-section {
    padding: 48px 20px;
  }

  .flow-steps {
    gap: 6px;
  }

  .flow-arrow,
  .flow-sep {
    margin-bottom: 14px;
  }
}