/* ============================================================
   Aptnoesis – Light Theme Stylesheet
   style.css
   ============================================================ */

/* ── RESET & CSS VARIABLES ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:           #F7F5F0;
  --bg2:          #EEF0F5;
  --bg3:          #FFFFFF;
  --ink:          #0D1117;
  --ink2:         #1E2B3C;
  --muted:        #667085;
  --muted2:       #9BA8BB;
  --accent:       #0057FF;
  --accent2:      #0EA5E9;
  --accent-light: rgba(0, 87, 255, 0.08);
  --border:       rgba(0, 87, 255, 0.12);
  --border2:      #E2E8F0;
  --shadow-sm:    0 2px 8px rgba(13, 17, 23, 0.06);
  --shadow-md:    0 8px 32px rgba(13, 17, 23, 0.1);
  --shadow-lg:    0 24px 64px rgba(13, 17, 23, 0.12);
  --font-head:    'Syne', sans-serif;
  --font-body:    'Plus Jakarta Sans', sans-serif;
  --radius:       14px;
  --transition:   0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ── BASE ─────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink2);
  overflow-x: hidden;
  line-height: 1.65;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 3px; }

/* ── HEADER ───────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 10%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(247, 245, 240, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border2);
  transition: all var(--transition);
}

header.scrolled {
  height: 62px;
  background: rgba(247, 245, 240, 0.97);
  box-shadow: var(--shadow-sm);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  height: 40px !important;
  width: auto;
}

.logo-text {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo-text span { color: var(--accent); }

/* ── NAV ──────────────────────────────────────────────────── */
nav { display: flex; align-items: center; gap: 2px; }

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 15px;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
  background: rgba(0, 87, 255, 0.06);
}

.nav-link svg { transition: transform 0.2s; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

.dropdown::before {
    content: '';
    position: absolute;
    top: -10px;
    left: 0;
    right: 0;
    height: 10px;
}

.dropdown {
  position: absolute;
  top: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: var(--radius);
  padding: 6px;
  min-width: 230px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: var(--shadow-md);
}

.nav-item:hover .dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s;
}

.dropdown a:hover {
  color: var(--accent);
  background: var(--accent-light);
}

.nav-group { display: flex; align-items: center; gap: 4px; }

.nav-cta {
  margin-left: 12px;
  padding: 10px 22px;
  background: var(--accent);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 9px;
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(0, 87, 255, 0.25);
}

.nav-cta:hover {
  background: #003FCC;
  box-shadow: 0 6px 24px rgba(0, 87, 255, 0.35);
  transform: translateY(-1px);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── MOBILE NAV ───────────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: rgba(247, 245, 240, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border2);
  padding: 16px 5%;
  z-index: 999;
  flex-direction: column;
  gap: 6px;
  box-shadow: var(--shadow-md);
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  padding: 11px 16px;
  color: var(--muted);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.mobile-nav a:hover {
  color: var(--ink);
  background: var(--accent-light);
}

/* ── HERO ─────────────────────────────────────────────────── */
/* #home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 5% 80px;
  position: relative;
  overflow: hidden;
} */

#home { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 120px 5% 80px; position: relative; overflow: hidden; }
.hero-inner { width: 100%; max-width: 1200px; display: flex; align-items: center; position: relative; z-index: 2; }

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 70% 50%, rgba(0, 87, 255, 0.05) 0%, transparent 65%),
    radial-gradient(ellipse 50% 50% at 5% 80%, rgba(14, 165, 233, 0.06) 0%, transparent 55%),
    var(--bg);
}

.hero-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(0, 87, 255, 0.12) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-shape {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 87, 255, 0.06), rgba(14, 165, 233, 0.04));
  border: 1px solid rgba(0, 87, 255, 0.08);
}

.hero-shape-2 {
  position: absolute;
  right: 80px;
  top: 50%;
  transform: translateY(-50%);
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: transparent;
  border: 1px dashed rgba(0, 87, 255, 0.12);
}

.hero-content { max-width: 660px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 8px;
  background: var(--bg3);
  border: 1px solid var(--border2);
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
  animation: fadeUp 0.6s ease both;
}

.badge-icon {
  width: 22px;
  height: 22px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-icon svg {
  width: 12px;
  height: 12px;
  stroke: white;
  fill: none;
  stroke-width: 2.5;
}

.hero-headline {
  font-family: var(--font-head);
  /* font-size: clamp(2.8rem, 5.5vw, 4.4rem); */
  font-size: clamp(2.8rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 20px;
  animation: fadeUp 0.6s 0.1s ease both;
}

.hero-headline em {
  font-style: normal;
  color: transparent;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  background-clip: text;
  -webkit-background-clip: text;
}

.rotating-text {
  display: inline-block;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 500px;
  line-height: 1.75;
  margin-bottom: 40px;
  animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.3s ease both;
}

.hero-visual {
  position: absolute;
  left: 70%;
  right: 0%;
  top: 50%;
  transform: translateY(-50%);
  width: 60%;
  max-width: 520px;
  z-index: 2;
  animation: fadeIn 1s 0.4s ease both;
}

.hero-visual img {
  width: 100%;
  border-radius: 0;
  box-shadow: none;
  mix-blend-mode: multiply;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-primary {
  padding: 14px 30px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0, 87, 255, 0.28);
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.5s;
}

.btn-primary:hover::after { transform: translateX(100%); }

.btn-primary:hover {
  background: #003FCC;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 87, 255, 0.38);
}

.btn-secondary {
  padding: 14px 30px;
  background: transparent;
  color: var(--ink2);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1.5px solid var(--border2);
  transition: all var(--transition);
}

.btn-secondary:hover {
  background: var(--bg3);
  border-color: rgba(0, 87, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ── PILLARS ──────────────────────────────────────────────── */
#pillars {
  padding: 80px 8%;
  background: var(--bg3);
  border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.pillar-card {
  background: var(--bg);
  border: 1.5px solid var(--border2);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}

.pillar-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.pillar-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 87, 255, 0.25);
  box-shadow: var(--shadow-lg);
  background: var(--bg3);
}

.pillar-card:hover::after { transform: scaleX(1); }

.pillar-icon {
  width: 52px;
  height: 52px;
  background: var(--accent-light);
  border: 1.5px solid rgba(0, 87, 255, 0.18);
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: all var(--transition);
}

.pillar-card:hover .pillar-icon {
  background: var(--accent);
  border-color: var(--accent);
}

.pillar-card:hover .pillar-icon svg { stroke: #fff; }

.pillar-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
  transition: stroke 0.2s;
}

.pillar-title {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

.pillar-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.72;
}

.pillar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 24px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  transition: gap 0.2s;
}

.pillar-link:hover { gap: 10px; }

/* ── SHARED SECTION STYLES ────────────────────────────────── */
section { padding: 100px 8%; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.section-tag::before {
  content: '';
  width: 20px;
  height: 2px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 18px;
}

.section-desc {
  font-size: 1rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 56px;
}

.text-center { text-align: center; }
.text-center .section-tag { justify-content: center; }
.text-center .section-tag::before { display: none; }
.text-center .section-desc { margin-left: auto; margin-right: auto; }

/* ── ABOUT ────────────────────────────────────────────────── */
#about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.about-visual { position: relative; }

/* .about-visual {
  position: relative;
  right: 2%;
  top: 50%;
  transform: translateY(-50%);
  width: 50%;
  max-width: 520px;
  z-index: 2;
  animation: fadeIn 1s 0.4s ease both;
} */

.about-img {
  width: 100%;
  border-radius: 0;
  box-shadow: none;
  mix-blend-mode: multiply;
}

.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--accent);
  border-radius: 16px;
  padding: 20px 28px;
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 87, 255, 0.35);
}

.about-badge-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}

.about-badge-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
}

.differentiators {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.diff-item {
  display: flex;
  gap: 16px;
  padding: 20px 24px;
  background: var(--bg3);
  border: 1.5px solid var(--border2);
  border-radius: 12px;
  transition: all var(--transition);
}

.diff-item:hover {
  border-color: rgba(0, 87, 255, 0.25);
  box-shadow: var(--shadow-sm);
  transform: translateX(4px);
}

.diff-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diff-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
}

.diff-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 4px;
}

.diff-text {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── SERVICES ─────────────────────────────────────────────── */
#services { background: var(--bg2); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: var(--bg3);
  border: 1.5px solid var(--border2);
  border-radius: var(--radius);
  padding: 40px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--accent), var(--accent2));
  transition: height var(--transition);
}

.service-card:hover {
  border-color: rgba(0, 87, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before { height: 100%; }

.service-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-light);
  border: 1.5px solid rgba(0, 87, 255, 0.18);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all var(--transition);
}

.service-card:hover .service-icon {
  background: var(--accent);
  border-color: var(--accent);
}

.service-card:hover .service-icon svg { stroke: #fff; }

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.7;
  transition: stroke 0.2s;
}

.service-title {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--ink);
}

.service-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ── APPIAN ───────────────────────────────────────────────── */
#appian { background: var(--bg); }

.appian-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto 64px;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  max-width: 1200px;
  margin: 0 auto 64px;
  border: 1.5px solid var(--border2);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg3);
  box-shadow: var(--shadow-sm);
}

.stat-item {
  padding: 36px 28px;
  text-align: center;
  border-right: 1px solid var(--border2);
  transition: background 0.2s;
}

.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--accent-light); }

.stat-num {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 500;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto 48px;
}

.exp-card {
  background: var(--bg3);
  border: 1.5px solid var(--border2);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: all var(--transition);
}

.exp-card:hover {
  border-color: rgba(0, 87, 255, 0.28);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.exp-card-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.exp-card-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.8;
}

.exp-card-title {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.exp-card-desc {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.cap-card {
  background: var(--bg3);
  border: 1.5px solid var(--border2);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  gap: 14px;
  transition: all var(--transition);
}

.cap-card:hover {
  border-color: rgba(0, 87, 255, 0.25);
  box-shadow: var(--shadow-sm);
}

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

.cap-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--ink);
  margin-bottom: 5px;
}

.cap-desc {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── CTA BANNER ───────────────────────────────────────────── */
.cta-wrap {
  padding: 0 8% 100px;
  background: var(--bg2);
}

.cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  background: linear-gradient(135deg, var(--accent), #0036CC);
  border-radius: 24px;
  padding: 72px 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0, 87, 255, 0.3);
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.cta-content h2 {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: #fff;
  position: relative;
  z-index: 1;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  max-width: 400px;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-cta-white {
  padding: 14px 28px;
  background: #fff;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  transition: all var(--transition);
}

.btn-cta-white:hover {
  background: #f0f4ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-cta-outline {
  padding: 14px 28px;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  transition: all var(--transition);
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* ── CONTACT ──────────────────────────────────────────────── */
#contact { background: var(--bg); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-info-title {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 18px;
  line-height: 1.2;
}

.contact-info-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-light);
  border: 1.5px solid rgba(0, 87, 255, 0.18);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
}

.contact-detail a,
.contact-detail span {
  color: var(--ink2);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-detail a:hover { color: var(--accent); }

.contact-form {
  background: var(--bg3);
  border: 1.5px solid var(--border2);
  border-radius: 20px;
  padding: 48px 44px;
  box-shadow: var(--shadow-md);
}

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

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

.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink2);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1.5px solid var(--border2);
  border-radius: 10px;
  padding: 12px 15px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted2); }

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 87, 255, 0.1);
  background: #fff;
}

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

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 18px rgba(0, 87, 255, 0.25);
}

.btn-submit:hover {
  background: #003FCC;
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 87, 255, 0.35);
}

/* ── FOOTER ───────────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.7);
  padding: 72px 8% 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto 56px;
}

.footer-logo-text {
  font-family: var(--font-body);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.footer-logo-text span { color: #60A5FA; }

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.75;
  margin: 14px 0 22px;
  max-width: 280px;
}



.footer-socials { display: flex; gap: 10px; }

.footer-social {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  font-weight: 700;
  transition: all 0.2s;
}

.footer-social:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.footer-col h4 {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 11px; }

.footer-col ul li a {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: #60A5FA; }

.footer-newsletter { display: flex; gap: 8px; margin-top: 4px; }

.footer-newsletter input {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 10px 13px;
  font-size: 0.85rem;
  color: #fff;
  outline: none;
  font-family: var(--font-body);
}

.footer-newsletter input:focus { border-color: var(--accent); }
.footer-newsletter input::placeholder { color: rgba(255, 255, 255, 0.3); }

.footer-newsletter button {
  padding: 10px 16px;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  font-family: var(--font-body);
}

.footer-newsletter button:hover { background: #003FCC; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  margin-left: 24px;
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-bottom a:hover { color: #60A5FA; }

/* ── SCROLL TO TOP ────────────────────────────────────────── */
#scrollTop {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 46px;
  height: 46px;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 87, 255, 0.35);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s, box-shadow 0.2s;
  pointer-events: none;
  z-index: 999;
}

#scrollTop.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

#scrollTop:hover {
  background: #003FCC;
  box-shadow: 0 8px 28px rgba(0, 87, 255, 0.45);
  transform: translateY(-2px);
}

#scrollTop svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
}

/* ── SCROLL REVEAL ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── KEYFRAMES ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-visual,
  .hero-shape,
  .hero-shape-2 { display: none; }

  .hero-content { max-width: 100%; }

  .about-grid,
  .contact-grid,
  .appian-header { grid-template-columns: 1fr; gap: 40px; }

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

@media (max-width: 768px) {
  nav, .nav-cta { display: none; }
  .hamburger    { display: flex; }

  .pillars-grid,
  .services-grid,
  .expertise-grid,
  .capabilities-grid { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .cta-inner {
    flex-direction: column;
    padding: 48px 32px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .footer-bottom a { margin: 0 10px; }
}

@media (max-width: 480px) {
  .stats-bar      { grid-template-columns: 1fr 1fr; }
  .footer-grid    { grid-template-columns: 1fr; }
  .hero-actions   { flex-direction: column; }
}

/* ── FORM VALIDATION ──────────────────────────────────────── */
.input-error {
  border-color: #EF4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

.field-error {
  color: #EF4444;
  font-size: 0.78rem;
  font-weight: 600;
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.field-error::before {
  content: '⚠';
  font-size: 0.75rem;
}