/* =========================================
   SPECIALTY PRODUCT HERO FIX
========================================= */

.page-id-35 .industry-hero{
  position: relative;
  min-height: 520px;

  background-image: url("/wp-content/themes/chemtromech/assets/specialty-product.png") !important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

/* Overlay */
.page-id-35 .industry-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 0;
}

/* Heading Style */
.page-id-35 .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;

  text-shadow:
    0 8px 25px rgba(0,0,0,0.55),
    0 2px 6px rgba(0,0,0,0.35);
}




/* Dark overlay for readable heading */
.industry-hero__overlay{
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

/* Content centered */
.industry-hero__content{
  position: relative;
  z-index: 2;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 18px;
}

/* Heading style */
.industry-hero__content h1{
  margin: 0;
  color: #fff;
  font-size: 54px;
  font-weight: 800;
  line-height: 1.15;
  max-width: 1100px;
  text-shadow: 0 8px 22px rgba(0,0,0,0.35);
}

/* ============ Responsive ============ */
@media (max-width: 992px){
  .industry-hero{ height: 440px; border-radius: 8px; }
  .industry-hero__content h1{ font-size: 40px; max-width: 900px; }
}

@media (max-width: 768px){
  .industry-hero{ height: 360px; border-radius: 8px; }
  .industry-hero__content h1{ font-size: 30px; }
}

@media (max-width: 480px){
  .industry-hero{ height: 320px; border-radius: 6px; }
  .industry-hero__content h1{ font-size: 24px; line-height: 1.2; }
}



/* ==============================
   TEXT BLOCK SECTION (LIKE SCREENSHOT)
============================== */

.chem-text-section{
  width: 100%;
  background: #ffffff;
  padding: 24px 0;              /* top/bottom space */
}

.chem-text-wrap{
  width: min(980px, 92%);       /* centered, same look */
  margin: 0 auto;
  background: #ffffff;
}

.chem-text-wrap p{
  margin: 0 0 16px;
  color: #111;
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
}

/* last paragraph spacing remove */
.chem-text-wrap p:last-child{
  margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px){
  .chem-text-section{ padding: 18px 0; }
  .chem-text-wrap p{ font-size: 15px; line-height: 1.75; }
}

@media (max-width: 480px){
  .chem-text-wrap p{ font-size: 14px; line-height: 1.8; }
}


/* ==============================
   ALTERNATING SECTION
============================== */

.alt-section{
  width: 100%;
  padding: 40px 0;
}

/* ROW */
.alt-row{
  width: min(1200px, 92%);
  margin: 0 auto 40px;

  display: flex;
  align-items: center;
  gap: 40px;
}

/* reverse for 2nd section */
.alt-row.reverse{
  flex-direction: row-reverse;
}

/* TEXT SIDE */
.alt-text{
  flex: 1;
}

.alt-text h3{
  font-size: 26px;
  margin: 0 0 12px;
  color: #000;
}

.alt-text p{
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.7;
  color: #111;
}

.alt-text p:last-child{
  margin-bottom: 0;
}

/* IMAGE SIDE */
.alt-image{
  flex: 1;
}

.alt-image img{
  width: 100%;
  border-radius: 10px;
  display: block;
}

/* =================
   RESPONSIVE
================= */

@media (max-width: 992px){
  .alt-text h3{
    font-size: 22px;
  }
}

@media (max-width: 768px){

  .alt-row,
  .alt-row.reverse{
    flex-direction: column;
    gap: 18px;
  }

  .alt-text h3{
    font-size: 20px;
  }

  .alt-text p{
    font-size: 15px;
  }
}

@media (max-width: 480px){
  .alt-text p{
    font-size: 14px;
  }
}


/* ==============================
   5 CARDS SECTION – EXACT CENTER
============================== */

.chem-cards{
  width: 100%;
  padding: 40px 0;
  background: #fff;
}

.chem-cards__grid{
  width: min(1200px, 92%);
  margin: 0 auto;

  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

/* CARD */
.chem-card{
  background: #eaf4ff;
  border: 1px solid rgba(0, 90, 160, 0.10);
  border-radius: 14px;
  padding: 22px;

  width: calc(33.33% - 15px);   /* 3 cards in first row */

  box-shadow: 0 10px 22px rgba(0,0,0,0.06);
  transition: transform .25s ease, box-shadow .25s ease;
}

/* Hover */
.chem-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 16px 30px rgba(0,0,0,0.10);
}

/* Typography */
.chem-card h3{
  margin: 0 0 12px;
  font-size: 20px;
}

.chem-card p{
  font-size: 15px;
  line-height: 1.7;
}

.chem-card ul{
  padding-left: 18px;
}

.chem-card li{
  font-size: 15px;
  margin-bottom: 8px;
}

/* =============================
   MAGIC PART – CENTER LAST 2
============================= */

/* 4th & 5th card ko fixed width do */
.chem-card:nth-child(4),
.chem-card:nth-child(5){
  width: calc(33.33% - 15px);
}

/* =============================
   RESPONSIVE
============================= */

/* Tablet: 2 columns */
@media (max-width: 992px){
  .chem-card{
    width: calc(50% - 15px);
  }
}

/* Mobile: 1 column */
@media (max-width: 600px){
  .chem-card{
    width: 100%;
  }
}


/* ==============================
   SIMPLE CTA – NO DIVIDER
============================== */

.support-cta{
  width: 100%;
  background: #ffffff;
  padding: 34px 0 40px;
}

.support-cta__wrap{
  width: min(1100px, 92%);
  margin: 0 auto;
}

/* Heading */
.support-cta__wrap h2{
  margin: 0 0 18px;
  font-size: 34px;
  font-weight: 800;
  color: #111;
  line-height: 1.2;
}

/* Paragraph */
.support-cta__wrap p{
  margin: 0 0 12px;
  max-width: 820px;
  font-size: 15px;
  line-height: 1.7;
  color: #111;
}

/* Last line link */
.support-cta__link{
  display: inline-block;
  font-size: 15px;
  font-weight: 800;
  color: #000;
  text-decoration: none;
}

.support-cta__link:hover{
  opacity: .85;
}

/* Responsive */
@media (max-width: 768px){
  .support-cta{ padding: 26px 0 32px; }

  .support-cta__wrap h2{
    font-size: 26px;
  }

  .support-cta__wrap p,
  .support-cta__link{
    font-size: 14px;
  }
}

@media (max-width: 480px){
  .support-cta__wrap h2{
    font-size: 22px;
  }
}
