/* ===== Arrowpoint Engineering — Global Styles ===== */

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

:root {
  --navy:        #1a2744;
  --navy-dark:   #111c32;
  --steel:       #8fa4bf;
  --steel-light: #b8c8d8;
  --steel-pale:  #dce4ec;
  --white:       #f4f6f8;
  --text:        #222;
  --text-light:  #555;
  --accent:      #4a6fa5;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

/* --- Header / Nav --- */
header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.3);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 70px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #fff;
}
.logo-group:hover { text-decoration: none; }

.logo-group img {
  height: 46px;
  width: 46px;
  border-radius: 6px;
}

.logo-group span {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .5px;
}

nav { display: flex; gap: 6px; }

nav a {
  color: var(--steel-light);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: .95rem;
  font-weight: 500;
  transition: background .2s, color .2s;
}
nav a:hover,
nav a.active {
  background: rgba(255,255,255,.1);
  color: #fff;
  text-decoration: none;
}

/* --- Hero --- */
.hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--accent) 100%);
  color: #fff;
  text-align: center;
  padding: 90px 24px 80px;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: .5px;
}

.hero p {
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 32px;
  color: var(--steel-light);
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  transition: background .2s, transform .1s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--steel);
  color: var(--navy-dark);
}
.btn-primary:hover { background: var(--steel-light); }

.btn-outline {
  border: 2px solid var(--steel);
  color: var(--steel-light);
  background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,.08); }

/* --- Sections --- */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 64px 24px;
}

.section h2 {
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 16px;
  font-weight: 700;
}

.section h3 {
  font-size: 1.2rem;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 600;
}

.section p, .section li {
  color: var(--text-light);
  line-height: 1.75;
}

.divider {
  border: none;
  border-top: 1px solid var(--steel-pale);
  margin: 0;
}

/* --- Card Grid --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.card {
  background: #fff;
  border: 1px solid var(--steel-pale);
  border-radius: 10px;
  padding: 32px 28px;
  transition: box-shadow .2s, transform .15s;
}
.card:hover {
  box-shadow: 0 6px 20px rgba(26,39,68,.1);
  transform: translateY(-3px);
}

.card .icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

/* --- Two-column --- */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 32px;
}

/* --- Contact Form --- */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: .95rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--steel-pale);
  border-radius: 6px;
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .2s;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

/* --- Footer --- */
footer {
  background: var(--navy-dark);
  color: var(--steel);
  text-align: center;
  padding: 32px 24px;
  font-size: .9rem;
}

footer a { color: var(--steel-light); }

/* --- Responsive --- */
@media (max-width: 768px) {
  .header-inner { flex-direction: column; height: auto; padding: 14px 20px; gap: 10px; }
  nav { flex-wrap: wrap; justify-content: center; }
  .hero h1 { font-size: 1.9rem; }
  .two-col { grid-template-columns: 1fr; }
}
