/* lg */
@media (max-width: 1600px) {
  .logo {
    max-width: 250px;
  }
  #service-area .card-body {
    padding: 25px 25px;
  }
    #service-area .card {
  margin-bottom: 30px;
  min-height: 500px;
  border: none;
  border-radius: 0;
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.1);
}
}
/* lg */
@media (max-width: 1200px) {
  .logo {
    max-width: 250px;
  }
        #service-area .card {
  margin-bottom: 30px;
  min-height: 400px;
  border: none;
  border-radius: 0;
  box-shadow: 0 15px 15px rgba(0, 0, 0, 0.1);
}
  #service-area .card-body {
    padding: 25px 15px;
  }
}
@media (min-width: 1199px) and (max-width: 1920px) {
  #navbarNavDropdown .dropdown-menu {
    -webkit-animation: fadeInUp 400ms;
    animation: fadeInUp 400ms;
  }
}
/* md */
@media (min-width: 992px) and (max-width: 1199px) {
  .logo {
    max-width: 200px;
  }
  .navbar-nav .nav-link {
    font-size: 13px;
  }
  .display-5 {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5;
  }
  #footer {
    font-size: 13px;
  }
}
/******************************************* sm ****************************************************/
@media (max-width: 991px) {
  h1 {
    font-size: 36px;
    line-height: 46px;
  }
  h2 {
    font-size: 34px;
    line-height: 44px;
  }
  .display-5 {
    font-size: 28px;
    line-height: 1.5;
  }
  .sub_header {
    padding: 30px 0 5px 0;
    margin: auto;
    position: relative;
  }
  .language-button {
    right: 30px;
  }
  .navbar-nav li:not(:last-child):after {
    content: '';
    position: relative;
    display: block;
    padding-right: 8px;
    border-bottom: solid 1px rgba(0, 0, 0, 0.1);
  }
  .section-title:before, .page-banner .section-title:before {
    display: none;
    background-image: none;
    margin-right: 1px;
  }
  .page-banner .section-title {
    font-size: 40px;
    line-height: 46px;
  }
}
/******************************************** xs *********************************************************/
@media (max-width: 768px) {
	
	body {
	padding-top: 90px;
}
	.navbar {

    margin-top: 40px;
  }
  .logo {
    margin: 0;
    max-width: 200px;
  }
#service .card {
	padding: 15px;
}
	#why-us .card {
	padding: 15px;
}
  .hero-slider .owl-nav button.owl-prev, .hero-slider .owl-nav button.owl-next {
    position: absolute;
    width: 30px;
    height: 30px;
    top: calc(50% - 30px);
    font-size: 18px;
  }
  .hero-item h2 {
    font-size: 36px;
    line-height: 40px;
  }

  .footer-links {
    min-height: 80px;
    padding: 50px 0;
  }
  .footer-rights {
    min-height: 5px;
    padding: 5px 0;
  }
}
/**************************************** XS Portrait **********************************/
@media (max-width: 480px) {
  section {
    padding: 60px 0 !important;
  }
  #header {
    margin-bottom: 0px;
  }
  h1, .h1 {
    font-size: 30px;
  }
  h2, h2 {
    font-size: 26px;
  }
  h3 {
    font-size: 22px;
    font-weight: 400;
    line-height: 24px;
  }
  h4 {
    font-size: 20px;
    font-weight: normal;
    text-decoration: none;
    margin-bottom: 22px;
  }
  h5 {
    font-size: 18px;
    font-weight: normal;
    text-decoration: none;
    margin-bottom: 20px;
  }
  h6 {
    font-size: 15px;
    font-weight: normal;
    text-decoration: none;
    line-height: 24px;
    margin-bottom: 18px;
  }
  p {
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 24px;
  }
  .h2 {
    font-size: 22px;
    font-weight: 400;
    line-height: 24px;
  }
  .logo {
    margin: 0;
    max-width: 140px;
  }
  .language-button {
    right: 0px;
  }
.navbar {
    padding: 0 ;
}
  .footer-links .text-left, .footer-links .text-right {
    text-align: center !important;
  }
  .footer-links {
    min-height: 80px;
    padding: 50px 0 !important;
  }
  .footer-rights {
    min-height: 80px;
    padding: 5px 0 !important;
  }
	.footer-rights .text-right {
  text-align: left !important;
}
}