/********** Template CSS **********/
:root {
  --primary: #1e60aa;
  --secondary: #ff4917;
  --light: #edf1fc;
  --dark: #17224d;
}

.fw-medium {
  font-weight: 600 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 90px;
  z-index: 99;
}

html,
body {
  overflow-x: hidden;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 600;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
}

/*** Navbar ***/
.top-bar {
  height: 75px;
  padding: 0 4rem;
}

.nav-bar {
  position: relative;
  padding: 0;
  transition: 0.5s;
  z-index: 9999;
}

.nav-bar.sticky-top {
  position: sticky;
  padding: 0;
  z-index: 9999;
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: var(--dark);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
  color: var(--primary);
}

.btn-change-design {
  background-color: var(--primary);
  font-size: 18px;
  border: 1px solid var(--dark);
  color: var(--light);
  width: 80%;
  margin-top: 2rem;
}

.btn-change-design:hover {
  background-color: var(--light);
  border: 1px solid var(--primary);
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .nav-bar {
    padding: 0;
  }

  .navbar-light .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }

  .navbar-light .navbar-nav {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eeeeee;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    border: none;
    margin-top: 0;
    top: 150%;
    opacity: 0;
    visibility: hidden;
    transition: 0.5s;
  }

  .navbar .nav-item:hover .dropdown-menu {
    top: 100%;
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Header ***/
.header-carousel .container,
.page-header .container {
  position: relative;
  padding: 45px 0 45px 35px;
  border-left: 15px solid #ffffff;
}

.header-carousel .container::before,
.header-carousel .container::after,
.page-header .container::before,
.page-header .container::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  width: 100px;
  height: 15px;
  background: #ffffff;
}

.header-carousel .container::after,
.page-header .container::after {
  top: 100%;
  margin-top: -15px;
}

@media (max-width: 768px) {
  .header-carousel .owl-carousel-item {
    position: relative;
    min-height: 500px;
  }

  .header-carousel .owl-carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .header-carousel .owl-carousel-item h5,
  .header-carousel .owl-carousel-item p {
    font-size: 14px !important;
    font-weight: 400 !important;
  }

  .header-carousel .owl-carousel-item h1 {
    font-size: 30px;
    font-weight: 600;
  }
}

.header-carousel .owl-nav {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  margin: 7px 0;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 45px;
  font-size: 22px;
  transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
  background: var(--primary);
  border-color: var(--primary);
}

.page-header {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4));
  background-size: cover;
  overflow: hidden;
}

.page-header video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* .overlaytwo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 0;
} */

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--light);
}

/*** Facts ***/
/* .fact {
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(../img/woodfloor.jpg) center center no-repeat;
  background-size: cover;
} */

/*** Service ***/
.service-item-top img {
  transition: 0.5s;
}

.service-item-top:hover img {
  transform: scale(1.1);
}

.service-carousel .owl-dots {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.service-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  background: var(--primary);
  border: 5px solid var(--light);
  transition: 0.5s;
}

.service-carousel .owl-dot.active {
  background: var(--light);
  border-color: var(--primary);
}

/*** Booking ***/

.video-container {
  position: relative;
}

video {
  height: 1000px;
  width: 100%;
  object-fit: cover;
}

.overlayvideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  pointer-events: none;
}

.galssbox {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 40px;
  min-height: 330px;
  color: white;
  text-align: center;
  backdrop-filter: blur(3px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.galssbox:hover {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(1px);
  box-shadow: 0 4px 6px rgba(255, 255, 255, 0.7);
  border: 1px solid var(--primary);
  color: var(--dark);
}

.cards-on-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.bootstrap-datetimepicker-widget.bottom {
  top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
  border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
  font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
  padding: 10px;
  border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
  background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
  border-bottom-color: var(--primary);
}

/*** Team ***/
.team-item img {
  transition: 0.5s;
}

.team-item:hover img {
  transform: scale(1.1);
}

.team-item .team-text {
  height: 90px;
  overflow: hidden;
}

.team-item .team-text .bg-light,
.team-item .team-text .bg-primary {
  position: relative;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: 0.5s;
}

.team-item .team-text .bg-primary {
  flex-direction: row;
}

.team-item:hover .team-text .bg-light {
  margin-top: -90px;
}

.team-item .team-text .bg-primary .btn {
  color: var(--primary);
  background: #ffffff;
}

.team-item .team-text .bg-primary .btn:hover {
  color: #ffffff;
  background: var(--secondary);
}

/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .testimonial-text * {
  position: relative;
  transition: 0.5s;
  min-height: 100px;
}

.testimonial-carousel .owl-item.center .testimonial-text {
  background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-text * {
  color: #ffffff !important;
}

.testimonial-carousel .owl-item .testimonial-text::after {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  left: 50%;
  bottom: -30px;
  transform: translateX(-50%);
  border: 15px solid;
  border-color: var(--light) transparent transparent transparent;
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-text::after {
  border-color: var(--primary) transparent transparent transparent;
}

.testimonial-carousel .owl-nav {
  position: absolute;
  width: 350px;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
  opacity: 0;
  transition: 0.5s;
  z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
  width: 300px;
  opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
  font-size: 30px;
  color: var(--primary);
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: var(--dark);
}

/*** Footer ***/
.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid #ffffff;
  border-radius: 35px;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #ffffff;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: "\f105";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

/* css */

.carousel-smalltitle-text {
  color: var(--light);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.carousel-maintext {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 72px;
  color: var(--light);
  word-spacing: 10px;
  margin-bottom: 2rem;
}

.carousel-bottom-text {
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  font-size: 20px;
  font-weight: 600;
  color: var(--light);
}

.alignfact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.factimg {
  height: 55px;
}

.fact-counter {
  color: var(--dark);
  margin: 1rem 0;
  font-size: 38px;
  display: flex;
  align-items: center;
}

.fact-plus {
  margin-left: 12px;
}

.fact-text {
  margin-bottom: 0;
  font-size: 20px;
  color: var(--dark);
}

.service-align {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  clip-path: polygon(100% 22%, 100% 94%, 0 100%, 0 0);
}

.galssbox p {
  font-size: 17px;
  font-weight: 400;
  margin: 0.5rem;
}

.faqbox {
  background-color: white;
  color: black;
  border-radius: 20px;
  box-shadow: 0 5px 10px 0 rgb(0, 0, 0, 0.25);
  margin: 20px 0;
}

.question {
  font-size: 1.2rem;
  font-weight: 600;
  padding: 20px 80px 20px 20px;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.question::after {
  content: "\002B";
  font-size: 2.2rem;
  position: absolute;
  right: 20px;
  transition: 0.2s;
}

.question.active::after {
  transform: rotate(45deg);
}

.answercont {
  max-height: 0;
  overflow: hidden;
  transition: 0.3s;
}

.answer {
  padding: 0 20px 20px;
  line-height: 1.5rem;
}

.homecaretext p {
  font-size: 18px;
  margin: 2rem 0;
}

.alignhomecare {
  justify-content: space-between;
  align-items: center;
  row-gap: 2rem;
}

.setcqclogo img {
  border-radius: 20px;
  width: 100%;
}

.bottompages ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  justify-content: end;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
}

.bottom-container {
  width: 50%;
  margin: 0 auto;
}

.bottom-container h4 {
  color: var(--dark);
  padding: 10px 0px;
}

.bottominpage ul li {
  color: var(--dark);
  margin-bottom: 1rem;
}

.bottominpage ul li::marker {
  color: var(--primary);
  font-size: 20px;
}

.ouraimtitle {
  font-size: 22px;
  color: var(--dark);
}

.ouraimheding {
  font-size: 32px;
  color: var(--dark);
  margin-top: 5rem;
}

/* .rightaim {
  background-color: var(--light);
  padding: 1.5rem 0.5rem;
} */

.aimiconset {
  background-color: white;
  border: 1px solid var(--dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  height: 100px;
  width: 100px;
  margin: 2rem 0;
  cursor: pointer;
  color: var(--dark);
}

.aimiconset:hover {
  background-color: var(--dark);
  border: 1px solid var(--light);
  color: var(--light);
}

.aimiconset img {
  object-fit: contain;
  height: 70px;
  width: auto;
}

.setbothicon {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
}

.righttext ul {
  margin: 1.5rem 0;
  border: 1px solid var(--dark);
  margin: 2rem 0;
  padding: 0 1.5rem;
}

.righttext ul li {
  font-size: 16px;
  margin: 1rem 0;
}
.righttext ul li::marker {
  list-style-type: disc;
  color: green;
  font-size: 20px;
}

.about-section {
  position: relative;
  padding: 50px 0 20px 0;
}

/* .about-section .sec-title {
  margin-bottom: 45px;
} */

.about-section .content-column {
  position: relative;
  margin-bottom: 50px;
}

.about-section .content-column .inner-column {
  position: relative;
  padding-left: 30px;
}

.about-section .text {
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
}

.about-section .list-style-one {
  margin-bottom: 45px;
}

.about-section .image-column {
  position: relative;
}

.about-section .image-column .text-layer {
  position: absolute;
  right: -110px;
  top: 50%;
  font-size: 325px;
  line-height: 1em;
  color: #ffffff;
  margin-top: -175px;
  font-weight: 500;
}

.about-section .image-column .inner-column {
  position: relative;
  padding-left: 80px;
  padding-bottom: 0px;
}
.about-section .image-column .inner-column .author-desc {
  position: absolute;
  bottom: 16px;
  z-index: 1;
  background: orange;
  padding: 10px 15px;
  left: 96px;
  width: calc(100% - 152px);
  border-radius: 50px;
}
.about-section .image-column .inner-column .author-desc h2 {
  font-size: 21px;
  letter-spacing: 1px;
  text-align: center;
  color: #fff;
  margin: 0;
}
.about-section .image-column .inner-column .author-desc span {
  font-size: 16px;
  letter-spacing: 6px;
  text-align: center;
  color: #fff;
  display: block;
  font-weight: 400;
}
.about-section .image-column .inner-column:before {
  content: "";
  position: absolute;
  width: calc(50% + 80px);
  height: calc(100% + 160px);
  top: -80px;
  left: -3px;
  background: transparent;
  z-index: 0;
  border: 44px solid var(--primary);
}

.about-section .image-column .image-1 {
  position: relative;
  height: 450px;
  width: 450px;
}
.about-section .image-column .image-2 {
  position: absolute;
  left: 0;
  bottom: 0;
}

.about-section .image-column .image-2 img,
.about-section .image-column .image-1 img {
  box-shadow: 0 30px 50px rgba(8, 13, 62, 0.15);
  border-radius: 46px;
}

.about-section .image-column .video-link {
  position: absolute;
  left: 70px;
  top: 170px;
}

/* .about-section .image-column .video-link .link{
  position: relative;
  display: block;
  font-size: 22px;
  color: #191e34;
  font-weight: 400;
  text-align: center;
  height: 100px;
  width: 100px;
  line-height: 100px;
  background-color: #ffffff;
  border-radius: 50%;
  box-shadow: 0 30px 50px rgba(8,13,62,.15);
  -webkit-transition: all 300ms ease;
  -moz-transition: all 300ms ease;
  -ms-transition: all 300ms ease;
  -o-transition: all 300ms ease;
  transition: all 300ms ease;
} */

.about-section .image-column .video-link .link:hover {
  background-color: #191e34;
  color: white;
}

.sec-title {
  position: relative;
  z-index: 1;
  /* margin-bottom: 60px; */
}

.sec-title .title {
  position: relative;
  display: block;
  font-size: 18px;
  line-height: 24px;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 15px;
}

.sec-title h2 {
  position: relative;
  display: block;
  font-size: 40px;
  line-height: 1.28em;
  color: #222222;
  font-weight: 600;
  padding-bottom: 18px;
}

/* .sec-title h2:before {
  position: absolute;
  content: "";
  left: 0px;
  bottom: 0px;
  width: 50px;
  height: 3px;
  background-color: #d1d2d6;
} */

.sec-title .text {
  position: relative;
  font-size: 16px;
  line-height: 26px;
  color: #848484;
  font-weight: 400;
  margin-top: 35px;
}

.sec-title.light h2 {
  color: #ffffff;
}

.sec-title.text-center h2:before {
  left: 50%;
  margin-left: -25px;
}

.list-style-one {
  position: relative;
}

.list-style-one li {
  position: relative;
  font-size: 16px;
  line-height: 26px;
  color: #222222;
  font-weight: 400;
  padding-left: 35px;
  margin-bottom: 12px;
}

.footeralist a {
  text-decoration: none;
  color: white;
}

.returnbtn {
  background-color: var(--primary);
  color: white;
  border: 1px solid white;
}

.returnbtn:hover {
  background-color: white;
  color: var(--dark);
  border: 1px solid var(--primary);
}

.changetologo img {
  max-height: 150px;
  width: auto;
}

.dropdown-menu {
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
  font-size: 16px;
  border-radius: 4px;
}

.dropdown-item:hover {
  background-color:  var(--primary);
  color: white;
}

/* Responsive web ---------- */
@media only screen and (max-width: 1200px) {
  video {
    height: 1200px;
  }

  .about-section .content-column .inner-column {
    margin-top: 6rem;
    padding-left: 0;
  }
}

@media only screen and (max-width: 992px) {
  video {
    height: 1500px;
  }

  .galssbox {
    min-height: unset;
  }

  .carousel-maintext {
    font-size: 65px;
  }

  .ouraimtitle {
    text-align: center;
  }

  .setbothicon {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2rem;
  }

  .aimiconset {
    margin: 0 1rem;
  }
}

@media only screen and (max-width: 768px) {
  video {
    height: 1800px;
  }

  .setcqclogo {
    display: flex;
    justify-content: center;
  }

  .bottom-container {
    width: 70%;
  }

  .changetologo img {
    max-height: unset;
    width: auto;
  }
}

@media only screen and (max-width: 576px) {
  .ouraimheding {
    text-align: center;
  }

  .aimiconset {
    margin: 0 auto;
    margin-top: 3rem;
  }

  .about-section .image-column .image-1 {
    position: relative;
    width: 100%;
  }

  .about-section .image-column .inner-column {
    padding-left: 0px;
    padding-bottom: 0px;
  }
}

@media only screen and (max-width: 425px) {
  .galssbox {
    padding: 15px;
  }

  .bottom-container {
    width: 100%;
  }

  .btn-change-design {
    width: 100%;
  }
}
