/* =========================================================
   Bob's IT Consulting LLC
   2026 Website Redesign
   File: assets/css/styles.css
   ========================================================= */

/* -----------------------------
   CSS Variables
----------------------------- */

:root {
  --primary: #003087;
  --primary-dark: #001f5c;
  --primary-light: #e8f1ff;

  --secondary: #00aeef;
  --secondary-dark: #008fc4;
  --secondary-light: #e7f8ff;

  --premium: #172033;
  --premium-soft: #f4f7fb;

  --white: #ffffff;
  --light-bg: #f4f9fc;
  --soft-bg: #f8fbff;

  --text: #172033;
  --text-muted: #5d6b82;
  --border: #dbe6f3;

  --shadow-sm: 0 4px 14px rgba(0, 48, 135, 0.08);
  --shadow-md: 0 14px 40px rgba(0, 48, 135, 0.14);
  --shadow-lg: 0 24px 70px rgba(0, 31, 92, 0.22);

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --container: 1180px;
}

/* -----------------------------
   Reset / Base
----------------------------- */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 115px;
}

/* Prevent sticky header from covering anchor-linked sections */
section[id] {
  scroll-margin-top: 115px;
}
body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  color: var(--secondary-dark);
}

p {
  margin-bottom: 1rem;
}

ul {
  padding-left: 1.2rem;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.narrow {
  max-width: 850px;
}

/* -----------------------------
   Header / Navigation
----------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(219, 230, 243, 0.9);
  backdrop-filter: blur(14px);
}

.header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.site-logo {
  width: 178px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.35rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.site-nav a {
  color: var(--text);
  font-weight: 650;
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--primary);
}

.site-nav .nav-cta {
  background: var(--primary);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.site-nav .nav-cta:hover {
  background: var(--secondary-dark);
  color: var(--white);
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.mobile-nav-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary);
  margin: 5px auto;
  border-radius: 99px;
}

/* -----------------------------
   Buttons
----------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  font-weight: 700;
  line-height: 1.1;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--secondary);
  color: var(--primary-dark);
  box-shadow: 0 12px 26px rgba(0, 174, 239, 0.25);
}

.button-primary:hover {
  background: var(--secondary-dark);
  color: var(--white);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.button-secondary:hover {
  background: var(--white);
  color: var(--primary);
}

.button-light {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.button-light:hover {
  background: var(--secondary-light);
  color: var(--primary-dark);
}

/* -----------------------------
   Hero
----------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 6.5rem 0;
}

.section-dark {
  background:
    radial-gradient(circle at top right, rgba(0, 174, 239, 0.28), transparent 34%),
    linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 58%, #0754b8 100%);
  color: var(--white);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
  align-items: center;
  gap: 3rem;
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.55rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.hero-subtitle {
  max-width: 690px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  margin-bottom: 1.7rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.hero-note {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}

.hero-card h2 {
  margin-bottom: 1.1rem;
  font-size: 1.45rem;
  color: var(--white);
}

/* -----------------------------
   General Sections
----------------------------- */

.section {
  padding: 5.25rem 0;
}

.section-light {
  background:
    linear-gradient(180deg, var(--soft-bg) 0%, var(--white) 100%);
}

.section-heading {
  max-width: 790px;
  margin-bottom: 2.25rem;
}

.section-heading.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow {
  color: var(--secondary-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
}

.section-dark .eyebrow,
.cta-band .eyebrow {
  color: var(--secondary-light);
}

h1,
h2,
h3 {
  color: inherit;
  line-height: 1.12;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.15rem);
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
}

.section-heading p,
.split-content p,
.narrow p,
.contact-content p {
  color: var(--text-muted);
  font-size: 1.04rem;
}

/* -----------------------------
   Trust Strip
----------------------------- */

.trust-strip {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.trust-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 0;
}

.trust-items span {
  color: var(--primary);
  background: var(--primary-light);
  border: 1px solid rgba(0, 48, 135, 0.12);
  border-radius: 999px;
  padding: 0.48rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 700;
}

/* -----------------------------
   Cards
----------------------------- */

.card-grid {
  display: grid;
  gap: 1.4rem;
}

.three-column {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card,
.service-list-card,
.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
}

.feature-card {
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 800;
}

.feature-card p,
.service-list-card p {
  color: var(--text-muted);
}

/* -----------------------------
   Split Layout
----------------------------- */

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.8fr);
  align-items: center;
  gap: 2.5rem;
}

.split-layout.reverse {
  grid-template-columns: minmax(340px, 0.8fr) minmax(0, 1fr);
}

.split-content .button {
  margin-top: 0.5rem;
}

.service-list-card h3 {
  color: var(--primary);
}

.check-list {
  list-style: none;
  padding-left: 0;
}

.check-list li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: 0.8rem;
  color: var(--text-muted);
}

.section-dark .check-list li {
  color: rgba(255, 255, 255, 0.88);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--secondary);
  font-weight: 900;
}

/* -----------------------------
   Premium Digital Life Section
----------------------------- */

.premium-section {
  background:
    radial-gradient(circle at left top, rgba(0, 174, 239, 0.16), transparent 30%),
    linear-gradient(135deg, #101827 0%, var(--premium) 58%, #1d2f50 100%);
  color: var(--white);
}

.premium-section .split-content p {
  color: rgba(255, 255, 255, 0.76);
}

.premium-card {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: var(--shadow-lg);
}

.premium-card h3 {
  color: var(--white);
}

.premium-card .check-list li {
  color: rgba(255, 255, 255, 0.84);
}

/* -----------------------------
   CTA Band
----------------------------- */

.cta-band {
  background:
    linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--white);
  padding: 3.2rem 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-band h2 {
  margin-bottom: 0.5rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}

/* -----------------------------
   Contact
----------------------------- */

.contact-section {
  background: var(--soft-bg);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1.2fr);
  gap: 2rem;
  align-items: start;
}

.contact-details {
  margin-top: 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.contact-details p {
  margin-bottom: 0.75rem;
}

.contact-details p:last-child {
  margin-bottom: 0;
}

.form-card {
  padding: 1.2rem;
}

.form-card h3 {
  color: var(--primary);
  padding: 0.35rem 0.35rem 0.85rem;
}

.consultation-form {
  width: 100%;
  min-height: 1800px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--white);
}

/* -----------------------------
   Footer
----------------------------- */

.site-footer {
  background: var(--primary-dark);
  color: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.8fr;
  gap: 2rem;
  padding: 3rem 0;
}

.footer-logo {
  width: 155px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.35rem;
  margin-bottom: 1rem;
}

.site-footer p,
.site-footer li {
  color: rgba(255, 255, 255, 0.75);
}

.footer-heading {
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: var(--secondary-light);
}

.footer-links {
  list-style: none;
  padding-left: 0;
}

.footer-links li {
  margin-bottom: 0.55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1rem 0;
}

.footer-bottom p {
  margin-bottom: 0;
  font-size: 0.9rem;
}

/* -----------------------------
   Responsive
----------------------------- */

@media (max-width: 980px) {
  html {
    scroll-padding-top: 115px;
  }

  section[id] {
    scroll-margin-top: 115px;
  }

  .mobile-nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 88px;
    left: 1rem;
    right: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    overflow: hidden;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    display: block;
    padding: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .site-nav a:last-child {
    border-bottom: 0;
  }

  .site-nav .nav-cta {
    margin: 0.8rem;
    text-align: center;
  }

  .hero-grid,
  .split-layout,
  .split-layout.reverse,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 5rem 0;
  }

  .three-column {
    grid-template-columns: 1fr;
  }

  .cta-band-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  html {
    scroll-padding-top: 95px;
  }

  section[id] {
    scroll-margin-top: 95px;
  }

  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .header-inner {
    min-height: 78px;
  }

  .site-logo {
    width: 145px;
  }

  .site-nav {
    top: 78px;
  }

  .hero {
    padding: 4rem 0;
  }

  .hero-card,
  .feature-card,
  .service-list-card,
  .contact-details,
  .form-card {
    border-radius: 16px;
  }

  .section {
    padding: 4rem 0;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .trust-items {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 1.1rem;
  }

  .trust-items span {
    white-space: nowrap;
  }

  .consultation-form {
    min-height: 1900px;
  }
}

/* BITC Contact Form */
.bitc-contact-form {
  margin-top: 1.25rem;
}

.form-field {
  margin-bottom: 1.15rem;
}

.form-field label,
.checkbox-group legend {
  display: block;
  margin-bottom: 0.45rem;
  font-weight: 700;
  color: var(--color-dark, #111827);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(148, 163, 184, 0.65);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  font: inherit;
  color: var(--color-dark, #111827);
  background: #ffffff;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-primary, #1d4ed8);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.14);
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.checkbox-group {
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-radius: 14px;
  padding: 1rem;
  margin: 0 0 1.15rem;
}

.checkbox-option {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0.65rem 0;
  font-weight: 500;
  line-height: 1.4;
}

.checkbox-option input {
  width: auto;
  margin-top: 0.2rem;
  flex: 0 0 auto;
}

.form-helper {
  margin: 0.25rem 0 0;
  color: var(--color-muted, #64748b);
  font-size: 0.92rem;
}

.required {
  color: #b91c1c;
}

.form-submit-button {
  width: 100%;
  margin-top: 0.35rem;
}

.form-privacy-note {
  margin: 0.9rem 0 0;
  color: var(--color-muted, #64748b);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-error-message {
  display: none;
  margin: 0.75rem 0 0;
  color: #b91c1c;
  font-size: 0.92rem;
  font-weight: 700;
}

.checkbox-group.has-error {
  border-color: #dc2626;
  background: rgba(254, 242, 242, 0.65);
}

.checkbox-group.has-error .form-error-message {
  display: block;
}

.bitc-honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 640px) {
  .checkbox-group {
    padding: 0.9rem;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px;
  }
}