body,
html {
  font-family: "Raleway", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #777;
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
}
h2,
h3,
h4 {
  font-family: "Raleway", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
}
h1 {
  text-transform: uppercase;
  font-family: "Raleway", sans-serif;
  font-weight: 800;
  font-size: 38px;
  color: #333;
}
h2 {
  text-transform: uppercase;

  font-weight: 800;
  font-size: 36px;
  color: #333;
}
h3 {
  font-size: 30px;
  font-weight: 600;
  color: #333;
}
h4 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
}
h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}
p {
  font-size: 18px;
}
p.intro {
  margin: 12px 0 0;
  line-height: 24px;
}
a {
  color: #608dfd;
  font-weight: 400;
}
a:hover,
a:focus {
  text-decoration: none;
  color: #608dfd;
}
ul,
ol {
  list-style: none;
}
ul,
ol {
  padding: 0;
  webkit-padding: 0;
  moz-padding: 0;
}
hr {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: #1e7a46;
  margin-bottom: 20px;
  border: 0;
}

/* Navigation */
.navbar {
  padding: 30px;
  transition: all 0.8s;
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-evenly !important;
}



.navbar-brand {
  font-family: "Raleway", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  padding-right: 30rem;
  cursor: pointer
}
.navbar {
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  color: #555;
  font-size: 15px;
  font-weight: 400;
  border-radius: 0;
}
#menu.navbar-default .navbar-nav > li > a:after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  content: "";
  transition: width 0.2s;
}
#menu.navbar-default .navbar-nav > li > a:hover:after {
  width: 100%;
}

.navbar-collapse {
flex-grow: 0!important
}

.navbar-toggle {
  border-radius: 0;
}
.carousel{
  padding: 5px
}

.nav-link{
  
  display: flex !important;
  justify-content: center !important;
 padding: 10px !important;
 color: black !important


}


.nav-link:hover{
  color: #3a86ff !important;
  transform: scale(1.2);
  -webkit-text-stroke: 1px #3a86ff;

}


.navbar-collapse{

  justify-content: center !important;
}

.navLink:hover,
.navLink:focus {
  
  color: white !important;
  transform: scale(1.2);

 text-shadow:
 -1px -1px 0 #979dac,  
  1px -1px 0 #979dac,
  -1px 1px 0 #979dac,
   1px 1px 0 #979dac;

}

.navbar-default .navbar-toggle:hover > .icon-bar {
  background-color: #608dfd;
}
.section-title {
  margin-bottom: 20px;
}
.section-title h2 {
  position: relative;
  margin-top: 10px;
  margin-bottom: 15px;
  padding-bottom: 15px;
}
.section-title h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #5ca9fb 0%, #6372ff 100%);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}
.section-title p {
  font-size: 18px;
}
.btn-custom {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  color: #fff;
  background-color: #5ca9fb;
  background-image: linear-gradient(to right, #5ca9fb 0%, #6372ff 100%);
  padding: 14px 34px;
  letter-spacing: 1px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  border-radius: 25px;
  transition: all 0.5s linear;
  border: 0;
}
.btn-custom:hover,
.btn-custom:focus,
.btn-custom.focus,
.btn-custom:active,
.btn-custom.active {
  color: #fff;
  background-image: none;
  background-color: #6372ff;
}
.btn:active,
.btn.active {
  background-image: none;
  outline: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
}
a:focus,
.btn:focus,
.btn:active:focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn.active.focus {
  outline: none;
  outline-offset: none;
}

/* Header Section */

.navbar{
  
  background: rgb(227,60,60);
  background: linear-gradient(135deg, #fff   48%, #3c50c3 100%, #2b3896 100%);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.logo {
  position: absolute;
  display: flex !important;
  top: 0 !important;
  margin-left: 3rem; 
}
.intro {
  display: table;
  width: 100%;
  padding: 0;
  background: url(../img/intro-bg.jpg) center center no-repeat;
  background-color: #e5e5e5;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  background-size: cover;
  -o-background-size: cover;
}
.intro .overlay {
  background: rgba(0, 0, 0, 0.2);
}
.intro h1 {
  font-family: "Raleway", sans-serif;
  color: #fff;
  font-size: 82px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 10px;
}
.intro h1 span {
  font-weight: 800;
  color: #5ca9fb;
}
.intro p {
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  line-height: 30px;
  margin: 0 auto;
  margin-bottom: 60px;
}
header .intro-text {
  padding-top: 350px;
  padding-bottom: 200px;
  text-align: center;
}

.subtitle{

  color: ghostwhite !important;
  -webkit-text-stroke-width: 1px !important;
  -webkit-text-stroke-color: black !important;

  text-shadow: 1px 1px 2px white !important;
}

.title{

  color: ghostwhite !important;
  -webkit-text-stroke-width: 1px !important;
  -webkit-text-stroke-color: black !important;

  text-shadow: 1px 1px 2px white !important;
}



/* Features Section */
#features {
  background: #f6f6f6;
}
#features i.fa {
  font-size: 38px;
  margin-bottom: 20px;
  transition: all 0.5s;
  color: #fff;
  width: 100px;
  height: 100px;
  padding: 30px 0;
  border-radius: 50%;
  background: linear-gradient(to right, #6372ff 0%, #5ca9fb 100%);
  box-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
}

  
/* About Section */
.img-responsive{

    width: 520px;
    margin-top: 10px;
    background: #fff;
    border-radius: 2rem;
    box-shadow: 0 0 50px rgba(85, 81, 81, 0.06);
}


#about {
  padding-top: 100px !important;


  background: linear-gradient(to top, #fff   20%, #2b3896 100%);

}

#about h3 {
  font-size: 22px;
  margin: 0 0 20px;

}
#about h2 {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
  padding-top: 40px !important;
  justify-content: center !important;
  display: flex;
}
#about h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #5ca9fb 0%, #6372ff 100%, );
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 0;
}
#about .about-text li {
  margin-bottom: 6px;
  margin-left: 6px;
  list-style: none;
  padding: 0;
}
#about .about-text li:before {
  content: "\f00c";
  font-family: "FontAwesome";
  color: #5ca9fb;
  font-size: 11px;
  font-weight: 300;
  padding-right: 8px;
}


#about p {
  line-height: 24px;
  margin: 30px 0;
  text-align: center;
  font-weight:600;
  letter-spacing: 1px;
  color: #000

}



/* Services Section */

#services {

  background: linear-gradient(to bottom, #fff 40%, #2b3896 100%);
  color: #fff;
}
#services .service-desc {
  margin: 10px 10px 20px;
}
#services h2 {
  color: #000;
}
#services .section-title h2::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.3);
  height: 4px;
  width: 60px;
  bottom: 0;
  margin-left: -30px;
  left: 50%;
}
.img-services {
 
justify-content: space-between !important;
  width: 300px;
  height: 300px;
  border-radius: 50%;
}

#services h3 {
  font-weight: 800;
  padding-top: 40px;
  padding-bottom: 10px;
  color: #000;
}
#services p {
  color:#000;
  text-align: center;
  font-weight: 400;
  font-size: 20px !important;
  letter-spacing: 1px;
  line-height: 24px;
}
#services .service-desc {
  margin-bottom: 40px;
}
/* Portfolio Section */
#portfolio {
  padding: 100px 0;
}
.portfolio-item {
  margin: 1px -15px 0 -14px;
  padding: 0;
}
.portfolio-item .hover-bg {
  overflow: hidden;
  position: relative;
  margin: 0;
}
.hover-bg .hover-text {
  position: absolute;
  text-align: center;
  margin: 0 auto;
  color: #fff;
  background: linear-gradient(
    to right,
    rgba(99, 114, 255, 0.8) 0%,
    rgba(92, 169, 251, 0.8) 100%
  );
  padding: 30% 0 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
}
.hover-bg .hover-text > h4 {
  opacity: 0;
  color: #fff;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  transition: all 0.3s;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
}
.hover-bg:hover .hover-text > h4 {
  opacity: 1;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}
.hover-bg:hover .hover-text {
  opacity: 1;
}
/* Testimonials Section */
#testimonials {
  padding: 100px 0;
  background: #f6f6f6;
}
#testimonials i {
  color: #e6e6e6;
  font-size: 32px;
  margin-bottom: 20px;
}
.testimonial {
  position: relative;
  padding: 20px;
}
.testimonial-image {
  float: left;
  margin-right: 15px;
}
.testimonial-image,
.testimonial-image img {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 50%;
}
.testimonial-content {
  position: relative;
  overflow: hidden;
}
.testimonial-content p {
  margin-bottom: 0;
  font-size: 14px;
  font-style: italic;
}
.testimonial-meta {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #666;
}
/* Team Section */
#team {
  padding: 100px 0;
}
#team h4 {
  margin: 5px 0;
}
#team .team-img {
  width: 240px;
}
#team .thumbnail {
  background: transparent;
  border: 0;
}
#team .thumbnail .caption {
  padding: 10px 0 0;
  color: #888;
}
/* Contact Section */

.cleaning-rag-container {
  position: relative;
  display: inline-block;
  
}

.cleaning-rag {
  position: absolute;
  left: -40px;
  top: 10;
  width: 60px;
  height: 60px;
  animation: clean 2s linear forwards;
  z-index: 99;
}

.text {
  position: absolute;
  left: 0px;
  top: 8px;
  opacity: 1;
  transition: opacity 1s ease;
  color: yellow;
}

@keyframes clean {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(530%);
  }
}

.cleaning-rag-container:hover .cleaning-rag {
  animation: clean-pause 2s linear forwards;
}

.cleaning-rag-container:hover .text {
  animation: text-color 2s forwards;
}

@keyframes clean-pause {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(650%);
  }
  99% {
    animation-timing-function: steps(1, end);
    color: white !important;
    animation-delay: 1s; /* Add a delay of 1 second here */
  }
  100% {
    animation-timing-function: linear;
    color: yellow !important;
  }
}


@keyframes clean-restart {
  0% {
    transform: translateX(650%);
  }
  100% {
    transform: translateX(0);
  }
}

.cleaning-rag-container:hover .cleaning-rag {
  animation: clean-pause 2s linear forwards;
}

.cleaning-rag-container:hover .text {
  animation: clean-pause 2s linear forwards;
}

.cleaning-rag-container:hover {
  animation: clean-restart 2s linear forwards 2s; /* Add a delay of 2 seconds here */
}



@keyframes text-color {
  0% {
    color: yellow;
  }

  100% {
    color: white;
  }
}

.cleaning-rag-container:hover .text {
  animation: text-color 2s forwards;
}



#contact {
  padding: 50px 0 50px;
  background: linear-gradient(to top, #6c757d 0%, #dee2e6 100%);
  color: #fff;


}

#contact .section-title p {
  font-size: 18px;
}
#contact h2 {
  color: #000;
}
#contact .section-title h2::after {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.3);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 30px;
}
#contact h3 {
  color: #000;
  font-weight: 400;
  text-align: center
  
}
#contact form {
  padding-top: 20px;
}
#contact .text-danger {
  color: #000;
  text-align: left;
 
}
#contact .btn-custom {
  margin: 30px 0;
  background: transparent;
  border: 2px solid #fff;
}
#contact .btn-custom:hover {
  color: #1f386e;
  background: #fff;
}
label {
  font-size: 12px;
  font-weight: 400;
  font-family: "Open Sans", sans-serif;
  float: left;
  color: #000;
}


.contactCard{
border-radius: 5%;
box-shadow: 0 0 10px #000;
justify-content: space-between !important;
margin-top: 15rem;
background: #f8f9fa;
color: #000
}


#contact .form-control {
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 18px;
  line-height: 1.42857143;
  color: #444;
  background-color: #f8f9fa;
  background-image: none;
  border: 1px solid #ddd;
  border-radius: 0;
  -webkit-box-shadow: none;
  box-shadow: none;
  -webkit-transition: none;
  -o-transition: none;
  transition: none;
}
#contact .form-control:focus {
  border-color: #999;
  outline: 1;
  -webkit-box-shadow: transparent;
  box-shadow: transparent;
}
.form-control::-webkit-input-placeholder {
  color: #777;
}
.form-control:-moz-placeholder {
  color: #777;
}
.form-control::-moz-placeholder {
  color: #777;
}
.form-control:-ms-input-placeholder {
  color: #777;
}

#contact .contact-item span {
  color: #000;
  margin-bottom: 10px;
  display: block;
  font-weight: 500;
  
}
#contact .contact-item i.fa {
  margin-right: 10px;
}
#contact .social {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 50px;
  margin-top: 50px;
  text-align: center;
}
#contact .social ul li {
  display: inline-block;
  margin: 0 20px;
}
#contact .social i.fa {
  font-size: 22px;
  width: 48px;
  height: 48px;
  padding: 12px 0;
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  transition: all 0.3s;
}
#contact .social i.fa:hover {
  color: #608dfd;
  background: #fff;
  cursor: pointer ;
}
/* Footer Section*/
#footer {
  background: #f6f6f6;
  padding: 20px 0;
}
#footer p {
  color: #888;
  font-size: 14px;
}
#footer a {
  color: #000;
}
#footer a:hover {
  border-bottom: 2px solid #495057;
}


@media (max-width: <768px) {
  #about img {
    margin: 50px 0;
  }
}


.scroll-to-top {
  position: sticky;
  display: flex;
  float:right;
  bottom: 20px;
  right: 30px;
  padding: 10px;
  font-size: 20px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 100% !important;
  cursor: pointer;
  background-color: #ff4d6d;
}
.scroll-to-top:hover {
  background-color: #a4133c;
}


@media (max-width: 768px) {
  #about img {
    bottom: 70px !important;
  }
}

.img-services-individual {
  display: block;
  padding: 30px;
  width: 300px;
  height: 300px;
  border-radius: 5%;
}





.card-text1{
  display: flex;
  justify-content: center;
width: 100%;
padding-top: 5rem;
}

.card-text2{
  display: flex;
  justify-content: center;
width: 100%;
padding-bottom: 5rem;
}

.card-container{
  display: flex;
    justify-content: center;
    width: 100%
  
  }

  .img-services-residential{

    width: 520px;
    height: 520px;
    margin-top: 10px;
    background: #fff;
    border-radius: 2rem;
}

.card-body{
  display: flex;
  width: fit;
  justify-content:space-evenly;
  text-align: center;
  padding: 20px !important;
  flex-direction: column;
  }

  .cardHeader{
    color:black;
    font-weight:700;
    font-size: 18px
  }

  .card-body2{
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    text-align: left;
    padding: 40px !important;
    
    }

    .card-text{
      color:black;
      font-weight:500;
      font-size: 16px
    }

    .serviceBody{
      background: linear-gradient(to bottom, #fff 50%, #ff2728 100%);
    }

    @media (max-width: 768px) {
      .img-services-residential {
        width: 420px;
        height: 520px;
        margin-top: 10px;
 
        border-radius: 2rem;
      }
    }


    @media (max-width: 768px) {
      .card-text1, .card-text2 {
      
       
       text-align: center
      }
    }


    @media (max-width: 768px) {
      .scroll-to-top {
      
      
        right: 5px;
       
      }
    }




    @media (max-width: 768px) {
      .logo {
      
        position: absolute;
    display: flex !important;
    margin-left: 8rem;
    align-content: center;
    flex-wrap: wrap;
    top: 2rem !important;
       
      }
    }

    
    @media (max-width: 391) {
      .logo {
      
        position: absolute;
    display: flex !important;
    margin-left: 8rem;
    align-content: center;
    flex-wrap: wrap;
    top: 2rem !important;
       
      }
    }

    @media (max-width: 391) {
      .navbar-toggler-icon {
    display: flex !important;
    top: 5rem !important;
      padding-top: 10rem
      }
    }
  
    @media (max-width: 320) {
      .card-body {
    display: flex !important;
    flex-direction: collumn !important;
    width: 100%;
  
    text-align: center;
    padding: 20px;
    margin-top: 5px !important;
    justify-content: space-evenly;
  }
    }
  
    @media (max-width: 1024) {
      .card-body {
    display: flex !important;
    flex-direction: collumn !important;
    width: 50%;
    text-align: center;
    padding: 20px;
    margin-top: 5px !important;
    justify-content: space-evenly;
  }
    }
    @media (max-width: 1440) {
      .card-body {
    display: flex !important;
    flex-direction: collumn !important;
    width: 50% !important;
    justify-content: space-evenly;
    text-align: center;
    padding: 20px;
    margin-top: 5px !important;
  }
    }

    @media (max-width: 2560) {
      .card-body {
    display: flex !important;
    flex-direction: collumn !important;
    width: 50% !important;
    justify-content: space-evenly;
    text-align: center;
    padding: 20px;
    margin-top: 5px !important;
  }
    }

  .cardd{
    margin-top: 5px !important;
  }

    
  .cardd{
    margin-top: 5px !important;
  }