/*
Theme Name: A2 Data Consultants
Theme URI: https://a2cloudsolutions.example
Author: A2cloud Solutions LTD
Author URI: https://a2cloudsolutions.example
Description: Custom, lightweight, and accessible theme for A2 Data Consultants, designed and built by A2cloud Solutions LTD.
Version: 1.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: a2-data-consultants
*/

:root {
  --navy-900: #0b1b2b;
  --navy-800: #10243a;
  --navy-700: #12304e;
  --text-900: #0f172a;
  --text-700: #334155;
  --text-500: #64748b;
  --muted: #e2e8f0;
  --surface: #f8fafc;
  --white: #ffffff;
  --accent: #12b3ff;
  --accent-strong: #0ea5e9;
  --radius: 14px;
  --shadow-soft: 0 20px 60px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 18px 38px rgba(15, 23, 42, 0.08);
  --font-body: "Inter", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-900);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
  transition: color 150ms ease, opacity 150ms ease;
}

a:hover,
a:focus-visible {
  color: #0284c7;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent-strong);
  outline-offset: 3px;
}

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

.container {
  width: min(1200px, 100% - 2.5rem);
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(28px, 4vw, 36px);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.section-kicker {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-500);
  font-size: 12px;
  margin-bottom: 10px;
}

.section-subtitle {
  color: var(--text-500);
  max-width: 720px;
  margin: 0 0 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 150ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(14, 165, 233, 0.25);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(18, 179, 255, 0.12);
  color: var(--accent-strong);
  font-weight: 600;
  font-size: 13px;
}

/* Header */
.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
  background: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  box-shadow: var(--shadow-card);
  z-index: 9999;
}

.skip-link:focus-visible {
  left: 14px;
  top: 14px;
}

.site-header {
  background: var(--navy-900);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 18px;
}

.brand .mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), #0ea5e9 50%, #0ea5e9 70%);
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  font-size: 15px;
}

.primary-nav a:hover {
  color: var(--white);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--white);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

/* Hero */
.hero {
  background: radial-gradient(circle at 20% 20%, rgba(18, 179, 255, 0.15), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(14, 165, 233, 0.12), transparent 32%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
  padding: 120px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.04), transparent 40%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 13px;
}

.hero h1 {
  margin: 12px 0 16px;
  font-size: clamp(36px, 5vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.hero p {
  margin: 0 0 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.metric-card {
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  backdrop-filter: blur(6px);
}

.metric-card strong {
  display: block;
  font-size: 20px;
  margin-bottom: 6px;
}

.hero-visual {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.hero-visual .chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--white);
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  margin: 4px;
}

.hero-visual .chip span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
}

/* Trust Bar */
.trust {
  background: var(--white);
  border-bottom: 1px solid #e2e8f0;
}

.trust .trust-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 20px;
  align-items: center;
  justify-items: center;
}

.trust-logo {
  width: 140px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  color: #475569;
  font-weight: 700;
  letter-spacing: 0.02em;
  display: grid;
  place-items: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Tech grid */
.tech {
  background: var(--white);
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.tech-card {
  padding: 16px;
  background: linear-gradient(135deg, #f8fafc, #eef2f7);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  gap: 12px;
}

.tech-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--navy-900);
  background: var(--white);
  border: 1px solid #e2e8f0;
}

.tech-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.tech-card h3 {
  margin: 0;
  font-size: 16px;
}

/* Services */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-card);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 280ms ease, transform 280ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.card .card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-500);
  font-weight: 600;
  font-size: 13px;
}

.card .avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  display: grid;
  place-items: center;
  color: var(--white);
  font-weight: 800;
}

.card h3 {
  margin: 10px 0 8px;
  font-size: 20px;
}

.card p {
  margin: 0 0 12px;
  color: var(--text-500);
}

.card .tag {
  display: inline-block;
  padding: 6px 10px;
  background: #eff6ff;
  color: #1d4ed8;
  border-radius: 10px;
  font-weight: 700;
  font-size: 12px;
}

/* Why choose */
.highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.highlight {
  padding: 18px;
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.highlight strong {
  display: block;
  font-size: 18px;
  margin-bottom: 6px;
}

/* Contact */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: start;
}

.contact-card {
  padding: 18px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
}

.form {
  display: grid;
  gap: 14px;
}

.form label {
  font-weight: 600;
  color: var(--text-700);
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}

.form input:focus-visible,
.form textarea:focus-visible {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.18);
}

.form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.86);
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.92);
  font-weight: 700;
}

/* Utilities */
.muted {
  color: var(--text-500);
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.divider {
  height: 1px;
  background: #e2e8f0;
  margin: 26px 0;
}

/* Responsive */
@media (max-width: 960px) {
  .header-inner {
    gap: 14px;
  }
  .primary-nav {
    position: absolute;
    top: 68px;
    right: 0;
    background: var(--navy-800);
    padding: 16px;
    flex-direction: column;
    width: min(320px, 90vw);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding: 100px 0 70px;
  }

  .hero h1 {
    font-size: 34px;
  }
}
