/* ============================================================
   AI-Solutions — Main Stylesheet
   Font: Poppins (Google Fonts)
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg-main:     rgb(247, 251, 255);
  --navbar-bg:   rgb(255, 255, 255);
  --blue:        rgb(10, 135, 206);
  --blue-dark:   #1570b8;
  --blue-footer: rgb(10, 135, 206);
  --navy:        #2d3e50;
  --body-text:   #4a5568;
  --light-text:  #718096;
  --card-bg:     #ffffff;
  --border:      rgba(0, 0, 0, 0.07);
  --shadow-xs:   0 1px 6px rgba(0, 0, 0, 0.05);
  --shadow-sm:   0 2px 12px rgba(0, 0, 0, 0.07);
  --shadow-md:   0 6px 28px rgba(0, 0, 0, 0.10);
  --shadow-lg:   0 12px 48px rgba(0, 0, 0, 0.13);
  --radius:      18px;
  --radius-sm:   10px;
  --ease:        all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Text Selection ---------- */
::selection        { background: rgba(10, 135, 206, 0.18); color: #2d3e50; }
::-moz-selection   { background: rgba(10, 135, 206, 0.18); color: #2d3e50; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; overflow-x: hidden; }
body  {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-main);
  color: var(--navy);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
}
img   { max-width: 100%; height: auto; display: block; }
a     { text-decoration: none; color: inherit; }
ul    { list-style: none; }
button, input, select, textarea { font-family: inherit; }

/* ---------- Typography helpers ---------- */
h1 { font-size: clamp(2.6rem, 5.5vw, 4.8rem); font-weight: 800; line-height: 1.08; }
h2 { font-size: clamp(2rem,   4vw,   3.4rem); font-weight: 800; line-height: 1.15; }
h3 { font-size: clamp(1.15rem,2.2vw, 1.6rem); font-weight: 700; line-height: 1.3; }
h4 { font-size: 1rem; font-weight: 600; }

.accent  { color: var(--blue); }
.t-navy  { color: var(--navy); }
.t-body  { color: var(--body-text); }

/* ---------- Layout helpers ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
.section        { padding: 90px 0; position: relative; }
.section-sm     { padding: 60px 0; }
.text-center    { text-align: center; }

/* ---------- Wave SVG background decorator ---------- */
.wave-bg { position: relative; overflow: hidden; }
.wave-svg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  width: 100%;
  height: 100%;
}
.wave-svg svg { width: 100%; height: 100%; }
.wave-bg > .container,
.wave-bg > .hero-inner { position: relative; z-index: 1; }

/* ---------- Section tag pill ---------- */
.section-tag {
  display: inline-block;
  padding: 7px 20px;
  border: 1.5px solid rgba(10, 135, 206, 0.35);
  border-radius: 50px;
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 20px;
  background: rgba(10, 135, 206, 0.04);
}

/* ---------- Section header ---------- */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header h2 { margin-bottom: 14px; }
.section-header p  {
  max-width: 600px;
  margin: 0 auto;
  color: var(--body-text);
  font-size: 1.02rem;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 1280px;
  background: var(--navbar-bg);
  border-radius: 50px;
  padding: 10px 18px 10px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2000;
  box-shadow: var(--shadow-xs);
  transition: var(--ease);
}
.navbar.scrolled {
  top: 8px;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.13);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
  white-space: nowrap;
  flex-shrink: 0;
}
.navbar-logo img { height: 38px; width: auto; }
.navbar-logo .logo-ai    { color: var(--blue); font-weight: 800; }
.navbar-logo .logo-dash  { color: #64b5f6; font-weight: 400; }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.navbar-nav a {
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  transition: var(--ease);
  white-space: nowrap;
}
.navbar-nav a:hover,
.navbar-nav a.active {
  background: rgba(10, 135, 206, 0.09);
  color: var(--blue);
}

.btn-nav-cta {
  flex-shrink: 0;
  background: var(--blue);
  color: #fff !important;
  padding: 10px 24px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  font-size: 0.875rem !important;
  transition: var(--ease) !important;
  white-space: nowrap;
}
.btn-nav-cta:hover {
  background: var(--blue-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(10, 135, 206, 0.38);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--ease);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(45,62,80,0.4);
  z-index: 1900;
  backdrop-filter: blur(2px);
}
.mobile-nav-panel {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100vh;
  background: #fff;
  z-index: 1950;
  padding: 80px 28px 40px;
  box-shadow: -4px 0 24px rgba(0,0,0,0.12);
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}
.mobile-nav-panel.open,
.mobile-nav-overlay.open { display: flex; }
.mobile-nav-panel a {
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--navy);
  transition: var(--ease);
}
.mobile-nav-panel a:hover {
  background: rgba(31,137,222,0.08);
  color: var(--blue);
}
.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
  padding: 6px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--ease);
  border: none;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 7px 22px rgba(10, 135, 206, 0.38);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-2px);
}
.btn-white {
  background: #fff;
  color: var(--blue);
}
.btn-white:hover {
  background: rgba(255,255,255,0.88);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.btn-arrow::after { content: ' →'; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 80px;
  background: var(--bg-main);
}
.hero-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  padding: 0 28px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(31,137,222,0.07);
  border: 1.5px solid rgba(31,137,222,0.22);
  color: var(--blue);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 32px;
}
.hero-badge .dot {
  width: 7px; height: 7px;
  background: var(--blue);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.4); }
}

.hero h1 { margin-bottom: 24px; color: var(--navy); line-height: 1.22; font-size: clamp(2.4rem, 4.5vw, 4.0rem); }
.hero-subtitle {
  font-size: 1.15rem;
  color: var(--body-text);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.75;
}
.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Animated hero background waves */
.hero-waves {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.hw-layer {
  position: absolute;
  inset: 0;
  width: 200%;
  height: 100%;
}
.hw-layer svg { width: 100%; height: 100%; display: block; }
.hw-l1  { animation: hwDrift 20s linear infinite; animation-delay:    0s; }
.hw-l2  { animation: hwDrift 28s linear infinite; animation-delay:  -10s; }
.hw-l3  { animation: hwDrift 35s linear infinite; animation-delay:  -18s; }
.hw-l4  { animation: hwDrift 24s linear infinite; animation-delay:   -6s; }
.hw-l5  { animation: hwDrift 32s linear infinite; animation-delay:  -24s; }
.hw-l6  { animation: hwDrift 42s linear infinite; animation-delay:  -35s; }
.hw-l7  { animation: hwDrift 15s linear infinite; animation-delay:   -5s; }
.hw-l8  { animation: hwDrift 18s linear infinite; animation-delay:  -12s; }
.hw-l9  { animation: hwDrift 22s linear infinite; animation-delay:   -8s; }
.hw-l10 { animation: hwDrift 26s linear infinite; animation-delay:  -20s; }
.hw-l11 { animation: hwDrift 16s linear infinite; animation-delay:   -7s; }
.hw-l12 { animation: hwDrift 21s linear infinite; animation-delay:  -14s; }
.hw-l13 { animation: hwDrift 30s linear infinite; animation-delay:  -11s; }
@keyframes hwDrift {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

/* Word-cycle — JS-driven blur-in / blur-out rotator */
.wc-container {
  display: inline-block;
  position: relative;
  min-width: 6.4em;
  height: 1em;
  overflow: visible;
  vertical-align: baseline;
  margin-right: 0.32em;
}
.wc-word {
  display: block;
  position: absolute;
  bottom: -0.18em;
  left: 50%;
  transform: translateX(-50%) translateY(-0.75em);
  white-space: nowrap;
  color: #0a87ce;
  font-weight: 800;
  opacity: 0;
  filter: blur(12px);
  transition: opacity 0.6s ease, filter 0.65s ease, transform 0.6s cubic-bezier(.4,0,.2,1);
  will-change: transform, filter, opacity;
}
.wc-word.is-active {
  opacity: 1;
  filter: blur(0px);
  transform: translateX(-50%) translateY(0);
}
.wc-word.is-leaving {
  opacity: 0;
  filter: blur(12px);
  transform: translateX(-50%) translateY(0.75em);
  transition: opacity 0.5s ease, filter 0.5s ease, transform 0.5s cubic-bezier(.4,0,.2,1);
}

/* ============================================================
   TRUSTED-BY LOGO STRIP
   ============================================================ */
.logo-strip {
  background: #fff;
  padding: 32px 0;
  overflow: hidden;
}
.logo-strip-label {
  text-align: center;
  margin-bottom: 20px;
}
.logo-strip-label span {
  display: inline-block;
  padding: 7px 22px;
  border: 1.5px solid rgba(31,137,222,0.2);
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--body-text);
  background: rgba(31,137,222,0.03);
}
.logos-track-wrap { overflow: hidden; position: relative; margin-bottom: 10px; }
.logos-track-wrap:last-child { margin-bottom: 0; }
.logos-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
}
/* Row 1 — right to left */
.logos-track.logos-ltr {
  animation: marquee-rtl 30s linear infinite;
}
/* Row 2 — left to right (reverse) */
.logos-track.logos-rtl {
  animation: marquee-ltr 30s linear infinite;
}
.logos-track:hover { animation-play-state: paused; }

/* Logo image cards */
.logo-img-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 80px;
  overflow: hidden;
  background: #fff;
  padding: 0 12px;
  border-radius: 10px;
  transition: transform .2s ease;
}
.logo-img-item:hover {
  transform: translateY(-2px);
}
.logo-img-item img {
  height: 44px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
  user-select: none;
  pointer-events: none;
}

@keyframes marquee-rtl {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marquee-ltr {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ============================================================
   FEATURES ROW
   ============================================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px 36px;
}
.feature-item { padding: 0; }
.feature-icon {
  width: 48px; height: 48px;
  color: var(--blue);
  margin-bottom: 16px;
  font-size: 1.5rem;
}
.feature-item h3 {
  font-size: 1.13rem;
  color: var(--blue);
  margin-bottom: 11px;
  font-weight: 700;
}
.feature-item p {
  color: var(--body-text);
  font-size: 0.94rem;
  line-height: 1.78;
}

/* ============================================================
   ONE SYSTEM SECTION
   ============================================================ */
.one-system {
  text-align: center;
  background: #fff;
}
.one-system h2 { margin-bottom: 16px; }
.one-system .sub {
  max-width: 680px;
  margin: 0 auto 56px;
  color: var(--body-text);
  font-size: 1.02rem;
  line-height: 1.75;
}
.system-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.system-card {
  background: var(--bg-main);
  border-radius: var(--radius);
  padding: 40px 36px;
  text-align: center;
  border: 1px solid rgba(31,137,222,0.1);
  transition: var(--ease);
}
.system-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.system-card h3 { color: var(--blue); margin-bottom: 12px; }
.system-card p  { color: var(--body-text); font-size: 0.9rem; line-height: 1.75; }

/* ============================================================
   SOLUTIONS PAGE GRID
   ============================================================ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.solution-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(31,137,222,0.08);
  transition: var(--ease);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.solution-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(31,137,222,0.22); }
.solution-card-icon {
  width: 52px; height: 52px;
  background: rgba(31,137,222,0.09);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 1.4rem;
}
.solution-card h3 { color: var(--blue); font-size: 1.2rem; }
.solution-card p  { color: var(--body-text); font-size: 0.9rem; line-height: 1.75; flex: 1; }
.solution-card .learn-more {
  color: var(--blue);
  font-weight: 600;
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--ease);
  align-self: flex-start;
}
.solution-card .learn-more:hover { gap: 12px; }

/* ============================================================
   PORTFOLIO CARDS
   ============================================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portfolio-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--ease);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.portfolio-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.portfolio-card-icon {
  width: 54px; height: 54px;
  background: rgba(31,137,222,0.09);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 1.4rem;
  flex-shrink: 0;
}
.portfolio-card h3 { color: var(--blue); font-size: 1.05rem; }
.portfolio-card .proj-type {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--light-text);
  font-weight: 600;
}
.portfolio-card p { color: var(--body-text); font-size: 0.85rem; line-height: 1.7; }
.portfolio-card ul { display: flex; flex-direction: column; gap: 6px; }
.portfolio-card ul li {
  font-size: 0.84rem;
  color: var(--body-text);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
  line-height: 1.5;
}
.portfolio-card ul li:last-child { border-bottom: none; }
.portfolio-card ul li .check {
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section { background: #fff; }

.testimonial-card {
  background: var(--bg-main);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 1px solid var(--border);
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: var(--ease);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }

.quote-mark {
  font-size: 4rem;
  line-height: 0.8;
  color: rgba(31,137,222,0.14);
  font-family: Georgia, serif;
  font-weight: 700;
  user-select: none;
}
.testimonial-text {
  color: var(--body-text);
  font-size: 0.935rem;
  line-height: 1.8;
  font-style: italic;
  flex: 1;
}
.testimonial-footer { margin-top: auto; }
.t-author-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}
.t-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.t-name { font-size: 0.92rem; font-weight: 600; color: var(--navy); }
.t-company { font-size: 0.78rem; color: var(--light-text); margin-top: 1px; }

/* Stars */
.stars-wrap { display: flex; align-items: center; gap: 4px; }
.star { font-size: 0.88rem; color: #f59e0b; }
.star-half { position: relative; display: inline-block; font-size: 0.88rem; color: #e2e8f0; }
.star-half::before { content: '★'; position: absolute; left: 0; top: 0; color: #f59e0b; width: 50%; overflow: hidden; display: block; }
.rating-num { font-size: 0.78rem; font-weight: 700; color: var(--light-text); margin-left: 4px; }

/* Swiper overrides */
.swiper-outer { padding-bottom: 52px !important; }
.swiper-pagination-bullet { background: rgba(31,137,222,0.3) !important; }
.swiper-pagination-bullet-active { background: var(--blue) !important; }

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.blog-img {
  height: 200px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.blog-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.blog-card:hover .blog-img img { transform: scale(1.07); }
.blog-card-img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform .45s ease;
}
.blog-card:hover .blog-card-img { transform: scale(1.06); }
/* keep placeholder style for API-loaded cards that have no image */
.blog-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: var(--blue);
  background: linear-gradient(135deg, #e3f2fd 0%, #90caf9 100%);
}
.blog-img-placeholder.bip-healthcare { background: linear-gradient(135deg, #e8f8f5, #a5d6c8); color: #00796b; }
.blog-img-placeholder.bip-retail     { background: linear-gradient(135deg, #f3e8fd, #ce93d8); color: #7b1fa2; }
.blog-img-placeholder.bip-edtech     { background: linear-gradient(135deg, #fff8e1, #ffcc80); color: #e65100; }
.blog-img-placeholder.bip-logistics  { background: linear-gradient(135deg, #e8f5e9, #a5d6a7); color: #2e7d32; }
.blog-img-placeholder.bip-security   { background: linear-gradient(135deg, #e8eaf6, #9fa8da); color: #1a237e; }
.blog-img-placeholder.bip-platform   { background: linear-gradient(135deg, #e3f2fd, #90caf9); color: #0d47a1; }
.blog-body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.blog-cat {
  display: inline-block;
  background: rgba(31,137,222,0.09);
  color: var(--blue);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  align-self: flex-start;
}
.blog-date { font-size: 0.78rem; color: var(--light-text); }
.blog-card h3 { font-size: 1rem; color: var(--navy); line-height: 1.45; }
.blog-card p  { font-size: 0.862rem; color: var(--body-text); line-height: 1.68; flex: 1; }
.read-more {
  color: var(--blue);
  font-size: 0.862rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--ease);
  align-self: flex-start;
  margin-top: 4px;
}
.read-more:hover { gap: 12px; }

/* ============================================================
   GALLERY & EVENTS
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery-item {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  position: relative;
  cursor: pointer;
  background: linear-gradient(135deg, rgba(31,137,222,0.1), rgba(10,135,206,0.2));
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.45s ease; }
.gallery-item:hover img { transform: scale(1.09); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(31,137,222,0.68);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2rem;
  opacity: 0; transition: var(--ease);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; color: var(--blue); opacity: 0.4;
  font-size: 0.8rem; font-weight: 600;
}
.gallery-placeholder i { font-size: 2rem; }

.events-list { display: flex; flex-direction: column; gap: 14px; }
.event-item {
  background: var(--card-bg);
  border-radius: 14px;
  padding: 18px 20px;
  box-shadow: var(--shadow-xs);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border-left: 4px solid var(--blue);
  transition: var(--ease);
}
.event-item:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.event-date-box {
  background: var(--blue);
  color: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  text-align: center;
  flex-shrink: 0;
  min-width: 54px;
}
.event-date-box .day   { font-size: 1.3rem; font-weight: 800; line-height: 1; }
.event-date-box .month { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 3px; }
.event-info h4 { font-size: 0.95rem; color: var(--navy); margin-bottom: 4px; }
.event-info p  { font-size: 0.82rem; color: var(--light-text); }
.event-tag {
  display: inline-block;
  background: rgba(31,137,222,0.09);
  color: var(--blue);
  padding: 3px 10px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 500;
  margin-top: 6px;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-form-wrap {
  max-width: 700px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 52px 48px;
  box-shadow: var(--shadow-md);
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 7px;
}
.form-group label .req { color: #e53e3e; margin-left: 3px; }
.form-control {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid rgba(0,0,0,0.10);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--navy);
  background: #fafcff;
  transition: var(--ease);
  outline: none;
  -webkit-appearance: none;
}
.form-control:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(31,137,222,0.12);
}
.form-control.is-error { border-color: #e53e3e; }
.field-error {
  color: #e53e3e;
  font-size: 0.775rem;
  margin-top: 5px;
  display: none;
}
.field-error.show { display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
textarea.form-control { min-height: 140px; resize: vertical; }
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%232d3e50' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
  cursor: pointer;
}
.success-banner {
  display: none;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 12px;
  padding: 18px 22px;
  text-align: center;
  color: #166534;
  margin-top: 20px;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.success-banner.show { display: flex; }
.success-banner i { font-size: 1.4rem; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: var(--bg-main);
}
.page-hero h1 { margin-bottom: 14px; }
.page-hero p {
  max-width: 560px;
  margin: 0 auto;
  color: var(--body-text);
  font-size: 1.08rem;
  line-height: 1.75;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-band {
  background: #fff;
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--navy); margin-bottom: 14px; font-size: clamp(1.8rem,3.5vw,2.8rem); }
.cta-band p  { color: var(--body-text); max-width: 520px; margin: 0 auto 32px; }

/* ============================================================
   FEATURES HERO — 2-column text + image
   ============================================================ */
.features-hero-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}
.features-hero-text .section-tag { margin-bottom: 18px; display: inline-block; }
.features-hero-text h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
  color: var(--navy);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 18px;
}
.features-hero-text p {
  font-size: .98rem;
  color: var(--body-text);
  line-height: 1.8;
  max-width: 480px;
}
.features-hero-img {
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(145deg, #0f2a45 0%, #1a4a7a 50%, #0a87ce 100%);
  min-height: 380px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(31,137,222,.28);
}
.features-hero-img::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400' viewBox='0 0 400 400'%3E%3Cg opacity='.12' fill='none' stroke='%2390c8f0' stroke-width='1'%3E%3Cline x1='0' y1='50' x2='400' y2='50'/%3E%3Cline x1='0' y1='100' x2='400' y2='100'/%3E%3Cline x1='0' y1='150' x2='400' y2='150'/%3E%3Cline x1='0' y1='200' x2='400' y2='200'/%3E%3Cline x1='0' y1='250' x2='400' y2='250'/%3E%3Cline x1='0' y1='300' x2='400' y2='300'/%3E%3Cline x1='0' y1='350' x2='400' y2='350'/%3E%3Cline x1='50' y1='0' x2='50' y2='400'/%3E%3Cline x1='100' y1='0' x2='100' y2='400'/%3E%3Cline x1='150' y1='0' x2='150' y2='400'/%3E%3Cline x1='200' y1='0' x2='200' y2='400'/%3E%3Cline x1='250' y1='0' x2='250' y2='400'/%3E%3Cline x1='300' y1='0' x2='300' y2='400'/%3E%3Cline x1='350' y1='0' x2='350' y2='400'/%3E%3C/g%3E%3C/svg%3E") center/cover;
}
.features-hero-img .fi-chip {
  position: relative; z-index: 1;
  text-align: center;
}
.fi-chip-core {
  width: 100px; height: 100px;
  background: linear-gradient(135deg, #0a87ce, #0ea5e9);
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0;
  box-shadow: 0 0 40px rgba(31,137,222,.6), 0 0 80px rgba(31,137,222,.3);
  font-size: 2.4rem; color: #fff; font-weight: 800;
  position: relative;
}
.fi-chip-core::before {
  content: '';
  position: absolute; inset: -12px;
  border: 2px solid rgba(31,137,222,.4);
  border-radius: 24px;
}
.fi-nodes {
  position: absolute; inset: 0;
  pointer-events: none;
}
.fi-node {
  position: absolute;
  width: 42px; height: 42px;
  background: linear-gradient(135deg, rgba(31,137,222,.9), rgba(14,165,233,.9));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; color: #fff;
  box-shadow: 0 4px 16px rgba(0,0,0,.3);
}
.fi-node-tl { top: 20%; left: 15%; }
.fi-node-tr { top: 20%; right: 15%; }
.fi-node-bl { bottom: 20%; left: 15%; }
.fi-node-br { bottom: 20%; right: 15%; }
.fi-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(31,137,222,.5), transparent);
  height: 1px;
}

@media(max-width:900px) {
  .features-hero-row { grid-template-columns: 1fr; gap: 36px; }
  .features-hero-img { min-height: 240px; }
}

/* Remove gap between One System and About sections */
.home-about-section { padding-top: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--blue-footer);
  color: #fff;
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .f-logo {
  font-size: 1.28rem;
  font-weight: 800;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
}
.footer-brand .f-logo img { display: none; }
.footer-brand .f-logo .f-logo-ai  { color: #90cdf4; font-weight: 800; }
.footer-brand .f-logo .f-logo-sol { color: #bfdbfe; font-weight: 400; }
.footer-brand p { font-size: 0.875rem; line-height: 1.75; opacity: 0.82; max-width: 270px; margin-bottom: 22px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1.5px solid rgba(255,255,255,0.28);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.82rem;
  transition: var(--ease);
}
.footer-social a:hover { background: rgba(255,255,255,0.15); border-color: rgba(255,255,255,0.6); }

.footer-col h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 18px; color: #fff; }
.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { font-size: 0.858rem; color: rgba(255,255,255,0.78); transition: var(--ease); }
.footer-col ul li a:hover { color: #fff; }

.f-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.f-contact-item i { color: rgba(255,255,255,0.68); margin-top: 2px; flex-shrink: 0; font-size: 0.9rem; }
.f-contact-item span { font-size: 0.858rem; color: rgba(255,255,255,0.82); line-height: 1.5; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.16);
  padding: 22px 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.835rem; color: rgba(255,255,255,0.7); }

/* ============================================================
   ADMIN PAGES (light reuse from main styles)
   ============================================================ */
/* Admin overrides live in admin/admin.css */

/* ============================================================
   UTILITIES
   ============================================================ */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.mt-8  { margin-top:  8px; }  .mt-16 { margin-top:  16px; }
.mt-24 { margin-top: 24px; }  .mt-32 { margin-top:  32px; }
.mb-8  { margin-bottom:  8px; } .mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; } .mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .features-grid   { grid-template-columns: repeat(2, 1fr); gap: 36px 28px; }
  .solutions-grid  { grid-template-columns: 1fr; }
  .system-cards    { grid-template-columns: 1fr; }
  .portfolio-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer-grid     { grid-template-columns: repeat(2, 1fr); gap: 36px; }
}

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

@media (max-width: 768px) {
  /* Navbar */
  .navbar { width: calc(100% - 24px); padding: 10px 14px 10px 20px; border-radius: 22px; }
  .navbar-nav { display: none !important; }
  .nav-toggle { display: flex !important; }
  .btn-nav-cta { display: none; }

  .hero { padding: 130px 0 60px; }
  h1 { font-size: 2.6rem; }
  h2 { font-size: 2rem; }

  .features-grid        { grid-template-columns: 1fr !important; gap: 28px; }
  .features-hero-row    { grid-template-columns: 1fr !important; gap: 36px; }
  .service-hero-grid    { grid-template-columns: 1fr !important; gap: 36px !important; }
  .cf-two-col           { grid-template-columns: 1fr !important; gap: 36px !important; }
  .cf-two-col.reverse   { direction: ltr !important; }
  .acf-cards            { grid-template-columns: 1fr !important; }
  .solutions-grid       { grid-template-columns: repeat(2,1fr) !important; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .blog-grid      { grid-template-columns: 1fr; }
  .gallery-grid   { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom  { flex-direction: column; align-items: center; text-align: center; }

  .contact-form-wrap { padding: 32px 22px; }
  .form-row { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .page-hero { padding: 130px 0 60px; }
}

@media (max-width: 540px) {
  .gallery-grid   { grid-template-columns: 1fr; }
  .system-cards   { grid-template-columns: 1fr; }
  .solutions-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.1rem; }
}

/* Logo strip — compact on mobile */
@media (max-width: 768px) {
  .logo-strip { padding: 20px 0; }
  .logo-img-item { height: 64px !important; padding: 0 8px; overflow: hidden; }
  .logo-img-item img { height: 34px !important; width: auto !important; max-height: 34px !important; }
  .logos-track { gap: 28px; }
}

/* Hero h1 — prevent "under real pressure." wrapping on small phones */
@media (max-width: 420px) {
  .hero h1 { font-size: 1.75rem; }
}

/* ============================================================
   NAVBAR — 7-item layout (tighter padding)
   ============================================================ */
.navbar-nav a { padding: 7px 11px; font-size: 0.82rem; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-hero-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 480px;
  background: linear-gradient(135deg, rgba(31,137,222,0.14) 0%, rgba(10,135,206,0.26) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); opacity: 0.4; font-size: 6rem;
}

/* Values / pillars */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}
.value-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--blue);
  transition: var(--ease);
  text-align: center;
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.value-icon {
  width: 60px; height: 60px;
  background: rgba(31,137,222,.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 1.5rem;
  margin: 0 auto 16px;
}
.value-card h3 { color: var(--navy); margin-bottom: 10px; font-size: 1.05rem; }
.value-card p  { color: var(--body-text); font-size: .875rem; line-height: 1.75; }

/* ── Team cards — full-bleed overlay design ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  cursor: default;
  transition: transform .32s cubic-bezier(.4,0,.2,1), box-shadow .32s ease;
}
.team-card:hover {
  transform: translateY(-10px) scale(1.015);
  box-shadow: 0 24px 64px rgba(0,0,0,.22);
}
/* Photo fills the whole card */
.team-photo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
  font-weight: 800;
  color: rgba(255,255,255,.92);
  letter-spacing: .04em;
  overflow: hidden;
}
.team-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
/* Gradient overlay — always on, deepens toward bottom */
.team-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 30%,
    rgba(8, 18, 38, .42) 60%,
    rgba(8, 18, 38, .90) 100%
  );
  z-index: 1;
  pointer-events: none;
  transition: opacity .32s ease;
}
.team-card:hover::before {
  opacity: .95;
}
/* Info panel — pinned to bottom, above overlay */
.team-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  padding: 0 22px 22px;
  text-align: left;
}
.team-info h4 {
  font-size: 1.08rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 7px;
  line-height: 1.25;
  text-shadow: 0 1px 6px rgba(0,0,0,.35);
}
.team-role {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  background: rgba(10, 135, 206, .72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 20px;
  font-size: .66rem;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
}
/* Bio — hidden, slides up on hover */
.team-bio {
  font-size: .82rem;
  color: rgba(255,255,255,.82);
  line-height: 1.68;
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .38s ease, opacity .3s ease, margin-top .3s ease;
}
.team-card:hover .team-bio {
  max-height: 120px;
  opacity: 1;
  margin-top: 10px;
}
/* Social links — hidden, appear on hover */
.team-socials {
  display: flex;
  gap: 9px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  margin-top: 0;
  transition: max-height .38s ease, opacity .3s ease .06s, margin-top .3s ease;
}
.team-card:hover .team-socials {
  max-height: 50px;
  opacity: 1;
  margin-top: 12px;
}
.team-socials a {
  width: 34px; height: 34px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem;
  color: #fff;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .22s ease, transform .22s ease, border-color .22s ease;
}
.team-socials a:hover {
  background: rgb(10,135,206);
  border-color: transparent;
  transform: scale(1.1);
}
.team-socials a.tsc-gh:hover {
  background: #1a1a1a;
  border-color: transparent;
}

/* Milestone timeline (company history) */
.milestone-list { position: relative; padding-left: 28px; }
.milestone-list::before {
  content: '';
  position: absolute; left: 8px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), rgba(31,137,222,.1));
}
.milestone-item {
  position: relative;
  margin-bottom: 36px;
  padding-left: 28px;
}
.milestone-item::before {
  content: '';
  position: absolute; left: -24px; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--bg-main);
  box-shadow: 0 0 0 3px rgba(31,137,222,.25);
}
.milestone-year {
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  color: var(--blue); margin-bottom: 4px;
}
.milestone-item h4 { font-size: .95rem; color: var(--navy); margin-bottom: 4px; }
.milestone-item p  { font-size: .85rem; color: var(--body-text); line-height: 1.65; }

/* ============================================================
   TESTIMONIALS PAGE
   ============================================================ */
.rating-summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 40px 44px;
  box-shadow: var(--shadow-sm);
  max-width: 700px;
  margin: 0 auto 56px;
}
.rating-big  { text-align: center; }
.rating-num-big {
  font-size: 5rem; font-weight: 800;
  color: var(--navy); line-height: 1;
  margin-bottom: 6px;
}
.rating-label { font-size: .82rem; color: var(--light-text); }
.rating-bars  { display: flex; flex-direction: column; gap: 8px; }
.rating-bar-row { display: flex; align-items: center; gap: 10px; }
.rating-bar-row span { font-size: .78rem; color: var(--body-text); min-width: 36px; }
.bar-track {
  flex: 1; height: 8px;
  background: rgba(0,0,0,.06);
  border-radius: 50px; overflow: hidden;
}
.bar-fill {
  height: 100%; border-radius: 50px;
  background: #f59e0b;
  transition: width 1s ease;
}
.bar-count { font-size: .75rem; color: var(--light-text); min-width: 24px; text-align: right; }

/* ── Filter tabs — icon pill bar ── */
.filter-tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
  justify-content: center;
  background: #fff;
  border-radius: 16px;
  padding: 8px;
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  max-width: 900px;
  margin: 0 auto 48px;
}
.filter-tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px;
  border-radius: 10px;
  border: none;
  background: transparent;
  color: var(--body-text);
  font-family: 'Poppins', sans-serif;
  font-size: .8rem; font-weight: 500;
  cursor: pointer;
  transition: background .22s ease, color .22s ease, transform .18s ease;
  white-space: nowrap;
}
.filter-tab i { font-size: .8rem; opacity: .65; transition: opacity .2s ease; }
.filter-tab:hover { background: rgba(10,135,206,.07); color: var(--blue); }
.filter-tab:hover i { opacity: 1; }
.filter-tab.active { color: #fff; transform: none; }
.filter-tab.active i { opacity: 1; }
.filter-tab[data-filter="all"].active        { background: var(--navy); }
.filter-tab[data-filter="healthsync"].active { background: #10b981; }
.filter-tab[data-filter="retailmind"].active  { background: #8b5cf6; }
.filter-tab[data-filter="edunova"].active     { background: #d97706; }
.filter-tab[data-filter="fleetpilot"].active  { background: #0a87ce; }
.filter-tab[data-filter="securevision"].active { background: #6366f1; }

/* ── Review cards grid ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Product accent colours + bg tints */
.review-card[data-product="healthsync"]   { --rp: #10b981; --rp-bg: rgba(16,185,129,.09); }
.review-card[data-product="retailmind"]   { --rp: #8b5cf6; --rp-bg: rgba(139,92,246,.09); }
.review-card[data-product="edunova"]      { --rp: #d97706; --rp-bg: rgba(217,119,6,.09); }
.review-card[data-product="fleetpilot"]   { --rp: #0a87ce; --rp-bg: rgba(10,135,206,.09); }
.review-card[data-product="securevision"] { --rp: #6366f1; --rp-bg: rgba(99,102,241,.09); }

.review-card {
  --rp: var(--blue);
  --rp-bg: rgba(10,135,206,.09);
  background: linear-gradient(160deg, #f8fafc 0px, #fff 80px);
  border-radius: 20px;
  padding: 28px 24px 22px;
  box-shadow: 0 4px 24px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
  border: 1px solid rgba(0,0,0,.05);
  border-top: 5px solid var(--rp);
  transition: transform .3s cubic-bezier(.25,.46,.45,.94), box-shadow .3s ease;
  display: flex; flex-direction: column; gap: 16px;
  position: relative; overflow: hidden;
}
.review-card::before {
  content: '\201C';
  position: absolute;
  top: -4px; right: 14px;
  font-size: 9rem;
  font-weight: 900;
  color: var(--rp);
  opacity: .055;
  line-height: 1;
  pointer-events: none;
  font-family: Georgia, serif;
}
.review-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--rp), transparent);
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.review-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 52px rgba(0,0,0,.13), 0 4px 12px rgba(0,0,0,.06);
}
.review-card:hover::after { opacity: 1; }
.review-card.hidden { display: none; }
.review-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.review-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: .9rem;
  flex-shrink: 0; overflow: hidden;
  box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--rp);
}
.review-avatar img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  border-radius: 50%; display: block;
}
.review-meta h4   { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; line-height: 1.3; }
.review-meta span { font-size: .74rem; color: var(--light-text); }
.review-product {
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(0,0,0,.09);
  box-shadow: 0 1px 6px rgba(0,0,0,.08);
  padding: 5px 9px; border-radius: 8px;
  flex-shrink: 0;
}
.review-product img { height: 26px; width: auto; display: block; object-fit: contain; }
.stars-wrap { display: flex; align-items: center; gap: 3px; }
.star { font-size: 1.05rem; color: #f59e0b; }
.star-half { position: relative; display: inline-block; font-size: 1.05rem; color: #e2e8f0; }
.star-half::before { content: '★'; position: absolute; left: 0; top: 0; color: #f59e0b; width: 50%; overflow: hidden; display: block; }
.rating-num {
  font-size: .78rem; font-weight: 700; color: var(--navy);
  margin-left: 6px;
  background: rgba(245,158,11,.12);
  padding: 2px 9px; border-radius: 20px;
}
.review-text {
  font-size: .88rem; color: var(--body-text);
  line-height: 1.82; font-style: italic; flex: 1;
  position: relative; z-index: 1;
}
.review-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,.06);
}
.review-date { font-size: .73rem; color: var(--light-text); }

/* ============================================================
   EVENTS TIMELINE PAGE
   ============================================================ */
.timeline-tabs {
  display: flex; gap: 0;
  justify-content: center;
  background: #fff;
  border-radius: 50px;
  padding: 4px;
  display: inline-flex;
  box-shadow: var(--shadow-xs);
  margin-bottom: 56px;
}
.timeline-tab {
  padding: 10px 28px;
  border-radius: 50px;
  border: none;
  background: transparent;
  font-family: 'Poppins',sans-serif;
  font-size: .875rem; font-weight: 600;
  cursor: pointer; transition: var(--ease);
  color: var(--light-text);
}
.timeline-tab.active { background: var(--blue); color: #fff; }

/* Vertical alternating timeline */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute; left: 50%; top: 0; bottom: 0;
  width: 2px; transform: translateX(-50%);
  background: linear-gradient(to bottom, var(--blue), rgba(31,137,222,.1));
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  margin-bottom: 48px;
  align-items: start;
}
.timeline-item:nth-child(even) .tl-content { order: 3; }
.timeline-item:nth-child(even) .tl-spacer  { order: 2; }
.timeline-item:nth-child(even) .tl-empty   { order: 1; }

/* Center dot + date */
.tl-center {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  padding-top: 4px;
}
.tl-dot {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid var(--bg-main);
  box-shadow: 0 0 0 4px rgba(31,137,222,.22);
  flex-shrink: 0;
  z-index: 1;
}
.tl-dot.past { background: #a0aec0; box-shadow: 0 0 0 4px rgba(160,174,192,.18); }
.tl-dot.upcoming { background: var(--blue); animation: tlPulse 2s ease-in-out infinite; }
@keyframes tlPulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(31,137,222,.22); }
  50%      { box-shadow: 0 0 0 8px rgba(31,137,222,.1); }
}

.tl-date-chip {
  background: var(--blue);
  color: #fff;
  font-size: .68rem; font-weight: 700;
  padding: 4px 10px; border-radius: 50px;
  text-align: center; white-space: nowrap;
}
.tl-date-chip.past { background: #a0aec0; }

/* Content card */
.tl-content {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--ease);
}
.tl-content:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.tl-type-tag {
  display: inline-block;
  font-size: .7rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .7px;
  padding: 3px 10px; border-radius: 50px;
  margin-bottom: 8px;
}
.tag-conference { background: rgba(31,137,222,.1); color: var(--blue); }
.tag-workshop   { background: rgba(72,187,120,.12); color: #276749; }
.tag-webinar    { background: rgba(159,122,234,.12); color: #553c9a; }
.tag-showcase   { background: rgba(237,137,54,.12);  color: #c05621; }
.tag-festival   { background: rgba(236,72,153,.1);   color: #97266d; }
.tag-launch     { background: rgba(14,165,233,.1);   color: #0369a1; }
.tl-content h4  { font-size: .98rem; color: var(--navy); margin-bottom: 6px; }
.tl-content p   { font-size: .84rem; color: var(--body-text); line-height: 1.7; margin-bottom: 10px; }
.tl-meta { display: flex; gap: 14px; flex-wrap: wrap; }
.tl-meta span { font-size: .78rem; color: var(--light-text); display: flex; align-items: center; gap: 5px; }
.tl-meta span i { color: var(--blue); font-size: .8rem; }

.tl-empty { } /* intentionally empty, used for grid alignment */

/* Mobile timeline */
@media(max-width:768px) {
  .timeline::before { left: 18px; }
  .timeline-item { grid-template-columns: 36px 1fr; grid-template-rows: auto; }
  .timeline-item:nth-child(even) .tl-content,
  .timeline-item:nth-child(odd)  .tl-content { order: 2; }
  .timeline-item:nth-child(even) .tl-spacer,
  .timeline-item:nth-child(odd)  .tl-center  { order: 1; }
  .tl-empty { display: none; }
  .tl-center { flex-direction: column; align-items: center; }
}

/* ============================================================
   SERVICES PAGE (combined solutions + portfolio)
   ============================================================ */
.service-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.process-steps {
  display: flex; flex-direction: column; gap: 20px;
  margin-bottom: 48px;
}
.process-step {
  display: flex; gap: 20px; align-items: flex-start;
}
.step-num {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 1rem;
  flex-shrink: 0;
}
.step-body h4 { color: var(--navy); margin-bottom: 4px; }
.step-body p  { font-size: .875rem; color: var(--body-text); line-height: 1.7; }

/* Industry tabs */
.industry-tabs {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.ind-tab {
  padding: 9px 22px;
  border-radius: 50px;
  border: 1.5px solid rgba(31,137,222,.22);
  background: transparent;
  font-family: 'Poppins',sans-serif;
  font-size: .82rem; font-weight: 600;
  cursor: pointer; transition: var(--ease);
  color: var(--body-text);
}
.ind-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.ind-tab:hover:not(.active) { border-color: var(--blue); color: var(--blue); }

/* ============================================================
   VIRTUAL ASSISTANT WIDGET
   ============================================================ */
.va-container {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 5000;
  font-family: 'Poppins', sans-serif;
}

/* Toggle button */
.va-toggle {
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--blue);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.4rem;
  box-shadow: 0 6px 24px rgba(31,137,222,.45);
  transition: var(--ease);
  position: relative;
}
.va-toggle:hover { background: var(--blue-dark); transform: scale(1.08); }
.va-toggle.open  { background: var(--navy); }
.va-badge {
  position: absolute;
  top: -4px; right: -4px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: #e53e3e;
  color: #fff;
  font-size: .65rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid #fff;
  animation: badgePop .3s ease;
}
@keyframes badgePop { from { transform: scale(0); } to { transform: scale(1); } }

/* Chat panel */
.va-panel {
  position: absolute;
  bottom: 72px; right: 0;
  width: 360px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 16px 60px rgba(0,0,0,.18);
  display: flex; flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  transition: opacity .25s ease, transform .25s cubic-bezier(.34,1.56,.64,1);
  max-height: 560px;
}
.va-panel.hidden {
  opacity: 0; transform: scale(0.85) translateY(12px);
  pointer-events: none;
}
.va-panel.visible {
  opacity: 1; transform: scale(1) translateY(0);
}

/* Header */
.va-header {
  background: linear-gradient(135deg, var(--blue) 0%, #0a87ce 100%);
  padding: 16px 18px;
  display: flex; align-items: center; gap: 12px;
  color: #fff;
  flex-shrink: 0;
}
.va-avatar-wrap {
  position: relative; flex-shrink: 0;
}
.va-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: rgba(255,255,255,.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.va-online {
  position: absolute; bottom: 1px; right: 1px;
  width: 11px; height: 11px;
  background: #48bb78;
  border-radius: 50%;
  border: 2px solid var(--blue);
}
.va-header-text { flex: 1; }
.va-header-text .va-name    { font-weight: 700; font-size: .95rem; line-height: 1.2; }
.va-header-text .va-status  { font-size: .72rem; opacity: .82; }
.va-header-actions { display: flex; gap: 4px; }
.va-header-btn {
  width: 30px; height: 30px;
  border-radius: 50%; border: none;
  background: rgba(255,255,255,.15);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; transition: var(--ease);
}
.va-header-btn:hover { background: rgba(255,255,255,.25); }

/* Messages area */
.va-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 240px;
  max-height: 280px;
  background: #f7fbff;
  scroll-behavior: smooth;
}
.va-messages::-webkit-scrollbar { width: 4px; }
.va-messages::-webkit-scrollbar-thumb { background: rgba(31,137,222,.2); border-radius: 4px; }

/* Message bubbles */
.va-msg {
  max-width: 82%;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.va-msg.bot  { align-self: flex-start; }
.va-msg.user { align-self: flex-end; }
.va-bubble {
  padding: 10px 14px;
  border-radius: 14px;
  font-size: .84rem;
  line-height: 1.55;
}
.va-msg.bot  .va-bubble { background: #fff; border: 1px solid rgba(0,0,0,.07); color: var(--navy); border-bottom-left-radius: 4px; }
.va-msg.user .va-bubble { background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.va-msg-time { font-size: .67rem; color: var(--light-text); padding: 0 4px; }
.va-msg.user .va-msg-time { align-self: flex-end; }

/* Typing indicator */
.va-typing .va-bubble {
  padding: 12px 16px;
  display: flex; align-items: center; gap: 5px;
}
.typing-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--light-text);
  animation: typingBounce 1.2s ease-in-out infinite;
}
.typing-dot:nth-child(2) { animation-delay: .2s; }
.typing-dot:nth-child(3) { animation-delay: .4s; }
@keyframes typingBounce {
  0%,60%,100% { transform: translateY(0); }
  30%          { transform: translateY(-5px); }
}

/* Quick replies */
.va-quick-replies {
  padding: 8px 12px 4px;
  display: flex; gap: 7px; flex-wrap: wrap;
  background: #f7fbff;
  border-top: 1px solid rgba(0,0,0,.05);
  flex-shrink: 0;
}
.va-chip {
  padding: 6px 13px;
  border-radius: 50px;
  border: 1.5px solid rgba(31,137,222,.25);
  background: #fff;
  color: var(--blue);
  font-size: .75rem; font-weight: 500;
  font-family: 'Poppins',sans-serif;
  cursor: pointer; transition: var(--ease);
  white-space: nowrap;
}
.va-chip:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* Input row */
.va-input-row {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  border-top: 1px solid rgba(0,0,0,.06);
  background: #fff;
  flex-shrink: 0;
}
.va-input {
  flex: 1;
  border: 1.5px solid rgba(0,0,0,.1);
  border-radius: 50px;
  padding: 9px 14px;
  font-family: 'Poppins',sans-serif;
  font-size: .84rem;
  outline: none;
  transition: var(--ease);
  background: #fafcff;
  color: var(--navy);
}
.va-input:focus { border-color: var(--blue); background: #fff; }
.va-send {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--blue);
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: .9rem;
  transition: var(--ease); flex-shrink: 0;
}
.va-send:hover { background: var(--blue-dark); transform: scale(1.08); }
.va-send:disabled { background: #a0aec0; cursor: not-allowed; transform: none; }

/* Footer note */
.va-foot {
  text-align: center;
  font-size: .68rem;
  color: var(--light-text);
  padding: 6px 12px 10px;
  background: #fff;
  flex-shrink: 0;
}
.va-foot a { color: var(--blue); }

/* Mobile VA adjustments */
@media(max-width:480px) {
  .va-container { bottom: 16px; right: 16px; }
  .va-panel { width: calc(100vw - 32px); right: 0; }
}

/* ============================================================
   SHARED RESPONSIVE — new pages
   ============================================================ */
@media(max-width:900px) {
  .values-grid  { grid-template-columns: 1fr; }
  .team-grid    { grid-template-columns: repeat(2,1fr); }
  .reviews-grid { grid-template-columns: repeat(2,1fr); }
  .service-hero-grid { grid-template-columns: 1fr; }
}
@media(max-width:640px) {
  .team-grid    { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .rating-summary { grid-template-columns: 1fr; gap: 24px; }
}
@media(max-width:768px) {
  .navbar-nav a { padding: 12px 14px; font-size: .95rem; }
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
/* Process steps */
.process-steps { display: flex; flex-direction: column; gap: 20px; }
.process-step {
  display: flex; gap: 16px; align-items: flex-start;
}
.step-num {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--blue); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .9rem;
}
.step-body h4 { font-size: .95rem; color: var(--navy); margin-bottom: 4px; }
.step-body p  { font-size: .84rem; color: var(--body-text); line-height: 1.7; }

/* Solutions 4-col grid */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.solution-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px 22px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: var(--ease);
}
.solution-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.solution-card-icon {
  width: 52px; height: 52px;
  background: rgba(31,137,222,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 1.4rem;
  margin-bottom: 16px;
}
.solution-card h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: 10px; }
.solution-card p  { font-size: .85rem; color: var(--body-text); line-height: 1.75; margin-bottom: 14px; flex: 1; }
.solution-card ul { list-style: none; padding: 0; margin: 0 0 16px; }

/* Industry tabs */
.industry-tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 36px;
}
.ind-tab {
  padding: 9px 20px;
  border: 2px solid var(--border);
  border-radius: 50px;
  background: transparent;
  color: var(--body-text);
  font-family: var(--font);
  font-size: .88rem; font-weight: 500;
  cursor: pointer;
  transition: var(--ease);
}
.ind-tab:hover { border-color: var(--blue); color: var(--blue); }
.ind-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.ind-panel { }

/* Portfolio 3-col grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.portfolio-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: var(--ease);
}
.portfolio-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.portfolio-card-icon {
  width: 52px; height: 52px;
  background: rgba(31,137,222,.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue); font-size: 1.4rem;
  margin-bottom: 12px;
}
.proj-type {
  font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .6px;
  color: var(--blue); margin-bottom: 8px;
}
.portfolio-card h3 { font-size: 1.08rem; color: var(--navy); margin-bottom: 10px; }
.portfolio-card p  { font-size: .855rem; color: var(--body-text); line-height: 1.75; margin-bottom: 14px; flex: 1; }
.portfolio-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.portfolio-card ul li { font-size: .84rem; color: var(--body-text); display: flex; gap: 8px; align-items: flex-start; }
.check { color: var(--blue); font-weight: 700; flex-shrink: 0; }

/* Services responsive */
@media(max-width:1100px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:900px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width:640px) {
  .solutions-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .industry-tabs { gap: 6px; }
}

/* ============================================================
   CLOUDFACTORY-STYLE ABOUT PAGE
   ============================================================ */

/* Large hero with centered content + wave */
.about-cf-hero {
  background: var(--bg-main);
  padding: 130px 0 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.about-cf-hero h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 22px;
}
.about-cf-hero .hero-sub {
  font-size: clamp(1.1rem, 2.5vw, 1.55rem);
  color: var(--navy);
  font-weight: 600;
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.45;
}
.about-cf-hero .hero-desc {
  font-size: .98rem;
  color: var(--body-text);
  max-width: 600px;
  margin: 0 auto 60px;
  line-height: 1.8;
}

/* 3 floating value cards */
.acf-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 80px;
}
.acf-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 30px;
  box-shadow: 0 4px 30px rgba(31,137,222,.1);
  text-align: left;
  transition: var(--ease);
  border-top: 4px solid var(--blue);
}
.acf-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(31,137,222,.18); }
.acf-card h3 { font-size: 1.1rem; color: var(--blue); font-weight: 700; margin-bottom: 14px; }
.acf-card p  { font-size: .875rem; color: var(--body-text); line-height: 1.8; margin-bottom: 18px; }
.acf-card .acf-link {
  font-size: .875rem; font-weight: 600; color: var(--blue);
  display: inline-flex; align-items: center; gap: 6px;
  transition: var(--ease);
}
.acf-card .acf-link:hover { gap: 10px; }

/* Story / growth 2-col sections */
.cf-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.cf-two-col.reverse { direction: rtl; }
.cf-two-col.reverse > * { direction: ltr; }
.cf-text-col h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy);
  margin-bottom: 22px;
  line-height: 1.3;
}
.cf-text-col h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--body-text);
  margin-bottom: 20px;
  font-style: italic;
}
.cf-text-col p {
  font-size: .95rem;
  color: var(--body-text);
  line-height: 1.85;
  margin-bottom: 16px;
}
.cf-text-col p strong { color: var(--navy); }
.cf-text-col p em { color: var(--blue); font-style: italic; }
.cf-img-col {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}
.cf-img-placeholder {
  background: linear-gradient(135deg, rgba(31,137,222,.12) 0%, rgba(10,135,206,.24) 100%);
  border-radius: 16px;
  height: 380px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  color: rgba(31,137,222,.3);
  position: relative;
  overflow: hidden;
}
.cf-img-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Ccircle cx='100' cy='100' r='80' fill='none' stroke='rgba(31,137,222,.08)' stroke-width='20'/%3E%3Ccircle cx='100' cy='100' r='40' fill='none' stroke='rgba(31,137,222,.05)' stroke-width='15'/%3E%3C/svg%3E") center/cover;
}

/* Section heading centered */
.cf-section-heading {
  text-align: center;
  margin-bottom: 20px;
}
.cf-section-heading h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 10px;
}
.cf-section-heading p {
  font-size: 1rem;
  color: var(--body-text);
  font-style: italic;
}

/* Client logos grid */
.cf-clients-wrap {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 60px;
  align-items: center;
}
.cf-clients-cta h3 {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: var(--navy);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
}
.cf-clients-cta p { font-size: .9rem; color: var(--body-text); line-height: 1.7; margin-bottom: 20px; }
.cf-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cf-logo-item {
  background: transparent;
  border-radius: 0;
  padding: 12px 16px;
  display: flex; align-items: center; justify-content: center;
  border: none;
  min-height: 72px;
  transition: var(--ease);
}
.cf-logo-item img {
  max-width: 150px;
  width: auto;
  object-fit: contain;
  display: block;
  user-select: none;
  pointer-events: none;
  mix-blend-mode: multiply;
  filter: grayscale(20%);
  transition: filter .2s ease, transform .2s ease;
}
.cf-logo-item:hover img { filter: grayscale(0%); transform: translateY(-2px); }

/* ============================================================
   CLOUDFACTORY-STYLE CONTACT FORM
   ============================================================ */
.cf-contact-hero {
  background: var(--bg-main);
  padding: 130px 0 80px;
  position: relative;
  overflow: hidden;
}
.cf-contact-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 14px;
  line-height: 1.2;
}
.cf-contact-hero h1 span { color: var(--blue); }
.cf-contact-hero p {
  font-size: 1rem; color: var(--body-text); line-height: 1.75; max-width: 480px;
}

.cf-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}
.cf-contact-info h3 {
  font-size: 1.4rem; color: var(--navy); font-weight: 700; margin-bottom: 8px;
}
.cf-contact-info p { font-size: .9rem; color: var(--body-text); line-height: 1.7; margin-bottom: 28px; }
.cf-stat-row { display: flex; flex-direction: column; gap: 18px; margin-bottom: 36px; }
.cf-stat-item { display: flex; align-items: center; gap: 14px; }
.cf-stat-num {
  font-size: 2rem; font-weight: 800; color: var(--blue); line-height: 1;
}
.cf-stat-label { font-size: .8rem; color: var(--body-text); line-height: 1.4; }

/* Premium form card */
.cf-form-card {
  background: #fff;
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: 0 8px 48px rgba(31,137,222,.1);
  border: 1px solid rgba(31,137,222,.08);
}
.cf-form-card h3 {
  font-size: 1.3rem; color: var(--navy); font-weight: 700; margin-bottom: 6px;
}
.cf-form-card > p { font-size: .875rem; color: var(--body-text); margin-bottom: 28px; }
.cf-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.cf-field { margin-bottom: 16px; }
.cf-field label {
  display: block;
  font-size: .82rem; font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.cf-field label .req { color: #e53e3e; margin-left: 2px; }
.cf-input, .cf-select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid #dde6ef;
  border-radius: 10px;
  font-family: var(--font);
  font-size: .9rem;
  color: var(--navy);
  background: var(--bg-main);
  transition: border-color .2s ease;
  box-sizing: border-box;
  outline: none;
}
.cf-input:focus, .cf-select:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(31,137,222,.1);
}
.cf-select { appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%232d3e50' d='M8 11L2 5h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 36px; }
.cf-privacy { font-size: .78rem; color: var(--light-text); margin-bottom: 20px; }
.cf-privacy a { color: var(--blue); text-decoration: underline; }
.cf-submit {
  width: 100%;
  padding: 15px;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 1rem; font-weight: 700;
  cursor: pointer;
  transition: var(--ease);
  letter-spacing: .3px;
}
.cf-submit:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(31,137,222,.35); }

/* ============================================================
   HOMEPAGE ABOUT SECTION (CloudFactory-inspired)
   ============================================================ */
.home-about-section {
  background: #fff;
  padding: 96px 0;
}
.home-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 64px;
}
.ha-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--navy);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 18px;
}
.ha-text h2 span { color: var(--blue); }
.ha-text p { font-size: .95rem; color: var(--body-text); line-height: 1.85; margin-bottom: 14px; }
.ha-visual {
  background: linear-gradient(145deg, #0c1f3e 0%, #163258 100%);
  border-radius: 24px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}
.ha-visual::before {
  content: '';
  position: absolute;
  top: -90px; right: -90px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10,135,206,.28) 0%, transparent 65%);
  pointer-events: none;
}
.ha-visual::after {
  content: '';
  position: absolute;
  bottom: -50px; left: 30px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(10,135,206,.12) 0%, transparent 65%);
  pointer-events: none;
}
.ha-stat-card {
  padding: 32px 28px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  border-right: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
  position: relative;
  z-index: 1;
  transition: background .25s ease;
}
.ha-stat-card:hover { background: rgba(255,255,255,.04); }
.ha-stat-card:nth-child(2), .ha-stat-card:nth-child(4) { border-right: none; }
.ha-stat-card:nth-child(3), .ha-stat-card:nth-child(4) { border-bottom: none; }
.ha-stat-icon {
  width: 40px; height: 40px;
  background: rgba(10,135,206,.18);
  border: 1px solid rgba(10,135,206,.35);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: rgb(10,135,206); font-size: 1.05rem; flex-shrink: 0;
}
.ha-stat-val { font-size: 1.55rem; font-weight: 800; color: #fff; line-height: 1.1; }
.ha-stat-lbl { font-size: .74rem; color: rgba(255,255,255,.48); margin-top: 4px; line-height: 1.45; }
@media(max-width:480px) {
  .ha-stat-card { padding: 22px 18px; gap: 10px; }
  .ha-stat-val { font-size: 1.25rem; }
}

/* 3 about cards */
.ha-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.ha-card {
  background: var(--bg-main);
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  transition: var(--ease);
}
.ha-card:hover { background: #fff; box-shadow: 0 8px 32px rgba(31,137,222,.12); transform: translateY(-4px); }
.ha-card h3 { font-size: 1.05rem; color: var(--blue); font-weight: 700; margin-bottom: 12px; }
.ha-card p  { font-size: .875rem; color: var(--body-text); line-height: 1.8; margin-bottom: 14px; }
.ha-card a  { font-size: .875rem; font-weight: 600; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; transition: var(--ease); }
.ha-card a:hover { gap: 10px; }

/* Responsive */
@media(max-width:900px) {
  .acf-cards { grid-template-columns: 1fr; }
  .cf-two-col { grid-template-columns: 1fr; gap: 36px; }
  .cf-two-col.reverse { direction: ltr; }
  .cf-clients-wrap { grid-template-columns: 1fr; }
  .cf-logo-grid { grid-template-columns: repeat(3, 1fr); }
  .cf-contact-grid { grid-template-columns: 1fr; }
  .home-about-grid { grid-template-columns: 1fr; gap: 36px; }
  .ha-cards { grid-template-columns: 1fr; }
}
@media(max-width:640px) {
  .cf-form-row { grid-template-columns: 1fr; }
  .cf-logo-grid { grid-template-columns: repeat(2, 1fr); }
  .cf-form-card { padding: 28px 20px; }
  .acf-cards { padding: 0 16px 60px; }
}

/* ============================================================
   CLOUDFACTORY TESTIMONIALS — image + quote slide
   ============================================================ */
.cf-testimonials-swiper { overflow: hidden; }

.cf-testi-slide {
  display: grid;
  grid-template-columns: 500px 1fr;
  min-height: 340px;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  background: transparent;
  gap: 32px;
  align-items: center;
}

.cf-testi-img {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  position: relative;
  overflow: hidden;
  min-height: 340px;
  border-radius: 20px;
  background: #000;
}

.cf-testi-product-tag {
  position: absolute;
  bottom: 20px; left: 20px;
  background: rgba(31,137,222,.14);
  color: var(--blue);
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .7px;
  padding: 5px 12px; border-radius: 50px;
}

.cf-testi-quote {
  background: #fff;
  padding: 52px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.cf-qq {
  font-size: 5rem;
  color: #e2eaf2;
  line-height: 1;
  font-family: Georgia, serif;
  font-weight: 700;
  user-select: none;
}
.cf-qq-open  { margin-bottom: -16px; }

.cf-quote-text {
  font-size: 1.08rem;
  color: var(--navy);
  line-height: 1.8;
  margin-bottom: 36px;
  font-weight: 400;
}

.cf-testi-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.cf-testi-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #0a87ce);
  color: #fff;
  font-size: .92rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.cf-author-name {
  font-size: .98rem; font-weight: 700; color: var(--navy);
}
.cf-author-role {
  font-size: .82rem; color: var(--light-text); margin-top: 3px;
}

/* Pagination dots for CF testimonials */
.cf-testimonials-swiper .swiper-pagination-bullet {
  background: #d0dde8; opacity: 1; width: 10px; height: 10px;
}
.cf-testimonials-swiper .swiper-pagination-bullet-active {
  background: var(--blue); transform: scale(1.3);
}

@media(max-width:900px) {
  .cf-testi-slide { grid-template-columns: 1fr; gap: 16px; }
  .cf-testi-img   { min-height: 240px; border-radius: 16px; }
  .cf-testi-quote { padding: 36px 28px; }
  .cf-quote-text  { font-size: .95rem; }
}
@media(max-width:540px) {
  .cf-testi-quote { padding: 28px 20px; }
  .cf-quote-text  { font-size: .9rem; }
  .cf-qq          { font-size: 3.5rem; }
}

/* ============================================================
   CONTACT PAGE — centered CloudFactory layout
   ============================================================ */
.cf-contact-centered {
  background: var(--bg-main);
  padding: 130px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cf-contact-centered h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--blue);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
}
.cf-contact-centered .cc-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  color: var(--navy);
  font-weight: 500;
  max-width: 680px;
  margin: 0 auto 18px;
  line-height: 1.45;
}
.cf-contact-centered .cc-desc {
  font-size: .98rem;
  color: var(--body-text);
  max-width: 680px;
  margin: 0 auto 22px;
  line-height: 1.8;
}
.cf-contact-centered .cc-trust {
  font-size: .95rem;
  color: var(--navy);
  font-style: italic;
  margin-bottom: 0;
}
.cf-centered-form-wrap {
  background: #fff;
  padding: 64px 0;
}
.cf-centered-form {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 20px;
}
