/* ============================================================
   Case Study – SolQueef  |  Dedicated stylesheet
   ============================================================ */

/* ============================================================
   SECTION 1 – HERO (matching screenshot exactly)
   ============================================================ */
   @media (max-width:768px){
    .case-study-banner{
      margin-top: 4rem;
    }
   }
.sq-hero {
  background: linear-gradient(105deg, #04101f 0%, #071535 55%, #0c1f45 100%);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}

/* subtle star-like dots in background */
.sq-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

/* ---- Hero left text ---- */
.sq-hero-left { position: relative; z-index: 2; }

.sq-hero-title {
  font-size: 42px;
  font-weight: 800;
  color: #fff;
  line-height: 1.18;
  margin-bottom: 18px;
  letter-spacing: -0.3px;
}

.sq-brand {
  color: #00beff;
}

.sq-hero-intro {
  font-size: 14.5px;
  color: rgba(255,255,255,0.88);
  line-height: 1.7;
  margin-bottom: 14px;
}

.sq-hero-list {
  list-style: disc;
  padding-left: 20px;
  margin: 0;
}

.sq-hero-list li {
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.sq-hero-list li strong {
  color: #fff;
}

/* ---- Hero right devices ---- */
.sq-hero-right { position: relative; z-index: 2; }

.sq-devices-wrap {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding-right: 130px;  /* space for phone */
  padding-bottom: 8px;
}

/* ========== LAPTOP ========== */
.sq-laptop {
  width: 100%;
  max-width: 520px;
  position: relative;
  z-index: 3;
}

.sq-laptop-frame {
  background: #1c2235;
  border: 2px solid #2a3252;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  padding: 7px 7px 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.35), inset 0 0 0 1px rgba(255,255,255,0.04);
}

.sq-laptop-camera-bar {
  display: flex;
  justify-content: center;
  padding-bottom: 5px;
}

.sq-laptop-cam {
  width: 6px;
  height: 6px;
  background: #2e3455;
  border-radius: 50%;
  display: block;
}

/* --- Screen --- */
.sq-laptop-screen {
  background: #fff;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
}

/* ---- Dashboard inside laptop ---- */
.sq-dashboard {
  background: #f5f6fa;
  min-height: 280px;
}

/* topbar */
.sq-dash-topbar {
  background: #fff;
  border-bottom: 1px solid #eaecf2;
  padding: 7px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sq-topbar-dots { display: flex; gap: 5px; }

.sq-dot {
  width: 8px; height: 8px; border-radius: 50%; display: block;
}
.sq-dot.red    { background: #ff5f57; }
.sq-dot.yellow { background: #ffbd2e; }
.sq-dot.green  { background: #28c841; }

.sq-dash-title {
  font-size: 11px;
  font-weight: 700;
  color: #2d3748;
  margin-left: 6px;
}

/* stat boxes row */
.sq-dash-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  padding: 9px 9px 7px;
  background: #fff;
}

.sq-dash-stat {
  background: #f8f9fc;
  border: 1px solid #e8ecf3;
  border-radius: 5px;
  padding: 7px 8px;
}

.sq-dstat-lbl {
  display: block;
  font-size: 8px;
  color: #9aa5be;
  line-height: 1.35;
  margin-bottom: 4px;
}

.sq-dstat-val {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: #2d3748;
  line-height: 1;
}

.sq-dstat-blue {
  color: #1a56db;
}

/* body: nav sidebar + chart */
.sq-dash-body {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 7px;
  padding: 0 9px 9px;
  height: 165px;
}

.sq-dash-nav {
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 5px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sq-nav-item {
  display: block;
  height: 5px;
  background: #e0e4ee;
  border-radius: 3px;
  width: 80%;
}

.sq-nav-item.active {
  background: #1a56db;
  width: 90%;
}

/* chart area */
.sq-chart-wrap {
  background: #fff;
  border: 1px solid #e8ecf3;
  border-radius: 5px;
  padding: 8px 8px 4px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sq-chart-label {
  font-size: 8.5px;
  font-weight: 700;
  color: #4a5568;
  margin-bottom: 4px;
  flex-shrink: 0;
}

.sq-chart-area {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
}

.sq-chart-yaxis {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sq-chart-yaxis span {
  font-size: 6px;
  color: #b0bac9;
}

.sq-chart-svg {
  flex: 1;
  width: 100%;
  display: block;
  margin-left: 18px;
  width: calc(100% - 18px);
}

.sq-chart-xaxis {
  display: flex;
  justify-content: space-between;
  margin-left: 18px;
  padding-top: 2px;
  flex-shrink: 0;
}

.sq-chart-xaxis span {
  font-size: 6px;
  color: #b0bac9;
}

/* laptop chin / base */
.sq-laptop-chin {
  background: linear-gradient(180deg, #1c2235 0%, #161c2e 100%);
  height: 16px;
  border: 2px solid #2a3252;
  border-top: none;
  border-radius: 0 0 4px 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sq-laptop-notch {
  width: 56px;
  height: 4px;
  background: #0e1320;
  border-radius: 2px;
}

.sq-laptop-base-shadow {
  height: 6px;
  background: rgba(0,0,0,0.25);
  border-radius: 0 0 8px 8px;
  margin: 0 8px;
  filter: blur(4px);
}

/* ========== PHONE ========== */
.sq-phone {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 10;
  width: 118px;
}

.sq-phone-shell {
  background: linear-gradient(165deg, #1e2740 0%, #111827 100%);
  border: 2px solid #2a3252;
  border-radius: 20px;
  padding: 8px 5px 10px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.04);
}

.sq-phone-cam-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 5px;
}

.sq-phone-cam-dot {
  width: 5px; height: 5px;
  background: #0d1120;
  border-radius: 50%;
  display: block;
}

.sq-phone-screen {
  background: #071535;
  border-radius: 12px;
  overflow: hidden;
  min-height: 195px;
}

.sq-phone-inner {
  padding: 10px 7px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sq-phone-brand {
  font-size: 10.5px;
  font-weight: 900;
  color: #00beff;
  letter-spacing: 0.4px;
  text-shadow: 0 0 8px rgba(0,190,255,0.4);
}

.sq-phone-presale {
  font-size: 8.5px;
  font-weight: 700;
  color: #fff;
  line-height: 1.4;
}

.sq-phone-chars-wrap {
  display: flex;
  justify-content: center;
  min-height: 48px;
  align-items: center;
}

.sq-phone-avatars {
  display: flex;
  gap: 3px;
  justify-content: center;
}

.sq-avatar {
  display: block;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.2);
}

.sq-av1 { background: linear-gradient(135deg,#ffd700,#ff8c00); }
.sq-av2 { background: linear-gradient(135deg,#7c3aed,#5b21b6); }
.sq-av3 { background: linear-gradient(135deg,#06b6d4,#0891b2); }

.sq-phone-links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sq-phone-link {
  font-size: 7px;
  color: rgba(255,255,255,0.45);
  text-align: center;
}

.sq-phone-cta-btn {
  background: linear-gradient(135deg, #ff8c00 0%, #ffb800 100%);
  color: #000;
  font-size: 7px;
  font-weight: 900;
  padding: 6px 5px;
  border-radius: 5px;
  text-align: center;
  letter-spacing: 0.2px;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(255,140,0,0.35);
}

/* ============================================================
   SECTION 2 – VISION / STORY (matching screenshot exactly)
   ============================================================ */
.sq-vision {

  padding: 56px 0 60px;
}

.sq-vision-box {
  border-radius: 20px;
  position: relative;
    background-image: url(../../new-images/case-study-solqueef/meet-queen-bg.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  overflow: hidden;
}
.sq-vision-text{
  padding: 40px 44px 40px 40px;
}

/* left text */
.sq-vision-text p {
 color: #034280;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 25px; /* 138.889% */
  margin-bottom: 16px;
}

.sq-vision-text p:last-child { margin-bottom: 0; }

.sq-vision-text strong {
  font-weight: 700;
 color: #034280;
}

/* right queen */
.sq-queen-col {
  display: flex;
  align-items: center;
  justify-content: end;
  border-right: 2px solid transparent;
  border-bottom: 6px solid transparent;
}

.sq-queen-wrap {
  position: relative;
  display: inline-flex;
  align-items: flex-end;
  justify-content: flex-end;
}

.sq-queen-img {
  max-height: 420px;
  width: auto;
  display: block;
  object-fit: contain;
  position: relative;
  z-index: 2;
}

/* speech bubble – circular, positioned to left of queen */
.sq-speech-bubble {
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translate(-100%, -55%);
  background: #fff;
  border: 2.5px solid #222;
  border-radius: 50%;
  width: 148px;
  height: 148px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 14px;
  z-index: 10;
  box-shadow: 2px 3px 12px rgba(0,0,0,0.13);
}

.sq-speech-bubble span {
  font-size: 11px;
  font-weight: 800;
  color: #111;
  line-height: 1.5;
  display: block;
}

/* tail pointing right toward queen */
.sq-speech-bubble::after {
  content: "";
  position: absolute;
  right: -20px;
  top: 58%;
  transform: translateY(-50%);
  border-left: 20px solid #222;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.sq-speech-bubble::before {
  content: "";
  position: absolute;
  right: -15px;
  top: 58%;
  transform: translateY(-50%);
  border-left: 15px solid #fff;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  z-index: 1;
}

/* ============================================================
   RESPONSIVE – Sections 1 & 2
   ============================================================ */
@media (max-width: 1199px) {
  .sq-hero-title { font-size: 36px; }
  .sq-devices-wrap { padding-right: 110px; }
  .sq-laptop { max-width: 440px; }
  .sq-phone { width: 105px; }
}

@media (max-width: 991px) {
  .sq-hero { padding: 50px 0 44px; }
  .sq-hero-title { font-size: 30px; }
  .sq-hero-right { margin-top: 36px; }
  .sq-devices-wrap { padding-right: 105px; }
  .sq-laptop { max-width: 100%; }
  .sq-phone { width: 100px; }
  .sq-dash-stats-row { grid-template-columns: repeat(2, 1fr); }
  .sq-queen-col { margin-top: 32px; }
  .sq-speech-bubble { width: 128px; height: 128px; font-size: 10px; left: 0; transform: translate(-90%, -55%); }
  .sq-vision-text {
    padding: 16px;
}
}

@media (max-width: 767px) {
  .sq-hero-title { font-size: 26px; }
  .sq-hero-intro { font-size: 13.5px; }
  .sq-devices-wrap { flex-direction: column; align-items: center; padding-right: 0; padding-bottom: 0; }
  .sq-phone {
    position: relative;
    right: auto; bottom: auto;
    width: 130px;
    margin: 16px auto 0;
    display: block;
  }
  .sq-laptop { max-width: 100%; }
  .sq-dash-stats-row { grid-template-columns: repeat(2, 1fr); }
  .sq-dash-body { height: 130px; }
  .sq-vision-text p { font-size: 13.5px; line-height: 18px;margin-bottom: 8px;}
  .sq-queen-img { max-height: 300px; }
  .sq-speech-bubble {
    position: relative;
    left: auto; top: auto; transform: none;
    margin: 0 auto 16px;
    width: 130px; height: 130px;
  }
  .sq-speech-bubble::after,
  .sq-speech-bubble::before { display: none; }
  .sq-queen-wrap { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .sq-hero { padding: 40px 0 36px; }
  .sq-hero-title { font-size: 22px; }
  .sq-hero-list li { font-size: 13px; }
  .sq-dash-stats-row { grid-template-columns: repeat(2, 1fr); gap: 4px; }
  .sq-dstat-val { font-size: 11px; }
  .sq-vision-text p{
    text-align: center;
    font-size: 12px;
  }
      .sq-vision-text {
        padding: 12px;
    }
}

/* ============================================================
   SECTION 3 – PROBLEM / CHALLENGES (matching screenshot)
   ============================================================ */
.sq-prob-section {
  background: #fff;
  padding: 72px 0 64px;
}

/* ---- heading block ---- */
.sq-prob-heading-wrap {
  text-align: center;
  margin-bottom: 36px;
}

.sq-prob-heading {
  font-size: 34px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 16px;
  line-height: 1.2;
}

.sq-prob-subtext {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.75;
  max-width: 680px;
  margin: 0 auto 14px;
}

.sq-prob-label {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

/* ---- cards outer wrapper ---- */
.sq-prob-cards {
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 20px;
  background: rgba(20, 50, 110, 0.10);

}

/* ---- single card ---- */
.sq-prob-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  border-bottom: 1px solid #D7D7D7;
}

.sq-prob-card-last {
  border-bottom: none;
}

/* ---- icon + title column (left) ---- */
.sq-prob-icon-col {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  gap: 12px;
  text-align: center;
}

.sq-prob-icon {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
}

.sq-prob-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.sq-prob-title {
  font-size: 22px;
  font-weight: 600;
  color: #000;
  line-height: 1.4;
  text-align: start;
}

/* ---- content column (right) ---- */
.sq-prob-content {
  padding: 26px 28px 24px;
}

.sq-prob-subtitle {
  font-size: 14.5px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 12px;
}

.sq-prob-content p {
  font-size: 16px;
  color: #374151;
  line-height: 1.75;
  margin-bottom: 8px;
}

.sq-prob-content p:last-child {
  margin-bottom: 0;
}

/* ---- bottom callout banner ---- */
.sq-prob-callout {
  background: #034280;
  border-radius: 10px;
  padding: 14px;
  text-align: center;
  margin: 20px;
}

.sq-prob-callout p {
  font-size: 14px;
  color: #fff;
  line-height: 1.75;
  margin: 0;
}

.sq-prob-callout strong {
  font-weight: 700;
  color: #fff;
}

/* ---- Section 3 Responsive ---- */
@media (max-width: 991px) {
  .sq-prob-card {
    grid-template-columns: 160px 1fr;
  }
  .sq-prob-title { font-size: 16px; }
  .sq-prob-icon { width: 64px; height: 64px; }
  .sq-prob-heading { font-size: 28px; }
}

@media (max-width: 767px) {
  .sq-prob-section { padding: 30px 0; }
  .sq-prob-card {
    grid-template-columns: 1fr;
  }
  .sq-prob-icon-col {
    flex-direction: row;
    justify-content: flex-start;
    border-right: none;
    padding: 20px 20px 16px;
    gap: 16px;
    text-align: left;
  }

  .sq-prob-title { text-align: left; font-size: 17px; }
  .sq-prob-content { padding: 18px 20px; }
  .sq-prob-callout { padding: 18px 20px; }
  .sq-prob-heading { font-size: 24px; }
}

@media (max-width: 480px) {
  .sq-prob-heading { font-size: 22px; }
  .sq-prob-subtext { font-size: 12px; }
  .sq-prob-content p { font-size: 12px; }
  .sq-prob-callout p { font-size: 14px; }
}

/* ============================================================
   SECTION 4 – SOLUTION (alternating cards)
   ============================================================ */
.sq-sol-section {
  background: #fff;
  padding: 72px 0 64px;
}

/* heading */
.sq-sol-heading-wrap {
  text-align: center;
  margin-bottom: 48px;
}

.sq-sol-heading {
  font-size: 36px;
  font-weight: 800;
  color: #111827;
  margin-bottom: 16px;
}

.sq-sol-subtext {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.75;
  max-width: 700px;
  margin: 0 auto 12px;
}

.sq-sol-label {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  margin: 0;
}

/* card wrapper */
.sq-sol-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.sq-sol-card:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

/* reversed card: image left, text right */
.sq-sol-card-reverse {
  order: 1;
}


/* text column */
.sq-sol-text-col p {
  font-size: 16px;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 10px;
}


.sq-sol-card-title {
  font-size: 22px;
  font-weight: 800;
  color: #000;
  margin-bottom: 18px;
  line-height: 1.4;
}

.sq-sol-subtitle {
  font-weight: 400;
}

.sq-sol-sub-heading {
  font-size: 16px;
  font-weight: 800;
  color: #111827;
  margin: 20px 0 10px;
}

/* image column */
.sq-sol-img-col {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* styled image card (Card 1 right side) */
.sq-sol-img-card {
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
  text-align: center;
  img{
            max-width: 100%;
        max-height: 450px;
  }
}

.sq-sol-img-header {
  background: #1469c8;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
}

.sq-sol-img-solana {
  color: #14f195;
  margin-left: 4px;
}

.sq-sol-img-body {
  padding: 0;
  background: #f5f8ff;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sq-sol-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.sq-sol-img-fallback {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f0f4ff;
}

.sq-sol-img-fallback svg {
  width: 80%;
  max-width: 260px;
  height: auto;
}

/* plain image card (Card 2 left side) */
.sq-sol-img-card-plain {
  border: none;
  box-shadow: none;
  background: transparent;
}

.sq-sol-img-card-plain .sq-sol-img-body {
  padding: 0;
  background: transparent;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #d1daf0;
  box-shadow: 0 8px 32px rgba(20, 60, 180, 0.1);
}

/* ---- Section 4 Responsive ---- */
@media (max-width: 991px) {
  .sq-sol-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .sq-sol-heading { font-size: 28px; }
  .sq-sol-card-title { font-size: 16px; }
}

@media (max-width: 767px) {
  .sq-sol-section { padding: 30px 0 ; }
  .sq-sol-card { margin-bottom: 36px; padding-bottom: 36px; }
  .sq-sol-heading { font-size: 24px; }
  .sq-sol-card-reverse{
    order: 0;
  }
}

/* ============================================================
   SECTION 5 – RESULT
   ============================================================ */
.sq-result-section {
  padding: 40px 0 80px;
}

.sq-result-card {
  border-radius: 30px;
border: 1px solid #002E5B;
background: #FFF;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-bottom: 1rem;
}


/* image area */
.sq-result-card-img {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}

.sq-result-card-img img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.sq-result-img-fallback {
  width: 100%;
  height: 210px;
  background: linear-gradient(135deg, #050f2c 0%, #0d2255 60%, #0a1a3a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.sq-result-img-fallback svg {
  width: 100%;
  max-width: 200px;
  height: auto;
}

/* card body */
.sq-result-card-body {
  padding: 26px 24px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sq-result-title {
  color: #000;
text-align: center;
font-size: 22px;
font-style: normal;
font-weight: 600;
line-height: normal;
text-decoration-line: underline;
text-decoration-style: solid;
text-decoration-skip-ink: none;
text-decoration-thickness: auto;
text-underline-offset: auto;
text-underline-position: from-font;
text-transform: capitalize;
  margin-bottom: 12px;
}

.sq-result-subtitle {
  color: #034280;
text-align: center;
font-size: 18px;
font-style: normal;
font-weight: 600;
line-height: 28px; /* 140% */
text-transform: capitalize;
margin-bottom: 16px;
}

.sq-result-text {
  flex: 1;
}

.sq-result-text p {
color: #5C6973;
text-align: center;
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 24px; /* 133.333% */
text-transform: lowercase;
  margin-bottom: 10px;
}

.sq-result-text p:last-child {
  margin-bottom: 0;
}

/* ---- Result Responsive ---- */
@media (max-width: 991px) {
  .sq-result-section { padding: 56px 0 64px; }
  .sq-result-title { font-size: 19px; }
}

@media (max-width: 767px) {
  .sq-result-section { padding: 48px 0 56px; }
  .sq-result-card-img img,
  .sq-result-img-fallback { height: 190px; }
  .sq-result-card-body { padding: 22px 20px 26px; }
  .sq-result-title { font-size: 18px; }
}

@media (max-width: 480px) {
  .sq-result-title { font-size: 17px; }
  .sq-result-text p { font-size: 13px; }
}

/* ============================================================
   SECTION 6 – TECHNOLOGY STACK
   ============================================================ */
.sq-tech-section {
  background: var(--new, linear-gradient(0deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.00) 100%), linear-gradient(90deg, #034280 0%, #155BD3 50%, #034280 100%));
  padding: 72px 0 80px;
}


/* single tech item (hex + label) */
.sq-tech-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
  width: 190px;
}

/* outer hexagon – acts as the teal/white border */
.sq-tech-hex-outer {
  width: 114px;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


/* logo SVG inside */
.sq-tech-logo {
  width: 52px;
  height: 52px;
  display: block;
}

/* label below hex */
.sq-tech-name {
  color: #FFF;
text-align: center;
font-size: 22px;
font-style: normal;
font-weight: 500;
line-height: normal;
text-transform: capitalize;
  text-align: center;
  margin: 0;
  white-space: nowrap;
}

/* ---- Tech Stack Responsive ---- */
@media (max-width: 991px) {
  .sq-tech-section { padding: 56px 0 64px; }
  .sq-tech-heading { font-size: 28px; }
  .sq-tech-item { width: 115px; }
  .sq-tech-hex-outer { width: 104px; height: 104px; }
  .sq-tech-hex-inner { width: 90px; height: 90px; }
  .sq-tech-logo { width: 46px; height: 46px; }
}

@media (max-width: 767px) {
  .sq-tech-section { padding: 30px 0 20px; }
  .sq-tech-heading { font-size: 24px; }
  .sq-tech-item { width: 100px; gap: 10px; }
  .sq-tech-hex-outer { width: 92px; height: 92px; }
  .sq-tech-hex-inner { width: 80px; height: 80px; }
  .sq-tech-logo { width: 40px; height: 40px; }
  .sq-tech-name { font-size: 12px; white-space: normal; max-width: 90px; }
    .sq-sol-text-col p{
    font-size: 14px;
    margin-bottom: 8px;
  }
  .sq-result-text p{
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 8px;
  }
 .sq-sol-heading-wrap{
  margin-bottom: 20px;
 }
}

@media (max-width: 480px) {
  .sq-tech-item { width: 70px; }
  .sq-tech-hex-outer { width: 80px; height: 80px; }
  .sq-tech-hex-inner { width: 68px; height: 68px; }
  .sq-tech-logo { width: 34px; height: 34px; }
  .sq-tech-name { font-size: 11px; }
    .sq-sol-text-col p{
    font-size: 12px;
  }
}
