/* ---------------------------
   Base Styles & Variables
---------------------------- */

:root {
  --navy: #1B263B;
  --offwhite: #F6F6F6;

  /* NEW ACCENT COLOR */
  --accent: #F8D773;            /* your new accent */
  --accent-soft: #F9E7A8;       /* lighter companion tone for gradients */

  --text-main: #111827;
  --text-muted: #6B7280;
  --border-soft: #E5E7EB;
  --border-dark: #0F172A;
  --radius-md: 8px;
  --radius-lg: 14px;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.18);
  --max-width: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background-color: #0b1020;
  color: var(--offwhite);
  line-height: 1.6;
}

/* Utility container */

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

/* ---------------------------
   Header & Navigation
---------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(11, 17, 32, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.logo {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--offwhite);
}

/* Nav */

.nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin: 0;
  padding: 0;
}

.nav a {
  font-size: 0.9rem;
  text-decoration: none;
 color: #cbd5f5;
  position: relative;
  padding-bottom: 0.15rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  transform: translateX(-50%);
  transition: width 0.18s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after {
  width: 80%;
}

.nav a:hover,
.nav a:focus-visible {
  color: #ffffff;
}

/* Mobile nav (simple collapse) */

@media (max-width: 780px) {
  .site-header .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav ul {
    flex-wrap: wrap;
    row-gap: 0.5rem;
  }
}

/* ---------------------------
   Hero Section
---------------------------- */

.hero {
  background: radial-gradient(
      circle at top left,
      #1f2937 0,
      #020617 55%,
      #000000 100%
    );
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
}

.hero .container {
  max-width: var(--max-width);
}

.hero h1 {
  font-size: clamp(2.1rem, 3vw + 1.4rem, 3.1rem);
  line-height: 1.1;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  color: #f9fafb;
}

.hero p {
  max-width: 42rem;
  font-size: 1rem;
  color: #e5e7eb;
  margin-bottom: 1.5rem;
}

.hero .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.96rem;
  background: radial-gradient(circle at top left, var(--accent-soft), var(--accent));
  color: #111827;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease,
    filter 0.1s ease;
}

.hero .cta-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.35);
}

/* ---------------------------
   Sections
---------------------------- */

.overview,
.services-grid,
.cta-banner {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.overview {
  background: #020617;
  border-top: 1px solid rgba(15, 23, 42, 1);
  border-bottom: 1px solid rgba(15, 23, 42, 1);
}

.overview h2 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
  color: #f9fafb;
  letter-spacing: -0.02em;
}

.overview p {
  max-width: 42rem;
  color: #d1d5db;
  font-size: 0.98rem;
}

/* Services Grid */

.services-grid {
  background: #020617;
}

.services-grid h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #f9fafb;
  letter-spacing: -0.02em;
}

.services-grid .grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

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

.service-item {
  background: radial-gradient(circle at top left, #111827, #020617 70%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(31, 41, 55, 0.9);
  padding: 1.1rem 1.1rem 1.25rem;
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.45);
}

.service-item h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  color: #f9fafb;
}

.service-item h3 a {
  color: inherit;
  text-decoration: none;
  position: relative;
}

.service-item h3 a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.12rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  transition: width 0.18s ease;
  border-radius: 999px;
}

.service-item h3 a:hover::after {
  width: 100%;
}

.service-item p {
  margin: 0;
  font-size: 0.9rem;
  color: #d1d5db;
}

/* CTA Banner */

.cta-banner {
  background: linear-gradient(120deg, var(--navy), #020617);
  border-top: 1px solid rgba(15, 23, 42, 1);
  border-bottom: 1px solid rgba(15, 23, 42, 1);
}

.cta-banner .container {
  text-align: center;
}

.cta-banner h2 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
  color: #f9fafb;
}

.cta-banner p {
  margin: 0 0 1.4rem;
  color: #e5e7eb;
  font-size: 0.98rem;
}

.cta-banner .cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  background: radial-gradient(circle at top left, var(--accent-soft), var(--accent));
  color: #111827;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.cta-banner .cta-btn:hover {
  transform: translateY(-1px);
  filter: brightness(1.03);
}

/* ---------------------------
   Footer
---------------------------- */

.site-footer {
  background: #020617;
  border-top: 1px solid rgba(15, 23, 42, 1);
  padding-top: 1.3rem;
  padding-bottom: 1.3rem;
  font-size: 0.8rem;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: #9ca3af;
  flex-wrap: wrap;
}

.site-footer a {
  color: #e5e7eb;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

/* ---------------------------
   Generic Reusable Bits
---------------------------- */

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

a:hover {
  color: #fff4cc;
}

/* Limit width of long paragraphs on large screens */

p {
  max-width: 60rem;
}
