/* ==============================
   HERO (SCREENSHOT STYLE)
============================== */
/* HERO IMAGE */
/* ==============================
   HERO FIX — HVAC Services (page-id-25)
============================== */

.page-id-25 .industry-hero{
  position: relative;        /* MUST */
  width: 100%;
  min-height: 520px;         /* desktop */
  overflow: hidden;

  background-image: url("/wp-content/themes/chemtromech/assets/hvac-services.png"); /* <-- filename change if needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay */
.page-id-25 .industry-hero__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.38);
  z-index: 1;
}

/* Center heading */
.page-id-25 .industry-hero__content{
  position: absolute;
  inset: 0;
  z-index: 2;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  padding: 0 16px;
}

.page-id-25 .industry-hero__content h1{
  margin: 0;
  color: #fff;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: .2px;
  font-size: clamp(28px, 4vw, 62px);
  text-shadow: 0 10px 30px rgba(0,0,0,0.55);
}

/* Responsive */
@media (max-width: 768px){
  .page-id-25 .industry-hero{ min-height: 420px; }
}
@media (max-width: 480px){
  .page-id-25 .industry-hero{ min-height: 360px; }
}




/* Dark overlay for text readability */
.industry-hero__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

/* Center content */
.industry-hero__content{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 18px;
  z-index: 2;
}

/* Heading style */
.industry-hero__content h1{
  margin: 0;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.2px;
  line-height: 1.1;
  font-size: clamp(26px, 4vw, 56px);
  max-width: 1050px;

  /* nice readable look like screenshot */
  text-shadow: 0 6px 18px rgba(0,0,0,0.45);
}

/* Responsive tweaks */
@media (max-width: 992px){
  .industry-hero{
    height: 480px;
  }
}

@media (max-width: 576px){
  .industry-hero{
    height: 420px;
    min-height: 380px;
  }
  .industry-hero__content{
    padding: 0 14px;
  }
}



/* ==============================
   TEXT SECTION (LIKE SCREENSHOT)
============================== */
.utility-text-section{
  width: 100%;
  background: #ffffff;
  padding: 28px 0;  /* top/bottom spacing like screenshot */
}

.utility-text-wrap{
  width: min(980px, 92%);   /* centered + responsive */
  margin: 0 auto;
}

.utility-text-wrap p{
  margin: 0 0 18px 0;
  font-size: 16px;
  line-height: 1.8;
  color: #111827; /* professional dark */
  font-weight: 400;
}

/* last paragraph bottom gap remove */
.utility-text-wrap p:last-child{
  margin-bottom: 0;
}

/* Responsive tuning */
@media (max-width: 768px){
  .utility-text-section{
    padding: 22px 0;
  }
  .utility-text-wrap p{
    font-size: 15px;
    line-height: 1.75;
  }
}
/* =========================================
   CTM Split Section (No Background)
   Left Text + Right Image
========================================= */

.ctm-split-section{
  padding: 80px 0;
  background: none !important;   /* ✅ no background */
}

.ctm-split-wrap{
  width: min(1200px, 92%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

/* Left content */
.ctm-split-content h2{
  margin: 0 0 14px;
  font-size: 34px;
  line-height: 1.25;
  font-weight: 700;
  color: #111;
}

.ctm-split-content p{
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
  color: #333;
  max-width: 720px;
}

/* Right image */
.ctm-split-image img{
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;

  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(0,0,0,0.10);
}

/* Responsive */
@media (max-width: 900px){
  .ctm-split-wrap{
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .ctm-split-content h2{
    font-size: 28px;
  }

  .ctm-split-image img{
    height: auto;
  }
}


/* ==============================
   5 ALTERNATING IMAGE + TEXT
============================== */
.alt-sections{
  width: 100%;
  background: #ffffff;
  padding: 40px 0;
}

.alt-row{
  width: min(1100px, 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
  padding: 26px 0;
}

/* Auto alternating:
   even rows => image right, text left */
.alt-row:nth-child(even) .alt-media{
  order: 2;
}
.alt-row:nth-child(even) .alt-text{
  order: 1;
}

.alt-media{
  width: 100%;
}

.alt-media img{
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 14px;
  display: block;
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
}

.alt-text h2{
  margin: 0 0 12px 0;
  font-size: 34px;
  line-height: 1.15;
  color: #0b0f19;
  font-weight: 800;
}

.alt-text p{
  margin: 0 0 14px 0;
  font-size: 16px;
  line-height: 1.85;
  color: #111827;
}

.alt-text p:last-child{
  margin-bottom: 0;
}


/* Responsive */
@media (max-width: 900px){
  .alt-row{
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 0;
  }

  /* on mobile: image always on top */
  .alt-row:nth-child(even) .alt-media,
  .alt-row:nth-child(even) .alt-text{
    order: initial;
  }

  .alt-media img{
    height: 260px;
    border-radius: 12px;
  }

  .alt-text h2{
    font-size: 26px;
  }

  .alt-text p{
    font-size: 15px;
    line-height: 1.8;
  }
}



/* ==============================
   3 CARDS LAYOUT
============================== */

.utility-cards-section{
  width: 100%;
  background: #ffffff;
  padding: 40px 0;
}

.utility-cards-wrap{
  width: min(1200px, 92%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* CARD DESIGN */
.utility-card{
  background: #f1f6fb;        /* light blue feel */
  border: 1px solid #e2e8f0;
  border-radius: 14px;

  padding: 22px 20px;

  transition: all .25s ease;
}

.utility-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

/* Heading */
.utility-card h3{
  margin: 0 0 10px 0;
  font-size: 22px;
  font-weight: 700;
  color: #0b0f19;
  line-height: 1.25;
}

/* normal text */
.utility-card p{
  margin: 0 0 10px 0;
  font-size: 15px;
  line-height: 1.75;
  color: #111827;
}

.utility-card .sub{
  font-weight: 600;
}

/* List */
.utility-card ul{
  margin: 6px 0 0 0;
  padding-left: 18px;
}

.utility-card ul li{
  margin-bottom: 6px;
  font-size: 15px;
  line-height: 1.7;
  color: #111827;
}

/* Responsive */
@media (max-width: 1000px){
  .utility-cards-wrap{
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px){
  .utility-cards-wrap{
    grid-template-columns: 1fr;
  }

  .utility-card h3{
    font-size: 20px;
  }
}


/* ==============================
   FINAL CTA SECTION
============================== */

.utility-cta-section{
  width: 100%;
  background: #ffffff;
  padding: 36px 0;
}

.utility-cta-wrap{
  width: min(960px, 92%);
  margin: 0 auto;
}

/* Heading */
.utility-cta-wrap h2{
  margin: 0 0 12px 0;
  font-size: 32px;
  font-weight: 800;
  color: #0b0f19;
  line-height: 1.2;
}

/* Paragraph */
.utility-cta-wrap p{
  margin: 0 0 14px 0;
  font-size: 16px;
  line-height: 1.85;
  color: #111827;
}

/* Contact line */
.utility-cta-wrap .cta-line a{
  font-weight: 700;
  color: #0f4c9a;        /* corporate blue */
  text-decoration: none;

  transition: all .2s ease;
}

.utility-cta-wrap .cta-line a:hover{
  text-decoration: underline;
  color: #0b3b7a;
}

/* Responsive */
@media (max-width: 768px){

  .utility-cta-section{
    padding: 28px 0;
  }

  .utility-cta-wrap h2{
    font-size: 24px;
  }

  .utility-cta-wrap p{
    font-size: 15px;
  }
}
