.about-section {
  padding: 80px 0;
}
.about-thumb {
  position: relative;
}
.about-thumb img {
  width: 100%;
}
.about-text {
  position: absolute;
  top: 15px;
  left: -54px;
  padding: 14px 0;
  background: var(--color-primary);
}
.about-text h5 {
  padding: 0 50px;
  font-size: 26px;
  color: #ffffff;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.about-text::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 100%;
  border: 27px solid var(--color-primary);
  border-left-color: transparent;
  border-bottom-color: transparent;
}
.about-list ul{
  list-style: none;
}
.about-list ul li {
  position: relative;
  padding-left: 25px;
  font-size: 18px;
  color: var(--title-text-color);
  font-weight: 500;
}
.about-list ul li + li {
  margin-top: 15px;
} 
.about-list ul li i {
  position: absolute;
  left: 0;
  font-size: 18px;
  color: var(--color-primary);
}

.about-info {
  display: inline-flex;
  align-items: center;
  margin-top: 40px;
}

.about-contact-wrap {
  display: inline-flex;
  align-items: center;
}
.about-us-icon {
  margin-left: 32px;
}
.about-us-icon i {
  width: 60px;
  height: 60px;
  border-radius: 32px;
  line-height: 60px;
  text-align: center;
  font-size: 24px;
  color: var(--color-primary);
  background: color-mix(in srgb, var(--color-primary) 20%, #ffffff 80%);
  display: inline-block;
}
.about-us-phone {
  margin-left: 20px;
}
.about-us-phone h5 {
  font-size: 18px;
  line-height: 24px;
  color: var(--title-text-color);
  font-weight: 400;
  margin: 0;
}
.about-us-phone h5 a {
  display: block;
  line-height: 42px;
  font-weight: 500;
}
/* about counter */
.about-numbar {
  text-align: center;
  background: var(--title-text-color);
  display: inline-block;
  padding: 9px 25px 0;
}
.about-numbar h4 {
  display: inline-block;
  font-size: 32px;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 5px;
}
.about-numbar .counter-per {
  color: #ffffff;
  font-size: 20px;
}
.about-numbar p {
  font-size: 15px;
  color: #ffffff;
  font-weight: 400;
  margin-bottom: 15px;
}
/* about section title */
.about-section-sub-title h4 {
  font-size: 24px;
  line-height: 24px;
  color: var(--color-primary);
  font-weight: 500;
  position: relative;
  display: inline-block;
  margin: 0;
}
.about-section-sub-title h4::before {
  position: absolute;
  content: "";
  height: 2px;
  width: 35px;
  background: var(--color-primary);
  top: 6px;
  right: -48px;
}
.about-section-sub-title h4::after {
  position: absolute;
  content: "";
  height: 2px;
  width: 35px;
  background: var(--color-primary);
  top: 15px;
  right: -57px;
}
.about-section-main-title h2 {
  font-size: 48px;
  line-height: 1.2;
  margin: 15px 0;
}
.about-discription {
  margin-bottom: 40px;
}
.about-discription ul,
.about-discription ol {
  list-style-position: inside; 
}
.roofing-btn.about {
  padding-left: 20px; 
  margin-left: 0;
}
@media (min-width: 992px) and (max-width: 1199px) {
  .about-section-main-title h2 {
    font-size: 40px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  .about-section-main-title h2 {
    font-size: 38px;
  }
}
@media (max-width: 767px) {
  .about-discription {
    margin-bottom: 20px;
  }
  .about-list ul li {
    font-size: 17px;
  }
  .about-section-sub-title h4 {
    position: relative;
    padding-bottom: 15px; 
    display: inline-block;
  }
  
  .about-section-sub-title h4::before,
  .about-section-sub-title h4::after {
    right: auto; 
    left: 0; 
    top: auto; 
  }
  
  .about-section-sub-title h4::before {
    width: 30px; 
    bottom: 8px; 
  }
  
  .about-section-sub-title h4::after {
    width: 50px; 
    bottom: 0; 
  }
  .about-text {
    left: 15px; 
    right: 15px; 
    width: auto; 
    text-align: center; 
  }
  
  .about-text h5 {
    padding: 0 20px; 
    font-size: 22px; 
  }

  .about-info {
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    gap: 15px; 
    margin-top: 30px;
    width: 100%; 
  }
 
  .about-contact-wrap {
    width: 100%;
    justify-content: center; 
  }

  .about-us-icon {
    margin-left: 0;
    margin-bottom: 0;
  }
  .about-us-phone {
    margin-left: 15px; 
    text-align: left; 
    margin-bottom: 0;
  }
 
  .roofing-btn.about {
    width: auto;
    text-align: center;
  }
}

@media (max-width: 575px) {
  .about-us-phone h5 {
    font-size: 16px;
    line-height: 22px;
  }
  .about-us-icon i {
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 20px;
  }
  .about-us-phone {
    display: block !important;
  }
  .about-list ul {
    text-align: center; 
    padding: 0; 
  }
  .about-list ul li {
    padding-left: 30px; 
  }
  .about-list ul li i {
    left: 50%; 
    transform: translateX(-50%); 
    margin-left: -90px; 
  }
  .about-numbar {
    display: block; 
    margin-left: auto; 
    margin-right: auto; 
    max-width: fit-content; 
  }
}
@media (min-width: 600px) and (max-width: 767px) {
  .about-section-main-title h2 {
    font-size: 34px;
    line-height: 1.1;
  }
  .about-list ul li + li {
    margin-top: 10px;
  }
}
@media (min-width: 480px) and (max-width: 599px) {
  .about-section-main-title h2 {
    font-size: 32px;
    line-height: 1.1;
  }
  .roofing-btn.about a {
    padding: 13px;
    font-size: 16px;
  }
  .about-list ul li + li {
    margin-top: 5px;
  }
}
@media only screen and (max-width: 479px) {
  .about-section {
    padding: 80px 0; 
  }
  
  .about-section-main-title h2 {
    font-size: 28px;
  }
  
  .about-section-sub-title h4 {
    font-size: 20px; 
  }
  
  .about-section-sub-title h4::before {
    width: 25px; 
  }
  
  .about-section-sub-title h4::after {
    width: 40px; 
  }
  
  .about-list ul li + li {
    margin-top: 5px;
  }
  
  .about-text h5 {
    font-size: 20px;
    -webkit-line-clamp: 3;
  }
  
  .about-numbar {
    padding: 9px 15px 0; 
  }
  
  .about-numbar h4 {
    font-size: 28px; 
  }
}