/* ═══════════════════════════════════════════════════════════
   HOME.CSS — Home page specific styles
   ═══════════════════════════════════════════════════════════ */

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  background: var(--navy); overflow: hidden;
}
#hero-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%; opacity: 0.45;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg,
    rgba(13,43,62,0.97) 0%,
    rgba(13,110,138,0.62) 55%,
    rgba(0,201,224,0.18) 100%);
}
.hero-wrap {
  position: relative; z-index: 2;
  max-width: 1200px; margin: 0 auto;
  padding: 128px 28px 88px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,201,224,0.14);
  border: 1px solid rgba(0,201,224,0.3);
  color: var(--cyan); font-size: 12px; font-weight: 700;
  padding: 6px 16px; border-radius: 100px;
  letter-spacing: 0.8px; margin-bottom: 22px;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(1.5); }
}

.hero h1 {
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 900; color: #fff; line-height: 1.08;
  letter-spacing: -1.5px; margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #00C9E0, #7ee8f5);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p {
  font-size: 18px; color: rgba(255,255,255,0.65);
  line-height: 1.75; margin-bottom: 38px; max-width: 480px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero right panel */
.hero-right { display: flex; flex-direction: column; gap: 14px; }

.iso-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(0,201,224,0.22);
  border-radius: 16px; padding: 18px 22px;
  display: flex; align-items: center; gap: 16px;
  backdrop-filter: blur(8px);
}
.iso-icon {
  width: 52px; height: 52px; flex-shrink: 0;
  border-radius: 13px;
  background: linear-gradient(135deg, #0D6E8A, #00C9E0);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
}
.iso-card strong { display: block; color: #fff; font-size: 15px; font-weight: 700; }
.iso-card span { color: rgba(255,255,255,0.5); font-size: 13px; }

.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stat-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px; padding: 22px 20px;
  backdrop-filter: blur(8px);
  transition: background 0.2s, transform 0.2s;
}
.stat-card:hover { background: rgba(255,255,255,0.10); transform: translateY(-3px); }
.stat-num { font-size: 38px; font-weight: 900; color: var(--cyan); line-height: 1; }
.stat-lbl { font-size: 13px; color: rgba(255,255,255,0.55); margin-top: 4px; font-weight: 500; }

/* ── Services ───────────────────────────────────────────────── */
.services { background: var(--light-bg); }

.svc-header { text-align: center; margin-bottom: 60px; }
.svc-header .sec-sub { max-width: 560px; margin: 0 auto; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }

.svc-card {
  background: #fff; border-radius: var(--radius-lg);
  padding: 38px 30px; border: 1px solid var(--border);
  position: relative; overflow: hidden;
  transition: transform 0.35s, box-shadow 0.35s, border-color 0.35s;
}
.svc-card::after {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-h);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(13,110,138,0.1); }
.svc-card:hover::after { transform: scaleX(1); }

.svc-ico {
  width: 62px; height: 62px; border-radius: 15px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin-bottom: 22px;
}
.svc-ico.d { background: linear-gradient(135deg, #dff3f8, #b8e6f0); }
.svc-ico.i { background: linear-gradient(135deg, #dde8f8, #b8cef0); }
.svc-ico.a { background: linear-gradient(135deg, #e8ddf8, #d0b8f0); }

.svc-card h3 { font-size: 21px; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.svc-card p { font-size: 14.5px; color: var(--text-mid); line-height: 1.72; margin-bottom: 22px; }

.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 26px; }
.tag {
  background: var(--light-bg); color: var(--teal);
  font-size: 11.5px; font-weight: 600; padding: 4px 12px; border-radius: 100px;
}

.svc-link {
  display: inline-flex; align-items: center; gap: 5px;
  color: var(--teal); font-size: 14px; font-weight: 600;
  transition: gap 0.2s, color 0.2s;
}
.svc-link:hover { gap: 9px; color: var(--cyan); }

/* ── Why Us ─────────────────────────────────────────────────── */
.why { background: var(--navy); position: relative; overflow: hidden; }
.why::before {
  content: ''; position: absolute;
  top: -220px; right: -220px; width: 640px; height: 640px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,201,224,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }

.why-left .sec-sub { margin-bottom: 36px; }
.kpi-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.kpi { border-left: 2px solid rgba(0,201,224,0.28); padding-left: 14px; }
.kpi .kn { font-size: 32px; font-weight: 900; color: var(--cyan); line-height: 1; }
.kpi .kl { font-size: 12.5px; color: rgba(255,255,255,0.47); margin-top: 3px; }

.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 15px; padding: 26px 22px;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}
.why-card:hover {
  background: rgba(0,201,224,0.08); border-color: rgba(0,201,224,0.2); transform: translateY(-4px);
}
.why-card .wi { font-size: 28px; margin-bottom: 14px; }
.why-card h4 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 7px; }
.why-card p { font-size: 13px; color: rgba(255,255,255,0.48); line-height: 1.65; }

/* ── Tech Stack (home-specific wrappers only) ───────────────── */
.tech { background: #fff; }
.tech-head { margin-bottom: 52px; }

/* ── Clients ────────────────────────────────────────────────── */
.clients { background: var(--light-bg); }
.cl-head { text-align: center; margin-bottom: 52px; }

.sector-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; margin-bottom: 42px; }
.sector-card {
  background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 28px 18px; text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s, transform 0.25s;
}
.sector-card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.sec-icon { font-size: 34px; margin-bottom: 11px; }
.sector-card h4 { font-size: 14.5px; font-weight: 700; color: var(--navy); margin-bottom: 5px; }
.sector-card span { font-size: 12px; color: var(--text-muted); line-height: 1.5; }

.logo-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.logo-chip {
  background: #fff; border: 1px solid var(--border);
  border-radius: 9px; padding: 9px 18px;
  font-size: 13px; font-weight: 600; color: var(--text-mid);
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.logo-chip:hover { border-color: var(--teal); color: var(--teal); background: rgba(13,110,138,0.04); }

/* ── Responsive — Home ──────────────────────────────────────── */
@media (max-width: 1024px) {
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 52px; }
  .sector-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero-wrap { grid-template-columns: 1fr; padding: 120px 20px 80px; }
  .hero-right { display: none; }
  .svc-grid { grid-template-columns: 1fr; }
  .why-cards { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: 1fr 1fr; }
  .tech-row { flex-direction: column; }
  .t-lbl { width: auto; }
}
@media (max-width: 480px) {
  .sector-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
}
