/* --- Section Wrapper --- */
.section-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
  color: #222;
}

.section-eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #f46036;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: #555;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.premium-capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr)); /* was likely 300-320px */
  gap: 2rem;
}

.premium-capability-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.premium-capability-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.1);
}

.premium-capability-card h4 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 1rem 0 0.5rem;
  color: #111;
  min-height: 3.5rem; /* Adjust based on font-size/line-height */
  line-height: 1.3;
}

.card-descriptor {
  font-size: 0.95rem;
  font-weight: 600;
  color: #f46036;
  margin-bottom: 0.75rem;
}

.card-summary {
  font-size: 1rem;
  color: #333;
  margin-bottom: 1.5rem;
}

.card-cta {
  margin-top: auto;
  font-weight: 600;
  text-decoration: none;
  color: #f46036;
  transition: color 0.2s ease;
}

.card-cta:hover {
  text-decoration: underline;
  color: #e05020;
}

.card-icon img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* --- CTA Button --- */
.cta-button {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #f67323;
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  border-radius: 10px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: 1rem;
}

a.cta-button,
a.cta-button:visited {
  color: #fff;
  text-decoration: none;
}

a.cta-button:hover,
a.cta-button:focus {
  background-color: #e05e12;
  color: #fff;
  outline: none;
}

.cta-button:focus-visible {
  outline: 3px solid #f67323;
  outline-offset: 3px;
}

/* --- Capability Grid --- */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.capability-card {
  background: #fff;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-align: left;
  color: #333;
  min-height: 220px;
}

.capability-card:hover,
.capability-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 20px 30px rgba(0,0,0,0.12);
}

.capability-card h4, .capability-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #222;
}

.capability-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #444;
}

.capability-card a {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  color: #f46036;
  text-decoration: none;
  transition: color 0.3s ease;
}

.capability-card a:hover,
.capability-card a:focus-visible {
  text-decoration: underline;
  color: #e05e12;
  outline-offset: 2px;
  outline: none;
}

.capability-card a:focus-visible {
  outline: 3px solid #f46036;
}

/* --- "Let's Talk" CTA Link --- */
.lets-talk-link {
  text-align: center;
  font-weight: 600;
  font-size: 1rem;
  margin: 3rem 0;
  color: #222;
}

.lets-talk-link a {
  color: #f46036;
  text-decoration: none;
  transition: color 0.3s ease;
}

.lets-talk-link a:hover,
.lets-talk-link a:focus-visible {
  text-decoration: underline;
  color: #e05e12;
  outline-offset: 2px;
  outline: none;
}

.lets-talk-link a:focus-visible {
  outline: 3px solid #f46036;
}

/* === Shared Styles for All Domain Pages === */
.domain-hero {
  position: relative;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  padding: 6rem 2rem;
  text-align: center;
  overflow: hidden;
  margin-top: 30px;
  margin-bottom: 30px;
}

.domain-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.6));
  z-index: 0;
}

.domain-hero .content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.domain-hero .main-tagline {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #fff;
}

.domain-hero .sub-tagline {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  opacity: 0.95;
  color: #ddd;
}

.domain-hero .hero-description {
  font-size: 1.125rem;
  max-width: 800px;
  margin: 0 auto 2rem auto;
  opacity: 0.9;
  color: #eee;
}

.domain-hero .btn-primary {
  display: inline-block;
  background-color: #f67323;
  color: #fff;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s ease-in-out;
}

.domain-hero .btn-primary:hover,
.domain-hero .btn-primary:focus-visible {
  background-color: #e05e12;
  outline-offset: 3px;
  outline: 3px solid #f67323;
}

/* Base spacing — tighter layout */
.section-overview {
  padding-bottom: 1.5rem;
}

.capability-section {
  padding-top: 1rem;
}

/* Reduce .section-wrapper padding when inside .capability-section */
.capability-section .section-wrapper {
  padding-top: 1rem;
  padding-bottom: 3rem; /* optional: keep bottom spacing for visual breathing */
}

/* Desktop refinement — reduce gap further */
@media (min-width: 1024px) {
  .section-overview {
    padding-bottom: 1rem;
  }

  .capability-section {
    padding-top: 0.5rem;
  }

  .capability-section .section-wrapper {
    padding-top: 0.5rem;
    padding-bottom: 2.5rem;
  }

  .section-wrapper {
    padding: 2.5rem 1.5rem;
  }
}
/* End - Desktop refinement — reduce gap further */

@media (max-width: 600px) {
  .capability-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .section-wrapper {
    padding: 2rem 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .domain-hero {
    padding: 4rem 1.5rem;
  }
  .domain-hero .main-tagline {
    font-size: 2rem;
  }
  .domain-hero .sub-tagline {
    font-size: 1.1rem;
  }
  .domain-hero .hero-description {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .section-wrapper {
    padding: 2rem 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }
}

/* === Enetgize Inline SVG Styling === */

.enetgize-icon {
  display: block;
  transition: transform 0.25s ease;
}

/* Subtle scale effect on card hover (optional) */
.premium-capability-card:hover .enetgize-icon {
  transform: scale(1.05);
}

/* === Stroke-Draw Animation === */

/* Initial hidden stroke state */
.draw-path {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  transition: stroke-dashoffset 2.4s ease-in-out;
}

/* When .animate class is applied by JavaScript */
.animate .draw-path {
  stroke-dashoffset: 0;
}

/* Optimize GPU performance */
.card-icon {
  will-change: transform;
}

