:root {
  --primary-color: #2f728c;
  --secondary-color: #bca058;
  --text-color: #4d4d4d;
  --white-color: #ffffff;
  --black-color: #000;
  --yellow: #ffc107;
}
body {
  scroll-behavior: smooth;
}
.all-section {
  padding: 3em 0;
}

/*****************Start-Main-Slider*****************/
/*start slider area*/
.main-slider-item .row {
  display: flex;
  justify-content: center;
  align-items: center;
}
.main-slider-item {
  position: relative;
  -webkit-background-size: cover;
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.main-slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-slider-item .container {
  z-index: 2;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  left: 0;
  right: 0;
}

.main-slider-item:before {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(35, 41, 53, 0.5);
  content: "";
  left: 0;
  top: 0;
  z-index: 1;
}

h2.main-title {
  font-size: 50px;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

p.sub-title {
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 40px;
  line-height: 1.5;
}

.welcome-button a {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  width: 160px;
  padding: 10px 20px;
  border-radius: 5px;
  margin-right: 10px;
  color: var(--white-color);
}
.welcome-button a:hover {
  color: var(--white-color);
}

.welcome-button .order-btn {
  background: var(--secondary-color);
}
.welcome-button .calc-btn {
  background: var(--primary-color);
}

.active-main-slider .owl-nav .owl-prev,
.active-main-slider .owl-nav .owl-next {
  width: 50px;
  height: 50px;
  line-height: 50px;
  position: absolute;
  text-align: center;
  top: 50%;
  margin-top: -25px;
  color: #fff;
  border: 2px solid var(--secondary-color);
  border-radius: 50px;
  transition: 0.4s ease-in-out all;
}
.active-main-slider .owl-nav .owl-prev i,
.active-main-slider .owl-nav .owl-next i {
  font-size: 20px;
  font-weight: bold;
}
.active-main-slider .owl-nav .owl-prev {
  left: 20px;
}

.active-main-slider .owl-nav .owl-next {
  right: 20px;
}

.active-main-slider .owl-nav div:hover {
  background: var(--secondary-color);
  color: #fff;
  border-color: var(--secondary-color);
}

/*****************End-Main-Slider*****************/

/*****************Start-Why-Us-Slider*****************/
.why-section {
  text-align: center;
  background-color: #f4f4f4;
}
.why-section .container {
  margin-top: 40px;
}
.why-section h2,
.why-section h2 + img {
  display: inline;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--primary-color);
}

.why-section .why-card {
  padding: 30px 10px;
  background: var(--white-color);
  min-height: 300px;
  border-radius: 5px;
  margin-bottom: 20px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  position: relative;
}
.why-card img {
  width: 60px;
  height: 100%;
  object-fit: contain;
}

.why-card h3 {
  font-size: 25px;
  font-weight: 600;
  color: var(--black-color);
  margin-bottom: 20px;
  margin-top: 20px;
}

.why-card p {
  font-size: 17px;
  font-weight: 600;
  color: #808080;
  line-height: 1.6;
}

/*****************End-Why-Us-Slider*****************/

/*****************Start-About-Section*****************/
.about,
.message,
.vision {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  margin-bottom: 10px;
}
.about-section .left-about h2 {
  margin-bottom: 20px;
  font-weight: 900;
  color: var(--primary-color);
}
.about-section .left-about p {
  color: var(--text-color);
  font-size: 17px;
  line-height: 1.6;
  margin-bottom: 0;
}
.about-section .left-about a {
  display: inline-block;
  background-color: var(--secondary-color);
  width: 150px;
  padding: 10px 40px;
  margin-top: 20px;
  border-radius: 5px;
  text-align: center;
  font-weight: 600;
  font-size: 17px;
  color: var(--black-color);
}

.about-section .right-about {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.right-about .img-wrapper {
  position: absolute;
  left: 0px;
  top: -20px;
  border-radius: 50%;
  display: block;
  width: 400px;
  height: 400px;
  border: 7px solid var(--secondary-color);
  z-index: -1;
}

.about-section .message .right-about {
  justify-content: flex-start;
}
.message .right-about .img-wrapper {
  right: 0px;
  left: unset;
}
.right-about .circle {
  border: 7px solid var(--primary-color);
  border-radius: 50%;
  width: 400px;
  height: 400px;
}
.about-section .right-about img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
/*****************End-About-Section*****************/

/*****************Start-Client-Section*****************/
.section-clients-grey h2 {
  margin-bottom: 30px;
  font-weight: 600;
  color: var(--primary-color);
}
/*****************End-Client-Section*****************/

/*****************Start-Counter-Section*****************/
.counter-section {
  background-color: var(--primary-color);
  text-align: center;
  background-size: 50%;
  background-image: url(../images/counter-bg1.png),
    url(../images/counter-bg2.png);
  background-position: center right, center left;
  background-repeat: no-repeat;
}
.counter-section .row > div:not(:last-child) {
  border-left: 1px solid var(--white-color);
}
.counter-section h2 {
  color: var(--white-color);
  font-size: 40px;
  font-weight: 600;
}
.counter-section span {
  color: var(--white-color);
}
.counter-section p {
  color: var(--secondary-color);
}
/*****************End-Counter-Section*****************/

/*****************Start-Service-Section*****************/
.service-section .service-title {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}
.service-section .service-title h2 {
  display: inline-block;
  position: relative;
  font-weight: 600;
  color: var(--primary-color);
}
.service-section .service-title img {
  padding: 0 5px;
}
.service-section .service-card {
  position: relative;
  height: 350px;
  border-radius: 10px;
  background-color: var(--white-color);
  overflow: hidden;
  min-height: 400px;
  margin-bottom: 20px;
}
.service-section .service-card::after {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 100%;
  content: "";
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.service-section .service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card .card-desc {
  width: 90%;
  position: absolute;
  text-align: center;
  bottom: 10px;
  left: 0;
  right: 0;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  padding: 10px;
  z-index: 99;
}
.service-card .card-desc h3 {
  color: var(--black-color);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 20px;
}
.service-card .card-desc a {
  color: var(--white-color);
  background: var(--primary-color);
  font-size: 16px;
  border-radius: 50px;
  padding: 7px 10px;
  width: 140px;
  display: inline-block;
  text-decoration: none;
}
/*****************End-Service-Section*****************/

/*****************Start-testimonials-Section*****************/
.testimonials-section {
  background: url(../images/car7.png) no-repeat center center;
  background-size: cover;
  height: 70vh;
}
.testimonials-section .row > div {
  padding-top: 140px;
}
.testimonials-section h2 {
  color: var(--white-color);
  font-size: 40px;
  font-weight: 600;
  line-height: 1.5;
  padding: 10px;
  margin-bottom: 20px;
  z-index: 1;
}
.testimonials-section::after {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(35, 41, 53, 0.7);
  content: "";
  left: 0;
  top: 0;
}
.testimonials-section .testimonial-card {
  min-height: 200px;
  padding: 20px 10px;
  background: var(--white-color);
  box-shadow: 0px 5px 15px rgba(255, 199, 23, 0.05);
  border-radius: 15px;
}
.testimonial-card p {
  font-size: 18px;
  margin-top: 10px;
  padding: 10px;
  color: #97898d;
  text-align: right;
}
.inner-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.inner-card .user-info {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex: 1;
}
.inner-card .user-info img {
  max-width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid var(--primary-color);
  object-fit: cover;
  object-position: center;
}

.inner-card .user-info > div {
  margin-right: 15px;
}

.inner-card .user-info > div h4 {
  color: var(--black-color);
  font-size: 20px;
  font-weight: 600;
}
.inner-card .user-info > div h5 {
  font-size: 18px;
  color: var(--text-color);
}

.active-star {
  color: var(--yellow);
}
.inner-card .rate {
  display: flex;
  justify-content: center;
}
.inner-card .rate li {
  padding: 0 3px;
}

.testimonials-section .owl-nav .owl-prev,
.testimonials-section .owl-nav .owl-next {
  width: 45px;
  height: 45px;
  line-height: 35px;
  position: absolute;
  text-align: center;
  top: -35%;
  color: #014258;
  border: 2px solid var(--secondary-color);
  background: var(--secondary-color);
  border-radius: 50px;
  transition: 0.4s ease-in-out all;
}
.testimonials-section .owl-carousel .owl-nav.disabled {
  display: block;
}

.testimonials-section .owl-nav .owl-prev i,
.testimonials-section .owl-nav .owl-next i {
  font-size: 20px;
  font-weight: bold;
}
.testimonials-section .owl-nav .owl-prev {
  left: 20px;
}

.testimonials-section .owl-nav .owl-next {
  left: 90px;
}

/*****************End-testimonials-Section*****************/

/*****************Start-Footer-Section*****************/
.new-footer {
  padding-top: 70px;
  background-image: url(../images/pattren.png);
  background-repeat: repeat;
  background-size: 100% 100%;
  background-color: var(--primary-color);
}
/******Start-Subscribe-Mail******/
.send-mail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}
.send-mail span {
  color: var(--secondary-color);
  font-size: 22px;
}
.send-mail h2 {
  color: var(--white-color);
  font-size: 35px;
  line-height: 1.7;
}
.subcribe {
  position: relative;
}
.subcribe input {
  border-radius: 10px;
  padding: 10px 35px;
  background-color: var(--white-color);
  color: var(--text-color);
  height: 60px;
  width: 100%;
}
.subcribe i {
  color: #bca058;
  font-size: 17px;
  position: absolute;
  right: 25px;
  top: 45%;
  transform: translate(0px, -10px);
}

.subcribe button {
  height: 60px;
  position: absolute;
  top: 0px;
  left: 0px;
  padding: 10px 40px;
  border-radius: 8px;
  background-color: var(--secondary-color);
  color: #013559;
  font-weight: bold;
  transition: 0.4s ease all;
}

.subcribe button:hover {
  background-color: var(--text-color);
  color: var(--white-color);
}
/******End-Subscribe-Mail******/

/******Start-Main-Footer******/
.main-footer h3 {
  color: var(--white-color);
  display: block;
  font-size: 18px;
  position: relative;
  font-weight: 700;
  padding-bottom: 18px;
  text-transform: uppercase;
}
.main-footer h3::after {
  position: absolute;
  content: "";
  right: 0px;
  bottom: 0px;
  width: 70px;
  height: 2px;
  background-color: var(--secondary-color);
}
.main-footer ul {
  margin-top: 20px;
}
.main-footer ul li {
  margin-bottom: 10px;
}
.main-footer li a,
.main-footer ul li {
  color: var(--white-color);
  font-size: 16px;
}
.main-footer li i {
  font-size: 20px;
  padding: 0 5px;
  color: var(--secondary-color);
}
.main-footer .about-footer ul {
  column-count: 2;
}

.main-footer-desc img {
  width: 140px;
  height: 100%;
  object-fit: contain;
  margin-bottom: 20px;
}
.main-footer-desc p {
  color: var(--white-color);
  font-size: 16px;
  line-height: 1.6;
}

.main-footer .badge {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  image-rendering: -webkit-optimize-contrast;
}
/******End-Main-Footer******/

/******Start-Copy-Right******/
.new-footer .copy-right {
  margin-top: 20px;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgb(201, 201, 201);
}
.copy-right p {
  font-size: 16px;
  color: var(--white-color);
}
.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
}
.social-icons li {
  padding: 0 5px;
}
.social-icons li a {
  position: relative;
  display: inline-block;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 35px;
  font-size: 20px;
  border: 1px solid var(--white-color);
  background: var(--secondary-color);
  color: var(--white-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}
/******End-Copy-Right******/

/*****************End-Footer-Section*****************/

/*============================Start-Responsive============================*/
@media screen and (max-width: 768px) {
  /*** Main-Slider ***/
  .main-slider-item {
    height: 50vh;
  }
  .welcome-button a {
    font-size: 14px;
    width: 140px;
    padding: 7px 20px;
  }

  h2.main-title {
    font-size: 35px;
    margin-bottom: 10px;
  }
  p.sub-title {
    font-size: 22px;
    margin-bottom: 30px;
  }
  /*** About ***/
  .about,
  .message,
  .vision {
    flex-direction: column-reverse;
  }
  .message {
    flex-direction: column;
  }
  .right-about .circle,
  .right-about .img-wrapper {
    width: 250px;
    height: 250px;
  }

  /*** Counter ***/
  .counter-section h2 {
    font-size: 30px;
  }
  .counter-section .row > div:not(:last-child) {
    border-left: none;
  }
  /*** Service ***/
  .service-card .card-desc h3 {
    font-size: 18px;
    margin-bottom: 15px;
  }
  .service-card .card-desc a {
    font-size: 14px;
    padding: 5px 10px;
    width: 120px;
  }
  /*** Testimonials ***/
  .testimonials-section {
    height: 60vh;
  }
  .testimonials-section h2 {
    font-size: 25px;
  }
  .testimonials-section .row > div {
    padding-top: 10px;
  }
  .testimonials-section .owl-carousel .owl-nav.disabled {
    display: none;
  }
  /*** Footer ***/
  .new-footer {
    padding-top: 30px;
  }
  .send-mail {
    flex-direction: column;
    margin-bottom: 40px;
    padding: 0 20px;
  }
  .send-mail span {
    font-size: 20px;
  }
  .send-mail h2 {
    font-size: 25px;
  }

  .subcribe {
    width: 90%;
    margin-top: 15px;
  }
  .subcribe input {
    padding: 10px 35px;
    height: 50px;
  }
  .subcribe button {
    height: 50px;
    padding: 10px 25px;
  }
  .new-footer .copy-right {
    padding: 20px;
    padding-bottom: 45px;
    flex-direction: column;
  }
  .main-footer > div {
    margin-bottom: 20px;
  }
}
/*============================End-Responsive============================*/
