.tech-hero {
  position: relative;
  height: 440px;
  margin-top: 62px;
}

.tech-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gradient-text {
  background: linear-gradient(135deg, #8cff00, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tech-hero-content h1 {
  font-size: 56px;
  font-weight: 800;
  background: linear-gradient(135deg, #eaffc7, #8cff00, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tech-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(2, 6, 23, 0.55),
    rgba(2, 6, 23, 0.85)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tech-hero-content p {
  margin-top: 14px;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.85);
}

/* ================= TECH SERVICES SECTION ================= */
.tech-services {
  padding: 80px 20px;
  background: radial-gradient(
      circle at top,
      rgba(56, 189, 248, 0.12),
      transparent 60%
    ),
    linear-gradient(180deg, #f8fafc, #eef2f7);
}

/* HEADER */
.tech-cap-header {
  max-width: 760px;
  margin: 0 auto 80px;
  text-align: center;
}

.tech-cap-header h2 {
  font-size: 40px;
  font-weight: 800;
  color: #020617;
}

.tech-subtext {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.6;
  color: #64748b;
}

/* GRID */
.tech-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 40px;
}

/* CARD */
.tech-card {
  position: relative;
  padding: 44px 38px;
  border-radius: 28px;

  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);

  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);

  transform-style: preserve-3d;
  transition: transform 0.6s ease, box-shadow 0.6s ease, background 0.6s ease;
}

.tech-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-size: 28px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(34, 197, 94, 0.35);
  transition: all 0.6s ease;
}

/* TEXT */
.tech-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #020617;
  transition: color 0.4s ease;
}

.tech-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
  transition: color 0.4s ease;
}

.tech-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-size: 28px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(34, 197, 94, 0.35);
}

.tech-card:hover h4 {
  color: #e0f2fe;
}

.tech-card:hover p {
  color: #c7d2fe;
}

.tech-grid {
  padding: 80px 20px;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 40px;
} /* CARD */
.tech-card {
  position: relative;
  padding: 44px 38px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transform-style: preserve-3d;
  transition: transform 0.6s ease, box-shadow 0.6s ease, background 0.6s ease;
} /* ICON */
.tech-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-size: 28px;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(34, 197, 94, 0.35);
} /* TEXT */
.tech-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #020617;
}
.tech-card p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
} /* 3D HOVER */
.tech-card:hover {
  background: linear-gradient(40deg, rgb(4, 25, 18), rgb(0, 60, 42));
  transform: translateY(-16px) rotateX(4deg);
  box-shadow: 0 45px 100px rgba(15, 23, 42, 0.28);
}
.tech-card:hover h4 {
  color: #ecfdf5;
}
.tech-card:hover p {
  color: #bbf7d0;
}
.tech-card:hover .tech-icon {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  box-shadow: 0 18px 42px rgba(124, 58, 237, 0.45);
} /* SUBTLE EDGE GLOW */
.tech-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(34, 197, 94, 0.35),
    transparent
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}
.tech-card:hover::after {
  opacity: 1;
}
/* SUBTLE EDGE GLOW */
.tech-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(34, 197, 94, 0.35),
    transparent
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.tech-card:hover::after {
  opacity: 1;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .tech-cap-header h2 {
    font-size: 34px;
  }
}

@media (max-width: 768px) {
  .tech-services {
    padding: 90px 20px;
  }

  .tech-cap-header {
    margin-bottom: 60px;
  }

  .tech-card {
    padding: 36px 30px;
  }
}

/* ================= TECH OVERVIEW SPLIT ================= */
.tech-overview-split {
  padding: 80px 8%;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;

  background: linear-gradient(180deg, #f8fafc, #eef2f7);
}

/* ================= LEFT CONTENT ================= */
.tech-overview-content h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  color: #020617;
  margin-bottom: 28px;
}

.tech-overview-content p {
  font-size: 16px;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 18px;
  max-width: 620px;
}

/* ================= GRADIENT TEXT ================= */
.tech-overview-split .gradient-text {
  background: linear-gradient(135deg, #16a34a, #22c55e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

/* ================= RIGHT VIDEO ================= */
.tech-overview-video {
  position: relative;
  border-radius: 32px;
  overflow: hidden;

  max-width: 450px;
  height: 360px;

  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.18);
}

.tech-overview-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* subtle overlay for premium feel */
.tech-overview-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.25));
  pointer-events: none;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 992px) {
  .tech-overview-split {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .tech-overview-content h2 {
    font-size: 34px;
  }

  .tech-overview-video {
    max-height: 360px;
  }
}

@media (max-width: 600px) {
  .tech-overview-split {
    padding: 100px 20px;
  }

  .tech-overview-content h2 {
    font-size: 28px;
  }

  .tech-overview-content p {
    font-size: 15px;
  }

  .tech-overview-video {
    max-height: 280px;
  }
}

/* ================= TECH CAPABILITIES ================= */
.tech-capabilities {
  padding: 140px 8%;
  background: radial-gradient(
      circle at top,
      rgba(56, 189, 248, 0.12),
      transparent 60%
    ),
    linear-gradient(180deg, #f8fafc, #eef2f7);
}

/* HEADER */
.tech-cap-header {
  text-align: center;
  max-width: 760px;
  /* margin: 0 auto 100px; */
}

.tech-cap-header h2 {
  font-size: 40px;
  font-weight: 800;
  color: #020617;
}

.tech-cap-header p {
  margin-top: 16px;
  font-size: 15px;
  color: #64748b;
}

/* LAYOUT */
.tech-cap-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* COLUMNS */
.tech-cap-column {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* CENTER IMAGE */
.tech-cap-center {
  display: flex;
  justify-content: center;
}

.tech-cap-center img {
  width: 100%;
  max-width: 320px;
  border-radius: 32px;
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.25);
}

/* CARD */
.tech-cap-card {
  position: relative;
  padding: 36px 32px;
  border-radius: 28px;

  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);

  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);

  transform-style: preserve-3d;
  transition: transform 0.6s ease, box-shadow 0.6s ease, background 0.6s ease;
}

/* ICON */
.cap-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 16px;
  font-size: 24px;

  background: linear-gradient(135deg, #e0f2fe, #bae6fd);
  color: #0369a1;

  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.12);
  transition: all 0.5s ease;
}

/* TEXT */
.tech-cap-card h4 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #020617;
  transition: color 0.4s ease;
}

.tech-cap-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #64748b;
  transition: color 0.4s ease;
}

/* HOVER – BLUE PREMIUM */
.tech-cap-card:hover {
  background: linear-gradient(40deg, #020617, #0f172a, #1e3a8a);

  transform: translateY(-14px) rotateX(4deg);
  box-shadow: 0 45px 100px rgba(0, 0, 0, 0.28);
}

/* ICON HOVER */
.tech-cap-card:hover .cap-icon {
  background: linear-gradient(135deg, #38bdf8, #6366f1);
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(56, 189, 248, 0.55);
}

/* TEXT HOVER */
.tech-cap-card:hover h4 {
  color: #e0f2fe;
}

.tech-cap-card:hover p {
  color: #c7d2fe;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1024px) {
  .tech-cap-layout {
    grid-template-columns: 1fr;
  }

  .tech-cap-center {
    order: -1;
    margin-bottom: 60px;
  }
}

@media (max-width: 768px) {
  .tech-capabilities {
    padding: 100px 20px;
  }

  .tech-cap-header h2 {
    font-size: 30px;
  }

  .tech-cap-card {
    padding: 30px 26px;
  }
}
