/* ==============================
   HERO FIX — Water Treatment Product (page-id-31)
============================== */

.page-id-31 .industry-hero{
  position: relative;   /* MUST */
  width: 100%;
  min-height: 520px;
  overflow: hidden;

  background-image: url("/wp-content/themes/chemtromech/assets/high-performance.png"); /* <-- exact filename */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* FORCE CENTER ALIGN HERO CONTENT */
.page-id-31 .industry-hero__content{
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.page-id-31 .industry-hero__content h1{
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
/* =========================================
   HERO HEADING STYLE - MATCH SCREENSHOT
========================================= */

.page-id-31 .industry-hero{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

/* dark overlay for readability */
.page-id-31 .industry-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 0;
}

/* heading */
.page-id-31 .industry-hero h1{
  position: relative;
  z-index: 1;

  margin: 0 auto;
  max-width: 1100px;

  color: #ffffff !important;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: 0.3px;

  font-size: clamp(30px, 4.5vw, 60px);

  text-align: center;

  /* smooth strong shadow like screenshot */
  text-shadow:
    0 8px 25px rgba(0,0,0,0.55),
    0 2px 6px rgba(0,0,0,0.35);
}


/* overlay */
.page-id-31 .industry-hero__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.38);
  z-index: 1;
}

/* center content */
.page-id-31 .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-31 .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-31 .industry-hero{ min-height: 420px; }
}
@media (max-width: 480px){
  .page-id-31 .industry-hero{ min-height: 360px; }
}


/* ===== TEXT SECTION (LIKE SCREENSHOT) ===== */
.chemistry-text-section{
  width: 100%;
  background: #ffffff;
  padding: 28px 0;
}

.chemistry-text-wrap{
  width: 92%;
  max-width: 980px;
  margin: 0 auto;
}


/* Paragraphs */
.chemistry-text-wrap p{
  font-size: 15px;
  line-height: 1.7;
  color: #222;
  margin: 0 0 14px 0;
}

/* Last paragraph spacing remove */
.chemistry-text-wrap p:last-child{
  margin-bottom: 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px){
  .chemistry-text-section{
    padding: 22px 0;
  }


  .chemistry-text-wrap p{
    font-size: 14.5px;
  }
}

@media (max-width: 480px){
  .chemistry-text-wrap{
    width: 90%;
  }

  .chemistry-text-wrap h2{
    font-size: 18px;
  }

  .chemistry-text-wrap p{
    font-size: 14px;
  }
}



/* ===== Alternating Sections Wrapper ===== */
.alt-sections{
  width: 100%;
  background: #fff;
  padding: 28px 0;
}

.alt-row{
  width: 92%;
  max-width: 1180px;
  margin: 0 auto 26px auto;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
  align-items: center;
}

/* reverse layout: image left, text right */
.alt-row.reverse .alt-media{ order: 1; }
.alt-row.reverse .alt-text{ order: 2; }

/* Text Style (like your screenshot) */
.alt-text h2{
  font-size: 28px;
  font-weight: 800;
  color: #111;
  margin: 0 0 12px 0;
}

.alt-text p{
  font-size: 15px;
  line-height: 1.7;
  color: #222;
  margin: 0 0 12px 0;
}

.alt-text p:last-child{
  margin-bottom: 0;
}

/* Image Style */
.alt-media{
  width: 100%;
}

.alt-media img{
  width: 100%;
  height: 320px;
  object-fit: cover;

  border-radius: 10px;
  display: block;
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}

/* ===== Responsive ===== */
@media (max-width: 992px){
  .alt-row{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .alt-row.reverse .alt-media,
  .alt-row.reverse .alt-text{
    order: unset;
  }

  .alt-media img{
    height: 280px;
  }

  .alt-text h2{
    font-size: 24px;
  }
}

@media (max-width: 560px){
  .alt-sections{
    padding: 18px 0;
  }

  .alt-row{
    width: 90%;
    margin-bottom: 20px;
  }

  .alt-media img{
    height: 220px;
    border-radius: 8px;
  }

  .alt-text h2{
    font-size: 20px;
  }

  .alt-text p{
    font-size: 14px;
  }
}



/* ==========================
   4 CARDS SECTION (1 ROW)
========================== */

.chem-cards-section{
  width: 100%;
  background: #ffffff;
  padding: 34px 0;
}

.chem-cards-wrap{
  width: 92%;
  max-width: 1280px; /* 4 cards one row ke liye thora wide */
  margin: 0 auto;
}

/* ===== GRID: 4 cards in one row (Desktop) ===== */
.chem-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: stretch;
}

/* ===== CARD STYLE ===== */
.chem-card{
  background: #f3f8ff;            /* light blue */
  border: 1px solid #d7e7ff;
  border-radius: 14px;
  padding: 20px 18px 18px;

  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  height: 100%;
}

/* Hover trigger */
.chem-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.10);
  border-color: #b8d6ff;
}

/* Headings */
.chem-card h3{
  font-size: 18px;     /* 4 cards ek row me fit rahe */
  font-weight: 800;
  color: #111;
  margin: 0 0 10px 0;
  line-height: 1.25;
}

/* Paragraphs */
.chem-card p{
  font-size: 13.8px;
  line-height: 1.7;
  color: #1f2a37;
  margin: 0 0 10px 0;
}

/* Subtitle line inside card */
.chem-subtitle{
  font-weight: 700;
  margin-top: 8px;
}

/* Lists */
.chem-card ul{
  margin: 10px 0 0 18px;
  padding: 0;
}

.chem-card li{
  font-size: 13.8px;
  line-height: 1.8;
  color: #1f2a37;
  margin: 2px 0;
}

/* Footer line */
.chem-foot{
  margin-top: 12px;
  font-weight: 600;
}

/* ==========================
   RESPONSIVE BREAKPOINTS
========================== */

/* Large tablets / small laptops: 2 cards per row */
@media (max-width: 1100px){
  .chem-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .chem-card h3{
    font-size: 20px;
  }

  .chem-card p,
  .chem-card li{
    font-size: 14.2px;
  }
}

/* Mobile: 1 card per row */
@media (max-width: 620px){
  .chem-cards-section{
    padding: 22px 0;
  }

  .chem-cards-wrap{
    width: 90%;
  }

  .chem-grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .chem-card{
    padding: 18px;
    border-radius: 12px;
  }

  .chem-card h3{
    font-size: 18px;
  }

  .chem-card p,
  .chem-card li{
    font-size: 14px;
  }
}


/* ===== TEXT CTA SECTION ===== */

.cta-text-section{
  width: 100%;
  padding: 70px 20px;
  background: #ffffff;
}

.cta-text-section .container{
  max-width: 1100px;
  margin: 0 auto;
}

.cta-text-section h2{
  font-size: 32px;
  font-weight: 700;
  color: #111;
  margin-bottom: 18px;
}

.cta-text-section p{
  font-size: 17px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 16px;
  max-width: 900px;
}

.cta-text-section .contact-line a{
  font-weight: 600;
  color: #0b3d91;        /* corporate blue */
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-text-section .contact-line a:hover{
  text-decoration: underline;
  color: #062b66;
}

/* ===== RESPONSIVE ===== */

@media(max-width: 768px){

  .cta-text-section{
    padding: 50px 16px;
  }

  .cta-text-section h2{
    font-size: 26px;
  }

  .cta-text-section p{
    font-size: 16px;
  }

}


/* ======================================
   RO PLANT CHEMICALS – SIMPLE STYLE
   LEFT IMAGE / RIGHT TEXT
====================================== */

.ro-block{
  width:100%;
  padding:50px 5%;
  background:#fff;
}

/* Flex layout */
.ro-flex{
  display:flex;
  align-items:center;
  gap:40px;
}

/* LEFT IMAGE */
.ro-img{
  flex:1;
}

.ro-img img{
  width:100%;
  max-width:520px;
  border-radius:10px;
}

/* RIGHT TEXT */
.ro-text{
  flex:1;
}

/* Heading – BLACK like screenshot */
.ro-text h2{
  margin:0 0 14px;
  font-size:32px;
  font-weight:900;
  color:#000;          /* important */
}

/* Paragraphs */
.ro-text p{
  margin:0 0 10px;
  font-size:16px;
  line-height:1.75;
  color:#000;          /* important */
  max-width:860px;
}

.ro-lead{
  margin-top:14px;
}

/* SIMPLE BULLETS (no fancy icon) */
.ro-bullets{
  margin:10px 0 0;
  padding-left:24px;
}

.ro-bullets li{
  margin:6px 0;
  font-size:15px;
  line-height:1.6;
  color:#000;
}

/* ===== RESPONSIVE ===== */

@media(max-width:992px){
  .ro-flex{
    gap:24px;
  }

  .ro-text h2{
    font-size:26px;
  }
}

@media(max-width:768px){

  .ro-flex{
    flex-direction:column;
  }

  .ro-img img{
    max-width:100%;
  }

  .ro-text h2{
    font-size:24px;
  }

  .ro-text p,
  .ro-bullets li{
    font-size:15px;
  }
}


/* ===== COOLING TOWER SECTION ===== */

.ct-section{
  width:100%;
  background:#fff;
  padding:40px 0;
}

.ct-wrapper{
  max-width:1200px;
  margin:0 auto;
  padding:0 18px;

  display:flex;
  align-items:flex-start;
  gap:40px;
}

/* LEFT TEXT */
.ct-text{
  flex:1;
  min-width:320px;
}

.ct-text h2{
  margin:0 0 14px;
  font-size:32px;
  font-weight:800;
  color:#111;
  line-height:1.2;
}

.ct-text p{
  margin:0 0 10px;
  font-size:15px;
  color:#222;
  line-height:1.6;
}

.ct-lead{
  margin-top:14px !important;
  font-weight:700;
}

/* LISTS */
.ct-lists{
  display:flex;
  gap:40px;
  margin-top:12px;
}

.ct-list{
  padding-left:22px;
}

.ct-list li{
  margin:6px 0;
  font-size:15px;
  color:#111;
  line-height:1.6;
}

/* RIGHT IMAGE */
.ct-image{
  flex:1;
  display:flex;
  justify-content:flex-end;
}

.ct-image img{
  width:100%;
  max-width:560px;
  height:auto;
  border-radius:18px;
  object-fit:cover;
  box-shadow:0 10px 24px rgba(0,0,0,.12);
}


/* ===== RESPONSIVE ===== */

@media(max-width:992px){

  .ct-wrapper{
    flex-direction:column;
    gap:22px;
  }

  .ct-lists{
    flex-direction:column;
    gap:10px;
  }

  .ct-image{
    justify-content:flex-start;
  }

  .ct-image img{
    max-width:100%;
  }

  .ct-text h2{
    font-size:26px;
  }
}
