/* ============================================
   Achievement Marketing — Global Styles
   Color Palette: Steel Blue (Option B)
   Font: Inter (Google Fonts)
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --primary: #445E7A;
  --secondary: #6A8CAD;
  --light: #A3BDD4;
  --bg-alt: #EDF1F5;
  --bg-white: #FAFBFC;
  --dark: #1E2D3D;
  --accent: #2A9D8F;
  --accent-hover: #238578;
  --text: #1E2D3D;
  --text-light: #5A6B7B;
  --shadow: 0 2px 8px rgba(30, 45, 61, 0.08);
  --shadow-hover: 0 4px 16px rgba(30, 45, 61, 0.12);
  --radius: 6px;
  --max-width: 1200px;
  --transition: 0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg-white);
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 600;
  color: var(--text);
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

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

/* --- Header / Navigation --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250, 251, 252, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(68, 94, 122, 0.1);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: 0 2px 12px rgba(30, 45, 61, 0.1);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

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

.logo img {
  height: 40px;
  width: auto;
}

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

.nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color var(--transition);
}

.nav a:hover,
.nav a.active {
  color: var(--accent);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

/* Services Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown > a .chevron {
  width: 12px;
  height: 12px;
  transition: transform var(--transition);
}

.nav-dropdown:hover > a .chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -12px;
  min-width: 220px;
  background: var(--bg-white);
  border: 1px solid rgba(68, 94, 122, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  padding: 8px 0;
  margin-top: 12px;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text);
}

.dropdown-menu a:hover {
  background: var(--bg-alt);
  color: var(--accent);
}

.dropdown-menu a::after {
  display: none;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: 72px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 45, 61, 0.85) 0%, rgba(68, 94, 122, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
  padding: 80px 0;
}

.hero h1 {
  color: #fff;
  font-size: 3.25rem;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.2rem;
  margin-bottom: 32px;
  line-height: 1.7;
}

/* Page hero (interior pages) */
.page-hero {
  min-height: 340px;
}

.page-hero .hero-content {
  padding: 60px 0;
}

.page-hero h1 {
  font-size: 2.75rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.875rem;
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.7);
}

.breadcrumb a:hover {
  color: #fff;
}

.breadcrumb span {
  color: rgba(255, 255, 255, 0.5);
}

.breadcrumb .current {
  color: rgba(255, 255, 255, 0.9);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #fff;
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--primary);
  border-color: #fff;
}

.btn-white:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--accent);
  border-color: transparent;
  padding-left: 0;
  padding-right: 0;
}

.btn-ghost:hover {
  color: var(--accent-hover);
}

.btn .arrow {
  transition: transform var(--transition);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

/* --- Sections --- */
.section {
  padding: 80px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--dark);
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.1rem;
}

.section-label {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.card {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 28px;
}

.card-body h3 {
  margin-bottom: 12px;
}

.card-body p {
  margin-bottom: 16px;
  font-size: 0.9375rem;
}

/* --- Alternating Content Rows (FaithTec-style) --- */
.content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 40px 0;
}

.content-row.reverse {
  direction: rtl;
}

.content-row.reverse > * {
  direction: ltr;
}

.content-row-img {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.content-row-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.content-row-text h3 {
  margin-bottom: 16px;
}

.content-row-text p {
  margin-bottom: 16px;
}

/* --- Value Props / Icon Blocks --- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.value-item {
  text-align: center;
  padding: 20px;
}

.value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: 12px;
  color: var(--accent);
}

.value-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-item h4 {
  margin-bottom: 12px;
}

.value-item p {
  font-size: 0.9375rem;
}

/* --- Leadership Cards --- */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.leadership-card {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.leadership-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.leadership-name-block {
  background: var(--primary);
  padding: 40px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.leadership-initials {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
}

.leadership-info {
  padding: 28px;
}

.leadership-info h3 {
  font-size: 1.375rem;
  margin-bottom: 4px;
}

.leadership-info h3.leadership-name {
  line-height: 0;
}

.leadership-info h3.leadership-name img {
  display: block;
  height: 1.33rem;
  width: auto;
  margin: 0 auto;
}

.leadership-title {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 16px;
}

.leadership-info p:last-child {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin-bottom: 0;
}

/* --- Services Cards (Homepage) --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.service-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
}

.service-card-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
}

.service-card:hover .service-card-bg {
  transform: scale(1.03);
}

.service-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(30, 45, 61, 0.9) 0%, rgba(30, 45, 61, 0.3) 60%, transparent 100%);
}

.service-card-content {
  position: relative;
  z-index: 1;
  padding: 32px;
  width: 100%;
}

.service-card-content h3 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.service-card-content p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 16px;
  font-size: 0.9375rem;
}

.service-card-content .btn-ghost {
  color: var(--accent);
}

.service-card-content .btn-ghost:hover {
  color: #fff;
}

/* --- CTA Banner --- */
.cta-banner {
  background: var(--primary);
  padding: 60px 0;
  text-align: center;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 2rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 28px;
  font-size: 1.1rem;
}

/* --- Stats Row --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
  padding: 20px 0;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 8px;
  font-weight: 700;
}

.stat-item p {
  font-size: 0.9375rem;
  color: var(--text-light);
  margin: 0;
}

/* --- Process Steps --- */
.process-steps {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--light);
}

.process-step {
  display: flex;
  gap: 32px;
  margin-bottom: 48px;
  position: relative;
}

.process-step:last-child {
  margin-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  position: relative;
  z-index: 1;
}

.step-content h3 {
  margin-bottom: 8px;
  padding-top: 4px;
}

.step-content p {
  font-size: 0.9375rem;
}

/* --- Job Listings --- */
.job-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.job-card {
  background: var(--bg-white);
  border: 1px solid rgba(68, 94, 122, 0.1);
  border-radius: 8px;
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: box-shadow var(--transition);
}

.job-card:hover {
  box-shadow: var(--shadow-hover);
}

.job-info h3 {
  margin-bottom: 8px;
  font-size: 1.25rem;
}

.job-meta {
  display: flex;
  gap: 20px;
  font-size: 0.875rem;
  color: var(--text-light);
}

.job-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* --- Insights / Blog Grid --- */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.insight-card {
  background: var(--bg-white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow var(--transition), transform var(--transition);
}

.insight-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.insight-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.insight-card-body {
  padding: 24px;
}

.insight-card-body .date {
  font-size: 0.8125rem;
  color: var(--text-light);
  margin-bottom: 8px;
}

.insight-card-body h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.insight-card-body p {
  font-size: 0.9375rem;
  margin-bottom: 16px;
}

/* --- Contact Info --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.contact-card {
  background: var(--bg-white);
  border: 1px solid rgba(68, 94, 122, 0.1);
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  transition: box-shadow var(--transition);
}

.contact-card:hover {
  box-shadow: var(--shadow-hover);
}

.contact-card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: 12px;
}

.contact-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card h4 {
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 0.9375rem;
  margin: 0;
}

.contact-card a {
  color: var(--accent);
  font-weight: 500;
}

/* --- Footer --- */
.footer {
  background: var(--dark);
  padding: 60px 0 24px;
}

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

.footer-brand img {
  height: 40px;
  margin-bottom: 16px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  max-width: 320px;
}

.footer h4 {
  color: #fff;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
}

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

.footer-bottom p {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.8125rem;
  margin: 0;
}

/* --- Responsive --- */
@media (max-width: 968px) {
  .nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    height: calc(100vh - 72px);
    overflow-y: auto;
    background: var(--bg-white);
    flex-direction: column;
    padding: 32px 24px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .nav.open {
    transform: translateX(0);
  }

  .nav a {
    display: block;
    padding: 16px 0;
    font-size: 1.125rem;
    border-bottom: 1px solid var(--bg-alt);
  }

  .nav a::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    margin: 0;
    padding: 0 0 0 16px;
  }

  .dropdown-menu a {
    padding: 12px 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--bg-alt);
  }

  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }

  .hero { min-height: 480px; }
  .hero h1 { font-size: 2.5rem; }

  .content-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .content-row.reverse {
    direction: ltr;
  }

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

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

  .value-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .section {
    padding: 48px 0;
  }

  .job-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1.05rem; }
  .page-hero { min-height: 280px; }
  .page-hero h1 { font-size: 2rem; }
  .stats-row { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
}
