/* ============================================================
   NIRA GROUP — main.css  (Hero · Stats · Testimonials · Portfolio · CTA · Forms)
   ============================================================ */

/* ── HERO SLIDER ──────────────────────────────────────────── */
.hero-slider {
  position: relative; width: 100%; height: 88vh;
  min-height: 520px; overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  display: flex; align-items: center;
  opacity: 0; transition: opacity 1.1s ease; pointer-events: none;
}
.hero-slide.active { opacity: 1; z-index: 2; pointer-events: all; }

.hs-bg {
  position: absolute; inset: 0;
  transform: scale(1.06); transition: transform 8s ease;
}
.hero-slide.active .hs-bg { transform: scale(1); }

.hs-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .48; pointer-events: none; }

.hs-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(4,8,18,.82) 40%, rgba(4,8,18,.28) 100%);
}

.hs-content {
  position: relative; z-index: 3;
  max-width: 1320px; margin: 0 auto; padding: 0 24px; width: 100%;
}

/* Animated content — each child animates in when slide is active */
.hs-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Fira Code', monospace;
  font-size: .68rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase;
  color: #00d4ff; margin-bottom: 20px;
  opacity: 0; transform: translateY(18px);
  transition: opacity .8s .4s, transform .8s .4s;
}
.hero-slide.active .hs-eyebrow { opacity: 1; transform: translateY(0); }
.hs-line { width: 36px; height: 1px; background: #00d4ff; display: block; }

.hs-title {
  font-size: clamp(2.2rem,5.5vw,4.4rem);
  font-weight: 800; color: #fff; line-height: 1.06; letter-spacing: -.03em;
  margin-bottom: 16px; max-width: 700px;
  opacity: 0; transform: translateY(30px);
  transition: opacity .9s .6s, transform .9s .6s;
}
.hero-slide.active .hs-title { opacity: 1; transform: translateY(0); }

.hs-sub {
  font-size: 1.02rem; color: rgba(255,255,255,.55); line-height: 1.78;
  max-width: 460px; margin-bottom: 34px;
  opacity: 0; transform: translateY(18px);
  transition: opacity .8s .78s, transform .8s .78s;
}
.hero-slide.active .hs-sub { opacity: 1; transform: translateY(0); }

.hs-btns {
  display: flex; gap: 12px; flex-wrap: wrap;
  opacity: 0; transform: translateY(16px);
  transition: opacity .8s .95s, transform .8s .95s;
}
.hero-slide.active .hs-btns { opacity: 1; transform: translateY(0); }

/* Slider controls */
.slider-dots {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; gap: 7px;
}
.sd-dot {
  width: 7px; height: 7px;
  background: rgba(255,255,255,.3); border-radius: 99px; border: none;
  cursor: pointer; transition: background .3s, width .35s;
}
.sd-dot.active { background: #fff; width: 24px; }

.slider-arrows {
  position: absolute; bottom: 24px; right: 36px; z-index: 10; display: flex; gap: 7px;
}
.sa-btn {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; cursor: pointer;
  transition: background .2s, border-color .2s, transform .2s;
}
.sa-btn:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.45); transform: scale(1.08); }

.slider-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,.1); z-index: 10; }
.sp-fill { height: 100%; background: #00d4ff; width: 0; transition: width .1s linear; }

/* ── BRAND TICKER ─────────────────────────────────────────── */
.brand-ticker {
  background: #f8fafc; border-bottom: 1px solid #e2e8f0;
  padding: 18px 0; overflow: hidden;
}
.bt-track {
  display: flex; gap: 44px; align-items: center; width: max-content;
  animation: btScroll 28s linear infinite;
}
.bt-track:hover { animation-play-state: paused; }
.bt-item {
  display: flex; align-items: center; gap: 7px;
  font-size: .76rem; font-weight: 700; color: #94a3b8;
  white-space: nowrap; text-transform: uppercase; letter-spacing: .06em;
}
.bt-item i { color: #1a56db; font-size: .66rem; }
@keyframes btScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── STATS STRIP ─────────────────────────────────────────── */
.stats-strip { background: #0a1628; padding: 72px 0; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  border: 1px solid rgba(255,255,255,.07); border-radius: 18px; overflow: hidden;
}
.stat-box {
  padding: 34px 24px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.07);
  background: rgba(255,255,255,.02);
}
.stat-box:last-child { border-right: none; }
.stat-num {
  font-size: 2.9rem; font-weight: 900; color: #fff; letter-spacing: -.04em; line-height: 1;
}
.stat-num sup { font-size: 1.35rem; color: #00d4ff; vertical-align: super; }
.stat-label { font-size: .78rem; color: rgba(255,255,255,.38); margin-top: 8px; text-transform: uppercase; letter-spacing: .08em; }

/* ── TESTIMONIAL SLIDER ──────────────────────────────────── */
.testi-wrap { overflow: hidden; }
.testi-track { display: flex; gap: 24px; transition: transform .55s cubic-bezier(.4,0,.2,1); will-change: transform; }
.testi-card {
  flex: 0 0 calc(33.333% - 16px);
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 20px; padding: 28px 24px;
}
.tc-stars { display: flex; gap: 3px; margin-bottom: 12px; color: #f59e0b; font-size: .76rem; }
.tc-quote { font-size: 1.8rem; color: #bfdbfe; margin-bottom: 10px; line-height: 1; }
.tc-text  { font-size: .91rem; color: #475569; line-height: 1.8; margin-bottom: 22px; font-style: italic; }
.tc-author { display: flex; align-items: center; gap: 11px; }
.tc-av {
  width: 40px; height: 40px; border-radius: 50%;
  background: #0a1628; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .72rem; font-weight: 800; flex-shrink: 0;
}
.tc-name strong { display: block; font-size: .86rem; font-weight: 700; color: #0a1628; }
.tc-name span   { font-size: .73rem; color: #94a3b8; }

.testi-nav { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 32px; }
.tn-btn {
  width: 38px; height: 38px; background: #f1f5f9; border: 1px solid #e2e8f0;
  border-radius: 50%; color: #475569;
  display: flex; align-items: center; justify-content: center; font-size: .8rem;
  cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.tn-btn:hover { background: #0a1628; color: #fff; border-color: #0a1628; transform: scale(1.08); }
.tn-dots { display: flex; gap: 5px; }
.tn-dot {
  width: 7px; height: 7px; background: #e2e8f0; border-radius: 99px;
  border: none; cursor: pointer; transition: background .3s, width .35s;
}
.tn-dot.active { background: #0a1628; width: 20px; }

/* ── PORTFOLIO FILTER ─────────────────────────────────────── */
.pf-filters { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 32px; }
.pf-btn {
  background: #f1f5f9; border: 1px solid #e2e8f0; color: #475569;
  padding: 8px 20px; border-radius: 99px; font-size: .8rem; font-weight: 600;
  cursor: pointer; font-family: 'Outfit', sans-serif; transition: all .18s;
}
.pf-btn:hover,.pf-btn.active { background: #0a1628; color: #fff; border-color: #0a1628; }
.pf-item.hidden { display: none; }

/* ── DIVISION CARDS ──────────────────────────────────────── */
.div-card {
  border-radius: 20px; overflow: hidden; border: 1px solid #e2e8f0;
  transition: transform .35s cubic-bezier(.34,1.56,.64,1), box-shadow .35s, border-color .3s;
  display: block; text-decoration: none; color: inherit;
}
.div-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(26,86,219,.12); border-color: rgba(26,86,219,.25); }
.dc-visual { height: 196px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.dc-glow { position: absolute; width: 170px; height: 170px; border-radius: 50%; filter: blur(55px); opacity: .18; top: -40px; right: -30px; }
.dc-icon-wrap {
  width: 70px; height: 70px; border-radius: 20px;
  display: flex; align-items: center; justify-content: center; font-size: 1.7rem;
  position: relative; z-index: 1; transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.div-card:hover .dc-icon-wrap { transform: scale(1.1) rotate(-5deg); }
.dc-body { padding: 22px 20px 24px; background: #fff; }
.dc-tag  { font-family: 'Fira Code', monospace; font-size: .6rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; display: block; }
.dc-body h3 { font-size: 1.3rem; font-weight: 800; color: #0a1628; margin-bottom: 7px; letter-spacing: -.02em; }
.dc-body p  { font-size: .84rem; color: #060709; line-height: 1.7; margin-bottom: 14px; }
.dc-link { display: inline-flex; align-items: center; gap: 5px; font-size: .82rem; font-weight: 700; transition: gap .2s; }
.dc-link:hover { gap: 9px; }

/* ── PROJECT CARDS ───────────────────────────────────────── */
.proj-card {
  border: 1px solid #e2e8f0; border-radius: 18px; overflow: hidden;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1), box-shadow .3s;
  background: #fff;
}
.proj-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(26,86,219,.1); }
.pc-thumb {
  height: 176px; display: flex; align-items: center; justify-content: center;
  font-size: 3.2rem; position: relative; overflow: hidden;
}
.pc-thumb-web      { background: linear-gradient(135deg,rgba(59,130,246,.1),rgba(26,86,219,.06));  color: #3b82f6; }
.pc-thumb-ai       { background: linear-gradient(135deg,rgba(0,212,255,.1),rgba(6,182,212,.05));   color: #00d4ff; }
.pc-thumb-cloud    { background: linear-gradient(135deg,rgba(139,92,246,.1),rgba(124,58,237,.05)); color: #8b5cf6; }
.pc-thumb-marketing{ background: linear-gradient(135deg,rgba(245,158,11,.1),rgba(251,146,60,.05)); color: #f59e0b; }
.pc-overlay {
  position: absolute; inset: 0; background: rgba(10,22,40,.8);
  display: flex; align-items: flex-end; justify-content: center; padding-bottom: 18px;
  opacity: 0; transition: opacity .28s;
}
.proj-card:hover .pc-overlay { opacity: 1; }
.pc-overlay-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff; color: #0a1628 !important; padding: 9px 18px;
  border-radius: 99px; font-size: .78rem; font-weight: 700;
  transform: translateY(10px); transition: transform .28s .04s; text-decoration: none;
}
.proj-card:hover .pc-overlay-btn { transform: translateY(0); }
.pc-body { padding: 18px 20px; }
.pc-cat {
  font-family: 'Fira Code', monospace; font-size: .6rem; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 99px; margin-bottom: 9px; display: inline-block;
}
.cat-web       { background: rgba(59,130,246,.1);  color: #3b82f6; }
.cat-ai        { background: rgba(0,212,255,.1);   color: #0ea5e9; }
.cat-cloud     { background: rgba(139,92,246,.1);  color: #8b5cf6; }
.cat-marketing { background: rgba(245,158,11,.1);  color: #f59e0b; }
.pc-body h4 { font-size: .97rem; font-weight: 700; color: #0a1628; margin-bottom: 6px; }
.pc-body p  { font-size: .81rem; color: #475569; line-height: 1.6; margin: 0 0 8px; }
.pc-result  { font-size: .73rem; font-weight: 700; color: #1a56db; }

/* ── CTA BAND ─────────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg,#060f20 0%,#0f2a5c 50%,#1a3a7a 100%);
  padding: 88px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 80% at 50% 50%,rgba(0,212,255,.06) 0%,transparent 68%);
  pointer-events: none;
}
.cb-inner { position: relative; z-index: 1; }
.cb-chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 15px;
  background: rgba(0,212,255,.08); border: 1px solid rgba(0,212,255,.2);
  border-radius: 99px; font-size: .74rem; font-weight: 600;
  color: #00d4ff; margin-bottom: 20px;
  font-family: 'Fira Code', monospace; letter-spacing: .1em;
}
.cb-title {
  font-size: clamp(1.8rem,4.5vw,3.2rem); font-weight: 800; color: #fff;
  letter-spacing: -.03em; line-height: 1.1; margin-bottom: 12px;
}
.cb-sub { font-size: .97rem; color: rgba(255,255,255,.47); max-width: 420px; margin: 0 auto 30px; line-height: 1.75; }
.cb-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ── ADMIN LINK ─────────────────────────────────────────── */
.admin-quick-link {
  position: fixed; bottom: 148px; right: 22px;
  width: 36px; height: 36px;
  background: rgba(10,22,40,.9); color: rgba(255,255,255,.5);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: .74rem; z-index: 800;
  box-shadow: 0 4px 12px rgba(0,0,0,.25); text-decoration: none;
  transition: color .2s, background .2s;
}
.admin-quick-link:hover { background: #1a56db; color: #fff; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1199px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); }
  .testi-card { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 767px) {
  .hero-slider { height: 82vh; min-height: 460px; }
  .stats-grid  { grid-template-columns: 1fr 1fr; }
  .testi-card  { flex: 0 0 100%; }
  .slider-arrows { display: none; }
  .hs-title { font-size: clamp(1.8rem,7vw,2.8rem); }
  .cb-title { font-size: clamp(1.6rem,6vw,2.4rem); }
}
