:root {
  --accent: #0962ff; /* stronger blue accent */
  --accent-2: #0547d1; /* deeper secondary blue */
  --text: #071427;
  --muted: #5a6b86;
  --bg: #ffffff;
  --max-width: 1100px;
  --radius: 10px;
  --shadow: 0 2px 10px rgba(0,0,0,0.05);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  background: linear-gradient(180deg, #f8fbff 0%, var(--bg) 60%);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

/* decorative background layer: subtle diagonal stripes + radial highlights */
body::before{
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  /* stronger, larger highlights and slightly more-visible stripe texture */
  background-image:
    radial-gradient(circle at 12% 14%, rgba(9,98,255,0.12), transparent 18%),
    radial-gradient(circle at 88% 86%, rgba(5,71,209,0.08), transparent 22%),
    repeating-linear-gradient(135deg, rgba(5,71,209,0.04) 0 2px, rgba(255,255,255,0) 2px 18px);
  opacity: 1;
  mix-blend-mode: multiply;
  filter: saturate(1.06) blur(0.2px);
}

.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

header.header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}
.logo span {
  color: var(--accent);
}

.nav a {
  color: var(--text);
  text-decoration: none;
  margin-left: 1.05rem;
  font-weight: 600;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  transition: background 180ms ease, color 180ms ease, transform 160ms ease;
}
.nav a:hover {
  background: rgba(9,98,255,0.06);
  color: var(--accent);
  transform: translateY(-1px);
}
.nav a.active {
  background: linear-gradient(90deg, rgba(9,98,255,0.12), rgba(5,71,209,0.06));
  color: var(--accent);
}

/* Mobile navigation toggle button (hidden on desktop) */
.nav-toggle{
  display: none;
  background: transparent;
  border: none;
  color: var(--text);
  padding: 0.35rem;
  margin-left: 0.6rem;
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle svg{ display:block; }


.hero {
  text-align: center;
  padding: 6rem 0 4rem;
  background: linear-gradient(180deg, #f7fbff, #ffffff);
  border-bottom: 1px solid rgba(11,79,214,0.04);
}
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3rem);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.hero p {
  color: var(--muted);
  max-width: 700px;
  margin: 0 auto 1.75rem;
  font-size: 1.05rem;
}
.btn {
  background: linear-gradient(90deg,var(--accent-2),var(--accent));
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  display: inline-block;
  transition: background 0.3s ease;
}
.btn:hover {
  background: linear-gradient(90deg,var(--accent), #063fe6);
}
.btn.secondary {
  background: #eef6ff;
  color: var(--text);
}
.btn.secondary:hover {
  background: #e6f1ff;
}

h2 {
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.about, .portfolio-preview {
  padding: 4rem 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  border-radius: calc(var(--radius) - 2px);
  box-shadow: 0 10px 36px rgba(9,62,190,0.06);
  /* make room for the top accent (6px) and allow the accent to be positioned absolutely */
  position: relative;
  overflow: hidden;
  padding: calc(1rem + 6px) 0 1.2rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(11,79,214,0.08);
}
.card img {
  width: 100%;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);
}
.card h3 {
  margin: 0.85rem 1rem;
  font-size: 1.15rem;
  color: var(--accent-2);
}
.card h4 { margin: 0.6rem 1rem; font-size: 1.02rem; }
.services-teaser .card, .abilities .card { padding: 1rem; }
.services-teaser h2, .abilities h2 { margin-bottom: 0.5rem; }
.card p {
  margin: 0 1rem;
  color: var(--muted);
}

/* Pricing page: remove default bullets for feature lists */
.pricing-page ul {
  list-style: none;
  padding-left: 0.75rem;
  margin: 0.6rem 1rem;
}
.pricing-page ul li { padding-left: 0.4rem; }

.cta {
  background: linear-gradient(90deg, var(--accent-2), var(--accent));
  color: white;
  text-align: center;
  padding: 4rem 0;
}
.cta h2 {
  margin-bottom: 0.6rem;
  font-size: 2rem;
}

/* Make CTA buttons in the call-to-action stand out more */
.cta .btn {
  background: #1347b2; /* darker, higher-contrast shade */
  padding: 1rem 1.75rem;
  font-size: 1.05rem;
  box-shadow: 0 6px 18px rgba(19,71,178,0.18);
}
.cta .btn:hover {
  background: #0f3aa0;
}

.footer {
  text-align: center;
  padding: 1.5rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  border-top: 1px solid #e5e7eb;
  margin-top: 3rem;
}

.center {
  text-align: center;
  margin-top: 2rem;
}
/* Testimonials */
.testimonials {
  background: #f8fafc;
  padding: 4rem 0;
  text-align: center;
}
.testimonials h2 {
  margin-bottom: 2rem;
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.testimonial {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
  font-style: italic;
  color: var(--muted);
}
.testimonial h4 {
  font-style: normal;
  margin-top: 1rem;
  color: var(--text);
}

/* Footer */
.footer {
  background: #f7f9fc;
  padding: 2.5rem 0 1rem;
  font-size: 0.95rem;
  color: var(--text);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 1.5rem;
}
.footer a {
  color: var(--accent);
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
.copyright {
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Contact page */
.contact-page {
  padding: 4rem 0;
}
.contact-page h1 {
  margin-bottom: 1rem;
}
.contact-form {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
  max-width: 680px;
}
.contact-form label {
  display: flex;
  flex-direction: column;
  font-weight: 500;
  color: var(--text);
}
.contact-form input,
.contact-form textarea {
  padding: 0.75rem 0.9rem;
  border: 1px solid #d1d5db;
  border-radius: 0.6rem;
  font: inherit;
  transition: box-shadow .15s ease, border-color .12s ease;
}
.contact-form button {
  width: fit-content;
  justify-self: start;
}
/* Portfolio placeholder styling */
.portfolio.center {
  text-align: center;
  padding: 5rem 1rem;
}

.portfolio.center h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.portfolio.center p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Logo grid removed per user request */

/* Services teaser */
.services-teaser {
  padding: 3rem 0;
}
.services-teaser .muted {
  color: var(--muted);
  margin-bottom: 1rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}
.service-card {
  display: block;
  padding: 1rem;
  text-decoration: none;
  color: inherit;
  text-align: left;
}
.service-card .icon {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}
.service-card h3 {
  margin: 0.25rem 0 0.5rem;
}
.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
}
.service-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(11,79,214,0.06);
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 420ms cubic-bezier(.2,.9,.2,1), transform 420ms cubic-bezier(.2,.9,.2,1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.service-card .icon svg {
  display: block;
  width: 36px;
  height: 36px;
}

/* subtle accent on card top to tie into blue theme - positioned absolutely so it sits flush to the card's top edge */
.card:before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  border-top-left-radius: calc(var(--radius) - 2px);
  border-top-right-radius: calc(var(--radius) - 2px);
  background: linear-gradient(90deg, rgba(9,98,255,0.22), rgba(5,71,209,0.16));
  z-index: 1;
}

/* Abilities grid for homepage */
.abilities {
  padding: 2rem 0 3rem;
}
.abilities .grid {
  gap: 1rem;
}
.ability {
  padding: 1.1rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}
.ability h4 { margin: 0 0 0.25rem; }
.ability p { margin: 0; color: var(--muted); }

/* Remove the blue top accent on cards inside the Abilities section for a cleaner look */
.abilities .card:before{ display: none; }

/* What we do / How we work lists: inline markers inside card boxes */
.what-we-do .card ul,
.what-we-do .card ol {
  margin: 0.5rem 1rem 0.6rem;
  padding-left: 0;
  list-style: none;
  color: var(--muted);
}
.what-we-do .card ul li,
.what-we-do .card ol li {
  position: relative;
  margin: 0.45rem 0;
  padding-left: 1.6rem; /* space for the marker */
}
.what-we-do .card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  top: 0.05rem;
  color: var(--accent-2);
  font-size: 1.05rem;
  line-height: 1;
}
.what-we-do .card ol {
  counter-reset: whatwework;
}
.what-we-do .card ol li::before {
  counter-increment: whatwework;
  content: counter(whatwework) '.';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-2);
  font-weight: 600;
}

/* Contact page card layout */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-top: 1.25rem;
}
.contact-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.contact-info h2 {
  margin-top: 0;
}
.contact-quick {
  list-style: disc;
  margin-left: 1rem;
  color: var(--muted);
}
.form-card .contact-form {
  display: grid;
  gap: 0.75rem;
}
.contact-form label { display: flex; flex-direction: column; }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form select, .contact-form textarea {
  padding: 0.7rem 0.85rem;
  border: 1px solid #e6eef8;
  border-radius: 10px;
  font: inherit;
}
.contact-form textarea { resize: vertical; }
.form-actions { margin-top: 0.5rem; }
.btn.primary { background: var(--accent); color: white; padding: 0.8rem 1.35rem; border-radius: 8px; box-shadow: 0 6px 18px rgba(37,99,235,0.14); transition: transform .08s ease, box-shadow .12s ease; }
.btn.primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37,99,235,0.18); }

/* input focus styles */
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: rgba(37,99,235,0.9);
  box-shadow: 0 6px 18px rgba(37,99,235,0.08);
}

/* subtle heading accent in the contact info card */
.contact-info h2 { position: relative; padding-left: 0.6rem; }
.contact-info h2:before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 24px; background: var(--accent); border-radius: 3px; }

@media (max-width: 800px) {
  /* show the nav-toggle and collapse the nav into a stacked menu */
  .nav-toggle { display: inline-flex; align-items:center; justify-content:center; }
  .nav-container { position: relative; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: white;
    padding: 0.85rem 1rem;
    box-shadow: 0 10px 30px rgba(9,62,190,0.06);
    border-radius: 0 0 10px 10px;
    z-index: 12;
    flex-direction: column;
  }
  .nav a { margin: 0.45rem 0; padding: 0.6rem 0.5rem; }
  .nav-container.nav-open .nav { display: flex; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-card { padding: 1rem; }
  .hero { padding: 3.25rem 0; }
  .hero h1 { font-size: 1.6rem; }
  .abilities .ability { padding: 0.75rem; }
}

