/* ---------------------------------------------
Table of contents
------------------------------------------------
01. font
02. reset css
03. global styles
04. main sections globals
05. navigation
06. home section
07. services section
08. testimonials section
09. contact section
10. footer section
11. back to top button
12. media queries
--------------------------------------------- */

/* 
---------------------------------------------
font
--------------------------------------------- 
*/
@import url('https://fonts.googleapis.com/css2?family=Kanit&family=Montserrat:wght@300;400;500&family=Poppins:wght@300;400;500&display=swap');

/*

/* 
---------------------------------------------
reset css
--------------------------------------------- 
*/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
div pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
font,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
figure,
header,
nav,
section,
article,
aside,
footer,
figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

ul,
li {
  padding: 0;
  margin: 0;
  list-style: none;
}

header,
nav,
section,
article,
aside,
footer,
hgroup {
  display: block;
}

* {
  box-sizing: border-box;
}

/* 
---------------------------------------------
global styles
--------------------------------------------- 
*/

:root {
  --primary: #181818;
  --primary-light-blue: #98d1ff;
  --primary-medium-blue: #40a6f5;
  --primary-dark-blue: #04092f;
}

html,
body {
  font-family: 'Montserrat', sans-serif;
  /* font-family: "Poppins", sans-serif; */
  font-weight: 400;
  background-color: #fff;
  font-size: 18px;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0px;
  margin-bottom: 0px;
}

ul {
  margin-bottom: 0px;
}

p {
  font-size: 18px;
  line-height: 26px;
  font-family: "Poppins", sans-serif;
}

/* 
---------------------------------------------
main sections globals
--------------------------------------------- 
*/
.home {
  height: 100vh;
  position: relative;
}

.services {
  position: relative;
}

.services,
.contact{
  background-color: var(--primary);
}

.testimonial,
footer {
  background-color: var(--primary-light-blue);
}

.bottom {
  background-color: black;
}

.cookies, .policy {
  background-color: var(--primary);
  padding-top: 100px;
  color: white;
}

/* 
---------------------------------------------
navigation
--------------------------------------------- 
*/
.navbar {
  text-transform: uppercase;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 0.875rem;
  background-color: var(--primary);
  box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.025);
}

.navbar .logo-text {
  color: #fff;
  font-weight: 500;
  line-height: 1rem;
  font-size: 1.575rem;
  text-decoration: none;
}

.offcanvas-collapse {
  position: fixed;
  top: 4.25rem;
  /* adjusts the height between the top of the page and the offcanvas menu */
  bottom: 0;
  left: 100%;
  width: 100%;
  overflow-y: auto;
  visibility: hidden;
  padding-right: 1rem;
  padding-left: 1rem;
  background-color: var(--primary);
  transition: transform 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

.offcanvas-collapse.open {
  visibility: visible;
  transform: translateX(-100%);
}

.navbar .navbar-nav {
  margin-top: 0.75rem;
  margin-bottom: 0.5rem;
}

.navbar .dropdown-menu {
  border: none;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  background-color: var(--primary);
}

.navbar .dropdown-item {
  color: #eee;
  font-weight: 500;
  font-size: 0.875rem;
  line-height: 0.875rem;
  padding-top: 0.625rem;
  text-decoration: none;
  padding-bottom: 0.625rem;
}

.navbar .dropdown-item:hover {
  background-color: var(--primary);
}

.navbar .dropdown-divider {
  width: 100%;
  height: 1px;
  border: none;
  margin: 0.5rem auto 0.5rem auto;
  background-color: var(--primary-light-blue);
}

.navbar .nav-item .nav-link {
  color: #eee;
  text-decoration: none;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
  transition: all 0.2s ease;
}

.navbar .navbar-toggler {
  padding: 0;
  border: none;
  font-size: 1.25rem;
}

.social-icon {
  color: white;
  padding: 5px;
  margin-right: 5px;
  transition: 0.3s;
}

.social-icon:hover {
  color: var(--primary-light-blue);
}

#bookBtn {
  color: #fff;
  padding: 5px 15px;
  border: none;
}

/* 
---------------------------------------------
home section
--------------------------------------------- 
*/
.home {
  background-image: url(../images/home.jpg);
  background-color: rgb(4, 9, 47);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  box-shadow: inset 0 0 0 2000px rgba(16, 32, 55, 0.9);
}

#boschLogo {
  border: 5px solid;
}

.blue_text {
  color: var(--primary-light-blue);
}

.para {
  width: 70%;
}

.para-light {
  opacity: 0.9;
}

.headline {
  font-family: 'Kanit', sans-serif;
}

.ribbon {
  padding: 20px 80px;
  background: var(--primary-medium-blue);
  border-top: 1px solid #b5b5b5;
  border-bottom: 1px solid #b5b5b5;
}

.ribbon-item {
  align-items: center;
  justify-content: center;
}

/* 
---------------------------------------------
services section
--------------------------------------------- 
*/

.services img {
  width: 200px;
  opacity: 5%;
}

/* 
---------------------------------------------
testimonials section
--------------------------------------------- 
*/

.slider-1 {
  padding-top: 8.25rem;
  padding-bottom: 8.5rem;
}

.slider-1 .section-title {
  text-align: center;
}

.slider-1 .h2-heading {
  text-align: center;
  margin-bottom: 3rem;
}

.testimonial-card {
  border: 1px solid white;
  border-radius: 10px;
  background-color: white;
}

.rating-testimonial {
  font-style: italic;
}

.rating-owner {
  font-weight: 500;
}

.rating-testimonial p span {
  font-size: 20px;
}

.rating-service {
  padding-top: 15px;
  font-weight: 300;
}

.slider-1 .slider-container {
  position: relative;
}

.slider-1 .swiper-container {
  width: 86%;
  position: static;
}

.slider-1 .swiper-button-prev,
.slider-1 .swiper-button-next {
  color: var(--primary);
}

.slider-1 .swiper-button-prev:focus,
.slider-1 .swiper-button-next:focus {
  /* even if you can't see it chrome you can see it on mobile device */
  outline: none;
}

.slider-1 .swiper-button-prev {
  left: -14px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2028%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23707375'%2F%3E%3C%2Fsvg%3E");
  background-size: 18px 28px;
}

.slider-1 .swiper-button-next {
  right: -14px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2028%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23707375'%2F%3E%3C%2Fsvg%3E");
  background-size: 18px 28px;
}

.slider-1 .card {
  border: none;
  position: relative;
  background-color: transparent;
}

.slider-1 .card-image {
  width: 80px;
  height: 80px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  margin-bottom: 1.25rem;
}

.slider-1 .card-body {
  padding: 0;
}

.slider-1 .testimonial-text {
  margin-bottom: 0.75rem;
}

.slider-1 .testimonial-author {
  margin-bottom: 0;
  color: #252c38;
}

.slider-1 .avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
}

/*Star Rating*/
.star-ratings-css {
  unicode-bidi: bidi-override;
  color: #c5c5c5;
  font-size: 25px;
  margin: 0 auto;
  position: relative;
  text-shadow: 0 1px 0 #a2a2a2;
  padding-bottom: 10px;
  width: 100px;
}

.star-ratings-css::before {
  content: '★★★★★';
  opacity: .3;
}

[title=".000"]::after {
  width: 0%;
}

[title=".250"]::after {
  width: 25%;
}

[title=".500"]::after {
  width: 50%;
}

[title=".750"]::after {
  width: 75%;
}

[title=".875"]::after {
  width: 100%;
}

.star-ratings-css::after {
  color: gold;
  content: '★★★★★';
  text-shadow: 0 1px 0 #ab5414;
  position: absolute;
  z-index: 1;
  display: block;
  left: 0;
  top: 0;
  width: attr(rating);
  overflow: hidden;
}

/* 
---------------------------------------------
contact section
--------------------------------------------- 
*/

#map {
  background-color: #ffffff;
  height: 100%;
  width: 100%;
}

.contact .form-group .form-control {
  border-color: var(--primary-medium-blue);
  background-color: black;
  color: var(--primary-light-blue);
  padding: .5rem .4rem;
  font-size: 14px;
  font-weight: bold;
}

.contact #map {
  height: 100%;
  width: 100%;
}

@media (max-width: 768px) {
  .contact #map {
    height: 500px;
    width: 100%;
  }
}

.btn,
.btn:focus {
  color: var(--primary-medium-blue);
  border: 1px solid var(--primary-medium-blue);
  padding: 10px 30px;
}

.btn:hover {
  color: black;
  border: 1px solid var(--primary-light-blue);
  background-color: var(--primary-medium-blue);
  padding: 10px 30px;
}

.help-block {
  color: var(--primary-light-blue) !important;
  font-size: 14px;
}

/* 
---------------------------------------------
footer section
--------------------------------------------- 
*/
.footer a {
  color: var(--primary);
}

.footer-bottom {
  background-color: #0f0f11;
}

.copyright {
  text-align: center;
  padding: 30px 0;
}

.social-icon-footer {
  color: var(--primary-dark-blue);
  transition: 0.2s;
}

.social-icon-footer:hover {
  color: var(--primary-medium-blue);
}

/* 
---------------------------------------------
back to top button
--------------------------------------------- 
*/
#myBtn {
  z-index: 99;
  right: 20px;
  width: 52px;
  height: 52px;
  bottom: 20px;
  border: none;
  outline: none;
  display: none;
  position: fixed;
  cursor: pointer;
  border-radius: 50%;
  background-color: #323137;
}

#myBtn:hover {
  background-color: #0f0f11;
}

#myBtn img {
  width: 18px;
  margin-left: 0.125rem;
  margin-bottom: 0.25rem;
}

.cookies p, .policy p {
padding-bottom: 20px;
}

/* 
---------------------------------------------
media queries
--------------------------------------------- 
*/

@media only screen and (max-width: 1024px) {

  .services,
  .work,
  .testimonial,
  .about,
  .contact,
  .plans {
    height: 100%;
  }
}

@media (min-width: 992px) {
  .slider-1 .swiper-container {
    width: 92%;
  }

  .slider-1 .swiper-button-prev {
    left: -16px;
    width: 22px;
    background-size: 22px 34px;
  }

  .slider-1 .swiper-button-next {
    right: -16px;
    width: 22px;
    background-size: 22px 34px;
  }

  /* Navigation */
  .navbar {
    box-shadow: none;
    transition: all 0.2s;
    padding-top: 1.75rem;
    background-color: transparent;
  }

  .navbar.top-nav-collapse {
    padding: 0;
    background-color: var(--primary);
    border-bottom: 1px solid #3e3e67;
  }

  .offcanvas-collapse {
    position: static;
    top: auto;
    bottom: auto;
    left: auto;
    width: auto;
    padding-right: 0;
    padding-left: 0;
    background-color: transparent;
    overflow-y: visible;
    visibility: visible;
  }

  .offcanvas-collapse.open {
    transform: none;
  }

  .navbar .navbar-nav {
    margin-top: 0;
    margin-bottom: 0;
  }

  .navbar .nav-item .nav-link {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .navbar .dropdown-menu {
    padding-top: 0.75rem;
    padding-bottom: 0.875rem;
    box-shadow: 0 3px 3px 1px rgba(0, 0, 0, 0.08);
  }

  .navbar .dropdown-divider {
    width: 90%;
  }

  .navbar .social-icons {
    margin-left: 0.5rem;
  }

  .navbar .fa-stack {
    margin-right: 0;
    margin-left: 0.25rem;
  }
}

@media (max-height: 800px) {
  .home {
    position: relative;
    height: 100%;
    min-height: 100%;
  }
}

@media only screen and (max-width: 540px) {

  .home {
    position: relative;
    height: 100%;
    min-height: 100%;
  }

  h1 {
    font-size: 30px;
  }

  .welcome {
    text-align: center;
  }

  .ribbon {
    padding: 5px 20px;
  }

  .ribbon-item {
    justify-content: unset;
  }

  .para {
    width: 100%;
  }

  .services img {
    display: none;
  }

  .swiper-container {
    width: 92%;
  }

  .swiper-button-prev {
    left: -16px;
    width: 22px;
    background-size: 22px 34px;
  }

  .swiper-button-next {
    right: -16px;
    width: 22px;
    background-size: 22px 34px;
  }
}

@media (max-width: 992px) {
  footer .left-content {
    text-align: center;
    margin-bottom: 30px;
  }

  footer .right-content p {
    text-align: center;
    margin-top: 30px;
  }
}