/* Styles for the /services/ detail pages (core-it-management.html, etc.)
   Loaded after ../styles.css — relies on the CSS variables defined there. */

/* Bold mini-heading between a section's h2 and its explanatory
   paragraphs — e.g. "Why Backup?" under a bigger bold header. */
.section-subheading {
  margin: 4px 0 14px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--teal);
}

/* Two-column "photo card + content list" feature split. No real photo
   asset exists in the project, so the left panel uses a brand gradient
   in place of a photo — swap in a background-image on .feature-photo
   whenever a real photo is available. */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.feature-photo {
  position: relative;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--teal) 0%, var(--sage) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  min-height: 420px;
}

.feature-photo-card {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  padding: 30px 28px;
}

.feature-photo-card h2,
.feature-photo-card .section-subheading,
.feature-photo-card p {
  text-shadow:
    -1px -1px 0 rgba(7, 45, 37, 0.6),
     1px -1px 0 rgba(7, 45, 37, 0.6),
    -1px  1px 0 rgba(7, 45, 37, 0.6),
     1px  1px 0 rgba(7, 45, 37, 0.6);
}

.feature-photo-card h2 {
  margin: 0 0 8px;
  font-size: 1.7rem;
  letter-spacing: -0.05em;
  color: var(--white);
}

.feature-photo-card .section-subheading {
  color: var(--mint);
}

.feature-photo-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.7;
}

.feature-content {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
}

.feature-content h2 {
  margin: 0 0 16px;
  font-size: 1.6rem;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.feature-content h2:not(:first-child) {
  margin-top: 30px;
}

.feature-content p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.plain-list {
  list-style: disc;
  margin: 0;
  padding-left: 1.2em;
  display: grid;
  gap: 10px;
  color: var(--ink);
  font-weight: 500;
}

.feature-content .btn {
  margin-top: 30px;
}

.hero-banner {
  background: linear-gradient(135deg, var(--teal-strong) 0%, var(--sage) 100%);
  padding: 110px 0;
}

/* Photo variant — a flat, even dark tint (rather than a light-to-dark
   gradient) sits on top of the photo so white text stays legible
   everywhere without needing an outline effect. Pair .hero-photo with
   a page-specific modifier below to set which image shows. */
.hero-banner.hero-photo {
  background-size: cover;
  background-position: center;
}

.hero-banner.hero-photo-core-it {
  background-image:
    linear-gradient(rgba(7, 45, 37, 0.85), rgba(7, 45, 37, 0.85)),
    url("../Overlay%20images/core-it-management-hero.jpg");
}

.hero-banner.hero-photo-cybersecurity {
  background-image:
    linear-gradient(rgba(7, 45, 37, 0.85), rgba(7, 45, 37, 0.85)),
    url("../Overlay%20images/cybersecurity-hero.jpg");
}

.hero-banner.hero-photo-backup-recovery {
  background-image:
    linear-gradient(rgba(7, 45, 37, 0.85), rgba(7, 45, 37, 0.85)),
    url("../Overlay%20images/backup-recovery-hero.jpg");
}

.hero-banner.hero-photo-industries {
  background-image:
    linear-gradient(rgba(7, 45, 37, 0.85), rgba(7, 45, 37, 0.85)),
    url("../Overlay%20images/cta-city.jpg");
}

.hero-banner .hero-centered {
  max-width: 100%;
}

/* Match the CTA banner's heading treatment exactly — same size, weight,
   letter-spacing, and color, just used for h1 here instead of h2. */
.hero-banner h1 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 2vw + 1.2rem, 2.6rem);
  letter-spacing: -0.06em;
  color: var(--white);
}

.hero-banner .hero-subheading {
  color: var(--mint);
}

.hero-banner p {
  color: var(--white);
  font-weight: 500;
}

.checklist-panel {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow);
}


.checklist-panel h3 {
  margin: 0 0 20px;
  font-size: 1.3rem;
  letter-spacing: -0.05em;
}

.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.6;
}

.check-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 6px;
  background: rgba(34, 212, 157, 0.18);
  color: #0b7a45;
  font-size: 0.8rem;
  font-weight: 800;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex: none;
  background: var(--teal);
  margin-bottom: 16px;
}

.icon-badge svg {
  width: 22px;
  height: 22px;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.why-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 30px 22px;
  text-align: center;
}

.why-card h3 {
  margin: 0 0 14px;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.why-card hr {
  border: none;
  border-top: 1px solid var(--line);
  width: 50%;
  margin: 0 auto 14px;
}

.why-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

/* Vertical, stacked variant of the "why choose us" cards — icon beside
   the text, one full-width row per item, instead of a side-by-side grid. */
.why-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 820px;
  margin: 0 auto;
}

.why-list-item {
  display: flex;
  align-items: flex-start;
  gap: 22px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 26px 28px;
  text-align: left;
}

.why-list-item .icon-badge {
  margin-bottom: 0;
}

.why-list-item h3 {
  margin: 0 0 8px;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}

.why-list-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.process-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.process-flow::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--line);
  z-index: 0;
}

.process-flow-step {
  position: relative;
  z-index: 1;
  text-align: center;
}

.process-flow-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-weight: 800;
  font-family: "JetBrains Mono", monospace;
  margin-bottom: 18px;
}

.process-flow-step h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  letter-spacing: -0.04em;
}

.process-flow-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.95rem;
}

.inline-divider-list {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 2.2;
}

.inline-divider-list .divider {
  color: var(--sage);
  margin: 0 14px;
  font-weight: 400;
}

.cta-banner {
  background:
    linear-gradient(rgba(7, 45, 37, 0.72), rgba(7, 45, 37, 0.72)),
    url("../Overlay%20images/cta-city.jpg");
  background-size: cover;
  background-position: center;
  padding: 110px 0;
  text-align: center;
}

.cta-banner h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 2vw + 1.2rem, 2.6rem);
  letter-spacing: -0.06em;
  color: var(--white);
}

.cta-banner p {
  margin: 0 auto 28px;
  max-width: 560px;
  color: var(--white);
  font-weight: 500;
  line-height: 1.8;
}

.cta-banner-btn {
  background: var(--white);
  color: var(--teal);
  border-color: var(--white);
}

.cta-banner-btn:hover {
  background: rgba(255, 255, 255, 0.9);
}

@media (max-width: 980px) {
  .why-grid,
  .process-flow {
    grid-template-columns: 1fr 1fr;
  }

  .process-flow::before {
    display: none;
  }
}

@media (max-width: 680px) {
  .why-grid,
  .process-flow,
  .feature-split {
    grid-template-columns: 1fr;
    display: grid;
  }

  .feature-content {
    padding: 30px;
  }
}
