/*
	Table of Contents

	#General and Typography
	#Preloader
	#Navigation
	#Logo
	#Index page
	#Produit page
  #Gallerie page
	#Footer and Credits
	#Miscellaneous
	#Media Queries

===========================
  General and Typography
============================ */

html {
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  font-weight: 400;
  color: #757373;
  overflow-x: hidden !important;
  -webkit-font-smoothing: antialiased;
  font-family: 'Lato', sans-serif;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  position: relative;
}

p,
ul {
  font-size: 17px;
  line-height: 34px;
  color: #757373;
}

img {
  max-width: 100%;
  height: auto;
}

/* Headings */

h1 {
  font-size: 5em;
  line-height: 0.8em;
  margin-bottom: 20px;
  font-family: 'Baloo Thambi', sans-serif;
  margin-top: 0px;
  color: #222;
  letter-spacing: -0.025em;
}

h2 {
  font-size: 4em;
  font-family: 'Baloo Thambi', sans-serif;
  margin-bottom: 20px;
  margin-top: 0px;
  color: #282828;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

h3 {
  font-family: 'Baloo Thambi', sans-serif;
  font-size: 2.8em;
  color: #282828;
  line-height: 1em;
  letter-spacing: -0.2px;
  margin-bottom: 20px;
  margin-top: 0px;
  position: relative;
}

h4 {
  font-family: 'Baloo Thambi', sans-serif;
  font-size: 2.3em;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #292929;
}

h5 {
  font-size: 1.8em;
  margin: 0;
  font-family: 'Baloo Thambi', sans-serif;
  color: #292929;
  letter-spacing: -0.4px;
  margin-bottom: 20px;
  margin-top: 20px;
  text-transform: uppercase;
}

h6 {
  font-size: 1.114em;
  line-height: 1.214em;
  text-transform: uppercase;
  font-family: 'Baloo Thambi', sans-serif;
  letter-spacing: -0.4px;
}

h1 small,
h2 small,
h3 small,
h4 small,
h5 small,
h6 small {
  text-transform: none;
  font-family: 'Lato', sans-serif;
}

.pages h2 {
  color: #282828;
  text-transform: none;
  font-size: 3.3em;
}

/* Links */

a {
  transition: color 0.2s ease-in-out;
  text-decoration: none;
}

/* Others */

.subtitle {
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.3px;
}

.text-light,
.text-light h1,
.text-light h2,
.text-light h3,
.text-light h4,
.text-light h5,
.text-light h6,
.text-light p {
  color: #fff !important;
}

i {
  transition: all 0.2s ease-in-out;
}

.small-heading {
  font-size: 1.1em;
  margin-bottom: 10px;
  font-family: 'Baloo Thambi', sans-serif;
  font-weight: 400;
  letter-spacing: 0.2px;
  padding-bottom: 15px;
}

/*===========================
  Preloader
============================ */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
}

.spinner {
  text-align: center;
  position: absolute;
  top: 50%;
  width: 10%;
  left: 45%;
  animation: rotate 2s infinite linear;
}

.spinner > div {
  border-radius: 100%;
  display: inline-block;
  animation: bouncedelay 1.4s infinite ease-in-out;
  /* Prevent first frame from flickering when animation starts */

  animation-fill-mode: both;
}

.spinner .bounce1 {
  animation-delay: -0.32s;
}

/* Preloader icon */

.spinner .bounce1:after {
  content: '\f10a';
  position: absolute;
  font-family: 'flaticon';
  font-size: 40px;
  margin-top: -40px;
  margin-left: -10px;
}

@keyframes bouncedelay {
  0%,
  80%,
  100% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.5);
  }
}

/*===========================
  Navigation
============================ */
/* Responsive navbar  */

.navbar-toggler {
  transition: all 0.1s ease;
  padding: 10px 20px;
}

.navbar-toggler i {
  color: #fff;
}

.navbar-toggler:hover i,
.navbar-toggler:focus i {
  color: #cecece;
}

.close-navbar-toggler {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
  cursor: pointer;
}

.close-navbar-toggler.collapsed {
  z-index: -1;
}

.navbar-toggler:hover,
.navbar-toggler:focus,
.navbar-toggler:active {
  outline: 0;
  background-color: #fff;
}

.navbar .dropdown-menu[data-bs-popper] {
  margin-top: 0;
}

.navbar .dropdown-item:focus,
.navbar .dropdown-item:hover {
  color: inherit;
  background-color: inherit;
}

.navbar .dropdown-item:last-child:focus,
.navbar .dropdown-item:last-child a:focus,
.navbar .dropdown-item:last-child:hover,
.navbar .dropdown-item:last-child a:hover {
  border-radius: 0 0 5px 5px;
}

.navbar .dropdown-item:first-child:focus,
.navbar .dropdown-item:first-child a:focus,
.navbar .dropdown-item:first-child:hover,
.navbar .dropdown-item:first-child a:hover {
  border-radius: 5px 5px 0 0;
}

/* Shrink navbar on scroll  */

nav .navbar-brand img {
  max-width: 110px;
}

nav.navbar a {
  font-size: 17px;
  padding-bottom: 35px !important;
  padding-top: 35px !important;
  transition: all 0.1s ease;
}

nav.navbar.shrink {
  min-height: 35px;
}

nav.navbar.shrink .navbar-brand img {
  max-width: 75px;
}

nav.navbar.shrink a {
  font-size: 15px;
  padding-bottom: 20px !important;
  padding-top: 20px !important;
}

.navbar .dropdown-item {
  padding: 0;
}

.navbar-custom .navbar-nav .nav-link {
  padding: 30px;
  transition: all 0.2s ease-in-out;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show,
.nav-link:focus,
.nav-link:hover,
.navbar-custom li a,
.navbar-custom ul li a:hover,
.navbar-custom li a.active {
  color: #fff !important;
}

.navbar-nav .nav-link.active {
  color: #b7a38f !important;
}

.navbar-custom {
  border: 0px;
  font-family: 'Baloo Thambi', sans-serif;
  font-weight: 400;
}

.navbar ul.dropdown-menu > li > a {
  display: block;
  padding: 13px 10px;
  clear: both;
  font-size: 16px;
  line-height: 20px;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  border-radius: 0px;
  padding-top: 20px !important;
  padding-bottom: 20px !important;
  transition: all 0.2s ease-in-out;
}

nav.navbar.shrink ul.dropdown-menu > li > a {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

/*===========================
  Logo
============================ */

.navbar-brand-centered img {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  max-width: 120px;
  right: 0;
  margin: auto;
}

/* =========================== Index page ============================ */
/* Home page Slider */

#slider {
  width: 100% !important;
  height: 700px;
  padding-top: 80px;
}

.header-wrapper {
  width: 100% !important;
}

.header-wrapper .header-text.header-left {
  margin-top: 13%;
}

.header-wrapper .header-text {
  margin-top: 17%;
  white-space: normal;
}

.ls-outline .ls-nav-prev,
.ls-outline .ls-nav-next {
  z-index: 99 !important;
  margin-top: 40px !important;
}

.header-text {
  margin-left: 5%;
  border-radius: 20px;
  max-width: 600px;
  padding: 30px;
  z-index: 99;
}

#slider.slide-style1:before {
  z-index: 0 !important;
}

#slider.slide-style1:before,
.overlay-left .ls-bg-wrap:after,
.overlay-left .ls-slide-transition-wrapper:before {
  transition: 0.8s ease-in-out;
  content: '';
  width: 100%;
  height: 100%;
  z-index: 999;
  top: 0;
  left: 0;
  position: absolute;
  background: -moz-linear-gradient(
    left,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  /* FF3.6-15 */
  background: -webkit-linear-gradient(
    left,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0) 100%
  );
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a6000000', endColorstr='#00000000', GradientType=1);
  /* IE6-9 */
}

.header-text.full-width {
  max-width: 100% !important;
  margin-top: 15%;
  text-align: center;
  padding: 60px !important;
}

.header-text span {
  font-weight: 400;
}

.header-p {
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 20px;
  margin-top: 20px;
}

i.icon-slider1 {
  font-size: 170px;
  opacity: 0.7;
}

/* services 2 */

.services2.bg-lightcolor2 {
  padding: 40px;
  text-align: center;
}

.services2 p {
  font-size: 17px;
  line-height: 34px;
  color: #5f5f5f;
}

.services2 img {
  display: inline-block !important;
  transition: all ease-in-out 0.2s;
}

.services2:hover img {
  transform: scale(1.1);
}

.services2-header {
  margin-top: -20px;
  margin-bottom: 30px;
  position: relative;
  display: block;
}

.services2-header h4 {
  margin: 0;
}

#services-index .row > .col-lg-4.mb-4 {
  margin-bottom: calc(1.5rem + 10px) !important;
}

/* about-index*/
#about-index .row .col-lg-5 img {
  border-radius: 10%;
}

/* contact */

#contact-index {
  background-image: none;
  background-color: #fff;
  position: relative;
}

.contact-image {
  position: absolute;
  bottom: 27%;
  left: 12%;
  width: 30%;
  max-width: 400px;
  z-index: 1;
  object-fit: cover;
  height: auto;
  border-radius: 10%;
}

/* Others */

.features .medium-icon i {
  margin-bottom: 20px;
  border: 0;
  padding: 0;
  transition: all 0.2s ease-in-out 0s;
}

.medium-icon {
  font-size: 50px;
}

.margin-list.list-unstyled i,
.margin-list.list-inline i {
  margin-right: 10px;
}

.callout-img {
  margin-top: -180px;
  position: absolute;
}

/* ===========================
 Main Slider
============================ */

.slider-container {
  overflow: hidden;
  position: relative;
  cursor: all-scroll;
}

/* Labels de certification EN BAS du jumbotron, centrés */
.certification-labels {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  z-index: 100;
  width: 100%;
}

.label-badge {
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0,0,0,0.5));
  transition: transform 0.3s ease, filter 0.3s ease;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 50%;
  padding: 10px;
  border: 3px solid rgba(255,255,255,0.9);
  cursor: pointer;
}

.label-badge:hover {
  transform: scale(1.15);
  filter: drop-shadow(0 10px 24px rgba(0,0,0,0.7));
  border-color: rgba(255,255,255,1);
}

.slider {
  z-index: 1;
  position: relative;
  height: 900px;
  top: 50px;
}

/*Controls - Flèches blanches simples */

.slider-control {
  z-index: 99;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  transition: all 0.3s ease;
  opacity: 0.8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-control:before {
  content: '';
  width: 20px;
  height: 20px;
  border-top: 3px solid white;
  border-right: 3px solid white;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.slider-control.left {
  left: 20px;
}

.slider-control.left:before {
  transform: rotate(-135deg);
}

.slider-control.right {
  right: 20px;
}

.slider-control.right:before {
  transform: rotate(45deg);
}

.slider-control.inactive {
  opacity: 0.2;
  cursor: not-allowed;
}

.slider-control.inactive:hover {
  opacity: 0.2;
}

.slider-control:not(.inactive):hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.2);
}

.slider-control:not(.inactive):hover:before {
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.7));
}

/* Pagination - Masquée */

ul.slider-pagi {
  padding-left: 0px;
}

.slider-pagi {
  display: none;
  position: absolute;
  z-index: 999;
  left: 50%;
  bottom: 8%;
  transform: translateX(-50%);
  font-size: 0;
  list-style-type: none;
}

.slider-pagi__elem {
  border: 2px solid;
  position: relative;
  display: inline-block;
  vertical-align: top;
  width: 1rem;
  height: 1rem;
  margin: 0 0.5rem;
  border-radius: 50%;
  cursor: pointer;
}

.slider-pagi__elem:before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  background: #cecece;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  transition: transform 0.3s;
  transform: translate(-50%, -50%) scale(0);
}

.slider-pagi__elem.active:before,
.slider-pagi__elem:hover:before {
  transform: translate(-50%, -50%) scale(1);
}

/* Slider Animation */

.slider.animating {
  transition: transform 0.5s;
}

.slider.animating .slide__bg {
  transition: transform 0.5s;
}

.slide {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.slide.active .slide__overlay,
.slide.active .slide__text {
  opacity: 1;
  transform: translateX(0);
}

.slide__bg {
  position: absolute;
  top: 0;
  left: -50%;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: top right;
}

.slide__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Slider Overlay */

.slide__overlay {
  height: 1200px;
  opacity: 0.6 !important;
  width: 1200px;
  top: 0;
  border-radius: 50%;
  margin-left: -500px;
  transition: transform 0.5s 0.5s, opacity 0.2s 0.5s;
  transform: translate3d(-20%, 0, 0);
}

/* Slider Typography */

.slide__text {
  text-align: center;
  position: absolute;
  max-width: 34%;
  bottom: 32%;
  left: 50px;
  color: #fff;
  transition: transform 0.5s 0.5s, opacity 0.2s 0.5s;
  transform: translate3d(-20%, 0, 0);
  opacity: 0;
}

.slide__text h1 {
  color: #fff;
  text-transform: uppercase;
}

.slide__text-heading {
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.lead {
  color: #fff;
  font-size: 1.7rem;
  font-weight: normal;
}

/* slide1 */

.slide:nth-child(1) {
  left: 0;
}

/* slide2 */

.slide:nth-child(2) {
  left: 100%;
}

/* slide3 */

.slide:nth-child(3) {
  left: 200%;
}

/* slide4 */

.slide:nth-child(4) {
  left: 300%;
}

/* slide5 */

.slide:nth-child(5) {
  left: 400%;
}

/* slide6 */

.slide:nth-child(6) {
  left: 500%;
}

/* slide7 */

.slide:nth-child(7) {
  left: 600%;
}

/* slide8 */

.slide:nth-child(8) {
  left: 700%;
}

/* ===========================
 Stats 
============================ */

#stats {
  position: relative;
}

#stats .numscroller {
  font-size: 65px;
  font-family: 'Baloo Thambi', sans-serif;
  color: #90674e;
}

#stats h5 {
  margin-top: 0px;
}

#stats img {
  position: absolute;
  right: 4rem;
  top: 50%;
  transform: translateY(-50%);
  height: auto;
  object-fit: contain;
  border-radius: 10%;
  z-index: 1;
}

@media (max-width: 1024px) {
  #stats img {
    display: none;
  }
}

/* ===========================
 Features 
============================ */

.features {
  margin-bottom: 20px;
}

.features i {
  border-radius: 50%;
  margin-bottom: 20px;
  padding: 20px 40px;
  border: 5px solid;
  transition: all 0.2s ease-in-out 0s;
}

.features:hover i {
  transform: scale(1.2);
  -webkit-backface-visibility: hidden;
}

/* ===========================
 Reviews
============================ */

#reviews {
  position: relative;
  overflow: hidden;
  background-image: none;
}

.reviews-bg-image {
  position: absolute;
  left: -10%;
  bottom: 0;
  height: 90%;
  border-radius: 10%;
  z-index: 1;
}

#reviews > .container {
  position: relative;
  z-index: 2;
}

.review {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  margin: 0 6px 20px 6px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.review-inner {
  display: flex;
  flex-direction: column;
}

.review-header {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.platform-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.review-profile-details {
  display: flex;
  flex-direction: column;
}

.review-name {
  font-weight: bold;
  color: #202124;
  font-size: 1em;
  font-family: 'Baloo Thambi', sans-serif;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.review-date {
  font-size: 0.85em;
  color: #70757a;
  font-family: 'Baloo Thambi', sans-serif;
}

.review-stars {
  text-align: left;
  margin-top: 0px;
  margin-bottom: 10px;
}

.review-stars .fas.fa-star {
  color: #fbbc04;
  margin: 0 1px;
  font-size: 1em;
}

.review-content {
  font-size: 0.9em;
  line-height: 1.5;
  color: #3c4043;
  max-height: 140px;
  overflow: hidden;
  position: relative;
  transition: max-height 0.5s ease-in-out;
}

.review-content.expanded {
  max-height: 1000px;
}

.read-more-toggle {
  display: block;
  /* Will be overridden by JS if content is not overflowing */
  padding: 5px 0 0;
  text-align: left;
  font-family: 'Baloo Thambi', sans-serif;
  font-size: 0.9em;
  line-height: 1.4em;
  color: #333333;
  cursor: pointer;
  margin-top: 5px;
}

.read-more-toggle:hover {
  color: #000000;
}

.review-content p {
  margin-bottom: 0;
  font-family: 'Lato', sans-serif;
  color: #3c4043;
}

/*===========================
  Contact
============================ */

#contact-index i,
#contact i {
  font-size: 14px;
  vertical-align: middle;
  margin-right: 8px;
}

/* =========================== Produits page ============================ */

.adopt-header {
  text-align: center;
}

.adopt-header h4 {
  font-weight: 700;
}

/* Product card styles */
#produit .produit-thumb.card {
  border: 1px solid #eee;
  transition: all 0.3s ease-in-out;
  margin-bottom: 30px;
  padding: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#produit .produit-thumb.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

#produit .produit-thumb .card-img-top {
  border-bottom: 1px solid #eee;
  border-radius: 0.25rem 0.25rem 0 0;
  max-height: 250px;
  object-fit: cover;
}

#produit .produit-thumb .card-body {
  padding: 1.25rem;
  text-align: center;
}

#produit .produit-thumb .card-title {
  margin-bottom: 0.75rem;
  font-size: 1.6em;
}

#produit .produit-thumb .card-text {
  font-size: 0.95em;
  color: #555;
  margin-bottom: 1rem;
}

#produit .product-price {
  font-size: 1.4em;
  font-weight: bold;
  color: #90674e;
}

/* Original .produit-thumb styles - adjust or remove as needed */
.produit-thumb {
  display: block;
  /* padding: 25px; */
  /* Padding handled by card-body now */
  position: relative;
  overflow: hidden;
  /* margin-bottom: 50px; */
  /* Handled by card margin */
}

.produit-thumb img {
  margin: 0 auto;
  transition: border 0.3s ease-in-out;
}

.pet-adopt-info {
  margin-bottom: 20px;
}

.pet-adopt-info h6 {
  display: inline;
}

.pet-adopt-info h6:after {
  content: '\f14a';
  font-family: 'flaticon';
  font-size: 20px;
  transform: rotate(20deg);
  opacity: 0.3;
  z-index: 10;
  margin: 10px;
  line-height: 0px;
}

.breadcrumb.adopt {
  text-align: left;
}

/* =========================== Gallery page ============================ */

/* Gallery card — hover sur le conteneur, pas sur l'image */
.gallery-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.gallery-card__frame {
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
}

.gallery-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
}

/* =========================== Boutique page ============================ */

/* Product card — hover lift sur la carte, pas de zoom image */
.product-card__frame {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
  background: #f8f9fa;
  position: relative;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
  display: block;
}

/* Styles de pagination boutique */
.pagination-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 3rem 0;
  gap: 0.5rem;
}

.pagination-btn {
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  background: white;
  color: #333;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  font-weight: 500;
}

.pagination-btn:hover {
  background: #90674e;
  color: white;
  border-color: #90674e;
  text-decoration: none;
}

.pagination-btn.active {
  background: #90674e;
  color: white;
  border-color: #90674e;
  pointer-events: none;
}

.pagination-btn.disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.pagination-info {
  color: #666;
  font-size: 0.9rem;
  margin: 0 1rem;
}

/* Styles FAQ accordéon Bootstrap 5 collapse */
.faq-arrow {
  font-size: 1.2em;
  color: #6c757d !important;
  transition: transform 0.3s ease;
  display: inline-block;
  margin-left: 10px;
  flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-arrow {
  transform: rotate(180deg);
}

.faq-question:hover {
  background-color: #f8f9fa !important;
}

.faq-question[aria-expanded="true"] {
  background-color: #f8f9fa !important;
}

.gallery-thumb {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 10%;
  margin: 10px auto;
  width: 350px;
  height: 350px;
}

#gallery .gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20%;
}

.scrollimation .gallery-thumb {
  transform: translateY(100px);
  opacity: 0;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

.touch .scrollimation .gallery-thumb,
.scrollimation .gallery-thumb.in {
  transform: translateY(0px);
  opacity: 1;
}

.gallery-thumb .overlay-mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  opacity: 0;
  z-index: 1;
  background: #000;
  transition: opacity 0.3s ease-out;
}

.gallery-thumb:hover .overlay-mask {
  opacity: 0.5;
}

.gallery-thumb .link {
  display: inline-block;
  margin: 0;
  font-size: 50px;
  line-height: 50px;
  opacity: 0;
  position: absolute;
  height: 50px;
  width: 64px;
  top: 45%;
  left: 50%;
  text-align: center;
  z-index: 3;
  margin-left: 20px;
  transform: translateX(200px);
  transition: all 0.3s ease-out;
}

.gallery-thumb:hover .link {
  transform: translate(0);
  opacity: 1;
  transition: all 0.3s ease-out 0.3s;
}

.gallery-thumb .link.centered {
  margin-left: -32px;
  transform: translateY(-200px);
  transition-delay: 0s;
}

.gallery-thumb i {
  color: #fff;
  transition: all 0.2s ease-in-out;
}

.gallery-thumb i:hover {
  color: #808080;
}

.gallery-thumb:hover .link.centered {
  transform: translateY(0);
  transition-delay: 0.1s;
}

/* =========================== Contact Page ============================ */
/* Map */

#map-canvas {
  max-width: 100%;
  min-height: 350px;
  border-top: 10px solid;
}

/* =========================== Footer and Credits ============================ */
/* footer */

footer {
  background-color: #363636;
  padding: 45px 0px;
}

footer p,
footer h6,
footer h5,
footer h4,
footer ul {
  color: #fff;
  margin-top: 0px;
}

footer.no-margin {
  margin-top: 0px;
}

footer p {
  margin-top: 20px;
  text-align: center;
  line-height: 24px;
  font-size: 14px;
}

footer .list-unstyled i {
  font-size: 12px;
  margin-right: 8px;
}

footer a {
  color: #fff;
}

.credits {
  color: #fff;
  font-size: 12px;
}

/* Go to top icon */

.back-to-top {
  display: none;
  position: fixed;
  bottom: 58px;
  right: 22px;
  z-index: 119;
}

.back-to-top i {
  display: block;
  width: 44px;
  height: 44px;
  line-height: 40px;
  font-size: 22px;
  border-radius: 50%;
  color: #fff;
  text-align: center;
  transition: all 0.3s ease-in-out;
}

/* =========================== Miscellaneous  ============================ */

/* Sections */

section {
  background: #fff;
  padding: 100px 0px;
}

section.small-section {
  padding: 40px 0px;
}

/* Sections heading */

.section-heading {
  margin-bottom: 50px;
  text-align: center;
}

.section-heading hr {
  max-width: 100px;
}

.section-heading h2 {
  z-index: 99;
  text-align: center;
}

.section-heading h2:before,
.section-heading h2:after {
  position: relative;
  content: '';
  width: 97px;
  opacity: 0.2;
  height: 2px;
  display: inline-block;
  vertical-align: middle;
  margin: 20px;
}

/* curve up svg */

#curveUp {
  margin-top: -99px;
  z-index: 10;
  position: absolute;
}

/* elements page */

#elements .row {
  margin-right: 0px;
  margin-left: 0px;
}

#elements h5.sub-header {
  padding: 10px;
  text-align: center;
  border-bottom: 2px solid;
  border-radius: 20px;
}

#elements h3.sub-header {
  padding: 10px;
  margin-bottom: 30px;
  text-align: center;
  border-radius: 20px;
  color: #fff;
  border-bottom: 2px solid;
}

.glyph {
  display: inline-block;
  text-align: center;
  vertical-align: top;
  padding: 20px;
  width: 24%;
}

.glyph .glyph-icon {
  padding: 10px;
  display: block;
  font-family: 'Flaticon';
  line-height: 20px;
  margin-top: 20px;
}

.glyph .glyph-icon:before {
  font-size: 52px;
  color: #2f2f2f;
  margin-left: 0;
}

.page-header {
  border-bottom: 2px solid #eee !important;
  margin-bottom: 50px;
}

.page-header h2 {
  display: inline-table;
}

/* Img Shapes */

.img-outline {
  outline: 2px solid #fff;
  outline-offset: -10px;
}

.img-opacity:hover {
  opacity: 0.7;
}

/* Featured boxes */

.box_icon {
  margin-bottom: 10px;
}

.box_icon > .icon {
  overflow: hidden;
  text-align: center;
  position: relative;
  border-radius: 20px;
  transition: all 0.3s ease-in-out;
  box-shadow: 2px 0px 20px #cecece;
}

.box_icon > .icon > .image {
  position: relative;
  z-index: 2;
  margin: auto;
  vertical-align: middle;
  margin-bottom: 20px;
  overflow: hidden;
  border-radius: 20px;
}

.box_icon .image img {
  transition: all 0.3s ease-in-out;
  transition: opacity 0.7s, transform 2.5s;
}

.box_icon:hover img {
  transform: scale3d(1.2, 1.2, 1) rotate(7deg);
}

.box_icon > .icon > .info {
  margin-top: -14px;
  padding: 20px 25px 35px 25px;
}

/* Img shapes */

.img-rounded {
  border-radius: 40px;
  border-bottom: 20px solid;
  border-color: #b7a38f !important;
}

/* Image Zoom Hover effect */

.img-effect {
  overflow: hidden;
}

.img-effect img {
  transition: opacity 0.7s, transform 2.5s;
}

.img-effect:hover img {
  transform: scale3d(1.2, 1.2, 1);
}

/* Image hover */

.img-hover img {
  transition: opacity 0.2s;
  opacity: 1;
}

.img-hover:hover img {
  opacity: 0.8;
}

/* Pagination */

.pagination > li {
  display: inline-block;
}

.pagination > li > a,
.page-item:last-child .page-link,
.page-item:first-child .page-link {
  color: #fff;
  border-radius: 50%;
}

.pagination > li > a:hover,
.pagination > li > a:focus {
  color: #fff;
}

.pagination > li:last-child > a,
.pagination > li:last-child > span,
.pagination > li:first-child > a,
.pagination > li:first-child > span {
  border-radius: 50%;
}

.page-link {
  padding: 5px 16px;
}

/* Alerts */

.alert {
  padding: 25px;
  margin: 20px 0px;
  border: 1px solid transparent;
  border-radius: 20px;
  font-size: 16px;
}

.alert:before {
  content: '\f12c';
  position: absolute;
  font-family: 'flaticon';
  font-size: 50px;
  left: 0px;
  margin-top: -50px;
}

/* Breadcrumbs */

.breadcrumb {
  padding: 8px 25px;
  list-style: none;
  letter-spacing: 0.3px;
  text-align: left;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  background: transparent;
  border-radius: 0px;
}

ul.breadcrumb {
  line-height: 18px !important;
  padding-left: 0px;
  text-align: center;
}

.breadcrumb > li + li:before {
  padding: 0 10px;
  content: '»';
  font-size: 16px;
}

/* Labels */

.badge {
  padding: 0.2em 0.6em 0.3em;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.8;
  color: #fff;
  border-radius: 20px;
}

/* Form Labels */

label {
  display: block;
  max-width: 100%;
  margin-bottom: 5px;
}

/* Page  */

section.pages {
  padding: 0px 0px 90px;
}

.image-page {
  margin: 20px 0;
}

/* Dropdown */

.dropdown-menu {
  font-size: 16px;
  border: 0px;
  color: #fff;
  padding: 0px;
}

.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:hover {
  color: #fff;
  transition: all 0.2s ease-in-out;
}

/* Boxed theme */

.boxed {
  max-width: 1400px;
  margin: 0 auto;
  background: #f5f5f5;
}

.boxed .navbar {
  max-width: 1400px;
  margin: 0 auto;
}

/* tab content */

.tab-content {
  padding: 50px;
  border-radius: 20px;
}

/* Nav-tabs */

.nav-tabs {
  text-align: center;
  border-bottom: 0;
  margin-bottom: -1px;
}

.nav.nav-tabs > li > a.active:hover,
.nav.nav-tabs > li > a:hover {
  border: 0;
}

.nav.nav-tabs > li {
  float: none;
  display: inline-block;
  margin: 0px 10px;
}

.nav.nav-tabs > li > a {
  position: relative;
  font-weight: 800;
  display: block;
  min-height: 50px;
  border: 0;
  padding: 15px 35px;
  color: #fff;
  font-size: 22px;
  border-radius: 20px 20px 0px 0px;
  transition: all 0.2s ease-in-out;
}

.nav.nav-tabs > li > a:hover,
.nav.nav-tabs > li.active > a:hover {
  color: #fff;
}

/* Accordion */

.accordion-item {
  color: #757373;
  background: transparent;
}

.accordion-item {
  border: 0px;

  margin-top: 10px;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:after {
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'><path fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/></svg>") !important;
  float: right;
  margin-top: 5px;
}

.accordion-button:not(.collapsed),
.accordion-button.collapsed {
  color: #fff;
}

.accordion-item:last-of-type .accordion-button.collapsed,
.accordion-item:first-of-type .accordion-button,
.accordion-item:last-of-type,
.accordion-button {
  border-radius: 1.2em;
}

.accordion-button {
  font-size: 18px;
  display: block;
  text-transform: none;
  padding: 10px 20px;
  color: #fff;
  letter-spacing: 0.5px;
  font-family: 'Baloo Thambi', sans-serif;
  border: 0px;
  transition: all 0.2s ease-in-out;
}

/* Lists */

ul.no-margin {
  margin: 0px;
  padding: 0;
}

.list-unstyled li {
  line-height: 30px;
}

ul.custom {
  list-style: none;
}

ul.custom li {
  padding: 5px 0px;
  font-size: 16px;
  line-height: 26px;
}

ul.custom li:before {
  content: '\f054';
  font-weight: 900;
  font-family: 'Font Awesome 5 Free';
  padding-right: 7px;
}

/* Buttons */

.btn {
  border: none;
  color: #b7a38f;
  cursor: pointer;
  display: inline-block;
  font-family: 'Baloo Thambi', sans-serif;
  font-size: 15px;
  transition: all 0.3s ease-in-out;
  border-radius: 25px;
  margin-top: 10px;
  letter-spacing: 0.1px;
  line-height: 1em;
  padding: 20px 30px;
  text-transform: uppercase;
}

.btn:hover,
.btn:focus {
  color: #fff;
  box-shadow: none;
}

.btn .fa {
  color: #fff;
}

/* Forms */

.form-control {
  display: block;
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 10px;
  font-size: 16px;
  outline: 0;
  box-shadow: none;
  border: 2px solid;
  margin-bottom: 15px;
}

.form-horizontal .control-label {
  text-align: left !important;
}

.input-group-btn:last-child > .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.input-group-btn .btn {
  font-size: 14px;
  padding: 15px 30px;
  margin-top: 0px;
}

.input-group-btn span,
.input-group-addon span,
.btn span {
  color: #fff;
}

.form-control.form-control.input-lg {
  margin-top: 0px;
}

.input-group .form-control:focus {
  box-shadow: 0 0 10px rgba(255, 255, 255, 1);
}

.form-group {
  margin-bottom: 0px;
}

.form-control:focus,
.textarea-field:focus,
.input-field:focus {
  outline: 0 none;
  box-shadow: none;
}

textarea.form-control {
  min-height: 8em;
}

textarea.form-control:focus {
  outline: 0 none;
}

/* Icons */

i {
  display: inline-block;
}

.huge-icon {
  font-size: 280px;
}

.big-icon {
  font-size: 80px;
}

/* BG Colors */

div.bg-lightcolor1,
div.bg-lightcolor2,
div.bg-darkcolor {
  padding: 20px;
  border-radius: 20px;
}

/* color background */

.bg-darkcolor p,
.bg-darkcolor ul.custom li,
.bg-darkcolor ul.custom li:before,
.bg-darkcolor h1,
.bg-darkcolor h2,
.bg-darkcolor h3,
.bg-darkcolor h4,
.bg-darkcolor h5,
.bg-darkcolor h6,
.bg-darkcolor small,
.bg-darkcolor i {
  color: #fff;
}

/* BIG Social Media Icons */

.social-media {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}

.social-media a {
  display: inline-block;
  font-size: 25px;
}

.social-media a i:hover {
  transform: scale(1.2);
  background-color: #fff;
}

.social-media a i {
  font-weight: normal;
  color: #fff;
  transition: all 0.3s ease-in-out;
  margin: 3px;
  padding: 10px;
  width: 50px;
  border: 3px solid;
  border-radius: 50%;
  height: 50px;
}

.social-media i {
  transition: all 0.3s ease-in-out;
}

/* Small Social Media Icons */

.smaller.social-media a i {
  font-size: 22px;
  transition: 0.3s;
  margin: 0px;
  border: 0px;
  background: none;
  padding: 0;
  width: 30px;
  color: #fff;
}

.smaller.social-media a i:hover {
  background: none;
}

.smaller.social-media {
  margin-top: 10px;
  margin-bottom: 10px;
}

.callout-box {
  position: absolute;
  float: right;
  padding: 70px !important;
  margin-top: 30px;
  border-radius: 20px;
  box-shadow: -8px 15px 0px #fff;
}

/* Centered columns */

.col-centered {
  float: none;
  margin: 0 auto;
}

/* Blockquote */

blockquote {
  padding: 30px;
  font-size: 16px;
  line-height: 28px;
  border-radius: 15px;
  border-left: none;
  text-align: center;
  font-family: 'Baloo Thambi', sans-serif;
}

blockquote:before {
  content: '\f10d';
  font-family: 'Font Awesome 5 Free';
  font-size: 2.3em;
  line-height: 0.1em;
  margin-right: 0.5em;
  vertical-align: 0.2em;
}

/* Nav-pills */

.nav-pills .nav-link {
  transition: all 0.2s ease-in-out;
  border-radius: 10px;
  font-size: 18px;
  margin: 5px;
  text-transform: uppercase;
  padding: 10px 25px;
  font-family: 'Baloo Thambi', sans-serif;
}

.nav-pills > li.active > a,
.nav-pills > li.active > a:hover,
.nav-pills > li.active > a:focus,
.nav-pills .nav-link:hover,
.nav-pills .nav-link,
.nav-pills .nav > li > a:hover {
  color: #fff;
}

/* Remove padding in container fluid */

.container-fluid {
  padding-right: 0px;
  padding-left: 0px;
}

/* Tables */

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
  padding: 8px;
  line-height: 1.42857143;
  vertical-align: top;
  border-top: 1px solid;
}

/* cards */

.card {
  border: 0;
  box-shadow: none;
  margin-bottom: 0px;
  border-radius: 20px;
  padding: 40px 20px !important;
  background-color: #fff;
}

.card .list-unstyled {
  padding-left: 15px;
  font-size: 16px;
  list-style: none;
  line-height: 30px;
  font-weight: 400;
  font-family: 'Baloo Thambi', sans-serif;
}

.call-to-action .card {
  margin-bottom: 0;
}

/* Media */

.media {
  margin-top: 45px;
}

.media-heading small {
  font-weight: 800;
  display: block;
  margin: 10px 0 20px;
  line-height: 20px;
  letter-spacing: 0.6px;
}

.slick-prev:before,
.slick-next:before {
  font-family: 'Font Awesome 5 Free';
}

.slick-prev {
  border-radius: 20px 0px 0px 20px;
}

.slick-next {
  border-radius: 0px 20px 20px 0px;
}

.slick-prev,
.slick-next {
  width: 50px;
  height: 50px;
  z-index: 9;
  padding: 15px;
  font-size: 20px;
  line-height: 1;
  color: white;
  opacity: 1;
  font-weight: 900;
}

.slick-prev:before {
  content: '\f060' !important;
}

.slick-next:before {
  content: '\f061' !important;
}

/* lightbox fixes */

.mfp-wrap {
  top: 0 !important;
  position: fixed !important;
}

/* Margins */

.margin1 {
  margin-top: 50px;
}

/* Jumbotron */

.jumbotron {
  background-size: cover !important;
  height: 380px;
  color: #fff;
  margin-top: 2em;
  text-align: center;
  margin-bottom: 12em;
  background: url(../img/presentation.webp);
  border-bottom-left-radius: 25%;
  border-bottom-right-radius: 25%;
}

.jumbotron .jumbo-heading {
  padding: 40px 70px;
  background-image: url(../img/illustrations/pattern.png);
  margin-top: 290px;
  display: inline-block;
  border-radius: 50%;
  border: 10px solid;
}

.jumbo-heading h1 {
  margin: 0px;
  color: #fff;
}

/* Sidebar */

.sidebar {
  padding: 20px;
}

.sidebar .card {
  padding: 20px;
  margin-bottom: 40px;
  border-radius: 15px;
}

.sidebar .social-media {
  text-align: left;
}

.sidebar-header {
  color: #fff;
  margin-bottom: 20px;
  border-radius: 10px;
  padding: 6px;
  text-align: center;
  margin-top: 0px;
}

/* divider */

hr {
  margin-top: 10px;
  border-top: 1px solid;
}

/* List group */

.list-group-item {
  position: relative;
  display: block;
  border-radius: 0px;
  padding: 10px 15px;
  margin-bottom: -1px;
  transition: all 0.6s;
}

.list-group-item:first-child {
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
}

.list-group-item:last-child {
  margin-bottom: 0;
  border-bottom-right-radius: 0px;
  border-bottom-left-radius: 0px;
}

a.list-group-item,
button.list-group-item {
  color: #fff;
}

a.list-group-item:focus,
a.list-group-item:hover,
button.list-group-item:focus,
button.list-group-item:hover {
  color: #fff;
  text-decoration: none;
}

/*===========================
  Media Queries
============================ */

/************ min width 2550px *************/

@media (min-width: 2550px) {
  /* Slider Typography */

  .slide__text {
    max-width: 20%;
  }

  .slide__overlay {
    margin-left: -200px;
  }
}

/************ min width 1824px *************/

@media (min-width: 1824px) {
  .slide__text {
    max-width: 25%;
  }

  .jumbotron {
    height: 450px;
  }

  .jumbotron .jumbo-heading {
    margin-top: 380px;
  }

  #contact-index {
    background-position: 15% bottom;
  }
}

/************ min width 1199px *************/

@media (min-width: 1199px) {
  .price-table {
    margin: 50px 10px 10px;
  }

  .price-table .plan:hover {
    margin-top: -20px;
  }

  .boxed .callout {
    padding: 20px !important;
    max-width: 1400px;
  }
}

/************ max width 1199px *************/

@media (max-width: 1199px) {
  /* callout box */

  .callout-box {
    position: relative;
    padding: 40px;
  }
}

/************ (min-width: 991px) and (max-width: 1300px)*************/

@media (min-width: 991px) and (max-width: 1300px) {
  /* Jumbotron */

  .jumbotron .jumbo-heading {
    margin-top: 190px;
  }

  .jumbotron {
    height: 300px !important;
  }

  /* Slider */
  .slider {
    height: 700px;
  }

  h1 {
    font-size: 55px;
    line-height: 43px;
  }
}

@media (min-width: 991px) {
  /* parallax header */
  .parallax-header {
    height: 900px !important;
  }
}

/************ (max-width: 1200px) *************/

@media (max-width: 1200px) {
  #contact-index {
    background-image: none;
  }

  /* Responsive margin*/

  .res-margin,
  .margin1 {
    margin-top: 30px;
  }

  /*navbar */

  .navbar-custom .navbar-nav .nav-link {
    text-align: center;
    font-size: 20px;
  }

  /* NO Shrink navbar on scroll  */

  .navbar-brand {
    padding: 10px 10px;
  }

  nav .navbar-brand img,
  nav.navbar.shrink .navbar-brand img {
    max-width: 120px;
    bottom: 0px;
  }

  nav.navbar.shrink a,
  nav.navbar a {
    font-size: 15px;
    padding-bottom: 20px !important;
    padding-top: 20px !important;
  }

  /* navbar collapse at 1200px */

  .navbar-collapse::-webkit-scrollbar {
    width: 20px;
  }

  .navbar-collapse::-webkit-scrollbar-track {
    background-color: lightgray;
  }

  .navbar-collapse::-webkit-scrollbar-thumb {
    background-color: darkgray;
  }

  .navbar-nav li {
    float: none;
  }

  .navbar-nav li > .dropdown-menu {
    border: 0;
    float: none;
    width: auto;
    position: static;
    box-shadow: none;
    border: 1px solid;
    background: inherit;
  }

  .navbar-brand-centered img {
    position: relative;
    top: 0%;
    bottom: 7px;
  }

  .navbar-nav,
  .navbar-right {
    float: none !important;
    margin-right: 0px;
  }

  .container > .navbar-collapse {
    margin-right: 0px;
    margin-left: 0px;
  }

  .navbar-collapse.collapse.show {
    max-height: 80vh !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
  }
}

/************ max width 992px *************/

@media (max-width: 992px) {
  /* layerslider */
  #slider {
    padding-top: 40px;
  }

  .ls-outline .ls-nav-prev,
  .ls-outline .ls-nav-next {
    display: none !important;
  }

  /* callout*/
  .callout-img {
    margin: 0 auto;
    position: relative;
  }

  /* contact */
  #contact-index2 {
    background-size: 50%;
    padding-bottom: 230px;
  }

  .jumbo-heading h1 {
    font-size: 2.7em;
  }

  /* Add margin to service boxes on tablet */
  #services-index .col-lg-4.col-md-6.col-sm-12:nth-last-child(1) .box_icon,
  #services-index .col-lg-4.col-md-6.col-sm-12:nth-last-child(2) .box_icon {
    margin-top: 10px;
  }
}

@media (max-width: 992px) {
  /* Headers */

  .slide__text h1 {
    font-size: 38px !important;
    line-height: 38px;
  }

  h2 {
    font-size: 2.2em !important;
  }

  h3 {
    font-size: 1.9em;
  }

  h4 {
    font-size: 1.7em;
  }

  h5 {
    font-size: 1.5em;
  }

  h6 {
    font-size: 1.3em;
  }

  /* Space between sections */

  .section-heading {
    margin-bottom: 30px;
  }

  /* miscelaneous */

  .sidebar {
    border: 0px;
  }

  .back-to-top {
    display: none;
  }

  .img-paragraph {
    margin: 0px 0px 20px 0px;
  }

  .price-table .plan {
    margin-bottom: 50px;
  }

  .call-to-action {
    background-attachment: scroll !important;
    background-position: bottom !important;
  }

  /* Main Slider */

  .slider {
    height: 600px;
    top: 60px;
  }

  .slide .slide__text {
    background-color: rgba(0, 0, 0, 0.4);
  }

  .slide__text {
    left: 0;
    top: 55%;
    max-width: 100%;
    text-align: center;
    position: relative;
    transform: translateY(50%);
    transition: transform 0.5s 0.5s, opacity 0.5s 0.5s;
    padding: 0 1rem;
  }

  .slide__overlay {
    display: none;
  }

  .slide__text-heading {
    font-size: 3.2rem;
  }

  .slider-pagi {
    bottom: -4%;
  }

  .hidden-mobile {
    display: none;
  }

  #curveUp {
    display: none;
  }

  /* Jumbotron */

  .jumbotron {
    background-position: bottom !important;
    height: 450px;
    margin-bottom: 15em;
  }

  .jumbotron .jumbo-heading {
    margin-top: 350px;
  }

  #reviews,
  .bg-pattern {
    background-image: none;
  }

  .reviews-bg-image {
    display: none;
  }
}

/************ (min-width: 768px) and (max-width: 1025px) *************/

@media (min-width: 768px) and (max-width: 1025px) {
  /* Reviews section */
  #reviews {
    background-size: 30%;
    background-position: -5% bottom;
  }

  .reviews-bg-image {
    display: none;
  }

  #reviews .containers {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /* Callout section (A propos) */
  .callout .col-xl-8 img {
    width: 80%;
    margin: 0 auto;
    display: block;
  }

  .callout-box {
    position: relative;
    width: 100%;
    margin-top: 20px;
    padding: 40px !important;
    box-shadow: none;
    border-radius: 20px;
    background-color: rgba(54, 54, 54, 0.95);
  }

  .callout .row {
    flex-direction: column;
  }

  .callout .col-xl-6 {
    max-width: 100%;
    flex: 0 0 100%;
  }

  /* Stats section adjustment */
  #stats {
    background-size: 40%;
    background-position: right center;
  }

  /* Adjust font sizes for better readability */
  .callout-box h3 {
    font-size: 2.2em;
  }

  .callout-box p {
    font-size: 15px;
    line-height: 28px;
  }
}

/************ (min-width: 768px) and (max-width: 992px) *************/

@media screen and (min-width: 768px) and (max-width: 992px) {
  .jumbotron .h1,
  .jumbotron h1 {
    font-size: 63px;
  }

  /* Main Slider */

  .slider {
    height: 450px;
  }

  /* Center content in 'A propos' section for tablets */
  #about-index .row .col-lg-7,
  #about-index .row .col-lg-5 {
    text-align: center;
  }

  /* Adjustments for #stats section on tablets */
  #stats {
    margin-top: 60px;
    animation: none;
    background-position: 10% center, 90% center;
    background-repeat: no-repeat;
  }
}

/************ max width 767px *************/

@media (max-width: 768px) {
  /* Navbar height adjustments for mobile */
  nav.navbar a,
  nav.navbar.shrink a {
    padding-top: 8px !important;
    padding-bottom: 8px !important;
  }

  .navbar-brand-centered img {
    max-width: 80px !important;
    bottom: 4px !important;
  }

  .navbar-toggler {
    padding: 8px 15px !important;
  }

  /* layerslider */
  .header-wrapper .header-text {
    white-space: normal;
    max-width: 100%;
    text-align: center;
    padding: 30px;
  }

  .header-wrapper .header-text.header-left {
    max-width: 60% !important;
  }

  .ls-bottom-nav-wrapper {
    bottom: -10px !important;
    transform: scale(0.8);
  }

  /* parallax header */
  .parallax-header {
    justify-content: end;
    height: 300px !important;
  }

  .parallax-header h1 {
    font-size: 2.4em;
    line-height: 1.2em;
    margin-bottom: 0px;
  }

  .welcome-box {
    padding: 10px !important;
  }

  /* contact */
  #contact-index2 {
    background-size: 50%;
    padding-bottom: 130px;
  }

  /* Slider position adjustment for mobile */
  .slider-container {
    padding-top: 45px;
    /* Adjust based on new navbar height */
  }

  /* Labels de certification responsive mobile - EN DESSOUS du jumbotron */
  .slider-container {
    display: flex;
    flex-direction: column;
  }

  .slider {
    order: 1;
  }

  .slider-container .certification-labels {
    position: relative;
    order: 2;
    display: flex;
    justify-content: center;
    margin: 20px auto 10px;
    padding: 0;
    background: transparent;
    gap: 15px;
    bottom: auto;
    left: auto;
    right: auto;
  }

  .label-badge {
    width: 85px;
    height: 85px;
    padding: 6px;
    border: 2px solid rgba(255,255,255,0.9);
    background: rgba(255, 255, 255, 0.98);
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
  }

  /* Flèches navigation responsive mobile */
  .slider-control {
    width: 30px;
    height: 30px;
  }

  .slider-control.left {
    left: 10px;
  }

  .slider-control.right {
    right: 10px;
  }

  .slider-control:before {
    width: 16px;
    height: 16px;
    border-width: 2px;
  }

  /* Services cards - Réduction espacement mobile */
  #services-index .row .col-lg-4 {
    margin-bottom: 1rem !important;
  }

  #services-index .row:last-of-type {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* Main Slider */

  .slider {
    height: 380px;
    top: 0 !important;
    /* Override inherited top value */
  }

  .slider-pagi {
    bottom: -6%;
  }

  /* Jumbotron */

  .jumbotron .jumbo-heading {
    margin-top: 300px;
  }

  .jumbotron {
    height: 400px;
    margin-bottom: 12em;
  }

  #stats {
    background-image: none;
  }

  #services-index #transport {
    margin-top: 35px;
  }

  /* Miscelaneous */

  .nav-tabs > li {
    margin-bottom: 10px !important;
    width: 100%;
  }

  .breadcrumb > li + li:before {
    padding: 0 4px;
  }

  .section-heading h2:before,
  .section-heading h2:after {
    display: none;
  }

  .nav-pills .nav-link {
    font-size: 16px;
    margin: 5px;
    line-height: 18px;
    padding: 10px;
  }

  .slick-next {
    right: 5px !important;
  }

  .slick-prev {
    left: 5px !important;
  }

  .slick-prev,
  .slick-next {
    width: 28px;
    height: 35px;
    z-index: 9;
    padding: 8px;
    font-size: 4px;
  }
}

/************ max width 480px *************/

@media (max-width: 480px) {
  /* Jumbotron */

  .jumbotron .jumbo-heading {
    left: 0%;
    right: 0%;
    background-image: none;
    padding: 20px;
    margin-top: 160px;
  }

  .jumbotron {
    padding: 10px;
    height: 230px;
    margin-top: 20px;
    margin-bottom: 6em;
  }

  .slider-pagi__elem {
    width: 1rem;
    height: 1rem;
  }

  /* section */

  .section-heading {
    margin-bottom: 2rem;
  }

  .block {
    padding: 10px;
  }

  h1 span {
    font-size: 38px;
  }

  .date-category i {
    display: none;
  }

  .date-category {
    position: absolute;
    color: #fff;
    min-width: 0px;
    padding: 10px;
    left: 0px;
    margin-top: -20px;
  }

  .date-category p {
    margin: 0px;
    line-height: 12px;
  }

  .breadcrumb {
    font-size: 11px;
  }

  /* Miscellaneous */

  .glyph {
    width: 100%;
  }

  .post-info p {
    line-height: 13px;
  }

  .comments-block {
    padding: 0px;
  }

  .panel-heading [data-toggle='collapse']:after {
    display: none;
  }

  #blog-container {
    padding: 20px;
    margin-top: 20px;
  }

  section,
  section.pages {
    padding: 40px 0px;
  }

  footer p {
    line-height: 20px;
    word-wrap: break-word;
  }

  .input-group-btn:last-child > .btn {
    margin-top: 10px;
  }

  .input-group .form-control:first-child {
    border-radius: 20px;
    margin-top: 10px;
  }

  .input-group .form-control,
  .input-group-btn {
    display: inline-table;
  }

  .navbar.navbar-custom.navbar-fixed-top {
    margin-bottom: 30px;
  }

  .nav-pills > li.active:after,
  .nav-pills > li.active:before {
    top: -45%;
  }

  .nav-pills > li {
    float: none;
  }

  .comment {
    padding: 10px;
    text-align: center;
  }

  .callout-box {
    padding: 30px !important;
  }

  .comments-block .media-object {
    max-width: 100%;
    float: none;
    margin-right: auto;
    margin-left: auto;
    margin-bottom: 20px;
  }

  .comment.media-body {
    margin-right: 0px;
  }

  .tab-pane h3 {
    margin-top: 10px;
  }

  .btn {
    font-size: 13px;
    margin: 10px 0px;
    padding: 15px 20px;
  }

  .box_icon > .icon > .info {
    padding: 20px;
  }

  .review .review-caption {
    padding: 25px;
  }

  .spinner {
    left: 42%;
  }

  .produit-thumb {
    padding: 0px;
  }

  /* Main Slider */

  .slider {
    height: 220px;
  }

  .slider-pagi {
    display: none;
  }

  .header-text h1,
  .jumbo-heading h1 {
    font-size: 30px;
    line-height: 30px;
  }
}

/************ max width 320px *************/

@media (max-width: 320px) {
  /* Reviews */

  .review .review-icons {
    padding: 0px;
    text-align: center;
    margin-top: 20px;
  }

  /* Nav-tabs */

  .nav.nav-tabs > li > a {
    min-height: 30px;
    font-size: 16px;
    padding: 15px 15px;
    line-height: 15px;
  }

  /* Miscellaneous */

  footer .table .text-left {
    font-weight: 900;
  }

  .small-section .card {
    padding: 25px 13px;
    outline: 0;
  }

  .label,
  .table {
    font-size: 14px;
  }

  .table table,
  .table thead,
  .table th,
  .table td,
  .table tr {
    display: block;
  }

  /* Main Slider */

  .slider {
    height: 180px;
  }

  .slide__text {
    top: 50%;
  }
}

/* Make the entire card clickable */
.review-link {
  display: block;
  /* Makes the anchor fill the .review parent */
  text-decoration: none;
  /* Removes underline */
  color: inherit;
  /* Inherits text color from parent, preventing blue links */
}

.review-link:hover {
  text-decoration: none;
  color: inherit;
}

/* Add margin to service4.html cards on mobile */

#services .row.mt-3 .col-md-4 {
  margin-top: 12px;
}

@media (max-width: 1024px) {
  #reviews {
    padding: 60px 0;
  }

  .callout .col-xl-8 img {
    width: 100%;
    height: auto;
  }

  .callout-box {
    position: relative;
    width: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 30px;
  }

  .callout .row {
    margin: 0;
  }

  .callout .col-xl-6 {
    width: 100%;
    padding: 0;
  }

  #stats {
    padding: 60px 0;
  }

  .callout-box h3 {
    margin-top: 0;
  }

  .callout-box p {
    margin-bottom: 20px;
  }

  .contact-image {
    display: none;
  }

  #contact-index .col-xl-6 {
    margin-left: 0;
    width: 100%;
  }

  #about-index .row .col-lg-7,
  #about-index .row .col-lg-5 {
    width: 100%;
    text-align: center;
  }

  #about-index .row .col-lg-5 img {
    margin-top: 30px;
    max-width: 100%;
    height: auto;
    border-radius: 10%;
  }
}

/* Modal de confirmation */
.modal-content {
  border-radius: 15px;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.modal-header {
  border-bottom: 1px solid #eee;
  padding: 1.5rem;
}

.modal-body {
  padding: 2rem;
  text-align: center;
  font-size: 1.1rem;
}

.modal-footer {
  border-top: 1px solid #eee;
  padding: 1.5rem;
}

.btn-close {
  box-shadow: none;
}

.modal .btn {
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.modal .btn-primary {
  background-color: #90674e;
  border-color: #90674e;
}

.modal .btn-primary:hover {
  background-color: #b7a38f;
  border-color: #b7a38f;
  transform: translateY(-2px);
}

.modal .btn-secondary {
  background-color: #f8f9fa;
  border-color: #ddd;
  color: #333;
}

.modal .btn-secondary:hover {
  background-color: #e9ecef;
  border-color: #ddd;
  transform: translateY(-2px);
}

#contact_results {
  margin: 20px 0;
  padding: 15px;
  border-radius: 4px;
  display: none;
}

#contact_results .error {
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 10px;
}

#contact_results .success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
  padding: 15px;
  border-radius: 4px;
  margin-bottom: 10px;
}

#contact_form input.error,
#contact_form textarea.error {
  border-color: #c62828;
  background-color: #ffebee !important;
}

@media (min-width: 1025px) {
  #services-index .row > .col-lg-4 {
    margin-bottom: calc(1.5rem + 10px) !important;
  }
}
