/* =============================================
   PARKAR.IN - Industries Pages Shared Styles
   css/industries.css
   Used by: pages/Industries/FinancialServices.html
            pages/Industries/Healthcare.html
            pages/Industries/Manufacturing.html
            pages/Industries/Media.html
   ============================================= */

/* ─── INDUSTRY HERO (full-viewport background image) ─── */
.industry-hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 100% 50%;
  /* default fallback image */
  background-image: url(https://cdn.prod.website-files.com/66fa50f0631f1401a2a41200/68e7ec02ea11d53e27e1169f_industry%20hero.webp);
  padding-bottom: 80px;
}

/* dark gradient overlay so text is always legible */
.industry-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5, 11, 31, 0.82) 0%,
    rgba(5, 11, 31, 0.55) 50%,
    rgba(5, 11, 31, 0.15) 100%
  );
  pointer-events: none;
  z-index: 0;
}

.industry-hero .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.industry-hero-content-wp {
  max-width: 730px;
}

.industry-hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 24px;
}

.industry-hero-sub {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 520px;
}

/* ─── Financial Services specific bg ─── */
.financial-hero {
  background-image: url(https://cdn.prod.website-files.com/66fa50f0631f1401a2a41200/68fa3a8565a78344808facd5_ind-hero-2.webp);
  background-position: 50% 0;
}

@media (max-width: 768px) {
  .financial-hero {
    background-position: 65% 0;
  }
  .industry-hero-content-wp {
    max-width: 100%;
  }
  .industry-hero-h1 {
    font-size: 28px;
  }
}

/* ─── Healthcare & Life Sciences specific bg ─── */
.healthcare-hero {
  background-image: url(https://cdn.prod.website-files.com/66fa50f0631f1401a2a41200/69023d7e1b5afbb4097bb755_heathcare.webp);
  background-position: 50% 0;
}

@media (max-width: 768px) {
  .healthcare-hero {
    background-position: 65% 0;
  }
}

/* ─── Manufacturing specific bg ─── */
.manufacturing-hero {
  background-image: url(https://cdn.prod.website-files.com/66fa50f0631f1401a2a41200/69023cd046195f9d9a608900_manufact.webp);
  background-position: 50% 0;
}

@media (max-width: 768px) {
  .manufacturing-hero {
    background-position: 65% 0;
  }
}

/* ─── Media & Hi-Tech specific bg ─── */
.media-hero {
  background-image: url(https://cdn.prod.website-files.com/66fa50f0631f1401a2a41200/68fa3b184048d1486aba4927_industry-hero-4.webp);
  background-position: 60% 0;
}

@media (max-width: 768px) {
  .media-hero {
    background-position: 65% 0;
  }
}

/* ─── Industry Solution Cards (icon-based, no photo) ─── */
.fin-solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.fin-solution-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.fin-solution-card:hover {
  border-color: rgba(27,174,159,0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}
.fin-solution-icon {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fin-solution-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.fin-solution-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #fff;
  margin: 0;
}

/* ─── TESTIMONIALS ─── */
.testimonials {
  padding: 100px 0;
  background: var(--navy);
  border-top: 1px solid var(--border);
}
.testimonials-intro {
  text-align: center;
  font-family: var(--font-head);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 600;
  line-height: 1.65;
  color: #fff;
  max-width: 680px;
  margin: 0 auto 64px;
}
.testimonials-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 880px;
  margin: 0 auto;
}
.testimonials-track {
  flex: 1;
  overflow: hidden;
}
.testimonial-card {
  display: none;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 48px;
}
.testimonial-card.active {
  display: block;
}
.testimonial-company {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 28px;
}
.testimonial-quote-mark {
  width: 36px;
  height: 28px;
  opacity: 0.4;
  margin-bottom: 20px;
}
.testimonial-quote {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
  font-style: italic;
}
.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.testimonial-attribution {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
}
.testimonial-logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.4;
}
.carousel-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.25s, border-color 0.25s;
  padding: 0;
}
.carousel-arrow:hover {
  background: rgba(27,174,159,0.1);
  border-color: rgba(27,174,159,0.35);
}
.carousel-arrow img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

/* ─── STATS — 6-item centered grid (overrides solutions.css .stats-inner) ─── */
.stats-6-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}
.stats-6-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 72px;
  width: 100%;
  max-width: 900px;
}
.stats-6-grid .stat-item {
  text-align: center;
}
.stats-6-grid .stat-number {
  font-family: var(--font-head);
  font-size: clamp(48px, 6vw, 72px);
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 12px;
}
.stats-6-grid .stat-label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  line-height: 1.55;
}

/* ─── CERTIFICATIONS (dark background — matches live site) ─── */
.certifications {
  padding: 100px 0;
  background: var(--navy);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.certifications .cert-head {
  text-align: center;
  margin-bottom: 64px;
}
.certifications .cert-head h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
  letter-spacing: -0.02em;
  margin: 0;
}
/* Logos: flex row, each 20% wide, -2% left margin = slight natural overlap */
.cert-logos {
  display: flex;
  align-items: center;
  justify-content: center;
}
.cert-logos img {
  width: 20%;
  margin-left: -2%;
  object-fit: contain;
  display: block;
}
.cert-logos img:first-child {
  margin-left: 0;
}

@media (max-width: 900px) {
  .cert-logos img { width: 25%; }
}
@media (max-width: 600px) {
  .cert-logos {
    flex-wrap: wrap;
    gap: 0;
    margin-left: 6%;
  }
  .cert-logos img {
    width: 44%;
    margin-left: -6%;
    margin-top: -6%;
  }
}

/* ─── CASE STUDIES (industry variant — horizontal scroll) ─── */
.case-studies-block {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 8px;
  scroll-snap-type: x mandatory;
}
.case-studies-block::-webkit-scrollbar { display: none; }
.cs-scroll-card {
  flex: 0 0 340px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  transition: border-color 0.3s, transform 0.3s;
}
.cs-scroll-card:hover {
  border-color: rgba(27,174,159,0.3);
  transform: translateY(-4px);
}
.cs-scroll-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.cs-scroll-card-body {
  padding: 24px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.cs-scroll-tag {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--teal);
  margin-bottom: 10px;
}
.cs-scroll-card-body h3 {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.55;
  color: #fff;
  flex: 1;
  margin-bottom: 16px;
}
.cs-scroll-metric {
  font-size: 13px;
  font-weight: 700;
  color: var(--teal);
}
.cs-scroll-nav {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  justify-content: flex-end;
}
.cs-scroll-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--card-bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
  padding: 0;
}
.cs-scroll-arrow:hover {
  background: rgba(27,174,159,0.1);
  border-color: rgba(27,174,159,0.35);
}
.cs-scroll-arrow img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .fin-solutions-grid { grid-template-columns: 1fr; }
  .stats-6-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 40px; }
  .testimonials-carousel-wrap { flex-direction: column; gap: 20px; }
  .carousel-arrow { display: none; }
  .cert-logos { gap: 48px; }
}
@media (max-width: 600px) {
  .stats-6-grid { grid-template-columns: 1fr; gap: 36px; }
  .testimonial-card { padding: 28px 20px; }
  .cert-logos { gap: 32px; }
  .cert-logo-item img { height: 72px; }
  .cs-scroll-card { flex: 0 0 80vw; }
}
