/* ==========================================================================
   Technologies / Skills Section CSS – Reference Screenshot Match
   ========================================================================== */
.tech-stack-section {
  padding-top: 100px;
  padding-bottom: 100px;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.tech-stack-section::after {
  content: "";
  position: absolute;
  right: -130px;
  top: 35%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(18, 104, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Header */
.tech-stack-header {
  margin-bottom: 32px;
}

.tech-stack-eyebrow-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.tech-stack-eyebrow-wrap .eyebrow {
  color: #1268ff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tech-stack-eyebrow-wrap .eyebrow-line {
  width: 32px;
  height: 2px;
  background: #1268ff;
  border-radius: 2px;
}

.tech-stack-header h2 {
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 850;
  color: #0c2146;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin: 0 0 10px;
}

.tech-stack-header p {
  font-size: 16px;
  color: #556788;
  max-width: 620px;
  margin: 0;
  line-height: 1.6;
}

/* 3 Highlight Cards in a Row */
.tech-highlights-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.tech-highlight-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid #e1ebf8;
  box-shadow: 0 6px 20px rgba(18, 55, 110, 0.04);
}

.tech-highlight-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #eff6ff;
  color: #1268ff;
  display: grid;
  place-items: center;
  font-size: 17px;
  flex: 0 0 auto;
}

.tech-highlight-card strong {
  display: block;
  font-size: 14.5px;
  font-weight: 750;
  color: #0c2146;
  margin-bottom: 2px;
}

.tech-highlight-card small {
  display: block;
  font-size: 12px;
  color: #6a7da2;
}

/* Wide Banner with Floating Overlay Card */
.tech-banner-visual {
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: 0 18px 50px rgba(18, 55, 110, 0.08);
  aspect-ratio: 16 / 6.2;
  max-height: 400px;
  position: relative;
  background: #eef5ff;
}

.tech-banner-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tech-banner-overlay-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  background: rgba(11, 23, 44, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 24px 26px;
  max-width: 320px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

.tech-banner-overlay-card h4 {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin: 0 0 8px;
}

.tech-banner-overlay-card p {
  font-size: 12px;
  line-height: 1.55;
  color: #b5c7e3;
  margin: 0 0 14px;
}

.tech-banner-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1268ff;
  color: #ffffff !important;
  display: grid;
  place-items: center;
  font-size: 13px;
  box-shadow: 0 6px 18px rgba(18, 104, 255, 0.4);
  text-decoration: none;
  transition: transform 0.2s;
}

.tech-banner-arrow-btn:hover {
  transform: translateX(3px);
}

/* 3 Category Cards in 3 Columns */
.tech-groups-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.tech-group-card {
  background: #ffffff;
  border: 1px solid #dfe9f8;
  border-radius: 22px;
  padding: 24px 22px;
  box-shadow: 0 8px 28px rgba(18, 55, 110, 0.04);
}

.tech-group-card__head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 20px;
}

.tech-group-card__num {
  font-size: 14px;
  font-weight: 850;
  color: #1268ff;
  background: #eff6ff;
  padding: 4px 10px;
  border-radius: 8px;
  line-height: 1;
}

.tech-group-card__head h3 {
  margin: 0 0 4px;
  font-size: 16.5px;
  font-weight: 800;
  color: #0c2146;
}

.tech-group-card__head p {
  margin: 0;
  font-size: 11.5px;
  color: #6a7da2;
  line-height: 1.4;
}

.tech-group-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.tech-mini-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #e1ebf8;
  background: #fbfdff;
  font-size: 12px;
  font-weight: 650;
  color: #1b2f56;
  transition: all 0.2s ease;
}

.tech-mini-pill:hover {
  background: #ffffff;
  border-color: #bcd7fc;
  box-shadow: 0 4px 14px rgba(18, 104, 255, 0.08);
  transform: translateY(-2px);
}

.tech-mini-pill i {
  color: #1268ff;
  font-size: 14px;
  flex: 0 0 auto;
}

/* Bottom Strip */
.tech-footer-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  border-radius: 18px;
  background: #eff6ff;
  border: 1px solid #d8e7fc;
  color: #0c2656;
  font-size: 13.5px;
  font-weight: 650;
}

.tech-footer-strip__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.tech-footer-strip__left a {
  color: #1268ff;
  text-decoration: underline;
}

.tech-footer-strip__icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ffffff;
  color: #1268ff;
  display: grid;
  place-items: center;
  font-size: 16px;
  box-shadow: 0 4px 12px rgba(18, 104, 255, 0.12);
  flex: 0 0 auto;
}

.tech-footer-strip__btn {
  padding: 11px 24px;
  border-radius: 999px;
  background: #1268ff;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 750;
  box-shadow: 0 6px 18px rgba(18, 104, 255, 0.20);
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease;
}

.tech-footer-strip__btn:hover {
  transform: translateY(-2px);
  background: #0c56d6;
}

/* Responsiveness */
@media (max-width: 980px) {
  .tech-highlights-row {
    grid-template-columns: 1fr;
  }
  .tech-groups-grid {
    grid-template-columns: 1fr;
  }
  .tech-banner-visual {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  .tech-stack-section {
    padding-top: 70px;
    padding-bottom: 70px;
  }
  .tech-banner-overlay-card {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: 100%;
    border-radius: 0;
  }
  .tech-footer-strip {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .tech-footer-strip__left {
    flex-direction: column;
  }
  .tech-footer-strip__btn {
    text-align: center;
  }
}
