/* === ABOUT ENETGIZE STYLES === */

/* === HERO BLOCK === */
.hero-block.about-hero {
  background: url('../images/about-enetgize-hero-1920.jpg') no-repeat center center;
  background-size: cover;
  min-height: 600px;
  padding: 4rem 2rem;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero-block.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-block.about-hero .content-wrapper {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero-block.about-hero h1,
.hero-block.about-hero h2 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0px 2px 8px rgba(0, 0, 0, 0.6);
}

/* === SECTION STRUCTURE === */
.centered-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
}

.spaced-block {
  margin-bottom: 2.5rem;
}

.section-heading {
  font-size: 2rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 1.5rem;
  border-left: 4px solid #f67323;
  padding-left: 1rem;
}

.section-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
}
/* === FLEX SECTIONS === */
.section-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto 3rem auto;
  padding: 0 1.5rem;
}

.section-half-text,
.section-half-image {
  flex: 1 1 48%;
  max-width: 48%;
  box-sizing: border-box;
}

.section-half-text {
  padding-right: 2rem;
}

.section-image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 2;
  border-radius: 0;

  /* Enhancements for Safari and rendering consistency */
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: opacity, transform;
}

.section-half-image img {
  display: block;
  width: 100%;
  height: auto;
}

.text-block {
  max-width: 600px;
  line-height: 1.6;
  color: #333;
}

/* === VALUE LIST === */
.section-half-text ul {
  padding-left: 1.25rem;
  list-style: disc;
  margin-top: 1rem;
}

.section-half-text ul li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
  color: #333;
}

/* === PARAGRAPHS === 
.content.about-enetgize-page p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.5rem;
} */

/* CTA Section Used in About Enetgize, Why Enetgize, and Capabilities */
.cta-section {
  position: relative;
  padding: 6rem 2rem;
  text-align: center;
  overflow: hidden;
  margin-top: 4rem;
  border-radius: 16px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.cta-section .cta-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.cta-section h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  color: white;
}

.cta-section p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
  color: white;
}

.cta-section .cta-button {
  display: inline-block;
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
  background-color: #f67323;
  color: white;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: background 0.3s ease;
}

.cta-section .cta-button:hover {
  background-color: #e05e12;
}

/* === CTA BLOCK === */
.about-enetgize-cta {
  background: url('../images/capabilities_cta_bg.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  position: relative;
  text-align: center;
  padding: 6rem 2rem; /* matches .cta-section */
  border-radius: 16px;
  max-width: 1000px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); /* matches .cta-section */
}

.about-enetgize-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 30, 0.6); /* navy tint */
  z-index: 1;
}

.about-enetgize-cta .cta-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

/* Typography Match */
.about-enetgize-cta h3 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.about-enetgize-cta p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  line-height: 1.6;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

/* Button Match */
.about-enetgize-cta .cta-button {
  font-weight: 600;
  margin-top: 1rem;
}

.about-enetgize-cta .cta-button:hover {
  background-color: #e05e12;
}

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

a.cta-button:hover {
  background-color: #e05e12;
  color: #fff;
}

.cta-section.about-enetgize-cta {
  width: 100%;
  max-width: 1000px;
  margin: 3rem auto 5rem auto;
}

/* === OPTIONAL BLOCKS === */
.about-mission-vision {
  background-color: #f4f4f4;
  padding: 3rem 2rem;
  border-radius: 10px;
  margin: 2rem 0;
  text-align: center;
}

.about-mission-vision h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #333;
}

.about-mission-vision p {
  font-size: 1.1rem;
  color: #555;
}

.about-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.timeline-item {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.timeline-item h4 {
  font-size: 1.2rem;
  color: #3e8ed0;
  margin-bottom: 0.5rem;
}

.about-team {
  text-align: center;
  margin-top: 4rem;
}

.about-team h3 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
}

.team-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.team-member {
  max-width: 200px;
  text-align: center;
}

.team-member img {
  width: 100%;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.team-member h4 {
  font-size: 1.1rem;
  color: #222;
  margin-bottom: 0.3rem;
}

.team-member span {
  font-size: 0.95rem;
  color: #666;
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .centered-content {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-block.about-hero h1,
  .hero-block.about-hero h2 {
    font-size: 2.2rem;
  }

  .section-flex {
    flex-direction: column;
  }

  .section-half-text,
  .section-half-image {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
    padding: 1.5rem 0;
  }

  .section-half-text {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .about-enetgize-cta {
	height: auto;
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-block.about-hero {
    min-height: 300px;
    padding: 2.5rem 1.25rem;
  }

  .hero-block.about-hero h1,
  .hero-block.about-hero h2 {
    font-size: 1.8rem;
  }
}

/* === RESPONSIVE HERO BACKGROUNDS === */
@media (max-width: 1440px) {
  .hero-block.about-hero {
    background-image: url('../images/about-enetgize-hero-1440.jpg');
  }
}

@media (max-width: 960px) {
  .hero-block.about-hero {
    background-image: url('../images/about-enetgize-hero-960.jpg');
  }
}

@media (max-width: 480px) {
  .hero-block.about-hero {
    background-image: url('../images/about-enetgize-hero-480.jpg');
  }
}

/* --- High-DPI Mobile Enhancement --- */
@media (max-width: 600px) and (-webkit-min-device-pixel-ratio: 2),
       (max-width: 600px) and (min-resolution: 192dpi) {
  .hero-block.about-hero {
    background-image: url('../images/about-enetgize-hero-960.jpg');
  }
}

/* Safari footer bleed fix */
.about-enetgize-page {
  overflow-x: hidden;
  background-color: #0d1e32;
}

.content.about-enetgize-page {
  background-color: #fff;
}

/* === PULL QUOTE === */
.pull-quote {
  max-width: 840px;
  margin: 3rem auto;
  padding: 2rem 2rem;
  text-align: center;
  font-style: italic;
  font-size: 1.4rem;
  line-height: 1.8;
  color: #333;
  border-left: 4px solid #f46036;
  border-right: 4px solid #f46036;
  background-color: #fafafa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-radius: 12px;
}

.pull-quote .quote-text {
  margin: 0;
  padding: 0;
}

/* === BRAND ORIGIN BLOCK === */
.brand-origin-block {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1.75rem 2rem;
  background-color: #f9f9f9;
  border-left: 5px solid #f46036;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  font-size: 1.15rem;
  line-height: 1.7;
  color: #333;
}

.brand-origin-block p {
  margin: 0;
}

.brand-origin-block .block-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  font-weight: 600;
  color: #f46036;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

/* === INDUSTRIES SECTION === */
.industries-section {
  max-width: 960px;
  margin: 0 auto;
  padding: 3.5rem 2rem;
  text-align: center;
}

.industry-subtext {
  font-size: 1.15rem;
  color: #555;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.industry-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem 2rem;
  font-size: 1.1rem;
  color: #222;
}

.industry-list li::before {
  content: "•";
  color: #f67323;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  margin-right: 0.5em;
}

/* === SCROLL FADE-IN === */
.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
