/********** Template CSS **********/
:root {
  --primary: #1979ae;
  --secondary: #f00d0d;
  --light: #f7f8fc;
  --dark: #111111;
  --gray: #6f6f6f;

  --border-radius-large: 100px;
  --border-radius-medium: 24px;
  --border-radius-small: 18px;
  --border-radius-tiny: 1px;
}

/*** Reset css ***/

* {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
}

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
  padding: 0;
  border: 0;
}

ol,
ul {
  list-style: none;
}

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
}

.absolute-top {
  position: absolute;
  right: 0;
  left: 0;
  z-index: 1030;
}

/*** Text color ***/

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

.text-red {
  color: var(--secondary);
}

/*** Btn color ***/
.btn-circle {
  background: var(--primary);
  border-radius: 0.8em;
  -moz-border-radius: 0.8em;
  -webkit-border-radius: 0.8em;
  color: #ffffff;
  display: inline-block;
  font-weight: bold;
  line-height: 1.6em;
  text-align: center;
  width: 1.6em;
}

.background-primary {
  background: var(--primary);
  border-color: var(--primary);
}

.background-primary:focus {
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgb(21 56 184 / 25%);
}

/*** Border radius ***/
.radius-1 {
  border-radius: var(--border-radius-small);
}

.radius-2 {
  border-radius: var(--border-radius-medium);
}

.border-top {
  border-radius: 24px 24px 0 0;
}

.border-bottom {
  border-radius: 0 0 24px 24px;
}

/*** End Border radius ***/
/***  Card-service Start ***/
.wrap-card-service {
  position: absolute;
  bottom: 10%;
  right: -40%;
}
.card-service {
  padding: 24px 32px;
  border-radius: 24px;
  border: 2px #fff;

  background: var(--effects-white-80, rgba(255, 255, 255, 0.8));
  box-shadow: 2px 4px 4px 0px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(33px);
  color: #202636;
  max-width: 80%;
}
/*** Card-service End ***/

.back-to-top {
  position: fixed;
  display: none;
  right: 30px;
  bottom: 30px;
  z-index: 99;
}

.my-6 {
  margin-top: 6rem;
  margin-bottom: 6rem;
}

.py-6 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.bg-icon {
  background: url(../img/bg-icon.png) center center repeat;
  background-size: contain;
}

/*** 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: 500;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary,
.btn.btn-outline-primary:hover,
.btn.btn-outline-secondary:hover {
  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 ***/
.fixed-top {
  transition: 0.5s;
}

.top-bar {
  height: 45px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.navbar .dropdown-toggle::after {
  border: none;
  content: "\f107";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  vertical-align: middle;
  margin-left: 8px;
}

.navbar .navbar-nav .nav-link {
  padding: 25px 15px;
  color: #555555;
  font-weight: 500;
  outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
  color: var(--dark);
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav {
    margin-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    background: #ffffff;
  }

  .navbar .navbar-nav .nav-link {
    padding: 10px 0;
  }
}

@media (min-width: 992px) {
  .navbar .nav-item .dropdown-menu {
    display: block;
    visibility: hidden;
    top: 100%;
    transform: rotateX(-75deg);
    transform-origin: 0% 0%;
    transition: 0.5s;
    opacity: 0;
  }

  .navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: 0.5s;
    opacity: 1;
  }
}

/*** Header ***/

.header-logo {
  height: 90px;
}

/* .header-info {
  display: flex;
  flex-basis: auto;
  flex-grow: 1;
} */

.header-title {
  font-family: "Trirong", "serif;";
  color: var(--primary);
}

.header-carousel .carousel-inner {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  background: rgba(22, 22, 22, 0.7);
}

/* @media (max-width: 768px) {
  
} */

.header-carousel .owl-nav {
  position: absolute;
  width: 200px;
  height: 45px;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
  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);
}

.header-carousel .owl-dots {
  position: absolute;
  height: 45px;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-carousel .owl-dot {
  position: relative;
  display: inline-block;
  margin: 0 5px;
  width: 15px;
  height: 15px;
  background: transparent;
  border: 1px solid #ffffff;
  border-radius: 15px;
  transition: 0.5s;
}

.header-carousel .owl-dot.active {
  background: var(--primary);
  border-color: var(--primary);
}

.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: start;
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
  background-color: var(--primary);
  border: 10px solid var(--primary);
  border-radius: 3rem;
}

.page-header {
  padding-top: 12rem;
  padding-bottom: 6rem;
  background: url(../img/carousel-1.jpg) top right no-repeat;
  background-size: cover;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: #999999;
}

/*** Section Header ***/
.section-header {
  position: relative;
  padding-top: 25px;
}

.section-header.text-start::before,
.section-header.text-start::after {
  left: 0;
  transform: translateX(0);
}

/*** About ***/
.about-img img {
  position: relative;
  z-index: 2;
}

.about-img::before {
  position: absolute;
  content: "";
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background-image: -webkit-repeating-radial-gradient(
    #ffffff,
    #eeeeee 5px,
    transparent 5px,
    transparent 10px
  );
  background-image: -moz-repeating-radial-gradient(
    #ffffff,
    #eeeeee 5px,
    transparent 5px,
    transparent 10px
  );
  background-image: -ms-repeating-radial-gradient(
    #ffffff,
    #eeeeee 5px,
    transparent 5px,
    transparent 10px
  );
  background-image: -o-repeating-radial-gradient(
    #ffffff,
    #eeeeee 5px,
    transparent 5px,
    transparent 10px
  );
  background-image: repeating-radial-gradient(
    #ffffff,
    #eeeeee 5px,
    transparent 5px,
    transparent 10px
  );
  background-size: 20px 20px;
  transform: skew(20deg);
  z-index: 1;
}

/*** Product ***/
.nav-pills .nav-item .btn {
  color: var(--dark);
}

.nav-pills .nav-item .btn:hover,
.nav-pills .nav-item .btn.active {
  color: #ffffff;
}

.product-item {
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.07);
}

.product-item img {
  transition: 0.5s;
}

.product-item:hover img {
  transform: scale(1.1);
}

.product-item small {
  font-size: 11px;
}

.product-item small a:hover {
  color: var(--primary) !important;
}

/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-item img {
  width: 60px;
  height: 60px;
}

.testimonial-carousel .owl-item .testimonial-item,
.testimonial-carousel .owl-item .testimonial-item * {
  transition: 0.5s;
}

.testimonial-carousel .owl-item.center .testimonial-item {
  background: var(--primary) !important;
}

.testimonial-carousel .owl-item.center .testimonial-item * {
  color: #ffffff !important;
}

.testimonial-carousel .owl-item.center .testimonial-item i {
  color: var(--secondary) !important;
}

.testimonial-carousel .owl-nav {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  position: absolute;
  right: -3%;
  top: 30%;
}

.testimonial-carousel .owl-nav .owl-prev {
  display: none;
}

/* .testimonial-carousel .owl-nav .owl-prev, */
.testimonial-carousel .owl-nav .owl-next {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  border: 2px solid var(--gray);
  border-radius: 50px;
  font-size: 18px;
  transition: 0.5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
  color: #ffffff;
  background: var(--primary);
  border: none;
}

/* feedback */
.member-profile {
  top: -50px;
  left: 0;
}

.member-profile img {
  width: 100px;
  height: 100px;
}

.feedback-outside {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-height: 500px;
}

/* Service */

.bg-service-main {
  height: 738px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.bg-service-side {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Image dich vu */

.service-image .row {
  display: flex;
}

.service-image .item {
  display: flex;
  flex-direction: column;
}

.service-image .item.right {
  flex-direction: row;
}

.service-image .item.right .well {
  width: 100%;
  align-self: stretch;
}

.service-image .item.right .well img {
  height: 100%;
  height: -moz-available; /* WebKit-based browsers will ignore this. */
  /* height: -webkit-fill-available;  */
  height: fill-available;
}

.service-image .well {
  min-height: 20px;

  margin-bottom: 20px;
  background-color: #f5f5f5;

  border-radius: var(--border-radius-medium);
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
}

/*** Footer ***/
.footer {
  color: #737373;
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #737373;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link:hover {
  /* color: var(--light); */
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 10px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  /* color: var(--light); */
}

.footer .copyright a:hover {
  color: var(--primary);
}

/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (min-width: 1025px) {
  .header-title {
    font-size: 70px;
  }
}

@media screen and (min-width: 991px) {
}

@media screen and (max-width: 991px) {
}

@media screen and (max-width: 768px) {
  /* .header-title-sub {
    color: #fff;
  } */

  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .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-logo {
    height: 50px;
  }

  .card-service {
    max-width: 100%;
  }

  .wrap-card-service {
    position: absolute;
    bottom: 10%;
    right: 10%;
  }
}

/* Screen mobile */
@media screen and (max-width: 480px) {
  .card-service {
    padding: 10px 15px;
  }

  .wrap-card-service {
    position: absolute;
    bottom: 5%;
    left: 5%;
    right: 0;
  }

  .card-service {
    max-width: 95%;
  }

  .service-image .item {
    width: auto;
  }
}
