/* =========================================================
   ASPIRE CORE TECHNOLOGY — MAIN STYLESHEET
   A premium IT services company site.
   Structure: Tokens > Reset > Layout utilities > Header/Mega menu >
   Buttons > Hero > Sections > Cards > Footer > Forms > Responsive
   ========================================================= */

/* ---------------------------------------------------------
   1. DESIGN TOKENS
   --------------------------------------------------------- */
:root {
  /* Color */
  --primary-color: #5b4fe9; /* electric indigo — primary accent */
  --primary-dark: #4237c4; /* pressed / hover state */
  --secondary-color: #00c2a8; /* signal teal — used for AI & highlights */
  --dark-color: #0f0e1a; /* near-black navy for dark sections */
  --text-color: #2b2a3d; /* body text */
  --muted-color: #6c6a82; /* secondary text */
  --light-color: #f6f5fb; /* section backgrounds */
  --white: #ffffff;
  --border-color: #e7e4f4;

  /* Type */
  --font-display: "Space Grotesk", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  /* Scale */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 10px rgba(15, 14, 26, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 14, 26, 0.1);
  --shadow-lg: 0 24px 60px rgba(15, 14, 26, 0.16);
  --container-w: 1220px;
  --header-h: 84px;
}

/* ---------------------------------------------------------
   2. RESET & BASE
   --------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--dark-color);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
}
h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
}
h3 {
  font-size: 1.3rem;
}

p {
  color: var(--muted-color);
}

:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 20px;
  z-index: 10000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus {
  left: 0;
}

section {
  padding: 96px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 14px;
}
.section-tag::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--secondary-color);
  display: inline-block;
}

.section-head p {
  margin-top: 14px;
  font-size: 1.08rem;
}

.bg-light {
  background: var(--light-color);
}
.bg-dark {
  background: var(--dark-color);
}
.bg-dark h2,
.bg-dark h3,
.bg-dark h4 {
  color: var(--white);
}
.bg-dark p {
  color: rgba(255, 255, 255, 0.68);
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------
   3. BUTTONS
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary-color);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(91, 79, 233, 0.3);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(91, 79, 233, 0.38);
}

.btn-outline {
  background: transparent;
  color: var(--dark-color);
  border: 1.5px solid var(--border-color);
}
.btn-outline:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
}

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

.btn-on-dark {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}
.btn-on-dark:hover {
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}
.btn-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}

/* ---------------------------------------------------------
   4. HEADER & NAVIGATION
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}
.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(15, 14, 26, 0.08);
  border-bottom-color: var(--border-color);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--dark-color);
  flex-shrink: 0;
}
.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 700;
}

.main-nav {
  display: flex;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-list > li {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--text-color);
  border-radius: 8px;
  transition:
    color 0.2s ease,
    background 0.2s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
}
.nav-list > li.has-dropdown > .nav-link .caret {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-top: -3px;
}
.nav-list > li.has-dropdown.is-open > .nav-link .caret {
  transform: rotate(-135deg);
  margin-top: 3px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Mega menu panel */
.mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 780px;
  max-width: 90vw;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s;
  z-index: 950;
}
.mega-menu.mega-narrow {
  width: 460px;
  grid-template-columns: 1fr;
}
.mega-menu.mega-wide {
  width: 620px;
  grid-template-columns: repeat(2, 1fr);
}
li.has-dropdown.is-open > .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.mega-col h4 {
  font-size: 0.82rem;
  font-family: var(--font-display);
  color: var(--muted-color);
  font-weight: 600;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
}
.mega-col ul li {
  margin-bottom: 4px;
}
.mega-col ul li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-radius: 8px;
  font-size: 0.93rem;
  color: var(--text-color);
  transition:
    background 0.18s ease,
    color 0.18s ease,
    padding-left 0.18s ease;
}
.mega-col ul li a::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border-color);
  flex-shrink: 0;
  transition: background 0.18s ease;
}
.mega-col ul li a:hover {
  background: var(--light-color);
  color: var(--primary-color);
  padding-left: 12px;
}
.mega-col ul li a:hover::before {
  background: var(--primary-color);
}

.mega-menu.simple-list {
  display: block;
  width: 300px;
  padding: 14px;
}
.mega-menu.simple-list ul li a {
  padding: 10px 12px;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark-color);
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.nav-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------------------------------------------------------
   5. HERO
   --------------------------------------------------------- */
.hero {
  position: relative;
  padding: 96px 0 80px;
  overflow: hidden;
  background: var(--light-color);
}
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
  z-index: 0;
}
.hero-blob-a {
  width: 420px;
  height: 420px;
  background: var(--primary-color);
  top: -140px;
  right: -80px;
}
.hero-blob-b {
  width: 300px;
  height: 300px;
  background: var(--secondary-color);
  bottom: -120px;
  right: 320px;
  opacity: 0.25;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: 50px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 22px;
  box-shadow: var(--shadow-sm);
}
.hero-eyebrow .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary-color);
}

.hero h1 {
  margin-bottom: 22px;
}
.hero-lead {
  font-size: 1.18rem;
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-meta {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
}
.hero-meta div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--dark-color);
}
.hero-meta div span {
  font-size: 0.86rem;
  color: var(--muted-color);
}

.hero-art {
  position: relative;
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art svg {
  width: 100%;
  height: 100%;
}

/* ---------------------------------------------------------
   6. LOGO STRIP
   --------------------------------------------------------- */
.logo-strip {
  padding: 56px 0;
  border-bottom: 1px solid var(--border-color);
}
.logo-strip-head {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted-color);
  font-family: var(--font-display);
  margin-bottom: 30px;
}
.logo-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
.logo-row span {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--muted-color);
  opacity: 0.55;
  transition: opacity 0.2s ease;
}
.logo-row span:hover {
  opacity: 1;
  color: var(--primary-color);
}

/* ---------------------------------------------------------
   7. CARDS — services / solutions / industries / portfolio
   --------------------------------------------------------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
.grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: linear-gradient(
    135deg,
    rgba(91, 79, 233, 0.12),
    rgba(0, 194, 168, 0.12)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-bottom: 20px;
}
.card-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  margin-bottom: 10px;
  font-size: 1.15rem;
}
.service-card p {
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.card-link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link .chev {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform 0.2s ease;
}
.card-link:hover .chev {
  transform: rotate(-45deg) translate(2px, -2px);
}

/* Feature list (why choose us) */
.feature-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: center;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 30px 0 34px;
}
.feature-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.feature-check {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(0, 194, 168, 0.14);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 2px;
}
.feature-item span {
  font-size: 0.96rem;
  font-weight: 500;
  color: var(--text-color);
}

.art-panel {
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--dark-color), #211f38);
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.art-panel svg {
  width: 78%;
}

/* Industries */
.industry-card {
  background: var(--light-color);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  text-align: left;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
}
.industry-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.industry-card .card-icon {
  margin-bottom: 16px;
}
.industry-card h3 {
  font-size: 1.02rem;
}

/* Technology badges */
.tech-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.tech-group h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  margin-bottom: 16px;
  color: var(--dark-color);
}
.tech-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tech-badge {
  padding: 9px 16px;
  border-radius: 50px;
  background: var(--light-color);
  border: 1px solid var(--border-color);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-color);
  transition:
    border-color 0.2s ease,
    color 0.2s ease;
}
.tech-badge:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Portfolio */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.filter-btn {
  padding: 10px 20px;
  border-radius: 50px;
  border: 1px solid var(--border-color);
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted-color);
  transition: all 0.22s ease;
}
.filter-btn:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.filter-btn.active {
  background: var(--dark-color);
  border-color: var(--dark-color);
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.portfolio-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: var(--white);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.portfolio-card.is-hidden {
  display: none;
}
.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.portfolio-thumb {
  aspect-ratio: 16/11;
  background: linear-gradient(135deg, var(--light-color), #eceafb);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.portfolio-thumb svg {
  width: 46%;
  opacity: 0.9;
}
.portfolio-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 13px;
  border-radius: 50px;
  font-size: 0.74rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--primary-color);
}
.portfolio-body {
  padding: 24px 24px 26px;
}
.portfolio-body h3 {
  margin-bottom: 8px;
}
.portfolio-body p {
  font-size: 0.92rem;
  margin-bottom: 16px;
}

/* ---------------------------------------------------------
   8. STATS
   --------------------------------------------------------- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.8rem);
  color: var(--white);
  font-weight: 700;
}
.stat-item span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ---------------------------------------------------------
   9. PROCESS / TIMELINE
   --------------------------------------------------------- */
.process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 5%;
  right: 5%;
  height: 2px;
  background: var(--border-color);
  z-index: 0;
}
.process-step {
  position: relative;
  z-index: 1;
  text-align: center;
}
.process-num {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  font-family: var(--font-display);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}
.process-step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 0.88rem;
}

/* ---------------------------------------------------------
   10. TESTIMONIALS
   --------------------------------------------------------- */
.testi-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.testi-slide {
  display: none;
}
.testi-slide.active {
  display: block;
  animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.testi-avatar {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  margin: 0 auto 20px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}
.testi-stars {
  color: var(--secondary-color);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 3px;
}
.testi-quote {
  font-size: 1.25rem;
  color: var(--dark-color);
  font-family: var(--font-display);
  font-weight: 500;
  margin-bottom: 22px;
  line-height: 1.5;
}
.testi-name {
  font-weight: 700;
  color: var(--dark-color);
}
.testi-role {
  font-size: 0.86rem;
  color: var(--muted-color);
}
.testi-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}
.testi-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--border-color);
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.testi-dot.active {
  background: var(--primary-color);
  transform: scale(1.25);
}
.testi-arrows {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}
.testi-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
}
.testi-arrow:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* ---------------------------------------------------------
   11. FAQ ACCORDION
   --------------------------------------------------------- */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--border-color);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.04rem;
  color: var(--dark-color);
}
.faq-q .plus {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border-color);
  position: relative;
  flex-shrink: 0;
  margin-left: 18px;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}
.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--dark-color);
  top: 50%;
  left: 50%;
}
.faq-q .plus::before {
  width: 10px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}
.faq-q .plus::after {
  width: 1.5px;
  height: 10px;
  transform: translate(-50%, -50%);
  transition: opacity 0.2s ease;
}
.faq-item.is-open .faq-q .plus {
  transform: rotate(180deg);
  border-color: var(--primary-color);
}
.faq-item.is-open .faq-q .plus::after {
  opacity: 0;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.faq-a p {
  padding: 0 4px 24px;
  font-size: 0.96rem;
  max-width: 640px;
}

/* ---------------------------------------------------------
   12. FINAL CTA
   --------------------------------------------------------- */
.cta-band {
  background: linear-gradient(135deg, var(--dark-color) 0%, #241f45 100%);
  border-radius: var(--radius-lg);
  padding: 70px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.cta-band p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.08rem;
  max-width: 520px;
  margin: 0 auto 34px;
}
.cta-band .hero-ctas {
  justify-content: center;
  margin-bottom: 0;
}
.cta-wrap {
  padding: 0 28px 96px;
}
.cta-wrap.no-pad-top {
  padding-top: 0;
}

/* ---------------------------------------------------------
   13. PAGE HERO (inner pages)
   --------------------------------------------------------- */
.page-hero {
  background: var(--light-color);
  padding: 64px 0 56px;
  text-align: center;
}
.page-hero .section-tag {
  justify-content: center;
}
.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--muted-color);
  margin-top: 16px;
}
.breadcrumb a {
  color: var(--primary-color);
  font-weight: 600;
}

/* ---------------------------------------------------------
   14. FOOTER
   --------------------------------------------------------- */
.site-footer {
  background: var(--dark-color);
  color: rgba(255, 255, 255, 0.65);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr 1fr;
  gap: 34px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-brand .logo {
  color: var(--white);
  margin-bottom: 16px;
}
.footer-brand p {
  font-size: 0.92rem;
  margin-bottom: 22px;
  max-width: 260px;
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}
.footer-social a:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.92rem;
  margin-bottom: 20px;
  font-family: var(--font-display);
}
.footer-col ul li {
  margin-bottom: 12px;
}
.footer-col ul li a {
  font-size: 0.9rem;
  transition:
    color 0.2s ease,
    padding-left 0.2s ease;
}
.footer-col ul li a:hover {
  color: var(--white);
  padding-left: 4px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 26px 0;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a:hover {
  color: var(--white);
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    visibility 0.3s;
  z-index: 800;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--primary-dark);
}
.back-to-top svg {
  width: 18px;
  height: 18px;
}

/* ---------------------------------------------------------
   15. PAGE LOADER
   --------------------------------------------------------- */
.page-loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.5s ease,
    visibility 0.5s;
}
.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}
.loader-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  animation: pulseLoader 1.1s ease-in-out infinite;
}
@keyframes pulseLoader {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.82);
    opacity: 0.65;
  }
}

/* ---------------------------------------------------------
   16. FORMS (contact page)
   --------------------------------------------------------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 60px;
  align-items: flex-start;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
.form-group {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark-color);
  font-family: var(--font-display);
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 16px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--light-color);
  transition:
    border-color 0.2s ease,
    background 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  background: var(--white);
  outline: none;
}
.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
  border-color: #e5484d;
}
.error-msg {
  font-size: 0.8rem;
  color: #e5484d;
  display: none;
}
.form-group.has-error .error-msg {
  display: block;
}
.form-status {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  display: none;
}
.form-status.show {
  display: block;
}
.form-status.success {
  background: rgba(0, 194, 168, 0.12);
  color: #0b8d78;
}
.form-status.error {
  background: rgba(229, 72, 77, 0.12);
  color: #c8383d;
}

.contact-info-card {
  background: var(--dark-color);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  color: var(--white);
}
.contact-info-card h3 {
  color: var(--white);
  margin-bottom: 24px;
}
.contact-info-row {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.contact-info-row .card-icon {
  margin-bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  color: var(--secondary-color);
  flex-shrink: 0;
}
.contact-info-row strong {
  display: block;
  color: var(--white);
  font-size: 0.96rem;
  margin-bottom: 4px;
}
.contact-info-row span,
.contact-info-row p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
}
.map-placeholder {
  margin-top: 26px;
  border-radius: var(--radius-md);
  height: 180px;
  background: repeating-linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.05) 0 12px,
    rgba(255, 255, 255, 0.02) 12px 24px
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.86rem;
  text-align: center;
  padding: 20px;
}

/* ---------------------------------------------------------
   17. PRICING
   --------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}
.price-card {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.price-card.featured {
  background: var(--dark-color);
  border-color: var(--dark-color);
  color: var(--white);
  position: relative;
}
.price-card.featured h3,
.price-card.featured .price-amt {
  color: var(--white);
}
.price-card.featured p,
.price-card.featured li {
  color: rgba(255, 255, 255, 0.68);
}
.price-badge {
  position: absolute;
  top: -14px;
  left: 34px;
  background: var(--secondary-color);
  color: var(--dark-color);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.76rem;
  padding: 6px 14px;
  border-radius: 50px;
}
.price-plan {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary-color);
  margin-bottom: 12px;
}
.price-card.featured .price-plan {
  color: var(--secondary-color);
}
.price-amt {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 6px;
}
.price-amt span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--muted-color);
}
.price-desc {
  font-size: 0.9rem;
  margin-bottom: 26px;
}
.price-features {
  margin-bottom: 30px;
  flex-grow: 1;
}
.price-features li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 13px;
  font-size: 0.92rem;
}
.price-features li .feature-check {
  width: 20px;
  height: 20px;
  font-size: 0.68rem;
}

/* ---------------------------------------------------------
   18. TEAM
   --------------------------------------------------------- */
.team-card {
  text-align: center;
}
.team-photo {
  aspect-ratio: 1/1;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--light-color), #eceafb);
  margin-bottom: 18px;
  overflow: hidden;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-card h3 {
  font-size: 1.02rem;
  margin-bottom: 4px;
}
.team-card span {
  font-size: 0.86rem;
  color: var(--muted-color);
}

/* Values / mission-vision */
.value-card {
  padding: 30px 26px;
  border-radius: var(--radius-md);
  background: var(--light-color);
}

/* ---------------------------------------------------------
   19. PORTFOLIO — PROFESSIONAL POLISH
   Small visual refinements only: shadows, hover motion,
   image presentation and button styling. Layout/grid
   structure is untouched.
   --------------------------------------------------------- */
.portfolio-card {
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.32s ease,
    border-color 0.32s ease;
}
.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.portfolio-thumb {
  overflow: hidden;
}
.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.portfolio-card:hover .portfolio-thumb img {
  transform: scale(1.07);
}
.portfolio-cat {
  box-shadow: 0 4px 14px rgba(15, 14, 26, 0.1);
}
.portfolio-body h3 {
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}
.portfolio-body p {
  color: var(--muted-color);
  line-height: 1.55;
}

/* "View Case Study" trigger — button-like, but keeps .card-link's look elsewhere */
.portfolio-view-btn {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  font: inherit;
  border-top: 1px solid var(--border-color);
  padding-top: 14px;
  margin-top: 4px;
  width: 100%;
  justify-content: flex-start;
}
.portfolio-view-btn:hover {
  color: var(--primary-dark);
}
.portfolio-view-btn:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---------------------------------------------------------
   20. PORTFOLIO CASE STUDY MODAL
   --------------------------------------------------------- */
html.modal-open,
body.modal-open {
  overflow: hidden;
}

.project-modal {
  position: fixed;
  inset: 0;
  z-index: 9500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5vh 20px;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease;
}
.project-modal.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.project-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 14, 26, 0.6);
  backdrop-filter: blur(2px);
}
.project-modal-dialog {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 760px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(24px) scale(0.97);
  opacity: 0;
  transition:
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s ease;
}
.project-modal.is-open .project-modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.project-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-color);
  box-shadow: 0 6px 18px rgba(15, 14, 26, 0.16);
  cursor: pointer;
  z-index: 2;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
}
.project-modal-close:hover {
  background: var(--white);
  transform: rotate(90deg);
}
.project-modal-close svg {
  width: 18px;
  height: 18px;
}

.pm-hero {
  width: 100%;
  aspect-ratio: 16/8;
  overflow: hidden;
  background: var(--light-color);
}
.pm-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pm-body {
  padding: 34px 38px 40px;
  max-height: 62vh;
  overflow-y: auto;
}
.pm-cat {
  display: inline-block;
  background: rgba(91, 79, 233, 0.1);
  color: var(--primary-color);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.76rem;
  padding: 5px 13px;
  border-radius: 50px;
  margin-bottom: 12px;
}
.pm-body h2 {
  font-size: 1.7rem;
  margin-bottom: 24px;
}
.pm-section {
  margin-bottom: 26px;
}
.pm-section:last-of-type {
  margin-bottom: 0;
}
.pm-section h4 {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--dark-color);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pm-section h4::before {
  content: "";
  width: 4px;
  height: 16px;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    var(--primary-color),
    var(--secondary-color)
  );
  display: inline-block;
}
.pm-section p {
  color: var(--muted-color);
  font-size: 0.96rem;
  line-height: 1.65;
}

.pm-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}
.pm-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-color);
}
.pm-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 194, 168, 0.14);
  color: var(--secondary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.66rem;
  font-weight: 700;
  margin-top: 2px;
}
.pm-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pm-outcome {
  background: linear-gradient(
    135deg,
    rgba(91, 79, 233, 0.06),
    rgba(0, 194, 168, 0.08)
  );
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin-top: 30px;
}
.pm-outcome h4 {
  color: var(--dark-color);
}
.pm-outcome p {
  color: var(--text-color);
  font-weight: 500;
}

/* ---------------------------------------------------------
   21. RESPONSIVE
   --------------------------------------------------------- */
@media (max-width: 1100px) {
  .main-nav,
  .mega-menu {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-art {
    max-width: 380px;
    margin: 0 auto;
  }
  .feature-split {
    grid-template-columns: 1fr;
  }
  .art-panel {
    max-width: 360px;
    margin: 0 auto;
    aspect-ratio: 1/1;
  }
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-5 {
    grid-template-columns: repeat(3, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 34px;
  }
  .process-track {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 34px;
  }
  .process-track::before {
    display: none;
  }
  .tech-groups {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .main-nav {
    display: flex;
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 10px 20px 30px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    z-index: 890;
  }
  .main-nav.is-open {
    transform: translateX(0);
  }
  .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
  }
  .nav-list > li {
    width: 100%;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-link {
    padding: 16px 6px;
    justify-content: space-between;
    width: 100%;
  }
  .mega-menu {
    display: none;
    position: static;
    width: 100%;
    max-width: none;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 4px 6px 16px 18px;
    grid-template-columns: 1fr 1fr;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .mega-menu.mega-narrow,
  .mega-menu.simple-list {
    grid-template-columns: 1fr;
    width: 100%;
  }
  li.has-dropdown.is-open > .mega-menu {
    display: grid;
  }
  .header-actions .btn-primary {
    padding: 11px 18px;
    font-size: 0.88rem;
  }
}

@media (max-width: 780px) {
  section {
    padding: 64px 0;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: repeat(2, 1fr);
  }
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .feature-list {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-track {
    grid-template-columns: 1fr 1fr;
  }
  .tech-groups {
    grid-template-columns: 1fr;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .cta-band {
    padding: 50px 28px;
  }
  .header-actions span.hide-mobile {
    display: none;
  }

  /* Portfolio case study modal */
  .project-modal {
    padding: 0;
    align-items: stretch;
  }
  .project-modal-dialog {
    max-width: none;
    width: 100%;
    min-height: 100%;
    border-radius: 0;
  }
  .project-modal.is-open .project-modal-dialog {
    transform: translateY(0) scale(1);
  }
  .pm-hero {
    aspect-ratio: 16/10;
  }
  .pm-body {
    padding: 26px 22px 32px;
    max-height: none;
  }
  .pm-body h2 {
    font-size: 1.4rem;
  }
  .pm-features {
    grid-template-columns: 1fr;
  }
  .project-modal-close {
    top: 14px;
    right: 14px;
  }
}

@media (max-width: 520px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-5 {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-meta {
    gap: 20px;
  }
  .container {
    padding: 0 20px;
  }
  .hero {
    padding: 70px 0 56px;
  }
}
