/* Tyler Technologies Style Reference + Custom Page Styling */

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

:root {
  --tyler-blue: #005295;
  --tyler-dark-blue: #005295;
  --tyler-light-blue: #005295;
  --tyler-orange: #8f9b49;
  --tyler-dark-gray: #333333;
  --tyler-medium-gray: #666666;
  --tyler-light-gray: #f5f5f5;
  --tyler-white: #ffffff;

  --font-primary: "Arial", "Helvetica", sans-serif;
  --font-secondary: "Segoe UI", "Roboto", sans-serif;
  --shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

body {
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: 1.6;
  color: var(--tyler-dark-gray);
  background-color: var(--tyler-white);
}

a {
  color: inherit;
}

/* Header & Navigation */
.site-header {
  background-color: var(--tyler-white);
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: padding 0.2s ease;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  height: 40px;
  width: auto;
  display: block;
  transition: height 0.2s ease;
}

.logo-text {
  font-weight: 700;
  font-size: 18px;
  color: var(--tyler-blue);
  letter-spacing: 0.5px;
  transition: font-size 0.2s ease;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 22px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--tyler-dark-gray);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  transition: color 0.3s ease;
}

.site-header.shrink {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  background-color: rgba(255, 255, 255, 0.98);
}

.site-header.shrink .navbar {
  padding: 8px 20px;
}

.site-header.shrink .logo-img {
  height: 28px;
}

.site-header.shrink .logo-text {
  font-size: 16px;
}

.site-header.shrink .nav-links a {
  font-size: 12px;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--tyler-blue);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--tyler-dark-gray);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--tyler-blue) 0%, var(--tyler-dark-blue) 100%);
  color: var(--tyler-white);
  padding: 80px 20px 70px;
  text-align: center;
}

.hero-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 18px;
  margin-bottom: 30px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.hero .card {
  text-align: left;
}

.hero .card ul {
  color: var(--tyler-blue);
}

/* Sections */
.section {
  padding: 60px 20px;
  width: 100%;
}

.section > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-light {
  background-color: var(--tyler-white);
}

.section-dark {
  background-color: var(--tyler-light-gray);
}

.section-header {
  text-align: center;
  margin-bottom: 30px;
}

.section-kicker {
  display: inline-block;
  font-size: 18px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--tyler-orange);
  margin-bottom: 12px;
  font-weight: 600;
}

.section-header h2 {
  font-size: 32px;
  color: var(--tyler-blue);
  margin-bottom: 10px;
  font-weight: 700;
}

.section-subtitle {
  color: var(--tyler-medium-gray);
  font-size: 16px;
}

/* Cards & Grids */
.grid-2,
.grid-3,
.timeline,
.pilot-grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.timeline {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.pilot-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.card,
.timeline-step,
.pilot-track {
  background-color: var(--tyler-white);
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.card h2,
.card h3,
.timeline-step h3 {
  color: var(--tyler-blue);
  margin-bottom: 12px;
}

.card ul,
.timeline-step ul,
.pilot-track ul {
  padding-left: 18px;
}

.card ul li,
.timeline-step ul li,
.pilot-track ul li {
  margin-bottom: 8px;
}

.timeline-step {
  border-top: 3px solid var(--tyler-blue);
}

.step-badge {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  margin-bottom: 10px;
  color: var(--tyler-dark-blue);
}

.divider {
  height: 1px;
  background-color: #e0e0e0;
  margin: 18px 0;
}

.phase-label {
  display: inline-block;
  background-color: rgba(0, 82, 149, 0.12);
  color: var(--tyler-blue);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 12px;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.phase-title {
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--tyler-dark-blue);
}

/* Footer */
.footer {
  background-color: var(--tyler-dark-gray);
  color: var(--tyler-white);
  padding: 30px 20px;
  text-align: center;
  font-size: 14px;
}

.footer .brand {
  font-weight: 700;
  margin-bottom: 8px;
}

/* Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  animation: reveal 0.6s ease forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-header h2 {
    font-size: 26px;
  }
}

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

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--tyler-white);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    gap: 16px;
    text-align: center;
  }

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

  .hero-top {
    flex-direction: column;
  }
}
