/*==================================================
 <-- roofing common css-->
===================================================*/

/* ===== btn css  ===== */
.roofing-btn {
  display: inline-block;
  margin-left: 32px;
}

.roofing-btn a {
  display: inline-block;
  text-decoration: none;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 1px;
  background: var(--color-primary);
  color: #fff;
  padding: 13px 25px;
  border-radius: var(--button-radius);
  position: relative;
  z-index: 1;
}

.roofing-btn a::before {
  position: absolute;
  content: "";
  background-color: var(--btn-hover, --color-second);
  width: 101%;
  height: 0%;
  left: 50%;
  top: 50%;
  border-radius: var(--button-radius);
  transform: translate(-50%, -50%) rotate(0deg);
  z-index: -1;
  transition: all 500ms ease;
}

.roofing-btn a:hover::before {
  height: 103%;
}


/* ===== section title css ===== */
.section-sub-title {
  position: relative;
  display: inline-block;
  margin-bottom: 7px;
}

.section-sub-title:not(.left)::before {
  position: absolute;
  content: "";
  height: 2px;
  width: 35px;
  background: var(--color-primary);
  left: 0;
  top: 35%;
  transform: translateY(-50%);
}

.section-sub-title:not(.left)::after {
  position: absolute;
  content: "";
  height: 2px;
  width: 35px;
  background: var(--color-primary);
  left: -12px;
  top: 65%;
  transform: translateY(-50%);
}

.section-sub-title h4 {
  font-size: 24px;
  color: var(--color-primary);
  font-weight: 500;
  position: relative;
  padding: 0 50px 0;
}
.section-sub-title.left h4 {
  padding: 0 50px 0 0;
}

.section-sub-title h4::before {
  position: absolute;
  content: "";
  height: 2px;
  width: 35px;
  background: var(--color-primary);
  right: 0;
  top: 35%;
  transform: translateY(-50%);
}

.section-sub-title h4::after {
  position: absolute;
  content: "";
  height: 2px;
  width: 35px;
  background: var(--color-primary);
  right: -12px;
  top: 65%;
  transform: translateY(-50%);
}

.section-main-title h2 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 40px;
}


@media (min-width: 992px) and (max-width: 1199px) {
  .section-main-title h2 {
    font-size: 40px;
  }
  .roofing-btn a {
    padding: 12px;
    font-size: 16px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .section-main-title h2 {
    font-size: 38px;
  }
}

@media (min-width: 600px) and (max-width: 767px) {
  .section-main-title h2 {
    font-size: 34px;
  }
  .section-sub-title h4 {
    font-size: 20px;
  }
}

@media (min-width: 480px) and (max-width: 599px) {
  .section-main-title h2 {
    font-size: 32px;
  }
  .section-sub-title h4 {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .section-main-title h2 {
    line-height: 1.1;
  }
}

@media only screen and (max-width: 479px) {
  .section-main-title h2 {
    font-size: 28px;
  }
  .section-sub-title h4 {
    font-size: 18px;
  }
}