/* ============================================================
   INDUS HOLDINGS — Groups Page Styles (groups.css)
   Depends on: style.css, header.css, footer.css
   ============================================================ */

/* ── PAGE HERO ── */
.page-hero {
   margin-top: 0px;
  min-height: 500px;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  padding: 100px 60px 120px;
}
.page-hero-bg         { position: absolute; inset: 0; }
.page-hero-bg-base    {
  position: absolute; inset: 0;
  background: linear-gradient(155deg, #060e1a 0%, #0d2a40 40%, #061a0f 75%, #0b2e14 100%);
}
.page-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,.40) 0%, transparent 58%),
    radial-gradient(ellipse 30% 40% at 50% 100%,rgba(36,133,204,.20) 0%, transparent 60%);
  animation: breathe 8s ease-in-out infinite alternate;
}
.page-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;
}
.page-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;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
  animation: orbFloat 12s ease-in-out infinite alternate;
}
.hero-orb1 { width:500px;height:500px;background:rgba(21,101,168,.18);top:-100px;right:-100px; }
.hero-orb2 { width:360px;height:360px;background:rgba(38,194,101,.14);bottom:-80px;left:30%;animation-delay:-4s; }
.hero-bottom-line { position:absolute;bottom:0;left:0;right:0;height:4px;background:var(--grad); }

.page-hero-content { position: relative; z-index: 2; max-width: 700px; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 20px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.75);
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 24px; animation: fadeUp .7s .1s both;
}
.hero-eyebrow-dot { width:6px;height:6px;border-radius:50%;background:var(--grad);animation:breathe 2s infinite alternate; }

.page-hero-content h1 {
  font-family: var(--font-display);
  font-size: clamp(46px, 6.5vw, 76px); font-weight: 700;
  color: #fff; line-height: 1.02; letter-spacing: -1.5px;
  animation: fadeUp .7s .2s both;
}
.page-hero-content h1 em {
  font-style: normal;
  background: linear-gradient(135deg, #5AAEE0, #6DD9A0);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-hero-sub {
  margin-top: 20px; font-size: 17px; font-weight: 300;
  color: rgba(255,255,255,.6); line-height: 1.75; max-width: 540px;
  animation: fadeUp .7s .3s both;
}

/* Hero stats row */
.hero-stats-row {
  margin-top: 44px; display: flex; gap: 40px; flex-wrap: wrap;
  animation: fadeUp .7s .4s both;
}
.hero-stat { }
.hero-stat-num {
  font-family: var(--font-display); font-size: 40px; font-weight: 700; line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-stat-lbl { font-size: 12px; color: rgba(255,255,255,.4); margin-top: 5px; letter-spacing: .5px; }

/* Hero right — sector pills */
.hero-sectors {
  position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
  z-index: 2; display: flex; flex-direction: column; gap: 10px;
  animation: fadeIn .8s .5s both;
}
.hero-sector-pill {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: 14px; min-width: 240px;
  background: rgba(255,255,255,.07); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12);
  transition: background .3s;
}
.hero-sector-pill:hover { background: rgba(255,255,255,.13); }
.hsp-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
}
.hsp-name { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.85); }
.hsp-count { font-size: 11px; color: rgba(255,255,255,.4); margin-top: 1px; }

/* ── FILTER BAR ── */
.filter-bar-wrap {
  background: #fff;
  border-bottom: 1px solid rgba(21,101,168,.08);
  position: sticky; top: var(--nav-h); z-index: 100;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}
.filter-bar {
  max-width: 1100px; margin: 0 auto;
  padding: 0 60px;
  display: flex; align-items: center; gap: 8px;
  overflow-x: auto; scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar { display: none; }
.filter-btn {
  display: flex; align-items: center; gap: 7px;
  padding: 16px 20px; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: var(--silver);
  background: none; border: none; border-bottom: 2px solid transparent;
  cursor: pointer; transition: color .2s, border-color .2s;
  font-family: var(--font-body);
}
.filter-btn:hover { color: var(--blue); }
.filter-btn.active { color: var(--blue); border-bottom-color: var(--blue); }
.filter-btn .fb-count {
  font-size: 11px; font-weight: 700; padding: 1px 7px;
  border-radius: 10px; background: rgba(21,101,168,.1);
  color: var(--blue); transition: background .2s;
}
.filter-btn.active .fb-count { background: var(--grad); color: #fff; }

/* ── COMPANIES GRID ── */
.companies-section { background: var(--cloud); padding: 72px 60px; }
.companies-inner { max-width: 1100px; margin: 0 auto; }

/* Results count */
.results-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 36px; flex-wrap: wrap; gap: 12px;
}
.results-count { font-size: 14px; color: var(--silver); }
.results-count strong { color: var(--charcoal); font-weight: 700; }
.results-view { display: flex; gap: 6px; }
.view-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: #fff; border: 1px solid rgba(21,101,168,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; cursor: pointer; color: var(--silver);
  transition: background .2s, color .2s;
}
.view-btn.active { background: var(--grad); color: #fff; border-color: transparent; }

/* Company cards grid */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  transition: opacity .3s;
}
.companies-grid.filtering { opacity: .4; pointer-events: none; }

/* ── COMPANY CARD ── */
.company-card {
  background: #fff; border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(21,101,168,.07);
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
  transition: transform .35s cubic-bezier(.25,.46,.45,.94), box-shadow .35s, opacity .3s;
  display: flex; flex-direction: column;
  position: relative;
}
.company-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 70px rgba(21,101,168,.16);
}
.company-card.hidden { display: none; }
.company-card.featured { grid-column: span 2; }

/* Card top image/visual area */
.cc-visual {
  height: 200px; position: relative; overflow: hidden;
  background: var(--grad);
  background-size: 200% 200%; background-position: left center;
  transition: background-position .5s;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.company-card:hover .cc-visual { background-position: right center; }
.company-card.featured .cc-visual { height: 240px; }

/* Geometric decoration inside visual */
.cc-visual::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg,
    transparent, transparent 30px,
    rgba(255,255,255,.04) 30px, rgba(255,255,255,.04) 31px);
}
.cc-visual::after {
  content: ''; position: absolute;
  bottom: -50px; right: -50px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255,255,255,.08);
}
.cc-visual-circle {
  position: absolute; top: -30px; left: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}

/* Big company icon */
.cc-icon {
  width: 80px; height: 80px; border-radius: 22px;
  background: rgba(255,255,255,.18); backdrop-filter: blur(12px);
  border: 2px solid rgba(255,255,255,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 34px; position: relative; z-index: 1;
  box-shadow: 0 8px 28px rgba(0,0,0,.2);
  transition: transform .3s;
}
.company-card:hover .cc-icon { transform: scale(1.1) rotate(-4deg); }
.company-card.featured .cc-icon { width: 96px; height: 96px; font-size: 42px; border-radius: 26px; }

/* Badges on visual */
.cc-region-badge {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  padding: 4px 12px; border-radius: 10px;
  background: rgba(255,255,255,.2); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.25);
  font-size: 11px; font-weight: 700; color: #fff; letter-spacing: .3px;
}
.cc-featured-badge {
  position: absolute; top: 16px; right: 16px; z-index: 2;
  padding: 5px 14px; border-radius: 10px;
  background: rgba(200,150,42,.9); backdrop-filter: blur(8px);
  font-size: 11px; font-weight: 700; color: #fff; letter-spacing: 1px; text-transform: uppercase;
}

/* Gradient top line */
.company-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad); z-index: 2;
  transform: scaleX(0); transform-origin: left;
  transition: transform .35s ease;
}
.company-card:hover::before { transform: scaleX(1); }

/* Card body */
.cc-body { padding: 26px 28px 28px; flex: 1; display: flex; flex-direction: column; }

.cc-sector-tag {
  font-size: 11px; font-weight: 700; 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; display: block;
}
.cc-name {
  font-family: var(--font-display); font-size: 22px; font-weight: 700;
  color: var(--charcoal); line-height: 1.2;
}
.company-card.featured .cc-name { font-size: 26px; }

.cc-desc {
  font-size: 14px; color: var(--silver); margin-top: 12px; line-height: 1.65;
  flex: 1;
}

/* Info chips row */
.cc-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.cc-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 12px; border-radius: 8px;
  background: var(--cloud); border: 1px solid rgba(21,101,168,.1);
  font-size: 12px; font-weight: 500; color: var(--slate);
}
.cc-chip-icon { font-size: 13px; }

/* Card footer */
.cc-footer {
  margin-top: 20px; padding-top: 18px;
  border-top: 1px solid rgba(21,101,168,.07);
  display: flex; align-items: center; justify-content: space-between;
}
.cc-contact-links { display: flex; gap: 10px; }
.cc-contact-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 8px;
  font-size: 12px; font-weight: 600;
  text-decoration: none; transition: background .2s, color .2s;
  border: 1px solid rgba(21,101,168,.15); color: var(--blue); background: transparent;
}
.cc-contact-btn:hover { background: rgba(21,101,168,.08); }
.cc-contact-btn.primary {
  background: var(--grad); color: #fff; border-color: transparent;
  box-shadow: 0 4px 14px rgba(21,101,168,.3);
}
.cc-contact-btn.primary:hover { box-shadow: 0 6px 20px rgba(21,101,168,.4); transform: translateY(-1px); }
.cc-arrow {
  font-size: 14px; color: var(--silver);
  transition: transform .2s, color .2s;
}
.company-card:hover .cc-arrow { transform: translateX(4px); color: var(--blue); }

/* ── SYNERGY SECTION ── */
.synergy { background: var(--charcoal); padding: 100px 60px; position: relative; overflow: hidden; }
.synergy::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 70% at 0%   60%, rgba(21,101,168,.28) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 100% 40%, rgba(38,194,101,.18) 0%, transparent 55%);
}
.synergy::after {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-55deg, transparent, transparent 40px,
    rgba(255,255,255,.015) 40px, rgba(255,255,255,.015) 41px);
}
.synergy-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.synergy-header { text-align: center; max-width: 580px; margin: 0 auto 64px; }
.synergy-header .sec-title { color: #fff; }
.synergy-header p { color: rgba(255,255,255,.5); margin-top: 14px; font-size: 16px; line-height: 1.7; }

/* Central hub diagram */
.synergy-diagram {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 480px;
}
.synergy-hub {
  width: 160px; height: 160px; border-radius: 50%;
  background: var(--grad);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  position: relative; z-index: 2;
  box-shadow: 0 0 0 16px rgba(21,101,168,.12), 0 0 0 32px rgba(21,101,168,.06);
  flex-shrink: 0;
}
.synergy-hub-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: #fff; line-height: 1.2; text-align: center; }
.synergy-hub-sub   { font-size: 11px; color: rgba(255,255,255,.7); margin-top: 4px; text-align: center; }

/* Spokes grid around hub */
.synergy-spokes {
  position: absolute; inset: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-rows: 1fr 1fr 1fr;
  align-items: center; justify-items: center; gap: 0;
}
.synergy-spoke {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 20px; border-radius: 16px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  transition: background .3s, transform .3s;
  max-width: 220px; width: 100%;
}
.synergy-spoke:hover { background: rgba(255,255,255,.13); transform: scale(1.04); }
.synergy-spoke.right { flex-direction: row-reverse; text-align: right; }
.spoke-icon {
  width: 40px; height: 40px; border-radius: 11px;
  background: var(--grad); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.spoke-name  { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.9); line-height: 1.3; }
.spoke-role  { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 3px; line-height: 1.4; }

/* Connecting lines */
.synergy-line {
  position: absolute; background: linear-gradient(90deg, var(--blue), var(--green-mid));
  height: 1px; transform-origin: left center;
  opacity: .25; z-index: 1;
}

/* ── SECTOR SHOWCASE ── */
.sector-showcase { background: #fff; padding: 100px 60px; }
.sector-showcase-inner { max-width: 1100px; margin: 0 auto; }
.sector-header { text-align: center; max-width: 560px; margin: 0 auto 56px; }
.sector-tabs { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.sector-tab {
  padding: 10px 22px; border-radius: 50px;
  font-size: 13px; font-weight: 600;
  border: 1.5px solid rgba(21,101,168,.2); color: var(--slate);
  background: transparent; cursor: pointer;
  transition: all .2s; font-family: var(--font-body);
}
.sector-tab:hover { border-color: var(--blue); color: var(--blue); }
.sector-tab.active { background: var(--grad); color: #fff; border-color: transparent; box-shadow: 0 4px 16px rgba(21,101,168,.3); }

.sector-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sector-stat-card {
  border-radius: 18px; padding: 32px 24px; text-align: center;
  background: var(--cloud); border: 1px solid rgba(21,101,168,.07);
  transition: transform .3s, box-shadow .3s;
}
.sector-stat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.sector-stat-card .ss-icon { font-size: 36px; margin-bottom: 14px; display: block; }
.sector-stat-card .ss-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;
}
.sector-stat-card .ss-label { font-size: 14px; color: var(--silver); margin-top: 8px; }

/* ── COUNTRIES SECTION ── */
.countries { background: var(--cloud); padding: 100px 60px; }
.countries-inner { max-width: 1100px; margin: 0 auto; }
.countries-header { text-align: center; max-width: 560px; margin: 0 auto 56px; }
.countries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.country-card {
  border-radius: 24px; overflow: hidden;
  border: 1px solid rgba(21,101,168,.08);
  background: #fff;
  transition: transform .3s, box-shadow .3s;
}
.country-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.country-card-top {
  padding: 36px 28px 28px;
  background: var(--grad); position: relative; overflow: hidden;
}
.country-card-top::before {
  content: ''; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(-45deg, transparent, transparent 22px,
    rgba(255,255,255,.04) 22px, rgba(255,255,255,.04) 23px);
}
.country-card-top::after {
  content: ''; position: absolute; top: -40px; right: -40px;
  width: 140px; height: 140px; border-radius: 50%;
  background: rgba(255,255,255,.07);
}
.country-flag { font-size: 52px; display: block; margin-bottom: 14px; position: relative; z-index: 1; }
.country-name {
  font-family: var(--font-display); font-size: 28px; font-weight: 700;
  color: #fff; position: relative; z-index: 1;
}
.country-tag {
  font-size: 12px; font-weight: 600; color: rgba(255,255,255,.65);
  margin-top: 4px; position: relative; z-index: 1;
}
.country-card-body { padding: 24px 28px; }
.country-company-list { display: flex; flex-direction: column; gap: 10px; }
.country-company-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px; border-radius: 10px;
  background: var(--cloud);
  font-size: 13.5px; color: var(--charcoal); font-weight: 500;
  border: 1px solid rgba(21,101,168,.06);
}
.country-company-icon {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--grad); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}

/* ── NO RESULTS ── */
.no-results {
  grid-column: 1 / -1; text-align: center;
  padding: 80px 20px; display: none;
}
.no-results.show { display: block; }
.no-results-icon { font-size: 56px; margin-bottom: 16px; opacity: .4; }
.no-results h3 { font-size: 20px; color: var(--charcoal); font-weight: 600; }
.no-results p  { font-size: 14px; color: var(--silver); margin-top: 8px; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .hero-sectors { display: none; }
  .companies-grid { grid-template-columns: repeat(2, 1fr); }
  .company-card.featured { grid-column: span 2; }
  .sector-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .synergy-diagram { flex-direction: column; min-height: auto; gap: 32px; }
  .synergy-spokes  { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .synergy-spoke.right { flex-direction: row; text-align: left; }
  .synergy-hub { margin: 0 auto 16px; }
  .synergy-line { display: none; }
  .countries-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .page-hero { padding: 80px 24px 100px; min-height: 420px; }
  .filter-bar { padding: 0 24px; }
  .companies-section { padding: 48px 24px; }
  .companies-grid { grid-template-columns: 1fr; gap: 18px; }
  .company-card.featured { grid-column: span 1; }
  .synergy { padding: 64px 24px; }
  .synergy-spokes { grid-template-columns: 1fr; }
  .sector-showcase { padding: 64px 24px; }
  .sector-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .countries { padding: 64px 24px; }
  .countries-grid { grid-template-columns: 1fr; }
  .hero-stats-row { gap: 24px; }
}
@media (max-width: 480px) {
  .page-hero { padding: 70px 18px 90px; }
  .sector-stats-grid { grid-template-columns: 1fr 1fr; }
  .cc-body { padding: 20px 20px 22px; }
  .cc-footer { flex-direction: column; align-items: flex-start; gap: 12px; }
}
