/* Header Styling */
/* Transition Effect */
.sweep-to-right {
  position: relative;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-transition: color 1000ms;
  transition: color 2000ms;
}
.sweep-to-right:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #390279;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
  -webkit-transform-origin: 0 50%;
  transform-origin: 0 50%;
  -webkit-transition-property: transform;
  transition-property: transform;
  -webkit-transition: 300ms ease-out;
  transition: 800ms ease-out;
}
.sweep-to-right:hover:before {
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}
/* End Transition Effect */
header .top-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 30px;
  box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);

  z-index: 99;

  top: 0;
  left: 0;
  width: 100vw;
}

.top-nav .buttons a .fa-phone {
  color: #390279;
}
.top-nav .buttons a {
  text-decoration: none;
  cursor: pointer;
  margin: 0 15px 0 0;
  padding: 10px 12px;
  border: 2px solid #390279;
  background: transparent;
  backdrop-filter: blur(10px);
  outline: 0;
  color: #390279;
  transition: background-color 0.8s ease-in-out;
  border-radius: 10px;
}
.top-nav .buttons a:hover {
  color: white;
  border-color: white;
  background-color: rgb(0, 0, 0);
}

.top-nav .logo {
  font-size: 30px;
  font-weight: 700;
  font-family: "Rampart One", cursive;
  color: #390279;
}

/* End header styling */

/* -----------Services----------- */
#service_sec {
  width: 80vw;
  margin: 0 auto;
  background-color: rgba(240, 248, 255, 0.87);
  border-radius: 20px;
  box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.9);
  padding: 50px 30px;
  margin-bottom: 30px;
}
#service_sec .title h3 {
  font-size: 45px;
  text-align: center;
  font-weight: 300;
  color: #390279;
}
.service_bx {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  justify-content: space-between;
  border-radius: 20px;
  box-shadow: 0 0 1rem 0 rgba(0, 0, 0, 0.5);
  margin: 10px;
  padding: 0 30px;
}
.service_bx img {
  width: 100px;
  height: 100px;
  padding: 10px;
}
.service_bx h4 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
}

/* -----------Services----------- */

.content-section {
  padding: 80px 0;
}
.add-div-b > div {
  display: flex;
  flex-direction: column;
  background-color: #390279; /* paste color code here ........................... */
  padding: 90px;
  text-align: center;
  align-items: center;
  z-index: 1;
  height: 540px;
  width: 100%;
  justify-content: center;
}
.site-title > h2 {
  color: #fff; /* paste color code here for site heading ........................... */
  font-family: "Josefin Sans", sans-serif;
  font-size: 42px;
  font-weight: 700;
  opacity: 1;
  text-align: center;
}
.open-para-b {
  color: #fff;
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 30px;
}
.gallery-img-b {
  width: calc(100% + 100px);
  object-fit: cover;
  border-radius: 0px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border: 1px solid #e70f0f;
  height: 380px;
  margin: 80px 0 80px -100px;
}
/* /Banner */

.content-section {
  padding: 80px 0;
}

.section-title {
  font-size: 32px;
  margin-bottom: 25px;
  font-weight: 700;
  line-height: 1;
  color: #390279;
  text-align: center;
  font-family: "Poppins", sans-serif;
  text-transform: uppercase;
}

.gallery-section {
  background-color: #deeeea;
}
.gallery-img {
  object-fit: cover;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}
.img-row {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-end;
  margin: 10px 0;
}
#img1 {
  width: 36%;
  height: 220px;
}
#img2 {
  width: 62%;
  height: 320px;
}
.img-row2 {
  align-items: flex-start !important;
}
#img3 {
  width: 62%;
  height: 320px;
  margin-left: -20%;
}
#img4 {
  width: 56%;
  height: 220px;
}

.add-div {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  /*padding-top: 10%;*/
}
.add-div .section-title {
  margin-bottom: 0px;
}
.open-para {
  color: #334443;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
}
.body-ctn {
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 20px 30px;
  color: #ffffff;
  background-color: transparent;
  border: 2px solid #ffffff;
  font-family: "Poppins", sans-serif;
  border-radius: 2px;
  text-transform: uppercase;
}
.body-ctn:hover {
  color: #390279;
  background-color: white;
}
.contact-btn,
.contact-foot-btn {
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  padding: 20px 30px;
  color: #390279;
  background-color: transparent;
  border: 2px solid #390279;
  font-family: "Poppins", sans-serif;
  border-radius: 2px;
  text-transform: uppercase;
}

.contact-btn:hover,
.contact-foot-btn:hover {
  background-color: #390279;
  text-decoration: none;
  color: #fff;
  transition: all 0.4s;
}

.map-col {
  display: flex;
  align-items: center;
}
.map-img {
  width: 100%;
  margin: 10px 0;
}
.map-section iframe {
  z-index: -1;
}
.map-section .container {
  z-index: 9999 !important;
}
.contact-details {
  position: relative;
  z-index: 9 !important;
  border-radius: 15px;
  margin: 60px 50px 0;
  padding: 50px;
}
.contact-overlay {
  border-radius: 15px;
  background-color: #fff;
  box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
  opacity: 1 !important;
}
.contact-details .row div {
  z-index: 9;
}
.contact-data {
  text-align: center;
}

footer {
  padding: 80px 0 60px;
  background-color: #390279;
}
.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;
}
.social-icons {
  text-align: center;
}
.social-icon:hover {
  background: #fff;
  transition: all 0.4s;
}
.social-icon:hover .fa {
  color: #390279;
}
.social-icon {
  border: 2px solid #fff;
  padding: 8px;
  width: 34px;
  height: 34px;
  border-radius: 25px;
  margin: 5px;
}
.social-icon .fa {
  font-size: 18px;
  color: #fff;
  margin: 0 2px;
}
.foot-site-title {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  opacity: 1;
}

@media only screen and (max-width: 991px) {
  .banner-title h2 {
    font-size: 42px;
  }
  .gallery-img-b {
    width: calc(100% + 50px);
    margin-left: -50px;
  }
  .contact-details {
    padding: 50px 20px;
    margin: -60px 0px 0;
  }
}

@media only screen and (max-width: 767px) {
  .gallery-img-b {
    margin: -30px 10% 0 !important;
    height: 350px;
    width: 80%;
    margin: 0;
    border: none;
  }
  .add-div2 {
    width: 320px;
  }
  .add-div2 > div {
    padding: 50px 50px;
    margin: 0;
    width: 100%;
  }

  .banner-title #sub-head {
    text-align: center;
  }
  .add-div-b > div {
    padding: 30px 15px 60px 15px;
    margin: 0px auto 0 auto !important;
  }
  .img-row {
    display: block;
    margin: 0;
  }
  .add-div .section-title {
    margin-bottom: 20px;
  }
  .gallery-img {
    width: 100% !important;
    margin: 0 0 15px 0 !important;
    height: 260px !important;
  }
  .gallery-section.content-section {
    padding: 80px 0;
  }
  .add-div {
    text-align: center;
    padding: 30px 10px 40px;
    align-items: center;
    justify-content: center;
  }
  .add-div div {
    margin: 10px 0px;
    text-align: center;
  }

  .contact-details .row .contact-data:nth-child(2) {
    margin: 50px 0;
  }

  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;
  }
  .footer-heading + br {
    display: none;
  }
}

@media screen and (max-width: 576px) {
  /* Top Header media query */
  .service_bx {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  header .top-nav {
    padding: 20px 3px;
    flex-flow: column;
  }

  header .top-nav .logo {
    font-size: 26px;
    padding-left: 5px;
    margin: 20px 0;
  }

  header .top-nav .buttons a {
    padding: 7px 5px;
    font-size: 16px;
    margin-bottom: 50px;
  }

  .add-div2 {
    display: none;
  }

  /*End - Top Header media query */
}

@media screen and (max-width: 320px) {
  header .top-nav {
    flex-flow: column;
  }
  .top-nav .logo {
    font-size: 14px;
    margin: 5px 0;
  }
}
