/* ============================================
   Quick Tech Solutions — Shared Stylesheet
   ============================================ */

:root {
  --navy: #1c1c4c;
  --navy-light: #2a2a68;
  --blue: #527ec0;
  --blue-light: #7ea0d4;
  --blue-pale: #eef2fa;
  --gray-900: #1a1a1a;
  --gray-700: #4a4a4a;
  --gray-500: #767676;
  --gray-200: #e4e7ef;
  --gray-100: #f5f6fa;
  --white: #ffffff;

  --font-body: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --max-width: 1160px;
  --radius: 10px;
  --shadow: 0 4px 18px rgba(28, 28, 76, 0.08);
  --shadow-hover: 0 10px 28px rgba(28, 28, 76, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
}

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

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

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

ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

h1, h2, h3, h4 {
  color: var(--navy);
  line-height: 1.25;
  margin-top: 0;
}

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

.section {
  padding: 72px 0;
}

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

.eyebrow {
  display: inline-block;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.section-heading p {
  color: var(--gray-700);
  font-size: 1.05rem;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
}

.btn-outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: var(--white);
}

/* ============================================
   Header / Navigation
   ============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(28, 28, 76, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.nav-logo img {
  height: 40px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
}

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

.nav-menu a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 0;
  position: relative;
}

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

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

.nav-menu a.active {
  color: var(--blue);
}

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 999px;
}

.nav-cta::after {
  display: none;
}

.nav-cta:hover {
  background: var(--navy);
  color: var(--white) !important;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(28, 28, 76, 0.1);
    transition: max-height 0.25s ease;
  }

  .nav-menu.open {
    max-height: 420px;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-menu a {
    display: block;
    padding: 16px 24px;
    width: 100%;
  }

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

  .nav-cta {
    margin: 10px 24px 20px;
  }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 55%, var(--blue) 140%);
  color: var(--white);
  padding: 90px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.15rem;
  color: var(--gray-200);
  max-width: 520px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 32px;
  backdrop-filter: blur(2px);
}

.hero-visual ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 600;
}

.hero-visual ul li:last-child {
  border-bottom: none;
}

.hero-visual .tick {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

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

/* ============================================
   Page header (inner pages)
   ============================================ */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 64px 0 56px;
}

.page-header .eyebrow {
  color: var(--blue-light);
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  margin-bottom: 10px;
}

.page-header p {
  color: var(--gray-200);
  max-width: 640px;
  font-size: 1.05rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--blue-light);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--blue-light);
}

.breadcrumb span {
  color: var(--gray-200);
}

/* ============================================
   Cards / Grids
   ============================================ */
.grid {
  display: grid;
  gap: 28px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 960px) {
  .grid-3, .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--blue-light);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--blue-pale);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
  font-weight: 700;
}

.card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--gray-700);
  font-size: 0.96rem;
  margin-bottom: 0;
}

/* Service category blocks (services.html) */
.service-category {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px;
  margin-bottom: 28px;
  background: var(--white);
}

.service-category-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 22px;
}

.service-category-header .card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.service-category-header h3 {
  margin-bottom: 2px;
  font-size: 1.3rem;
}

.service-category-header p {
  color: var(--gray-500);
  margin: 0;
  font-size: 0.9rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
}

@media (max-width: 620px) {
  .service-list {
    grid-template-columns: 1fr;
  }
}

.service-item {
  display: flex;
  gap: 12px;
  padding: 14px;
  border-radius: 8px;
  background: var(--gray-100);
}

.service-item strong {
  display: block;
  color: var(--navy);
  font-size: 0.98rem;
  margin-bottom: 4px;
}

.service-item p {
  margin: 0;
  color: var(--gray-700);
  font-size: 0.9rem;
}

.service-item .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  margin-top: 8px;
  flex-shrink: 0;
}

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--navy);
  color: var(--white);
  padding: 44px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

@media (max-width: 700px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stats-grid .stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-light);
}

.stats-grid .stat-label {
  font-size: 0.9rem;
  color: var(--gray-200);
  margin-top: 4px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--blue) 0%, var(--navy) 100%);
  color: var(--white);
  padding: 56px 0;
  border-radius: var(--radius);
  text-align: center;
}

.cta-band h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.cta-band p {
  color: var(--gray-200);
  max-width: 560px;
  margin: 0 auto 26px;
}

/* ---------- Placeholder image blocks ---------- */
.placeholder-img {
  background: var(--blue-pale);
  border: 1px dashed var(--blue-light);
  border-radius: var(--radius);
  color: var(--blue);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  min-height: 180px;
}

/* ---------- Industry / project cards ---------- */
.industry-card .card-icon,
.project-card .tag {
  margin-bottom: 16px;
}

.project-card .tag {
  display: inline-block;
  background: var(--blue-pale);
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

.project-card h3 {
  margin: 14px 0 8px;
}

.project-meta {
  display: flex;
  gap: 18px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--gray-200);
  font-size: 0.85rem;
  color: var(--gray-500);
}

.project-meta strong {
  display: block;
  color: var(--navy);
  font-size: 0.9rem;
}

/* ---------- Values / About ---------- */
.value-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 620px) {
  .value-list {
    grid-template-columns: 1fr;
  }
}

/* ---------- Contact page ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

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

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 26px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
}

.contact-info-item .card-icon {
  margin-bottom: 0;
}

.contact-info-item strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}

.contact-info-item p, .contact-info-item a {
  color: var(--gray-700);
  margin: 0;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--gray-100);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}

.form-note {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-top: 14px;
}

.form-success, .form-error {
  display: none;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.form-success {
  background: #e7f6ec;
  color: #1e7c3a;
  border: 1px solid #bfe6c9;
}

.form-error {
  background: #fdeceb;
  color: #b3261e;
  border: 1px solid #f5c6c2;
}

.map-placeholder {
  margin-top: 30px;
  height: 240px;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--navy);
  color: var(--gray-200);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 40px;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.footer-logo img {
  height: 36px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col a {
  color: var(--gray-200);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-col p {
  color: var(--gray-200);
  font-size: 0.92rem;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.footer-social a:hover {
  background: var(--blue);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.footer-bottom a {
  color: var(--gray-500);
}

.footer-bottom a:hover {
  color: var(--white);
}
