/* Animated Border box styling */
body {
  overflow-x: hidden;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

@-webkit-keyframes rotate {
  100% {
    transform: rotate(1turn);
  }
}

@keyframes rotate {
  100% {
    transform: rotate(1turn);
  }
}
.service-bx.rainbow {
  position: relative;
  z-index: 0;
  width: 280px;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  padding: 2rem;
}
.service-bx.rainbow::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: -50%;
  top: -50%;
  width: 200%;
  height: 200%;
  background-color: #0f8aee;
  background-repeat: no-repeat;
  background-size: 50% 50%, 50% 50%;
  background-position: 0 0, 100% 0, 100% 100%, 0 100%;
  background-image: linear-gradient(#0f8aee, #0f8aee),
    linear-gradient(#0f8aee, #0f8aee), linear-gradient(black, black),
    linear-gradient(black, black);
  -webkit-animation: rotate 4s linear infinite;
  animation: rotate 4s linear infinite;
}
.service-bx.rainbow::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 6px;
  top: 6px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  background: white;
  border-radius: 5px;
}
/* ------------------------------ */
.add-div-b > div.rainbow {
  text-align: center;
  position: relative;
  z-index: 0;
  width: 500px;
  height: 300px;
  border-radius: 10px;
  overflow: hidden;
  padding: 2rem;
}
.add-div-b > div.rainbow::before {
  content: "";
  position: absolute;
  z-index: -2;
  left: -50%;
  top: -50%;
  width: 200%;
  height: 200%;
  background-color: #0f8aee;
  background-repeat: no-repeat;
  background-size: 50% 50%, 50% 50%;
  background-position: 0 0, 100% 0, 100% 100%, 0 100%;
  background-image: linear-gradient(#0f8aee, #0f8aee),
    linear-gradient(#0f8aee, #0f8aee), linear-gradient(black, black),
    linear-gradient(black, black);
  -webkit-animation: rotate 4s linear infinite;
  animation: rotate 4s linear infinite;
}
.add-div-b > div.rainbow::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 6px;
  top: 6px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  background: white;
  border-radius: 5px;
}

/* Navbar style */
nav {
  background-color: #0f8aee;
}
.bg-cover {
  background-size: cover !important;
}
.navbar-brand {
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
  font-size: 20px;
  font-weight: 800;
  color: #fff !important;
  text-transform: capitalize;
}
/* __________________________________________________________________ */
/* Banner */
.banner {
  background-color: #0f8aee1a;
}
.banner-image {
  position: relative;
}
.banner-img-background {
  height: 100%;
  width: 100%;
  clip-path: polygon(0 0, 13% 0, 84% 25%, 100% 72%, 17% 100%, 0 100%);
  background-color: #f4991a;
  position: absolute;
  left: 10px;
  top: 0;
}
.banner-img {
  z-index: 99;
  height: 600px;
  width: 100%;
  object-fit: cover;
  clip-path: polygon(0 0, 10% 0, 84% 26%, 100% 71%, 14% 100%, 0 100%);
}
.left-banner-section {
  margin-left: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}
.banner-title {
  z-index: 99999;
}
.banner-buttons {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 40px;
}
.banner-btn {
  padding: 15px 35px;
  border: 2px solid #0f8aee;
  background-color: #0f8aee;
  margin: 0 10px 0 0;
  z-index: 99999;
  color: #fff;
  text-decoration: none;
}
.banner-btn:hover {
  text-decoration: none;
  background-color: #fff;
  color: #f4991a;
  transition: all 0.4s;
}
/* /Banner */
/* Slider style */
.carousel-item {
  height: 100vh;
  min-height: 350px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/* ____________________________________________________________________________ */

/* Gallery Styling  */

.gallery-section {
  background-color: #efefef;
}
.gal-img {
  border: 1px solid rgb(180, 190, 180);
  overflow: hidden;
  object-fit: cover;
}
.gallery-img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}
.gallery-img:hover {
  -ms-transform: scale(1.2);
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}

/* ________________________________________________ */
.add-div2 {
  height: 100%;
  width: calc(100% + 100px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.add-div2 > div {
  background-color: #0f8aee; /* paste color code here ........................... */
  padding: 50px 70px;
  margin-left: -100px;
  width: 100%;
}
.content-section {
  padding: 80px 0;
}
.section-title {
  font-size: 32px;
  margin-bottom: 30px;
  font-weight: 500;
  line-height: 1;
  color: #0f8aee;
  text-align: center;
  font-family: "Merriweather", serif;
  text-transform: uppercase;
}
.service-bx {
  text-align: center;
  padding: 20px 20px;
  box-shadow: 1px 1px 4px 1px gray;
  transition: all 0.6s;
}
.service-bx:hover {
  transform: scale(0.96);
  box-shadow: 1px 5px 4px 1px #0f8aee;
}
.service-bx > .fa {
  color: #000;
  font-size: 68px;
  margin: 30px auto;
}
.service-title {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: #0f8aee;
  text-align: center;
  font-family: "Merriweather", serif;
  text-transform: uppercase;
}
.add-div {
  margin: 40px 0 30px;
  height: 100%;
  width: 100%;
  text-align: center;
}
.open-para {
  color: #334443;
  font-size: 18px;
  font-weight: 500;

  margin-bottom: 25px;
}

.contact-btn {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 20px 30px;
  font-family: "Merriweather", serif;
  text-transform: uppercase;
  color: #fff;
  border: 2px solid #fff;
  background-color: transparent;
}
.contact-foot-btn {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 20px 30px;
  font-family: "Merriweather", serif;
  text-transform: uppercase;
  color: #0f8aee;
  border: 2px solid #0f8aee;
  background-color: transparent;
}
.contact-btn:hover {
  text-decoration: none;
  background-color: #fff;
  border-color: #0f8aee;
  color: #0f8aee;
  transition: all 0.4s;
}
.contact-foot-btn:hover {
  text-decoration: none;
  background-color: #0f8aee;
  border-color: #0f8aee;
  color: #fff;
  transition: all 0.4s;
}
.map-section {
  background-color: #0f8aee;
  padding: 40px 0;
}
.map-col {
  display: flex;
  align-items: center;
}
.map-img {
  width: 100%;
  margin: 10px 0;
}
footer {
  padding: 30px 0;
}
.footer-heading {
  color: #393e46;
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
}
.foot-text {
  color: #334443;
  font-size: 16px;
  font-weight: 400;
  padding: 0;
  margin: 0;
  list-style: none;
}
.foot-text > li > span {
  min-width: 45px;
  float: left;
}

@media only screen and (max-width: 991px) {
  .banner-overlay {
    height: 500px;
  }
  .banner-title h1 {
    font-size: 32px;
  }
  .banner-buttons {
    margin: 20px 0px;
  }
  .banner-btn {
    /*margin: 0 5px;*/
    padding: 15px 20px;
  }
  .banner-img {
    height: 500px;
    width: 100%;
  }
  .banner-img-background {
    width: 100%;
  }
  .left-banner-section {
    margin-left: 20px;
  }
  .gal-img {
    margin: 0 0 15px 0 !important;
  }
  .gallery-section.content-section {
    padding: 80px 0;
  }
  .add-div2 {
    width: 60%;
    margin: 0 auto;
  }
  .add-div2 > div {
    margin: -60px 0 auto;
  }
  .service-bx.rainbow {
    width: 200px;
  }
}

@media only screen and (max-width: 767px) {
  .open-para {
    text-align: center;
  }
  .banner {
    background: linear-gradient(to top, #0f8aee 0%, #000 100%);
  }
  .banner-img {
    height: 375px;
    width: 90%;
  }
  .banner-img-background {
    width: 90%;
  }
  .banner-btn {
    padding: 10px 10px;
    font-size: 14px;
    margin: 0 5px;
  }
  .left-banner-section {
    margin: 20px 0px;
    height: auto;
    padding: 30px 10px;
  }
  .banner-title h1 {
    font-size: 28px;
    text-align: center;
  }
  .banner-buttons {
    align-items: center;
    justify-content: center;
    margin: 20px 0px 0;
  }
  .banner-overlay {
    display: none;
  }
  .service-bx.rainbow {
    width: 280px;
  }
  .add-div-b > div.rainbow {
    width: 300px;
  }

  .add-div-b > div {
    padding: 30px 15px 60px 15px;
    margin: 0px auto 0 auto !important;
  }
  .flex-head a {
    font-size: 14px;
  }

  .head-title,
  .head-subtitle {
    text-align: center;
    line-height: 1.3;
  }
  .header-link {
    width: 50%;
    display: inline-block;
  }
  .flex-head {
    margin-top: 10px;
  }
  .fh1 {
    justify-content: flex-start;
  }
  .site-title > h2 {
    font-size: 36px;
  }
  .banner-title #sub-head {
    text-align: center;
  }
  .sub-head {
    font-size: 14px;
    text-align: center !important;
  }
  .add-div {
    text-align: center;
    padding: 0px;
    margin-bottom: 30px;
  }
  .banner-title h1 {
    font-size: 34px;
  }
  .banner-img {
    margin: 0 0 15px 0;
  }
  .gallery-img-b {
    margin: -30px 10% 0 !important;
    height: 350px;
    width: 80%;
    margin: 0;
    border: none;
  }

  footer .row .col-md-4:first-child,
  footer .row .col-md-4:nth-child(2) {
    width: 50%;
  }
  footer .row .col-md-4:last-child {
    margin-top: 30px;
    text-align: center;
  }
  .foot-text > li > span {
    float: none;
    margin-right: 10px;
  }
  .contact-foot-btn {
    padding: 15px 15px;
  }
  .footer-heading + br {
    display: none;
  }
  footer .contact-foot-btn + br {
    display: none;
  }
  .gal-img {
    margin: 0 0 15px 0 !important;
  }
  .gallery-section.content-section {
    padding: 80px 0;
  }
  .add-div2 {
    width: 320px;
  }
  .add-div2 > div {
    padding: 50px 50px;
    margin: 0;
    width: 100%;
  }
}

@media only screen and (max-width: 320px) {
  .contact-foot-btn {
    padding: 10px 5px;
  }
  .banner-btn {
    padding: 15px 10px;
    font-size: 14px;
  }
  .open-para {
    text-align: center;
  }
}
