
/* ==========================================================
   Softtrix – Homepage styles (optimized)
========================================================== */
:root {
  --lime: #00b2ff;
  --lime-dim: rgba(0, 178, 255, .10);
  --lime-border: rgba(0, 178, 255, .28);
  --bg1: #f6fafd;
  --bg2: #fff;
  --muted: #667080;
  --border: rgba(16, 24, 32, .09);
  --radius: 16px;
  --radius-lg: 24px;
  --card-2: #1b66f5;
  --divider: rgba(255, 255, 255, .22);
  --text: #fff;
  --text-sub: rgba(255, 255, 255, .82);
}

/* ---------- Utilities (replace former inline styles) ---------- */
.sft-bg-gradient { background: linear-gradient(45deg, #00245c, #00b2ff) !important; }
.sft-text-white { color: #fff !important; }.sft-btn-gap { margin: 20px 0 !important; }a:hover { text-decoration: none; }

/* ---------- Hero ---------- */
.new-hero-banner { position: relative; min-height: 600px; }
.cs-new-hero-img {
  position: absolute; top: 0; left: 0;width: 100%; height: 100%;object-fit: cover; object-position: center;
}
.soft-new-home {
  position: relative; height: auto;
  padding-top: 30px; padding-bottom: 30px;text-align: center; color: #fff;
}
.soft-hero-title-sec { padding-bottom: 4vw; }
.soft-hero-title-sec h1 { font-size: 3.2vw !important; }

.cs-badges-and-from-sec { display: flex; align-items: center; justify-content: center; gap: 30px; }
.sft-d-flex-logo { display: flex; align-items: center; justify-content: center; gap: 14px; }
.cs-brand-logo-mobile { display: none; }
section.sft-logos-grid-sec img { width: 90%; }
.awards-bg-sec { box-shadow: 0 0 25.71px 0 #0000001f; border-radius: 20px; }
.awards-bg-sec img { margin: 0 auto; padding-bottom: 10px; }

/* Hero video */
.cs-her-video-sec { background: #fff; padding: 10px; border-radius: 20px; }
.cs-her-video-sec iframe {
  width: 100% !important; height: auto !important;
  aspect-ratio: 1.78 / 1.4; border-radius: 20px;
}
.hero-video { position: relative; overflow: hidden; aspect-ratio: 12 / 9; border-radius: 20px; cursor: pointer; }
.hero-video img {
  display: block; width: 100%; max-width: 340px; height: 240px;
  object-fit: cover; border-radius: 20px;
}
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 50px; height: 50px; border: none; border-radius: 50%;
  font-size: 28px; cursor: pointer;
}
/* Hero form (Contact Form 7 markup) */
.hero-form-sft {
  position: relative; display: flex; align-items: center;
  max-width: 950px; height: 76px; margin: auto; overflow: hidden;
  background: #fff; border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .15);
}
.hero-form-sft::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 12px; height: 100%; background: #11a8f5;
}
.hero-form-sft .wpcf7-spinner { display: none; }
.hero-form-field { flex: 1; display: flex; align-items: center; gap: 14px; padding: 16px 22px; }
.hero-form-field + .hero-form-field { border-left: 1px solid #ececec; }
.hero-form-field label {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.hero-form-icon { flex-shrink: 0; color: #091c3a; font-size: 22px; }
.hero-form-field input {
  width: 100%; padding: 8px 0; border: none; border-bottom: 2px solid #e5e5e5;
  background: transparent; outline: none; font-size: 18px; color: #333;
}
.hero-form-field input::placeholder { color: #666; }
.hero-form-submit { padding: 12px; }
.hero-form-submit input {
  padding: 18px 38px; border: none; border-radius: 8px;
  background: #11a8f5; color: #fff; font-size: 20px; font-weight: 700;
  cursor: pointer; transition: background-color .3s;
}
.hero-form-submit input:hover { background: #0098ea; }
/* ---------- Reviews ---------- */
.reviews-sec { background: #ebf9ff; }
.reviews-banner {
  display: flex; align-items: stretch; justify-content: center; gap: 60px;
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 28px 60px;
  background: #ebf9ff;
}
.review-item {
  display: flex; flex-direction: column; gap: 8px; width: 100%;
  padding: 25px; background: #fff; border: 1px solid #e0edf3; border-radius: 20px;
}
.google-logo { font-size: 26px; font-weight: 700; letter-spacing: -.5px; line-height: 1; }
.google-logo .g1, .google-logo .g2 { color: #4285f4; }
.google-logo .o1, .google-logo .e { color: #ea4335; }
.google-logo .o2 { color: #fbbc05; }
.google-logo .l { color: #34a853; }
.clutch-logo {
  display: flex; align-items: center; gap: 2px;
  font-size: 26px; font-weight: 800; color: #1a1a2e; letter-spacing: -.5px;
}
.count { font-size: 30px; font-weight: 800; color: #1a1a2e; letter-spacing: -1px; line-height: 1; }
.stars-block { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.big-stars { display: flex; gap: 4px; }
.big-stars span { color: #fbbc05; font-size: 24px; line-height: 1; }
.avatar-row { display: flex; align-items: center; }
.avatar {
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  width: 34px; height: 34px; margin-left: -9px; overflow: hidden;
  border: 2.5px solid #f5f7e8; border-radius: 50%;
  font-size: 12px; font-weight: 700;
}
.avatar:first-child { margin-left: 0; }
.av1 { background: #e2b5d5; color: #7a3060; }.av2 { background: #b5cfe2; color: #2a5f80; }.av3 { background: #c5e2b5; color: #3a7020; }
.av4 { background: #e2d5b5; color: #7a6020; }.av5 { background: #b5b8e2; color: #2a306b; }.av6 { background: #e2b5b5; color: #7a2a2a; }
.client-label { display: flex; align-items: center; gap: 5px; font-size: 14px; font-weight: 500; color: #333232; }
.client-label a { color: #000 !important; }
.client-label svg {
  width: 13px; height: 13px; fill: none; stroke: #888;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
/* ---------- Counter ---------- */
.wrap { display: flex; flex-direction: column; align-items: center; max-width: 1240px; margin: 0 auto; }
.board {
  display: grid; grid-template-columns: repeat(4, 1fr); width: 100%; padding: 34px 8px; border-radius: 26px;
  background: linear-gradient(135deg, var(--card-2) 0%, #12b7e8 100%);box-shadow: 0 30px 60px -20px rgba(6, 20, 80, .55);
}
.stat {
  position: relative; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 10px;padding: 6px 34px; text-align: center;
}
.stat + .stat { border-left: 1px solid var(--divider); }
.stat-number {
  font-size: clamp(34px, 3.4vw, 42px); font-weight: 800; line-height: 1;
  letter-spacing: -.01em; white-space: nowrap; color: var(--text);
}
.stat-title { max-width: 190px; font-size: 15px; font-weight: 500; line-height: 1.35; color: var(--text-sub); }

/* ---------- About ---------- */
.font-size-small { font-size: 32px !important; line-height: 42px !important; }
.read-more-content { display: none; }
.read-more-btn { color: #4ec7f4; cursor: pointer; }

/* ---------- Brands slider ---------- */
.brands-section-sec .label { display: flex; justify-content: center; color: #fff; }
.brands-track-wrap {
  overflow: hidden; margin-top: 50px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.brands-track { display: flex; gap: 16px; width: max-content; animation: brandsScroll 32s linear infinite; }
.brands-track + .brands-track { margin-top: 20px; }
.brand-slider-track { animation: brandSliderRight 32s linear infinite; }
.brands-track-wrap:hover .brands-track { animation-play-state: paused; }
@keyframes brandsScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes brandSliderRight { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.brand-chip {
  display: flex; align-items: center; padding: 14px 24px;
  background: var(--bg2); border: 1px solid var(--border); border-radius: 50px;
}

/* ---------- AI search ---------- */
.evolved-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.feature-pill {
  display: flex; align-items: flex-start; gap: 16px;
  margin-bottom: 14px; padding: 15px;
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius);
  transition: border-color .25s, transform .25s;
}
.feature-pill:hover { border-color: var(--lime-border); transform: translateX(6px); }
.fp-icon {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; min-width: 44px; border-radius: 12px;
  background: var(--lime-dim); border: 1px solid var(--lime-border);
  color: var(--lime); font-size: 20px;
}
.fp-title { margin-bottom: 4px; font-family: 'Jost', sans-serif; font-size: 15px; font-weight: 700; }
.fp-desc { font-size: 13px; color: var(--muted); }

/* ---------- Case studies ---------- */
.cs-case-study-box { display: flex !important; align-items: center; justify-content: center; gap: 40px; }
.cs-case-study-img { width: 50%; }
.cs-case-study-img img,
.video-bg-sec img { border-radius: 30px; }

/* ---------- Testimonials ---------- */
.bg-flex-video { display: grid !important; grid-template-columns: repeat(2, 1fr); gap: 30px; align-items: center; }
.cs-digital-box-sec { background-color: #fff !important; border: 1px solid #d0f1ff; }
.mark { font-size: 80px; color: #1b7fcc; }

/* ---------- Services ---------- */
.why-section { background: var(--bg1); }
.why-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-item {
  padding: 30px; background: var(--bg2);
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  transition: border-color .3s, transform .3s;
}
.why-item:hover { border-color: var(--lime-border); transform: translateY(-6px); }
.why-item h3 a { color: #0f2f58 !important; }
.why-icon {
  display: flex; align-items: center; justify-content: center;width: 46px; height: 46px; margin-bottom: 16px; border-radius: 12px;
  background: var(--lime-dim); border: 1px solid var(--lime-border);color: var(--lime); font-size: 20px;
}

/* ---------- Industries (sticky cards) ---------- */
.sticky-ten-cards-sec { width: 1200px; margin: 0 auto; }
.frist-crad-a {
  position: sticky; top: 192px;display: flex; align-items: center; justify-content: center;
  height: 400px; margin-top: 40px; padding: 10px; background: #f0fbff; border: 1px solid #c0ecff; border-radius: 20px;
}
.crad-img-sec { width: 50%; height: 100%; }
.crad-img-sec img { width: 100%; height: 100%; object-fit: cover; border-radius: 20px 0 0 20px; }
.sticky-card-content-sec { width: 50%; padding: 50px; }
.sticky-card-content-sec h4 { padding-bottom: 12px; font-size: 25px; line-height: 40px; }

/* ---------- Audit CTA ---------- */
.cs-new-cta-flex {
  padding: 60px; border-radius: 30px; color: #fff;
  background: url(https://www.softtrix.com/wp-content/uploads/2026/01/new-page-cta-banner.webp) no-repeat; background-size: cover;
}
.cs-new-cta-content { width: 50%; }

/* ---------- Blog / FAQ ---------- */
section.sft-cs-post { background: #031126; }
.sft-cs-post .sft-post-list { gap: 20px; }
.sft-post-item h2 { margin-bottom: 15px; }
.sft-faq-sec .sft-header-sec h2 { max-width: 1200px; margin-left: auto; margin-right: auto; }

/* ---------- Contact ---------- */
.new-form-bg-sec {
  padding: 60px 0;
  background: url(https://www.softtrix.com/wp-content/uploads/2025/09/contact-from-bg.webp); background-size: cover;
}
.new-cta-content-sec { color: #fff; }
.new-cta-content-sec p { padding: 25px 0; }
.new-cta-content-sec span { display: block; padding-bottom: 20px; font-size: 20px; font-weight: 700; }
.contact-from-sec-pading { padding-top: 10%; color: #fff; }
.new-contact-from .sft-footer-form { padding: 30px 20px; background-color: #fff; border-radius: 20px; }

/* ---------- Slick & shared ---------- */
.slick-dots { bottom: -40px; }
.callback-btn { animation: pulse 2s infinite; transition: background-color .3s ease; }
@keyframes pulse {
  0%   { transform: scale(1);    box-shadow: 0 0 0 0 rgba(0, 178, 255, .7); } 70%  { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(0, 178, 255, 0); } 100% { transform: scale(1);    box-shadow: 0 0 0 0 rgba(0, 178, 255, 0); }
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (min-width: 991px) {
  .soft-sticky-card-sec { padding: 60px; }
}
@media (max-width: 1440px) {
  .soft-new-home { padding-top: 5px; padding-bottom: 5px; }.soft-hero-title-sec { padding-bottom: 2vw; }.frist-crad-a { top: 175px; }
}
@media (max-width: 1400px) {
  .sticky-ten-cards-sec { width: 100%; }
}
@media (max-width: 1200px) {
  .slick-track { overflow: hidden; }.slick-prev { left: -50px; }.slick-next { right: -50px; }
}
@media (max-width: 992px) {
  .frist-crad-a { height: 316px; }span.read-more-btn { font-size: 16px; }
}
@media (max-width: 991px) {
  .cs-brand-logo-desktop { display: none !important; }.cs-brand-logo-mobile { display: block; background-color: #000; }.sft-logos-grid-sec { padding: 0; }
  .hero-form-sft { display: none; }.hero-form-field { width: 100%; border-left: none !important; border-bottom: 1px solid #ececec; }
  .hero-form-submit { width: 100%; padding: 15px; }.hero-form-submit input { width: 100%; }.reviews-banner { flex-wrap: wrap; gap: 20px 0; padding: 20px 0; }
  .board { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }.stat:nth-child(odd) { border-left: none; }.stat:nth-child(-n+2) { padding-bottom: 26px; border-bottom: 1px solid var(--divider); }
}
@media (max-width: 768px) {
  .soft-sticky-card-sec { padding: 40px 0; }.frist-crad-a { min-height: 510px !important; }.new-cta-content-sec { text-align: center; }
  .slick-prev, .slick-next { width: 45px !important; height: 45px !important; }.slick-prev:before, .slick-next:before { font-size: 20px !important; }
}
@media (max-width: 767px) {
  /* Hero */
  .new-hero-banner { height: 660px; }.soft-new-home { padding-bottom: 15px; }.soft-hero-title-sec { margin-top: -22px; padding-bottom: 10px; text-align: center; }
  .soft-hero-title-sec h1 { padding-top: 11px; font-size: 35px !important; line-height: 50px !important; }.cs-badges-and-from-sec { gap: 0; }.awards-img-sft-sec { margin-left: 2%; }
  .sft-logos-grid-img { padding: 5px; }.awards-bg-sec { box-shadow: 0 0 25.71px 0 #ffffff1f; }.awards-bg-sec img { padding: 10px; border: 1px solid #ebebeb; border-radius: 14px; }

  /* Counter */
  .board { padding: 8px 22px; border-radius: 0px; box-shadow: 0 30px 60px -20px rgb(6 20 80 / 0%);}
  .stat { padding: 22px 0; border-left: none !important; }.stat-title { max-width: 100%; }

  /* Content sections */
  .sft-img-right { width: 100%; height: 100%; }.sft-img-right img { width: 100%; }.evolved-inner { grid-template-columns: 1fr; gap: 20px; }.cs-case-study-box { flex-wrap: wrap; }.cs-case-study-img { width: 100%; }.reveal-r img { display: none;}.bg-flex-video, .why-list { grid-template-columns: 1fr; }
   
   /* case study */
   .cs-main-point-sec p {width: 100%;}.hero-contact-btn {text-align: center;}

  /* Sticky cards */
  .frist-crad-a { position: static; }.crad-img-sec { width: 100%; }.crad-img-sec img { border-radius: 20px 20px 0 0; }.sticky-card-content-sec { width: 100%; padding: 30px 20px; }

  /* CTA / contact */
  .cs-new-cta-flex { padding: 20px; }.cs-new-cta-content { width: 100%; }.contact-from-sec-pading { padding-top: 1%; }.sft-footer-form .sft-hero-form { padding: 0; }.slick-track img { display: block; }
}