/* ============================================================
   INDUS HOLDINGS — Home Page Styles (index.css)
   ============================================================ */

/* ── HERO ── */
.hero {
  min-height: 100vh;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 60px) 60px 200px;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg-base {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #060e1a 0%, #0d2a40 35%, #061a0f 70%, #081f0e 100%);
}
.hero-bg-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 80% at 5% 50%, rgba(21,101,168,.55) 0%, transparent 58%),
    radial-gradient(ellipse 45% 65% at 92% 45%, rgba(38,194,101,.4) 0%, transparent 58%),
    radial-gradient(ellipse 30% 40% at 50% 100%, rgba(36,133,204,.2) 0%, transparent 60%);
  animation: breathe 8s ease-in-out infinite alternate;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-sweep {
  position: absolute; top: 0; left: -100%; width: 60%; height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,.015) 50%, transparent 60%);
  animation: sweep 7s ease-in-out infinite;
}
.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite alternate;
}
.orb1 { width: 500px; height: 500px; background: rgba(21,101,168,.18); top: -100px; right: -100px; }
.orb2 { width: 400px; height: 400px; background: rgba(38,194,101,.14); bottom: -80px; left: 30%; animation-delay: -4s; }
.orb3 { width: 300px; height: 300px; background: rgba(90,174,224,.1); top: 40%; right: 20%; animation-delay: -8s; }

/* Particles */
.particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.particle {
  position: absolute; border-radius: 50%;
  animation: pRise linear infinite;
}

/* Hero content */
.hero-content { position: relative; z-index: 2; max-width: 760px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 20px; border-radius: 24px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  margin-bottom: 28px; animation: fadeUp .7s .1s both;
}
.hero-badge-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 10px rgba(38,194,101,.6);
  animation: breathe 2s infinite alternate;
}
.hero-badge span { font-size: 13px; color: rgba(255,255,255,.75); font-weight: 500; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(50px, 7vw, 90px);
  font-weight: 700; color: #fff; line-height: 1.02; letter-spacing: -2px;
  animation: fadeUp .7s .2s both;
}
.hero h1 .grad-word {
  background: linear-gradient(135deg, #5AAEE0 0%, #6DD9A0 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; display: block;
}
.hero-sub {
  margin-top: 24px; font-size: 18px; font-weight: 300;
  color: rgba(255,255,255,.6); line-height: 1.75; max-width: 580px;
  animation: fadeUp .7s .3s both;
}
.hero-actions {
  margin-top: 42px; display: flex; gap: 16px; flex-wrap: wrap;
  animation: fadeUp .7s .4s both;
}
/* Hero right panel */
.hero-panel {
  position: absolute; right: 60px; top: 50%; transform: translateY(-45%);
  z-index: 2; width: 350px;
  animation: fadeIn .9s .5s both;
}
.hero-glass-card {
  background: rgba(255,255,255,.07); backdrop-filter: blur(24px);
  border: 1px solid rgba(255,255,255,.13); border-radius: 22px;
  padding: 28px; position: relative; overflow: hidden;
}
.hero-glass-card::before {
  content: ''; position: absolute; top: -2px; left: 0; right: 0; height: 3px;
  background: var(--grad);
}
.hc-title { font-size: 14px; font-weight: 700; color: rgba(255,255,255,.9); margin-bottom: 20px; }
.hc-stat {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.07);
}
.hc-stat:last-of-type { border-bottom: none; }
.hc-stat-label { font-size: 12px; color: rgba(255,255,255,.45); }
.hc-stat-value {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* Hero bottom stats bar */
.hero-stats-bar {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 2;
  display: flex;
  background: rgba(8,18,28,.88); backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,.07);
}
.hero-stat-item {
  flex: 1; padding: 24px 32px;
  border-right: 1px solid rgba(255,255,255,.07);
  transition: background .3s; position: relative; overflow: hidden;
}
.hero-stat-item:hover { background: rgba(255,255,255,.04); }
.hero-stat-item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad); transform: scaleX(0); transition: transform .3s;
}
.hero-stat-item:hover::before { transform: scaleX(1); }
.hero-stat-item:last-child { border-right: none; }
.hsi-num {
  font-family: var(--font-display); font-size: 36px; font-weight: 700; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hsi-label { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 6px; line-height: 1.4; }

/* ── ABOUT STRIP ── */
.about-strip { background: var(--cloud); }
.about-strip-inner {
  max-width: var(--inner-max); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.about-text .sec-sub { max-width: 480px; }
.about-body { margin-top: 20px; font-size: 15px; color: var(--slate); line-height: 1.8; }
.about-body p + p { margin-top: 14px; }
.about-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }

/* About visual */
.about-visual { position: relative; }
.about-card {
  border-radius: 24px; overflow: hidden;
  background: var(--grad); padding: 48px 40px;
  position: relative; min-height: 380px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.about-card::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 28px, rgba(255,255,255,.04) 28px, rgba(255,255,255,.04) 29px);
}
.about-card-geo1 { position: absolute; top: -40px; right: -40px; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.07); }
.about-card-geo2 { position: absolute; top: 20px; right: 20px; width: 90px; height: 90px; border-radius: 50%; background: rgba(255,255,255,.05); }
.about-card h3 { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: #fff; line-height: 1.15; position: relative; z-index: 1; }
.about-card p { margin-top: 12px; font-size: 15px; color: rgba(255,255,255,.7); line-height: 1.6; position: relative; z-index: 1; max-width: 320px; }
.about-float {
  position: absolute; bottom: -28px; left: -28px;
  background: #fff; border-radius: 18px; padding: 20px 26px;
  box-shadow: 0 20px 50px rgba(0,0,0,.14);
}
.about-float-num {
  font-family: var(--font-display); font-size: 42px; font-weight: 700; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.about-float-lbl { font-size: 13px; color: var(--silver); margin-top: 4px; }

/* ── SECTORS ── */
.sectors { background: #fff; }
.sectors-header { text-align: center; max-width: 560px; margin: 0 auto 56px; }
.sectors-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.sector-card {
  border-radius: 20px; padding: 36px 30px;
  background: var(--cloud);
  border: 1px solid rgba(21,101,168,.08);
  transition: transform .3s, box-shadow .3s, border-color .3s;
}
.sector-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(21,101,168,.22); }
.sector-card:hover .sc-icon { transform: scale(1.1) rotate(-3deg); }
.sc-icon {
  width: 60px; height: 60px; border-radius: 18px;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; margin-bottom: 22px;
  box-shadow: 0 8px 22px rgba(21,101,168,.3);
  transition: transform .3s;
}
.sc-count {
  font-family: var(--font-display); font-size: 32px; font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1;
}
.sc-title { font-size: 16px; font-weight: 700; color: var(--charcoal); margin-top: 6px; }
.sc-desc { font-size: 14px; color: var(--silver); margin-top: 10px; line-height: 1.6; }

/* ── PORTFOLIO PREVIEW ── */
.portfolio-preview { background: var(--charcoal); position: relative; overflow: hidden; }
.portfolio-preview::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 0% 60%, rgba(21,101,168,.3) 0%, transparent 55%),
    radial-gradient(ellipse 40% 60% at 100% 40%, rgba(38,194,101,.2) 0%, transparent 55%);
}
.portfolio-preview-inner { max-width: var(--inner-max); margin: 0 auto; position: relative; z-index: 1; }
.portfolio-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 20px; }
.portfolio-header .sec-title { color: #fff; }
.portfolio-header .sec-sub { max-width: 420px; color: rgba(255,255,255,.5); }

/* Portfolio grid with images */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.portfolio-card {
  border-radius: 20px; overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  transition: transform .3s, box-shadow .3s, background .3s;
  text-decoration: none;
}
.portfolio-card:hover { transform: translateY(-8px); box-shadow: 0 24px 60px rgba(0,0,0,.3); background: rgba(255,255,255,.1); }
.portfolio-card-img {
  height: 160px; overflow: hidden; position: relative;
  background: var(--grad);
  display: flex; align-items: center; justify-content: center; font-size: 44px;
}
.portfolio-card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.portfolio-card:hover .portfolio-card-img img { transform: scale(1.07); }
.portfolio-card-img::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 20px, rgba(255,255,255,.04) 20px, rgba(255,255,255,.04) 21px);
}
.portfolio-card-img .pc-region {
  position: absolute; top: 12px; right: 12px; z-index: 1;
  padding: 3px 10px; border-radius: 8px;
  background: rgba(255,255,255,.18); backdrop-filter: blur(8px);
  font-size: 11px; font-weight: 600; color: #fff;
}
.portfolio-card-body { padding: 22px; }
.portfolio-card-sector {
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 8px;
}
.portfolio-card-body h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #fff; line-height: 1.3; }
.portfolio-card-body p { font-size: 13px; color: rgba(255,255,255,.45); margin-top: 8px; line-height: 1.55; }
.portfolio-card-link {
  margin-top: 16px; font-size: 13px; font-weight: 600;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  display: inline-flex; align-items: center; gap: 6px;
  opacity: .7; transition: opacity .2s, gap .2s;
}
.portfolio-card:hover .portfolio-card-link { opacity: 1; gap: 10px; }

/* ── FLAGSHIP PROJECT ── */
.flagship { background: #fff; }
.flagship-inner { max-width: var(--inner-max); margin: 0 auto; }
.flagship-card {
  border-radius: 28px; overflow: hidden;
  background: var(--charcoal);
  display: grid; grid-template-columns: 1fr 1.2fr;
  box-shadow: var(--shadow-dark);
  position: relative;
}
.flagship-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--grad); z-index: 2;
}
.flagship-left {
  padding: 56px 48px;
  background: linear-gradient(150deg, #0a1628 0%, #0d2a40 50%, #061a0f 100%);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
}
.flagship-left::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 80% at 0% 60%, rgba(21,101,168,.45) 0%, transparent 60%);
}
.flagship-left::after {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-55deg, transparent, transparent 30px, rgba(255,255,255,.02) 30px, rgba(255,255,255,.02) 31px);
}
.flagship-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 16px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  font-size: 11px; font-weight: 700; color: rgba(255,255,255,.8);
  letter-spacing: 1.5px; text-transform: uppercase;
  position: relative; z-index: 1;
}
.flagship-left h2 {
  font-family: var(--font-display); font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700; color: #fff; line-height: 1.15; margin-top: 20px;
  position: relative; z-index: 1;
}
.flagship-left h2 em {
  font-style: normal;
  background: linear-gradient(135deg, #5AAEE0, #6DD9A0);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.flagship-left p {
  font-size: 15px; color: rgba(255,255,255,.6); line-height: 1.7;
  margin-top: 16px; position: relative; z-index: 1;
}
.flagship-left-actions { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }
.flagship-right { padding: 48px; display: flex; flex-direction: column; gap: 16px; }
.flagship-right .eyebrow { margin-bottom: 4px; -webkit-text-fill-color: unset; background: var(--grad); -webkit-background-clip: text; }
.flagship-metric {
  padding: 20px 22px; border-radius: 16px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; gap: 16px;
  transition: background .25s;
}
.flagship-metric:hover { background: rgba(255,255,255,.1); }
.fm-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--grad); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.fm-label { font-size: 12px; color: rgba(255,255,255,.45); margin-bottom: 3px; }
.fm-value { font-size: 15px; font-weight: 600; color: rgba(255,255,255,.9); }

/* ── STATS ── */
.stats-section { background: var(--blue); position: relative; overflow: hidden; }
.stats-section::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, #1565A8 0%, #1f8fb8 45%, #26C265 100%);
}
.stats-section::after {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-55deg, transparent, transparent 40px, rgba(255,255,255,.04) 40px, rgba(255,255,255,.04) 41px);
}
.stats-inner {
  max-width: var(--inner-max); margin: 0 auto; position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
}
.stat-box {
  padding: 52px 40px; text-align: center;
  border-right: 1px solid rgba(255,255,255,.15);
}
.stat-box:last-child { border-right: none; }
.stat-box-num {
  font-family: var(--font-display); font-size: 56px; font-weight: 700;
  color: #fff; line-height: 1;
}
.stat-box-label { font-size: 14px; color: rgba(255,255,255,.7); margin-top: 8px; }

/* ── TESTIMONIALS / WHY US ── */
.why-us { background: var(--cloud); }
.why-header { text-align: center; max-width: 560px; margin: 0 auto 56px; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
  background: #fff; border-radius: 20px; padding: 36px 30px;
  border: 1px solid rgba(21,101,168,.07);
  transition: transform .3s, box-shadow .3s;
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-card-icon {
  font-size: 36px; margin-bottom: 18px; display: block;
}
.why-card h3 { font-size: 18px; font-weight: 700; color: var(--charcoal); }
.why-card p { font-size: 14px; color: var(--silver); margin-top: 12px; line-height: 1.65; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .hero-panel { display: none; }
}
@media (max-width: 960px) {
  .hero { padding: calc(var(--nav-h) + 40px) 40px 180px; }
  .about-strip-inner { grid-template-columns: 1fr; gap: 48px; }
  .sectors-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .flagship-card { grid-template-columns: 1fr; }
  .flagship-right { padding: 36px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-box { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .stat-box:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.15); }
  .stat-box:nth-last-child(-n+2) { border-bottom: none; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .hero { padding: calc(var(--nav-h) + 32px) 24px 160px; }
  .hero-stats-bar { flex-wrap: wrap; }
  .hero-stat-item { min-width: 50%; border-bottom: 1px solid rgba(255,255,255,.07); }
  .hero-stat-item:last-child, .hero-stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
  .about-strip-inner { padding: 0; }
  .sectors-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .flagship-left { padding: 36px 28px; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hsi-num { font-size: 28px; }
  .stat-box-num { font-size: 44px; }
  .flagship-left h2 { font-size: 28px; }
}
