/*
 Theme Name:   dirt pro construction
 Theme URI:    https://dirtproconstruction.com/
 Description:  A Custom Child theme created by axiommarketer
 Author:       Reno Metcalf
 Author URI:   https://axiommarketer.com/
 Template:     Divi
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  dirt-pro-construction
 Generated by: WebCoderDivi Child Theme Generator (https://webcoderdivi.com)
*/

/* ===== Custom Styles ===== */
.et_pb_scroll_top.et-pb-icon {
    text-align: center;
	background: #0225a4!important;
border-radius: 80px;
padding: 18px;
right: 10px;}


/* Reset counter on the row */
.numbered-cols {
  counter-reset: step;
}

/* Column settings */
.numbered-cols .et_pb_column {
  position: relative;
  padding-top: 40px; /* thori space upar */
  overflow: visible; /* overlay allow */
}

/* Number badge */
.numbered-cols .et_pb_column::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%); /* center + half outside */

  width: 60px;
  height: 60px;
  line-height: 60px;

  text-align: center;
  border-radius: 50%;
  background: white!important;
  color: #0225a4;
  font-weight: 700;
  font-size: 20px;

  z-index: 9;
}




.services-blurb-section .et_pb_blurb_wrap {
  height: 220px !important;
}

.services-blurb-section .et_pb_blurb {
  position: relative !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  height: 250px !important;
  transition: transform 0.3s ease;
}

.services-blurb-section .et_pb_blurb_content {
  position: relative !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.services-blurb-section .et_pb_main_blurb_image {
  position: absolute !important;
  inset: 0 !important;
  margin: 0 !important;
  height: 100% !important;
  width: 100% !important;
  z-index: 1 !important;
}

.services-blurb-section .et_pb_main_blurb_image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 0 !important;
}

.services-blurb-section .et_pb_blurb_container {
  position: absolute !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 2 !important;
  background: linear-gradient(to top, rgba(0,0,0,0.70) 20%, rgba(0,0,0,0) 100%) !important;
  padding: 40px 16px 16px !important;
  margin: 0 !important;
}

.services-blurb-section .et_pb_module_header {
  color: #fff !important;
 
  margin: 0 !important;
  line-height: 1.3 !important;
}

.services-blurb-section .et_pb_blurb:hover {
  transform: translateY(-4px);
}

.services-blurb-section .et_pb_blurb::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  transition: border-color 0.3s ease;
  pointer-events: none;
  z-index: 3;
}

.services-blurb-section .et_pb_blurb:hover::after {
  border-color: rgba(255, 255, 255, 0.4);
}
