html,body{
    padding: 0;
    margin: 0 auto;
    font-family: "Poppins", sans-serif;
}

a{
  text-decoration: none;
}

.bg-black{
    background-color: #000;
}
.bg-gold{
    background-color: gold;
}
.txt-offwhite{
    color: #FBFCFC !important;
}
.highlight{
    color: gold;
}

.blog-card{
    transition: all 0.3s ease;
}
.blog-card:hover{
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}


/********** ALL PAGES *************/
.banner{
  margin-top: 145px;
  width: 100%;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
}
.banner::after {
  margin-top: 145px;
  content: "";
  position: absolute;
  top: 0;
  left: 0;  
  width: 100%;
  height: 300px;
  background-color: rgba(0,0,0,0.4);
  /* background-image: linear-gradient(120deg, #000, gold);
  opacity: .7; */
  z-index: 1;
}
.banner > * {
  z-index: 100;
}


/*********** NAVBAR ***************/
nav{
    background-color: rgba(0,0,0,1);
}
.nav-top-contact a, i{
    font-size: 0.9em !important;
}
.nav-top-contact a:hover{
    color: #fff;
}
.socialIcon i:hover{
    color: gold !important;
}
.navbar{
    border-top: 1px solid #212F3C;
    padding-top: 0px;
    padding-bottom: 0px;
}
.nav-item{
    margin: 0px 15px;   
}

.nav-item .active{
    border-top: 2px solid gold;
    color: #fff !important;
}

.nav-link{
    color: #ECF0F1 !important; 
    font-size: 1em;
}
.nav-link:hover{    
    color: gold !important;
}
.dropdown-menu{
    border-radius: 0px !important;
    padding: 0px !important;
    background-color: #000;    
}
.dropdown-item{
    padding: 10px 14px;
    color: #ECF0F1;
    font-size: 1.1em;
}
.dropdown-item:hover{
    background-color: #000;
    color: gold;
    border-bottom: 2px solid gold;
}
/**********************************/

/********** SLIDER HOME ***********/

.iconWrapper{
    border: 3px solid gold;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.iconCard{
    display: flex;
    flex-direction: column;
    justify-content: top;
    align-items: center;
}
.iconCard i{
    color: gold;
    font-size: 3rem;
}
.iconCard span{
    color: #FDFEFE;
    margin-top: 10px;
    text-align: center;
}

.homeHeroImgDiv{
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}
#carouselExampleIndicators{
  padding: 0px 0px;
}

/*********** GET A QUOTE BUTTON ***********/
#btnGetAQuote{
    cursor: pointer;
    width: 170px;
    height: 34px;
    overflow: hidden;
    background: gold;
    color: #000;
    padding: 2px 0px 2px 0px;
    position: fixed;
    top: calc(40%);
    right: -68px;
    text-align: center;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    transform: rotate(-90deg);
    z-index: 1000;
    font-size: 18px;
}
#sideQuoteForm {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 10001;
    top: 0;
    right: 0;
    background-color: #fff;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 60px;
  }
  
  #sideQuoteForm a {
    /* padding: 8px 8px 8px 32px; */
    text-decoration: none;
    font-size: 25px;
    color: #818181;
    display: block;
    transition: 0.3s;
  }
  
  #sideQuoteForm a:hover {
    color: gold;
  }
  
  #sideQuoteForm .closebtn {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 48px;
    
  }

  .btn-send {
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
}

.help-block.with-errors {
    color: #ff5050;
    margin-top: 5px;
}






/* =================new service================== */
.services-modern{
  background-color: #f6f9fe !important;
}
.services-title {
  font-size: 32px;
  font-weight: 700;
  color: #0b1f5e;
}
/* CARD */
.service-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
  transition: transform .4s ease, box-shadow .4s ease;
  height: 100%;
  padding: 12px;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.12);
}
.service-img {
  position: relative;
  overflow: hidden;
}
.service-img img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
/* Overlay */
.service-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.55)
  );
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
/* Hover */
.service-card:hover .service-img::after {
  opacity: 1;
}
.service-card:hover .service-img img {
  transform: scale(1.06);
}
/* BODY */
.service-body {
  padding: 35px 0px;
}
.service-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: #0b1f5e;
  background: #f2f2f2;
  display: inline-block;
  padding: 10px 18px;
  margin-bottom: 20px;
}
.service-body p {
  font-size: 15px;
  line-height: 1.7;
  color: #6b7280;
  margin-bottom: 25px;
}
/* READ MORE */
.read-more {
  display: inline-block;
  padding: 10px 18px;
  background: #f2f2f2;
  font-size: 14px;
  font-weight: 600;
  color: #0b1f5e;
  text-decoration: none;
  transition: all .3s ease;
}
.read-more:hover {
  background: #0b1f5e;
  color: #fff;
}
.home_ourwork_outer {
  margin-bottom: 24px;
}


/* =======================project section============================= */
.recent-work {
  padding: 80px 12px;
}
.work-subtitle {
  max-width: 700px;
  margin: 0 auto;
  color: #6b7280;
  font-size: 16px;
}
/* CARD */
.modern-card {
  position: relative;
  height: 400px;
  border-radius: 14px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
}
.modern-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.65),
    rgba(0,0,0,0.15)
  );
}
.modern-card:hover {
  transform: translateY(-8px);
}
/* OVERLAY */
.project-overlay {
  position: absolute;
  bottom: 25px;
  left: 25px;
  right: 25px;
  z-index: 2;
  color: #fff;
  transition: all 0.4s ease;
}
.project-overlay h4 {
  font-size: 22px;
  margin-bottom: 12px;
}
.project-overlay .btn {
  font-size: 14px;
  border-radius: 50px;
  padding: 6px 18px;
}
/* HOVER EFFECT */
.modern-card:hover .project-overlay {
  bottom: 35px;
}
/* SAMPLE BACKGROUNDS (replace with your images) */
#ourwork1 {
  background-image: url("https://images.unsplash.com/photo-1503387762-592deb58ef4e");
}
#ourwork2 {
  background-image: url("https://images.unsplash.com/photo-1581092919534-1a1f1c5e9c6b");
}
#ourwork3 {
  background-image: url("https://images.unsplash.com/photo-1600585154340-be6161a56a0c");
}
/* MOBILE */
@media (max-width: 768px) {
  .modern-card {
    height: 300px;
  }
}

/* =============why choose us section css================= */
.why-choose-section {
  padding: 80px 12px;
  background-color: #fff !important;
}
.why-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
/* LEFT */
.why-label {
  color: #bb9e00;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 14px;
  position: relative;
}
.why-label::after {
  content: '';
  width: 40px;
  height: 2px;
  background: #bb9e00;
  display: inline-block;
  margin-left: 10px;
  vertical-align: middle;
}
.why-content h2 {
  font-size: 42px;
  margin: 20px 0;
  color: #0b1c3d;
}
.why-intro {
  color: #6b7280;
  margin-bottom: 30px;
}
.why-info {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}
.why-info img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}
.why-info p {
  color: #6b7280;
  line-height: 1.7;
}
.why-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.feature h4 {
  color: #0b1c3d;
  margin-bottom: 10px;
}
.feature p {
  color: #6b7280;
}
/* RIGHT */
.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}
.media-grid img,
.video-box {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}
.video-box {
  background: url("https://onflowltd.co.uk/assets/img/our-work/loft-conversion-1.jpeg") center/cover no-repeat;
  position: relative;
  cursor: pointer;
}
.play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 60px;
  height: 60px;
  background: #fff32b;
  color: #000;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
/* RESPONSIVE */
@media (max-width: 991px) {
  .why-container {
    grid-template-columns: 1fr;
  }
  .why-label {
    color: #bb9e00;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 12px;
    position: relative;
  }
  .why-content h2{
    font-size: 30px;
    margin: 20px 0;
    color: #0b1c3d;
  }
  .why-intro {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 30px;
  }
  .why-info p{
    font-size: 13px;
  }
  .feature h4{
    font-size: 16px;
  }
  .feature p{
    font-size: 13px;
  }
}
/* =======================work performance section============================= */
.work-performance {
  padding: 80px 0;
  background: #fff;
}

.work-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}

/* LEFT */
.work-label {
  color: #bb9e00;
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 14px;
  position: relative;
}

.work-label::after {
  content: '';
  width: 40px;
  height: 2px;
  background: #bb9e00;
  display: inline-block;
  margin-left: 12px;
  vertical-align: middle;
}

.work-content h2 {
  font-size: 44px;
  color: #0b1c3d;
  margin: 20px 0;
  line-height: 1.2;
}

.work-desc {
  color: #6b7280;
  max-width: 520px;
  margin-bottom: 40px;
}

/* PROGRESS */
.work-progress {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-top: 20px;
}

.progress-circle {
  position: relative;
  width: 120px;
  height: 120px;
}

.progress-circle svg {
  transform: rotate(-90deg);
}

.progress-circle circle {
  fill: none;
  stroke-width: 10;
}

.progress-circle circle:first-child {
  stroke: #e5e7eb;
}

.progress-circle circle:last-child {
  stroke: #bb9e00;
  stroke-dasharray: 339;
  stroke-dashoffset: 51; /* 85% */
  stroke-linecap: round;
}

.progress-circle span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 22px;
  color: #000;
}

.progress-text h4 {
  color: #0b1c3d;
  margin-bottom: 8px;
}

.progress-text p {
  color: #6b7280;
  max-width: 400px;
}

/* RIGHT IMAGE */
.work-image {
  background: #fff;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

.work-image img {
  width: 100%;
  border-radius: 4px;
  display: block;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .work-grid {
    grid-template-columns: 1fr;
  }

  .work-content h2 {
    font-size: 30px;
  }
  .work-label{
    font-size: 13px;
  }
  .progress-text h4{
    font-size: 16px;
  }
  .progress-text p{
    font-size: 13px;
  }
  .progress-circle span {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: start;
      justify-content: center;
      font-weight: 700;
      font-size: 22px;
      color: #ff6a00;
      margin-top: 23px;
  }
}
/* =======================action section============================= */
.cta-section {
  padding: 90px 0;
  background: #fff; /* deep charcoal */
  color: #fff;
}

.cta-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 60px 70px;
  border-radius: 14px;
  background: linear-gradient(135deg, #a2791d 0%, #ffd700 70%, #ffd700 100%);
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* TEXT */
.cta-content h2 {
  font-size: 40px;
  margin-bottom: 16px;
  line-height: 1.15;
  font-weight: 700;
}

.cta-content p {
  max-width: 520px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.9);
}

/* BUTTONS */
.cta-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: 15px 36px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.35s ease;
  letter-spacing: 0.3px;
}

/* PRIMARY BUTTON */
.cta-buttons .btn-primary {
  background-color: #000 !important;
  color: #fff;
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.35);
}

.cta-buttons .btn-primary:hover {
  background: #0f0f12;
  color: #ffffff;
  transform: translateY(-2px);
}

/* OUTLINE BUTTON */
.cta-buttons .btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.8);
  color: #ffffff;
}

.cta-buttons .btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .cta-wrapper {
    flex-direction: column;
    text-align: center;
    padding: 50px 40px;
  }

  .cta-content h2 {
    font-size: 32px;
  }
  .cta-buttons{
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* =======================steps section============================= */
 @media screen and (max-width:768px){
    .timeline-item{
      width:100% !important;
      left:0 !important;
      text-align:left !important;
      margin-left:0 !important;
      margin-bottom:50px;
    }
    
  }










/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
    padding:80px 12px;
    overflow: hidden;
  }
  
  .section-bg {
    background-color: #f6f9fe;
  }
  
  .section-title {
    text-align: center;
    padding-bottom: 30px;
  }
  
  .section-title h2 {
    font-size: 13px;
    letter-spacing: 1px;
    font-weight: 700;
    padding: 8px 20px;
    margin: 0;
    background: #000;
    color: gold;
    display: inline-block;
    text-transform: uppercase;
    border-radius: 50px;
  }
  
  .section-title h3 {
    margin: 15px 0 0 0;
    font-size: 32px;
    font-weight: 700;
  }
  
  .section-title h3 span {
    color: #ffc107;
  }
  
  .section-title p {
    margin: 15px auto 0 auto;
  }
  
  @media (min-width: 1024px) {
    .section-title p {
      width: 50%;
    }
  }

/********* Home Page About Section********/
.home-li-service{
  padding: 10px 20px;
}
.home-li-service:hover{
  box-shadow: 0px 0px 5px #ccc;
}

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
#banner-about{
  background-image: url("../img/services/extension.jpg");
}
.about .content h3 {
    font-weight: 600;
    font-size: 26px;
    text-align: justify;
  }
  
  .about .content ul {
    list-style: none;
    padding: 0;
  }
  
  .about .content ul li {
    display: flex;
    align-items: flex-start;
  }
/*   
  .about .content ul li:first-child {
    margin-top: 35px;
  } */
  
  .about .content ul i {
    background: #fff;
    box-shadow: 0px 6px 15px rgba(16, 110, 234, 0.12);
    font-size: 24px;
    padding: 20px;
    margin-right: 15px;
    color: gold;
    border-radius: 50px;
  }
  
  .about .content ul h5 {
    font-size: 18px;
    color: #555555;
  }
  
  .about .content ul p {
    font-size: 15px;
  }
  
  .about .content p:last-child {
    margin-bottom: 0;
  }

/*--------------------------------------------------------------
# Our Services
--------------------------------------------------------------*/
.img-hover-slowmo{
  overflow: hidden !important;
  position: relative;
}

.img-hover-slowmo img{
  transform-origin: 50% 65%;
  transition: transform 5s, filter 3s ease-in-out;
  filter: brightness(100%);
  width: 100%;
  height: 550px;
}

.img-hover-slowmo:hover img {
  filter: brightness(80%);
  transform: scale(1.2);
}

.img-hover-slowmo span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  font-weight: 600;
  color: #fff;
  background-color: rgba(0,0,0,0.5);
  padding: 5px;
  cursor: pointer;
}
.pro-up img, .pro-down img {
  width: 100%;
  height: 270px;
  overflow:hidden;
}
.sml-img-div{
  width: 100%;
  height: 270px;
  overflow:hidden;
}
.pro-up .sml-img-div {
  margin-bottom: 10px;
}
.pro-up span, .pro-down span {
  font-size:12px;
}

/*--------------------------------------------------------------
# Counts
--------------------------------------------------------------*/
.counts {
    padding: 60px 0 10px 0;
    background-color: #000;
  }
  
  .counts .count-box {
    padding: 30px 30px 25px 30px;
    width: 100%;
    position: relative;
    text-align: center;
    /* background: #f1f6fe; */
  }
  
  .counts .count-box i {
    position: absolute;
    top: -28px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 32px !important;
    background: gold;
    color: #fff;
    width: 70px;
    height: 70px;
    line-height: 0;
    border-radius: 50px;
    /* border: 5px solid #fff; */
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  
  .counts .count-box span {
    font-size: 36px;
    display: block;
    font-weight: 600;
    color: #fff;
    padding-top: 20px;
  }
  
  .counts .count-box p {
    padding: 0;
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-size: 18px;
    color: #fff;
  }

/*--------------------------------------------------------------
# OUR RECENT WORK
--------------------------------------------------------------*/
  
.home_ourwork_outer{
  padding: 10px;
}
.home_ourwork_img{
  background-position: center;
  background-size: cover;
  width: 100%;
  height: 300px;
  background-repeat: no-repeat;
}
#ourwork1{
  background-image: url("../img/our-work/new-build.jpeg");
}
#ourwork2{
  background-image: url("../img/our-work/loft.jpeg");
}
#ourwork3{
  background-image: url("../img/our-work/bathroom.jpeg");
}
#ourwork4{
  background-image: url("../img/our-work/homeimprovement.jpeg");
}
#ourwork5{
  background-image: url("../img/our-work/housebuild.jpeg");
}
#ourwork6{
  background-image: url("../img/our-work/outbuilding_extension.jpeg");
}

/*--------------------------------------------------------------
# Testimonials
--------------------------------------------------------------*/
.testimonials {
  height: 600px;
    padding: 80px 0;
    background: url("../img/testimonials-bg.jpg") no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .testimonials::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.78);
  }
  
  .testimonials .section-header {
    margin-bottom: 40px;
  }
  
  .testimonials .testimonial-item {
    text-align: center;
    color: #fff;
  }
  
  .testimonials .testimonial-item .testimonial-img {
    width: 100px;
    border-radius: 50%;
    border: 6px solid rgba(255, 255, 255, 0.15);
    margin: 0 auto;
  }
  
  .testimonials .testimonial-item h3 {
    font-size: 24px;
    font-weight: bold;
    margin: 10px 0 5px 0;
    color: #fff;
  }
  
  .testimonials .testimonial-item h4 {
    font-size: 14px;
    color: #ddd;
    margin: 0 0 15px 0;
  }
  
  .testimonials .testimonial-item .quote-icon-left, .testimonials .testimonial-item .quote-icon-right {
    color: rgba(255, 255, 255, 0.4);
    font-size: 26px;
  }
  
  .testimonials .testimonial-item .quote-icon-left {
    display: inline-block;
    left: -5px;
    position: relative;
  }
  
  .testimonials .testimonial-item .quote-icon-right {
    display: inline-block;
    right: -5px;
    position: relative;
    top: 10px;
  }
  
  .testimonials .testimonial-item p {
    font-style: italic;
    margin: 0 auto 15px auto;
    color: #eee;
  }
  
  .testimonials .swiper-pagination {
    margin-top: 20px;
    position: relative;
  }
  
  .testimonials .swiper-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
  }
  
  .testimonials .swiper-pagination .swiper-pagination-bullet-active {
    background-color: gold;
  }
  
  @media (min-width: 992px) {
    .testimonials .testimonial-item p {
      width: 80%;
    }
  }



/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: #fff;
  padding: 0 0 30px 0;
  color: #444444;
  font-size: 14px;
  background: #f1f6fe;
}

#footer .footer-newsletter {
  padding: 50px 0;
  background: #f1f6fe;
  text-align: center;
  font-size: 15px;
}

#footer .footer-newsletter h4 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 0;
  line-height: 1;
  font-weight: 600;
}

#footer .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.06);
  text-align: left;
}

#footer .footer-newsletter form input[type="email"] {
  border: 0;
  padding: 4px 8px;
  width: calc(100% - 100px);
}

#footer .footer-newsletter form input[type="submit"] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #106eea;
  color: #fff;
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

#footer .footer-newsletter form input[type="submit"]:hover {
  background: #0d58ba;
}

#footer .footer-top {
  padding: 60px 0 30px 0;
  background: #fff;
}

#footer .footer-top .footer-contact {
  margin-bottom: 30px;
}

#footer .footer-top .footer-contact h3 {
  font-size: 24px;
  margin: 0 0 15px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-contact h3 span {
  color: #106eea;
}

#footer .footer-top .footer-contact p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Roboto", sans-serif;
  color: #777777;
}

.footer-contact img{
  width: 130px;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: bold;
  color: #444444;
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #106eea;
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 6px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: #777777;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  text-decoration: none;
  color: #106eea;
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #106eea;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 4px;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: #3b8af2;
  color: #fff;
  text-decoration: none;
}

#footer .copyright {
  text-align: center;
  float: left;
}

#footer .credits {
  float: right;
  text-align: center;
  font-size: 13px;
  color: #444444;
}

@media (max-width: 768px) {
  #footer .copyright, #footer .credits {
    float: none;
    text-align: center;
    padding: 2px 0;
  }
}


  

/* smartphones, iPhone, portrait 480x320 phones */
@media (min-width:320px) {
    .nav-top-contact{
        padding: 5px 5px;
    }
    .nav-top-contact i{
        line-height:unset;
        font-size: medium;
    }
    .nav-top-contact a{
        text-decoration: none;
        font-size: medium;
        font-size: 14px;
    }
    .nav-icon-phone{
        margin-right: 5px;
    }
    .nav-icon-email{
        margin-right: 5px;
        margin-left: 5px;
    }
    .navbar-brand img{
        height: 70px;
    }
    .navbar-nav{
        margin-top: 30px;
    }
    .sliderDiv{
        padding-top: 110px;
    }
    .homeHeroTextDiv{
        padding: 14px;
    }
    .imgHero{
      height: 300px;
    }
    .iconWrapper{
        width: 3rem;
        height: 3rem;   
    }
    .iconCard i{
        font-size: 1.5rem;
    }
    .iconCard span{
        font-size: 1.0em;
    }
    .subHeading{
        font-size: 14px;
        margin-top: 15px;
    }
    .homeButtonsDiv{
        margin-top: 20px;
    }
    .homeSlideIconCard{
        margin-top: 20px;
    }
    .my-display-3{
      font-size: 30px;
      line-height: 1.2;
    }

    /**All Pages*/
    .banner{   
      margin-top: 96px;  
      height: 220px;
    }
    .banner::after { 
      margin-top: 96px;     
      height: 220px;
    }

}

/* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */ 
@media (min-width:481px) {
    .nav-top-contact{
        padding: 5px 10px;
    }
    .nav-top-contact i{
        line-height:unset;
        font-size: medium;
    }
    .nav-top-contact a{
        text-decoration: none;
        font-size: medium;
    }
    .nav-icon-phone{
        margin-right: 5px;
    }
    .nav-icon-email{
        margin-right: 5px;
        margin-left: 10px;
    }
    .navbar-brand img{
        height: 70px;
    }
    .sliderDiv{
        padding-top: 110px;
    }
    .homeHeroTextDiv{
        padding: 0px 15px;
    }
    .imgHero{
      height: 350px;
    }
    .iconWrapper{
        width: 3.2rem;
        height: 3.2rem;   
    }
    .iconCard i{
        font-size: 1.6rem;
    }
    .iconCard span{
        font-size: 1.1em;
    }
    .subHeading{
        font-size: 1.1em;
        margin-top: 30px;
    }
    .homeButtonsDiv{
        margin-top: 30px;
    }
    .homeSlideIconCard{
        margin-top: 30px;
    }
    .my-display-3{
      font-size: 40px;
      line-height: 1.2;
    }
    /**All Pages*/
    .banner{   
      margin-top: 106px;  
      height: 220px;
    }
    .banner::after { 
      margin-top: 106px;     
      height: 220px;
    }
}

/* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
@media (min-width:641px) {
    .nav-top-contact{
        padding: 5px 30px;
    }
    .nav-top-contact i{
        line-height:unset;
        font-size: large;
    }
    .nav-top-contact a{
        text-decoration: none;
        font-size: large;
    }
    .nav-icon-phone{
        margin-right: 5px;
    }
    .nav-icon-email{
        margin-right: 5px;
        margin-left: 25px;
    }
    .navbar-brand img{
        height: 75px;
    }
    .sliderDiv{
        padding-top: 110px;
    }
    .homeHeroTextDiv{
        padding: 0px 20px;
    }
    .imgHero{
      height: 400px;
    }
    .iconWrapper{
        width: 4rem;
        height: 4rem;   
    }
    .iconCard i{
        font-size: 2rem;
    }
    .iconCard span{
        font-size: 1.25rem;
    }
    .subHeading{
        font-size: 1em;
        margin-top: 30px;
    }
    .homeButtonsDiv{
        margin-top: 40px;
    }
    .homeSlideIconCard{
        margin-top: 30px;
    }
    .my-display-3{
      font-size: 50px;
      line-height: 1.2;
    }
    /**All Pages*/
    .banner{   
      margin-top: 120px;  
      height: 250px;
    }
    .banner::after { 
      margin-top: 120px;     
      height: 250px;
    }
}

/* tablet, landscape iPad, lo-res laptops ands desktops */ 
@media (min-width:992px) {
    .navbar-brand img{
        height: 90px;
    }
    .sliderDiv{
        padding-top: 110px;
    }
    .homeHeroTextDiv{
        padding: 0px 30px;
    }
    .imgHero{
      height: auto;
      max-height: 500px;
    }
    .imgHero-sale{
      height: 100%;
    }
    .iconWrapper{
        width: 5rem;
        height: 5rem;   
    }
    .iconCard i{
        font-size: 2.5rem;
    }
    .iconCard span{
        font-size: 1.4rem;
    }
    .homeSlideIconCard{
        margin-top: 40px;
    }
    .my-display-3{
      font-size: 50px;
      line-height: 1.2;
      font-weight: 700;
    }
    /**All Pages*/
    .banner{   
      margin-top: 130px;  
      height: 300px;
    }
    .banner::after { 
      margin-top: 130px;     
      height: 300px;
    }
    .homeButtonsDiv .btn {
      padding: 10px 20px !important;
      font-size: 16 !important;
      border-radius: 22px;
    }
}

/* big landscape tablets, laptops, and desktops */
@media (min-width:1025px) { 
 /**All Pages*/
 .banner{   
  margin-top: 132px;  
  height: 300px;
}
.banner::after { 
  margin-top: 132px;     
  height: 300px;
}
}

/* hi-res laptops and desktops */
@media (min-width:1281px) { 
  .navbar-brand img{
    height: 100px;
  }
   /**All Pages*/
 .banner{   
  margin-top: 145px;  
  height: 300px;
}
.banner::after { 
  margin-top: 145px;     
  height: 300px;
}
}




/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
#banner-contact{
  background-image: url("../img/services/extension.jpg");
}

.contact .info-box {
  color: #444444;
  text-align: center;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.3);
  padding: 20px 0 30px 0;
  background-color: #fff;
}

.contact .info-box i {
  font-size: 32px;
  color: #106eea;
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted #b3d1fa;
}

.contact .info-box h3 {
  font-size: 20px;
  color: #777777;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form {
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.4);
  padding: 30px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form .form-group {
  margin-bottom: 20px;
}

.contact .php-email-form input, .contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input:focus, .contact .php-email-form textarea:focus {
  border-color: #106eea;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type="submit"] {
  background: #106eea;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #3b8af2;
}

@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/*********** ABOUT PAGE *************/
.accordion-item button{
  font-weight: bold !important;
}


/********* GALLERY PAGE **********/
#banner-gallery{
  background-image: url("../img/services/extension.jpg");
}
.gallery{
  display: flex;
  flex-wrap: wrap;
  padding: 10px;
}
/* .gallery img{
  width: 25%;
  padding: 10px;
} */

.gallery a{
  width: 25%;
  padding: 10px;
}
.gallery img{
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 900px) {
  .gallery a{
    width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .gallery a{
      width: 100%;
    }
}

/*********** SERVICES ***************/
.services-banner{
  margin-top: 148px;
  width: 100%;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-position: 50% 50%;
  background-size: cover;
  background-repeat: no-repeat;
}
.services-banner::after{
  margin-top: 148px;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  background-color: rgba(0,0,0,0.3);
  z-index: 1;
}
.services-banner h1{
  z-index: 100;
}
#services-new-build{
  background-image: url("../img/services/new-build.jpg");
}

#services-loft-conversion{
  background-image: url("../img/our-work/loft.jpeg");
}

#services-house-extensions{
  background-image: url("../img/services/extension.jpg");
}

#services-renovations{
  background-image: url("../img/services/extension.jpg");
}

#services-domestic{
  background-image: url("../img/services/new-build.jpg");
}

#services-commercial{
  background-image: url("../img/services/commercial.jpg");
}

#services-plumbing-heating{
  background-image: url("../img/services/plumbing.jpg");
}


/********COMLAINTS **********/
.complaints{
  padding-bottom: 50px;
}




/********Blog Detail **********/
        
        .blog-content {
            display: grid;
            grid-template-columns: 1fr 350px;
            gap: 50px;
        }

        /* Article */
        article {
            background-color: white;
            border-radius: 10px;
            padding: 40px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }

        .article-header {
            margin-bottom: 30px;
            border-bottom: 1px solid #eee;
            padding-bottom: 20px;
        }

        .article-meta {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            color: #777;
            margin-bottom: 15px;
            font-size: 0.9rem;
        }

        .article-meta span {
            margin-right: 20px;
            display: flex;
            align-items: center;
        }

        .article-meta i {
            margin-right: 5px;
        }

        .article-title {
            font-size: 2.5rem;
            color: #2c5530;
            line-height: 1.2;
            margin-bottom: 15px;
        }

        .article-excerpt {
            font-size: 1.2rem;
            color: #666;
            margin-bottom: 25px;
        }

        .featured-image {
            width: 100%;
            height: 600px;
            object-fit: cover;
            border-radius: 8px;
            margin-bottom: 30px;
        }

        .article-body p {
            margin-bottom: 20px;
            font-size: 1rem;
        }

        .article-body h2 {
            font-size: 1.5rem;
            color: #2c5530;
            margin: 30px 0 15px 0;
        }

        .article-body h3 {
            font-size: 1.4rem;
            color: #3a6b45;
            margin: 25px 0 10px 0;
        }

        .article-body ul, .article-body ol {
            margin-left: 20px;
            margin-bottom: 20px;
        }

        .article-body li {
            margin-bottom: 8px;
        }

        blockquote {
            border-left: 4px solid #73a580;
            padding-left: 20px;
            margin: 30px 0;
            font-style: italic;
            color: #555;
            font-size: 1.2rem;
        }

        .article-tags {
            display: flex;
            flex-wrap: wrap;
            margin: 40px 0 20px 0;
        }

        .tag {
            background-color: #f0f7f1;
            color: #2c5530;
            padding: 5px 15px;
            border-radius: 20px;
            margin-right: 10px;
            margin-bottom: 10px;
            font-size: 0.9rem;
            text-decoration: none;
        }

        .tag:hover {
            background-color: #e1ede3;
        }

        .article-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-top: 1px solid #eee;
            padding-top: 30px;
            margin-top: 30px;
        }

        .author-info {
            display: flex;
            align-items: center;
        }

        .author-avatar {
            width: 70px;
            height: 70px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 15px;
        }

        .author-details h4 {
            color: #2c5530;
            margin-bottom: 5px;
        }

        .author-details p {
            color: #777;
            font-size: 0.9rem;
        }

        .social-share h4 {
            margin-bottom: 10px;
            color: #555;
        }

        .social-icons a {
            display: inline-block;
            width: 40px;
            height: 40px;
            background-color: #f0f7f1;
            border-radius: 50%;
            text-align: center;
            line-height: 40px;
            margin-right: 10px;
            color: #2c5530;
            transition: all 0.3s;
        }

        .social-icons a:hover {
            background-color: #2c5530;
            color: white;
        }

        /* Sidebar */
        sidebar {
            height: fit-content;
        }

        .sidebar-widget {
            background-color: white;
            border-radius: 10px;
            padding: 25px;
            margin-bottom: 30px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }

        .widget-title {
            font-size: 1.3rem;
            color: #2c5530;
            margin-bottom: 20px;
            padding-bottom: 10px;
            border-bottom: 2px solid #f0f7f1;
        }

        .about-widget p {
            margin-bottom: 15px;
        }

        .recent-posts {
            list-style: none;
        }

        .recent-post {
            display: flex;
            margin-bottom: 20px;
            padding-bottom: 20px;
            border-bottom: 1px solid #f0f0f0;
        }

        .recent-post:last-child {
            margin-bottom: 0;
            padding-bottom: 0;
            border-bottom: none;
        }

        .recent-post img {
            width: 80px;
            height: 80px;
            object-fit: cover;
            border-radius: 5px;
            margin-right: 15px;
        }

        .recent-post-content h4 {
            margin-bottom: 8px;
        }

        .recent-post-content h4 a {
            color: #333;
            text-decoration: none;
            font-size: 1rem;
        }

        .recent-post-content h4 a:hover {
            color: #2c5530;
        }

        .recent-post-content span {
            color: #777;
            font-size: 0.85rem;
        }

        .categories {
            list-style: none;
        }

        .categories li {
            padding: 10px 0;
            border-bottom: 1px solid #f0f0f0;
        }

        .categories li:last-child {
            border-bottom: none;
        }

        .categories a {
            color: #555;
            text-decoration: none;
            display: flex;
            justify-content: space-between;
        }

        .categories a:hover {
            color: #2c5530;
        }

        .categories span {
            background-color: #f0f7f1;
            color: #2c5530;
            padding: 2px 8px;
            border-radius: 10px;
            font-size: 0.8rem;
        }

        /* Newsletter Widget */
        .newsletter-form input {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            margin-bottom: 15px;
            font-family: inherit;
        }

        .newsletter-form button {
            width: 100%;
            padding: 12px 15px;
            background-color: #2c5530;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 600;
            transition: background-color 0.3s;
        }

        .newsletter-form button:hover {
            background-color: #3a6b45;
        }

        /* Comments Section */
        .comments-section {
            background-color: white;
            border-radius: 10px;
            padding: 40px;
            margin-top: 50px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }

        .comments-section h3 {
            font-size: 1.8rem;
            color: #2c5530;
            margin-bottom: 30px;
        }

        .comment {
            display: flex;
            margin-bottom: 30px;
            padding-bottom: 30px;
            border-bottom: 1px solid #eee;
        }

        .comment:last-child {
            margin-bottom: 0;
            border-bottom: none;
        }

        .comment-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            margin-right: 20px;
        }

        .comment-content h4 {
            color: #2c5530;
            margin-bottom: 5px;
        }

        .comment-meta {
            color: #777;
            font-size: 0.9rem;
            margin-bottom: 10px;
        }

        .comment-form {
            margin-top: 40px;
        }

        .comment-form h4 {
            color: #2c5530;
            margin-bottom: 20px;
        }

        .form-group {
            margin-bottom: 20px;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: #555;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 12px 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            font-family: inherit;
        }

        .form-group textarea {
            min-height: 150px;
            resize: vertical;
        }

        .submit-btn {
            padding: 12px 30px;
            background-color: #2c5530;
            color: white;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 600;
            transition: background-color 0.3s;
        }

        .submit-btn:hover {
            background-color: #3a6b45;
        }

        /* Footer */
        footer {
            background-color: #2c5530;
            color: white;
            padding: 50px 0 20px;
            margin-top: 50px;
        }

        .footer-content {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
            margin-bottom: 40px;
        }

        .footer-widget h3 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            color: #b8d4bf;
        }

        .footer-widget p {
            color: #d1e5d6;
            margin-bottom: 20px;
        }

        .footer-widget ul {
            list-style: none;
        }

        .footer-widget ul li {
            margin-bottom: 10px;
        }

        .footer-widget ul li a {
            color: #d1e5d6;
            text-decoration: none;
        }

        .footer-widget ul li a:hover {
            color: white;
        }

        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid #3a6b45;
            color: #b8d4bf;
            font-size: 0.9rem;
        }

        /* Responsive Styles */
        @media (max-width: 992px) {
            .blog-content {
                grid-template-columns: 1fr;
                gap: 40px;
            }
            
            .footer-content {
                grid-template-columns: repeat(2, 1fr);
            }
        }
       

        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
                align-items: flex-start;
            }
            
            nav {
                width: 100%;
            }
            
            nav.active {
                display: block;
            }
		.hero-mobile-swap {
    content: url("https://onflowltd.co.uk/assets/img/new-year-foundation-mobile.jpg");
  }
            
            nav ul {
                flex-direction: column;
            }
            
            nav ul li {
                margin-left: 0;
                margin-bottom: 10px;
            }
            
            .mobile-menu-btn {
                display: block;
                position: absolute;
                top: 25px;
                right: 20px;
            }
            
            .article-title {
                font-size: 2rem;
            }
            
            .article-footer {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .social-share {
                margin-top: 20px;
            }
            
            .featured-image {
                height: 300px;
            }
        }

        @media (max-width: 576px) {
            .article {
                padding: 25px;
            }
            
            .footer-content {
                grid-template-columns: 1fr;
            }
            
            .featured-image {
                height: 250px;
            }
            
            .comments-section {
                padding: 25px;
            }
        }
