/* ============================================
   INFOINDIA — Hero CSS Auto-Slider  v11
   5 slides × 6s = 30s total cycle
   ============================================ */

/* ── Section ────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
  box-sizing: border-box;
}

/* ── Background ─────────────────────────────── */
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 85% 65% at 15% 50%, #0a1f40 0%, #06101e 65%);
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px);
  animation: orbDrift 14s ease-in-out infinite;
}
.hero-orb-1 {
  width: 62vw; height: 62vw; max-width: 660px; max-height: 660px;
  top: -25%; left: -10%;
  background: radial-gradient(circle, rgba(21,101,192,.55), transparent 65%);
}
.hero-orb-2 {
  width: 46vw; height: 46vw; max-width: 500px; max-height: 500px;
  bottom: -20%; right: -6%;
  background: radial-gradient(circle, rgba(126,202,228,.18), transparent 65%);
  animation-delay: -7s;
}
@keyframes orbDrift {
  0%,100% { transform: translate(0,0); }
  50%      { transform: translate(16px,-16px); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse 65% 65% at 50% 50%, black 20%, transparent 100%);
}

/* ── Layout ─────────────────────────────────── */
.hero-inner {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 4vw;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 28px;
  box-sizing: border-box;
}

/* ── Left column ────────────────────────────── */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Fixed-height area for sliding content */
.hs-area {
  position: relative;
  height: 355px;
}

/* ── CSS SLIDER keyframes ───────────────────── */
/* 30s cycle | each slide: 6s = 20%
   fade-in: 0-4% | hold: 4-17% | fade-out: 17-20% | hidden: 20-100% */
@keyframes hs-show {
  0%        { opacity: 0; transform: translateY(12px); }
  4%        { opacity: 1; transform: none; }
  17%       { opacity: 1; transform: none; }
  20%, 100% { opacity: 0; transform: translateY(-8px); }
}
@keyframes hsc-show {
  0%        { opacity: 0; transform: translateX(18px); }
  4%        { opacity: 1; transform: none; }
  17%       { opacity: 1; transform: none; }
  20%, 100% { opacity: 0; transform: translateX(18px); }
}
@keyframes dot-on {
  0%, 3%    { width: 6px;  background: rgba(126,202,228,.3); }
  4%, 17%   { width: 22px; background: #7ecae4; }
  20%, 100% { width: 6px;  background: rgba(126,202,228,.3); }
}

/* ── Slides ─────────────────────────────────── */
.hs-slide {
  position: absolute;
  top: 0; left: 0; right: 0;
  display: flex; flex-direction: column; gap: 18px;
  opacity: 0;
  animation: hs-show 30s ease-in-out infinite;
}
.hs-pms { animation-delay:   0s; }
.hs-ibc { animation-delay: -24s; }
.hs-asw { animation-delay: -18s; }
.hs-dvb { animation-delay: -12s; }
.hs-mpm { animation-delay:  -6s; }

/* ── Slide content ──────────────────────────── */
.hs-logo-row { display: flex; align-items: center; height: 54px; }
.hs-logo { height: 48px; max-width: 210px; width: auto; object-fit: contain; }
.hs-logo.pms-logo { height: 60px; }
.hs-logo-fb {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 1.45rem; font-weight: 900; color: #fff;
}
.hs-logo-fb i { color: #7ecae4; }

.hs-h1 {
  font-size: clamp(1.9rem, 3.2vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: #fff;
  margin: 0;
}

.hs-desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,.42);
  line-height: 1.75;
  max-width: 450px;
}

.hs-tags {
  display: flex; flex-wrap: wrap; gap: 7px;
}
.hs-tags span {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.7rem; font-weight: 600;
  color: rgba(255,255,255,.52);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.09);
  padding: 4px 11px; border-radius: 7px;
}
.hs-tags span i { color: #7ecae4; font-size: 0.68rem; }

/* ── CTA buttons ────────────────────────────── */
.hs-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Progress dots ──────────────────────────── */
.hs-dots {
  display: flex; align-items: center; gap: 6px;
}
.hs-dot {
  height: 6px; width: 6px; border-radius: 100px;
  background: rgba(126,202,228,.3);
  display: inline-block;
  animation: dot-on 30s ease-in-out infinite;
}
.d1 { animation-delay:   0s; }
.d2 { animation-delay: -24s; }
.d3 { animation-delay: -18s; }
.d4 { animation-delay: -12s; }
.d5 { animation-delay:  -6s; }

/* ── Right column ───────────────────────────── */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hs-cards {
  position: relative;
  width: 100%;
  max-width: 430px;
  height: 300px;
}

.hs-card {
  position: absolute; inset: 0;
  opacity: 0;
  background: rgba(5,12,26,.9);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 16px;
  padding: 20px;
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.06);
  animation: hsc-show 30s ease-in-out infinite;
  display: flex; flex-direction: column; gap: 14px;
}
.hsc-pms { animation-delay:   0s; }
.hsc-ibc { animation-delay: -24s; }
.hsc-asw { animation-delay: -18s; }
.hsc-dvb { animation-delay: -12s; }
.hsc-mpm { animation-delay:  -6s; }

.hsc-head {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.hsc-icon {
  width: 30px; height: 30px; border-radius: 8px;
  background: rgba(30,123,196,.15); color: #7ecae4;
  display: flex; align-items: center; justify-content: center;
  font-size: .88rem; flex-shrink: 0;
}
.hsc-title { font-size: .71rem; font-weight: 600; color: rgba(255,255,255,.5); flex: 1; }
.hsc-live {
  font-size: .58rem; font-weight: 700; padding: 2px 8px;
  border-radius: 100px;
  background: rgba(34,197,94,.1); color: #4ade80;
  border: 1px solid rgba(34,197,94,.22);
}

.hsc-stats {
  display: grid; grid-template-columns: repeat(3,1fr);
  text-align: center;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.hsc-stats > div + div { border-left: 1px solid rgba(255,255,255,.07); }
.hsc-stats b { display: block; font-size: 1.4rem; font-weight: 800; color: #7ecae4; line-height: 1; }
.hsc-stats small { font-size: .61rem; color: rgba(255,255,255,.28); margin-top: 3px; display: block; }

.hsc-bar-row { display: flex; justify-content: space-between; font-size: .67rem; color: rgba(255,255,255,.32); margin-bottom: 4px; }
.hsc-bar { height: 4px; background: rgba(255,255,255,.07); border-radius: 100px; overflow: hidden; margin-bottom: 10px; }
.hsc-bar > div { height: 100%; background: linear-gradient(90deg,#1565c0,#7ecae4); border-radius: 100px; }

.hsc-feed { display: flex; flex-direction: column; gap: 6px; }
.hsc-feed > div {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 10px;
  background: rgba(255,255,255,.028);
  border: 1px solid rgba(255,255,255,.055);
  border-radius: 8px;
}
.hsc-feed i { color: #7ecae4; flex-shrink: 0; font-size: .78rem; }
.hsc-feed span { color: rgba(255,255,255,.78); flex: 1; font-weight: 600; font-size: .72rem; }
.hsc-feed em { font-style: normal; font-size: .61rem; color: rgba(255,255,255,.3); white-space: nowrap; }

/* ── Shared btn-ghost ───────────────────────── */
.btn-ghost {
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.14);
}
.btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }

/* ── Responsive ─────────────────────────────── */
@media (max-width: 1100px) {
  .hs-cards { max-width: 380px; height: 280px; }
}
@media (max-width: 1100px) {
  .hs-area  { height: 340px; }
  .hs-cards { max-width: 380px; height: 285px; }
}
@media (max-width: 900px) {
  .hs-area  { height: 330px; }
  .hs-cards { max-width: 330px; height: 270px; }
  .hs-h1    { font-size: clamp(1.8rem, 4.5vw, 2.6rem); }
}
@media (max-width: 768px) {
  .hero-section  { padding-top: 64px; min-height: 100svh; padding-bottom: 24px; }
  .hero-inner    { grid-template-columns: 1fr; gap: 0; padding-top: 8px; padding-bottom: 20px; }
  .hero-right    { display: none; }
  .hs-area       { height: 280px; }
  .hero-left     { gap: 16px; }
  .hs-h1         { font-size: clamp(1.75rem, 7vw, 2.4rem); letter-spacing: -1px; }
  .hs-desc       { font-size: 0.87rem; line-height: 1.7; }
  .hs-logo       { height: 42px; }
  .hs-logo.pms-logo { height: 52px; }
  .hs-logo-row   { height: 46px; }
}
@media (max-width: 480px) {
  .hero-section  { padding-top: 60px; padding-bottom: 20px; }
  .hs-area       { height: 260px; }
  .hero-left     { gap: 14px; }
  .hs-h1         { font-size: clamp(1.55rem, 8vw, 2rem); letter-spacing: -.7px; }
  .hs-desc       { font-size: 0.83rem; }
  .hs-tags span  { font-size: 0.65rem; padding: 4px 9px; }
  .hs-cta        { flex-direction: column; }
  .hs-cta .btn   { width: 100%; justify-content: center; }
  .hs-logo       { height: 38px; }
  .hs-logo.pms-logo { height: 48px; }
}
