.elementor-1290 .elementor-element.elementor-element-18388af{--display:flex;--min-height:540px;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:space-between;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:40px;--padding-right:40px;}.elementor-1290 .elementor-element.elementor-element-18388af:not(.elementor-motion-effects-element-type-background), .elementor-1290 .elementor-element.elementor-element-18388af > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://nhc.theprometheantech.com/wp-content/uploads/2025/09/hero1.e3dcbe6ade7e2a1494bc.png");background-position:center center;background-repeat:no-repeat;background-size:cover;}.elementor-1290 .elementor-element.elementor-element-5ea8a60{--display:flex;--justify-content:center;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-1290 .elementor-element.elementor-element-a4d349c > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-1290 .elementor-element.elementor-element-a4d349c{text-align:left;}.elementor-1290 .elementor-element.elementor-element-a4d349c .elementor-heading-title{font-weight:700;text-transform:uppercase;color:#145A14;}.elementor-1290 .elementor-element.elementor-element-0c3541e > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-1290 .elementor-element.elementor-element-0c3541e{text-align:left;}.elementor-1290 .elementor-element.elementor-element-0c3541e .elementor-heading-title{color:#2F8F5B;}.elementor-1290 .elementor-element.elementor-element-21d1c8a{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:60px;--padding-bottom:60px;--padding-left:0px;--padding-right:0px;}.elementor-1290 .elementor-element.elementor-element-21d1c8a:not(.elementor-motion-effects-element-type-background), .elementor-1290 .elementor-element.elementor-element-21d1c8a > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://nhc.theprometheantech.com/wp-content/uploads/2025/09/banner.jpg");background-position:center center;background-repeat:no-repeat;background-size:cover;}.elementor-1290 .elementor-element.elementor-element-fd6e0fb{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:60px;--padding-bottom:60px;--padding-left:0px;--padding-right:0px;}.elementor-1290 .elementor-element.elementor-element-fd6e0fb:not(.elementor-motion-effects-element-type-background), .elementor-1290 .elementor-element.elementor-element-fd6e0fb > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://nhc.theprometheantech.com/wp-content/uploads/2025/09/autism-background-7urk7t752nndb18l.jpg");background-position:center center;background-repeat:no-repeat;background-size:cover;}.elementor-1290 .elementor-element.elementor-element-58f424c{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:60px;--padding-bottom:60px;--padding-left:0px;--padding-right:0px;}.elementor-1290 .elementor-element.elementor-element-58f424c:not(.elementor-motion-effects-element-type-background), .elementor-1290 .elementor-element.elementor-element-58f424c > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://nhc.theprometheantech.com/wp-content/uploads/2025/09/stdy-prb.jpg");background-position:center center;background-repeat:no-repeat;background-size:cover;}.elementor-1290 .elementor-element.elementor-element-84ab2f1{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:space-between;--align-items:center;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:40px;--padding-bottom:40px;--padding-left:40px;--padding-right:40px;}.elementor-1290 .elementor-element.elementor-element-84ab2f1:not(.elementor-motion-effects-element-type-background), .elementor-1290 .elementor-element.elementor-element-84ab2f1 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://nhc.theprometheantech.com/wp-content/uploads/2025/09/hero1.e3dcbe6ade7e2a1494bc.png");background-position:center center;background-repeat:no-repeat;background-size:cover;}.elementor-1290 .elementor-element.elementor-element-84ab2f1.e-con{--align-self:center;}.elementor-1290 .elementor-element.elementor-element-cd1717f > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}:root{--page-title-display:none;}@media(max-width:1024px){.elementor-1290 .elementor-element.elementor-element-18388af{--min-height:480px;--padding-top:0px;--padding-bottom:0px;--padding-left:30px;--padding-right:30px;}.elementor-1290 .elementor-element.elementor-element-21d1c8a{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:50px;--padding-bottom:50px;--padding-left:0px;--padding-right:0px;}.elementor-1290 .elementor-element.elementor-element-fd6e0fb{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:50px;--padding-bottom:50px;--padding-left:0px;--padding-right:0px;}.elementor-1290 .elementor-element.elementor-element-58f424c{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:50px;--padding-bottom:50px;--padding-left:0px;--padding-right:0px;}.elementor-1290 .elementor-element.elementor-element-84ab2f1{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:30px;--padding-bottom:30px;--padding-left:30px;--padding-right:30px;}}@media(min-width:768px){.elementor-1290 .elementor-element.elementor-element-18388af{--content-width:100%;}.elementor-1290 .elementor-element.elementor-element-5ea8a60{--content-width:100%;}.elementor-1290 .elementor-element.elementor-element-21d1c8a{--content-width:100%;}.elementor-1290 .elementor-element.elementor-element-fd6e0fb{--content-width:100%;}.elementor-1290 .elementor-element.elementor-element-58f424c{--content-width:100%;}.elementor-1290 .elementor-element.elementor-element-84ab2f1{--content-width:100%;}}@media(max-width:1024px) and (min-width:768px){.elementor-1290 .elementor-element.elementor-element-18388af{--content-width:100%;}}@media(max-width:767px){.elementor-1290 .elementor-element.elementor-element-18388af{--content-width:100%;--min-height:360px;--padding-top:0px;--padding-bottom:0px;--padding-left:20px;--padding-right:20px;}.elementor-1290 .elementor-element.elementor-element-5ea8a60{--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );}.elementor-1290 .elementor-element.elementor-element-a4d349c > .elementor-widget-container{padding:0px 0px 0px 0px;}.elementor-1290 .elementor-element.elementor-element-0c3541e{text-align:center;}.elementor-1290 .elementor-element.elementor-element-21d1c8a{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:50px;--padding-bottom:50px;--padding-left:0px;--padding-right:0px;}.elementor-1290 .elementor-element.elementor-element-fd6e0fb{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:50px;--padding-bottom:50px;--padding-left:0px;--padding-right:0px;}.elementor-1290 .elementor-element.elementor-element-58f424c{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:50px;--padding-bottom:50px;--padding-left:0px;--padding-right:0px;}.elementor-1290 .elementor-element.elementor-element-84ab2f1{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:30px;--padding-bottom:20px;--padding-left:20px;--padding-right:20px;}}/* Start custom CSS for container, class: .elementor-element-18388af *//* Main container with background image */
.bg-flex-container {
  padding: 120px 80px; /* Desktop padding: top/bottom 120px, left/right 80px */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column; /* stack heading + sub-title vertically */
  justify-content: center;
  align-items: center;
  text-align: center;
}

/* Tablet view */
@media (max-width: 1024px) {
  .bg-flex-container {
    padding: 80px 40px;
  }
}

/* Mobile view */
@media (max-width: 767px) {
  .bg-flex-container {
    padding: 60px 20px;
  }
}

/* Heading (main title) */
.bg-flex-container .elementor-heading-title:first-child {
  font-size: 42px;  /* Desktop */
  line-height: 1.3;
  color: #2f8f5b;
  margin-bottom: 15px; /* space between heading and sub-title */
}

/* Tablet heading */
@media (max-width: 1024px) {
  .bg-flex-container .elementor-heading-title:first-child {
    font-size: 32px;
  }
}

/* Mobile heading */
@media (max-width: 767px) {
  .bg-flex-container .elementor-heading-title:first-child {
    font-size: 24px;
  }
}

/* Sub-title (second title) */
.bg-flex-container .elementor-heading-title:nth-child(2) {
  font-size: 28px;  /* Desktop */
  line-height: 1.3;
  color: #444;
}

/* Tablet sub-title */
@media (max-width: 1024px) {
  .bg-flex-container .elementor-heading-title:nth-child(2) {
    font-size: 24px;
  }
}

/* Mobile sub-title */
@media (max-width: 767px) {
  .bg-flex-container .elementor-heading-title:nth-child(2) {
    font-size: 20px;
  }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-cd1717f *//* =========================
   GLOBAL FIXES
========================= */
* {
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
}

/* =========================
   MAIN CONTAINER
========================= */
.treatments-container {
  max-width: 1000px;
  margin: auto;
  padding: 20px 15px; /* mobile-safe padding */
}

/* =========================
   TITLE
========================= */
.treatment-title {
  color: #085508;
  font-size: 32px;
  line-height: 40px;
  margin-bottom: 25px;
  text-align: left;
}

/* =========================
   CARDS GRID
========================= */
.treatment-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.treatment-card {
  background: #f8fff7;
  border: 1px solid #d9eed9;
  padding: 20px;
  border-radius: 8px;
  transition: 0.3s;
}

.treatment-card h3 {
  font-size: 20px;
  line-height: 26px;
  color: #085508;
  margin-bottom: 10px;
}

.treatment-card p {
  font-size: 16px;
  line-height: 24px;
  color: #333;
}

/* Hover */
.treatment-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* =========================
   READ MORE BUTTON
========================= */
.read-more {
  text-align: center;
  margin-top: 30px;
}

.read-more-button {
  display: inline-block;
  background: #2f8f5b;
  color: #fff;
  padding: 14px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
}

.read-more-button:hover {
  background: #256644;
}

/* =========================
   TABLET RESPONSIVE
========================= */
@media (max-width: 1024px) {
  .treatment-title {
    font-size: 28px;
    line-height: 36px;
  }

  .treatment-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .treatment-card h3 {
    font-size: 18px;
    line-height: 24px;
  }

  .treatment-card p {
    font-size: 15px;
    line-height: 22px;
  }

  .read-more-button {
    padding: 12px 26px;
    font-size: 15px;
  }
}

/* =========================
   MOBILE RESPONSIVE (Final Fix)
========================= */
@media (max-width: 767px) {
  .treatment-title {
    font-size: 24px;
    line-height: 32px;
    text-align: center;
  }

  .treatment-cards {
    grid-template-columns: 1fr; /* No overflow */
    gap: 18px;
    padding: 0; /* Remove side push */
  }

  .treatment-card {
    width: 100%;
    padding: 18px;
    margin: 0 auto;
  }

  .treatment-card h3 {
    font-size: 17px;
    line-height: 22px;
  }

  .treatment-card p {
    font-size: 14px;
    line-height: 22px;
  }

  .read-more-button {
    padding: 10px 22px;
    font-size: 14px;
  }
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-84ab2f1 *//* Background Image Container */
.bg-container {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  justify-content: center;
  padding: 120px 80px; /* Desktop padding */
}

/* Tablet */
@media (max-width: 1024px) {
  .bg-container {
    padding: 80px 40px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .bg-container {
    padding: 40px 15px;
  }
}

/* Treatments Section inside BG */
.treatments-container {
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  padding: 0; /* Padding handled by container */
}

/* Grid for cards */
.treatment-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* Individual Card */
.treatment-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px 20px;
  flex: 1 1 calc(33.333% - 20px);
  min-width: 280px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.treatment-card h3 {
  color: #2f8f5b;
  margin-bottom: 10px;
  font-size: 22px;
}

.treatment-card p {
  color: #444;
  line-height: 1.6;
  font-size: 16px;
}

/* Read More Button */
.read-more {
  text-align: center;
  margin-top: 30px;
}

.read-more button {
  background: #2f8f5b;
  color: #fff;
  padding: 14px 28px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
}

.read-more button:hover {
  background: #256644;
}

/*========================
  Tablet Adjustments
========================*/
@media (max-width: 1024px) {
  .treatment-card {
    flex: 1 1 calc(50% - 20px); /* 2 per row */
    padding: 20px;
  }

  .treatment-card h3 {
    font-size: 20px;
  }

  .treatment-card p {
    font-size: 15px;
  }

  .read-more button {
    padding: 12px 24px;
    font-size: 15px;
  }
}

/*========================
  Mobile Adjustments
========================*/
@media (max-width: 767px) {
  .treatment-card {
    flex: 1 1 100%; /* 1 per row */
    padding: 15px;
  }

  .treatment-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
  }

  .treatment-card p {
    font-size: 14px;
  }

  .read-more button {
    padding: 10px 20px;
    font-size: 14px;
  }
}/* End custom CSS */