/* ============================================================
   SkyGroupGh — SkyTek page enhancements
   (loads AFTER home-enhancements.css — reuses its utilities)
   ============================================================ */

/* --- Hero -------------------------------------------------------------- */
.skytek-hero { position: relative; }
.skytek-hero .carousel-item {
  height: 88vh;
  min-height: 540px;
  position: relative;
}
.skytek-hero .carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.skytek-hero .carousel-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6,20,41,.78) 0%, rgba(13,110,253,.55) 100%);
}
.skytek-hero .carousel-caption {
  z-index: 2;
  bottom: 0; top: 0; left: 0; right: 0;
}
.skytek-hero h1 {
  font-weight: 800;
  text-shadow: 0 4px 24px rgba(0,0,0,.4);
}
.skytek-hero .eyebrow {
  display: inline-block;
  padding: .4rem 1rem;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 30px;
  color: #fff;
  font-weight: 600;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1rem;
}

/* --- Product cards ----------------------------------------------------- */
.product-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.25rem 1.75rem;
  height: 100%;
  border: 1px solid #eef1f6;
  position: relative;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px rgba(13,110,253,.14);
  border-color: rgba(13,110,253,.25);
}
.product-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0d6efd, #5b8def);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s ease;
}
.product-card:hover::before { transform: scaleX(1); }

.product-card .icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  background: linear-gradient(135deg, #e7f0ff, #d5e5ff);
  color: #0d6efd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
  transition: transform .4s ease, background .4s ease, color .4s ease;
}
.product-card:hover .icon-wrap {
  transform: rotate(-8deg) scale(1.06);
  background: linear-gradient(135deg, #0d6efd, #5b8def);
  color: #fff;
}
.product-card h4 {
  font-size: 1.2rem;
  margin-bottom: .65rem;
  color: #111827;
}
.product-card p {
  color: #6b7280;
  font-size: .93rem;
  margin-bottom: 1rem;
  line-height: 1.65;
}
.product-card .feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}
.product-card .feature-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  font-size: .88rem;
  color: #4b5563;
  padding: .25rem 0;
}
.product-card .feature-list li i {
  color: #10b981;
  font-size: .9rem;
  margin-top: .15rem;
  flex-shrink: 0;
}
.product-card .cta-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  color: #0d6efd;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  padding: .55rem 0;
  transition: gap .3s ease, color .3s ease;
}
.product-card .cta-link:hover {
  gap: .65rem;
  color: #084ec9;
}

/* --- Process steps --------------------------------------------------- */
.process-step {
  position: relative;
  text-align: center;
  padding: 1.5rem 1rem;
  height: 100%;
}
.process-step .num {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #0d6efd;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 12px 24px rgba(13,110,253,.25);
  position: relative;
  z-index: 2;
  transition: transform .4s ease, background .4s ease;
}
.process-step:hover .num {
  transform: scale(1.08);
  background: #084ec9;
}
.process-step h5 {
  font-size: 1.1rem;
  margin-bottom: .5rem;
}
.process-step p {
  color: #6b7280;
  font-size: .9rem;
  margin: 0;
}
.process-step .connector {
  position: absolute;
  top: 34px;
  left: calc(50% + 40px);
  right: calc(-50% + 40px);
  height: 2px;
  background: linear-gradient(90deg, #0d6efd, rgba(13,110,253,.15));
}
.process-step:last-child .connector { display: none; }

/* --- Stats strip override (transparent to sit over hero) ------------- */
.skytek-hero + .stats-wrap { margin-top: -60px; }
.skytek-hero + .stats-wrap .stats-strip {
  box-shadow: 0 24px 60px rgba(13,110,253,.2);
}

/* --- Tech stack pills ------------------------------------------------- */
.stack-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem 1rem;
  background: #fff;
  border: 1px solid #eef1f6;
  border-radius: 12px;
  font-size: .85rem;
  font-weight: 600;
  color: #374151;
  transition: transform .25s ease, border-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.stack-pill:hover {
  transform: translateY(-3px);
  border-color: rgba(13,110,253,.3);
  color: #0d6efd;
  box-shadow: 0 8px 20px rgba(13,110,253,.1);
}
.stack-pill i {
  color: #0d6efd;
  font-size: .95rem;
}

/* --- Demo modal refinements ------------------------------------------ */
#demoModal .modal-content { border: 0; border-radius: 16px; overflow: hidden; }
#demoModal .modal-header {
  background: linear-gradient(135deg, #0d6efd 0%, #084ec9 100%);
  color: #fff;
  border: 0;
  padding: 1.25rem 1.5rem;
}
#demoModal .modal-title { font-weight: 700; }
#demoModal .modal-header .btn-close {
  filter: invert(1) brightness(2);
  opacity: .85;
}
#demoModal .modal-body { padding: 1.5rem; }
#demoModal .modal-body label {
  font-size: .85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: .35rem;
}
#demoModal .modal-body .form-control {
  border-radius: 8px;
  border-color: #e5e7eb;
  padding: .65rem .9rem;
  font-size: .93rem;
}
#demoModal .modal-body .form-control:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13,110,253,.15);
}
#demoModal .modal-footer { border-top: 1px solid #eef1f6; padding: 1rem 1.5rem; }

/* --- Responsive ------------------------------------------------------- */
@media (max-width: 991.98px) {
  .skytek-hero .carousel-item { height: 70vh; min-height: 460px; }
  .process-step .connector { display: none; }
}
@media (max-width: 575.98px) {
  .skytek-hero .carousel-item { height: 60vh; min-height: 400px; }
  .skytek-hero h1 { font-size: 2rem; }
  .product-card { padding: 1.75rem 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .product-card,
  .product-card .icon-wrap,
  .process-step .num,
  .stack-pill { transition: none; }
}