:root {
  --primary-color: #1c4f48;
  --white: #fff;
  --text-color: #323232;
  --bg-soft-before: #00997ec9;
  --text-size: 14px;
  --border-radius: 0;
  --shadow: 0 2px 28px 0 rgba(0, 0, 0, 0.06);
  --loader-size: 60px;
  --loader-border: 8px;
  --arrow-height: 4rem;
  --plyr-icon-size: 35px;
  --plyr-overlay-padding: 1.5rem;
  --slider-img-max-width: 70px;
  --about-img-width: 85%;
}


.scroll-target {
  scroll-margin-top: 73px;
}

section {
  border-bottom: 1px solid #a6a6a6;
}

* {
  scrollbar-width: none;
  -ms-overflow-style: none;
  font-family: system-ui, -apple-system, sans-serif;
}

.img-loader {
  width: 80px;
  height: 80px;
}

.img-loader img {
  width: 100%;
  height: 100%;
  filter: brightness(0) saturate(100%) invert(25%) sepia(9%) saturate(2221%) hue-rotate(128deg) brightness(91%) contrast(91%);
}

/* Animation  */
/* Common style for all animated shapes */
.shape-img1 img,
.shape-img2 img,
.shape-img3 img,
.shape-img4 img {
  display: block;
  max-width: 100px;
  /* adjust size */
  position: absolute;
  z-index: -1;
  /* keeps behind content */
}

/* 1. Rotate clockwise */
.shape-img1 img {
  left: 7%;
  top: 14%;
  z-index: 2;
  animation: rotateClockwise 20s linear infinite;
}

/* 2. Shake slowly */
.shape-img2 img {
  left: 4%;
  top: 60%;
  z-index: 2000;
  animation: slowShake 3s ease-in-out infinite;
}

/* 3. Rotate + shake */
.shape-img3 img {
  left: 5%;
  top: 100%;
  z-index: 2;
  animation: rotateClockwise 15s linear infinite;
}

/* 4. Shake slowly */
.shape-img4 img {
  left: 38%;
  top: 20%;
  z-index: 2000;
  animation: slowShake 4s ease-in-out infinite;
}

/* Animations */
@keyframes rotateClockwise {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes slowShake {

  0%,
  100% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-5px);
  }

  50% {
    transform: translateX(5px);
  }

  75% {
    transform: translateX(-3px);
  }
}

/*End Animations */

.text-primary {
  --bs-text-opacity: 1;
  color: var(--primary-color) !important
}

.navbar {
  transition: box-shadow 0.3s ease;
  background-color: #d2e8e4;
}

.navbar.scrolled {
  box-shadow: var(--shadow);
}

footer {
  box-shadow: 2px 2px 28px 0 rgba(0, 0, 0, 0.16);
}

.brand-logo {
  width: 100%;
  max-width: 215px;
}

.text-decoration-none,
.nav-link {
  color: var(--text-color) !important;
  font-size: var(--text-size);
  text-transform: uppercase;
}

.btn-white {
  --bs-btn-color: var(--primary-color);
  --bs-btn-hover-color: var(--primary-color);
  --bs-btn-active-color: var(--primary-color);
}

#preloader {
  height: 100vh;
  width: 100vw;
  margin: 0;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

.loader {
  border: var(--loader-border) solid rgba(255, 255, 255, 0.3);
  border-top: var(--loader-border) solid var(--white);
  border-radius: 50%;
  width: var(--loader-size);
  height: var(--loader-size);
  animation: spin 1.2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.slider-img {
  margin: 0 auto 15px;
  max-width: var(--slider-img-max-width);
  text-align: center;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.about-img {
  width: var(--about-img-width);
}

.about-bg-img {
  background-image: url("https://ghadimachinewash.com/content/images/about_us/ghadi_newLeftBanner.png");
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 80vh !important;
}

.play-btn {
  width: 80px;
  height: 80px;
}

.about-bg-right-img {
  background-image: url("https://ghadimachinewash.com/content/images/about_us/About_Rt_BG.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 80vh !important;
}

.btn-primary {
  --bs-btn-color: var(--bs-white);
  --bs-btn-hover-color: var(--primary-color);
  --bs-btn-active-color: var(--bs-white);
  --bs-btn-bg: var(--primary-color);
  --bs-btn-border-color: var(--primary-color);
  --bs-btn-hover-bg: var(--white);
  --bs-btn-hover-border-color: var(--primary-color);
  --bs-btn-active-bg: var(--primary-color);
  --bs-btn-active-border-color: var(--primary-color);
}

.swiper-controls .swiper-navigation .swiper-button {
  background: var(--bs-soft-primary) !important;
}

.contact-form .form-control,
.contact-form .form-select {
  background-color: #efefef !important;
  border: 1px solid #d4d4d4 !important;
  border-radius: 0;
}

.contact-form .form-control:focus {
  border: 1px solid #349789de !important;
}

.navbar-nav .dropdown-item,
.navbar-nav .dropdown-item:focus,
.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item.active,
.navbar-nav .dropdown-item:active {
  color: var(--primary-color);
}

.hamburger {
  color: black !important;
}



.item-inner {
  display: flex;
  justify-content: center;
}

.swiper-hero,
.swiper-hero .swiper-slide {
  height: 415px !important;
}

/* Video */

#videoOverlay {
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

#videoOverlay.active {
  opacity: 1;
  pointer-events: auto;
}

/* Footer Social ICon Hover */
ul.social-links a {
  transition: all 0.5s ease;
  background-color: transparent;
  width: 35px;
  height: 35px;
  border-radius: 50%;
}

.fa-brands,
.fab {
  font-weight: 400;
  font-size: 14px;
}

ul.social-links a:hover {
  background-color: white;
  color: var(--primary-color);
  border-color: white;
}

.right-img,
.officers img {
  height: 100%;
  width: 100%;
}

.feature-img {
  width: 100%;
  height: 200px;
}

.feature-img img,
.right-img img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.about-content {
  position: relative;
}

.about-content span {
  display: block;
  color: var(--primary-color);
  text-transform: uppercase;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  padding-left: 15px;
  padding-top: 3px;
  padding-bottom: 2px;
  font-size: 15px;
  font-weight: 400;
}

.about-content span::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 50px;
  background: var(--bg-soft-before);
  z-index: -1;
  opacity: .20;
}

.about-content.testimonial span::before {
  background: #ffffff;
}

.bg-map {
  background-image: url('/assets/img/illustrations/map.png');
}

.service-icon {
  /* background: linear-gradient(180deg, var(--bg-soft-before), rgba(0, 128, 0, 0) 95%); */
  width: 60px;
  height: 60px;
  border: 1px solid rgba(0, 0, 0, 0.219);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.service-icon img {
  max-width: 60%;
  max-height: 60%;
}

.service-cards .card,
.shadow-sm.card,
.testimonial.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1), 0 10px 10px rgba(0, 0, 0, 0.02);
}

.service-cards .card:hover,
.shadow-sm.card:hover,
.testimonial.card:hover {
  transform: translateY(-0.15rem);
}

.service-cards .card:hover .service-icon {
  transform: rotateY(-180deg);
}

.profile {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
}

.profile img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.swiper-slide blockquote p {
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5em;
}

.testimonial.card {
  border: 0;
  background: rgba(var(--bs-white-rgb), .9) !important;
  width: 100%;
  height: 330px;
}

.form-control {
  padding: 10px 10px;
}

a:hover {
  color: var(--primary-color) !important;
}

@keyframes popIn {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }

  70% {
    transform: scale(1.05);
    opacity: 1;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.thankyou-card {
  animation: popIn 0.6s ease-out;
  border: 2px solid #28a74520;
  background: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.thankyou-icon {
  font-size: 48px;
  line-height: 1;
  display: inline-block;
  margin-bottom: 10px;
  animation: bounce 1s infinite alternate;
}

/* Stepper */

/* Base step */
#stepper .step {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #e0e0e0;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  z-index: 2;
}

/* Active step */
#stepper .step.active {
  background-color: var(--primary-color);
  color: #fff;
  border: 2px solid var(--primary-color);
  z-index: 3;
}

/* Completed step (✔ only) */
#stepper .step.completed {
  background-color: var(--primary-color);
  color: transparent;
  /* hide number */
  z-index: 3;
}

/* Tick mark */
#stepper .step.completed::after {
  content: '✔';
  font-size: 14px;
  position: absolute;
  color: #fff;
}

/* Connector line */
#stepper .step::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -120px;
  width: 120px;
  height: 2px;
  background-color: #e0e0e0;
  transform: translateY(-50%);
  z-index: 1;
}

#stepper .step:first-child::before {
  display: none;
}

#stepper .step.completed::before {
  background-color: var(--primary-color);
}

.form-step {
  min-height: 350px;
  /* height: 350px; */
}

.step-footer {
  border-top: 1px solid rgba(128, 128, 128, 0.199);
  padding-top: 1rem;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

/* Appointment Patient Details */

.form-group label {
  font-size: 15px;
}


.slot-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.slot-btn {
  padding: 10px 0px !important;
  text-align: center;
  border: 1px solid #0f3d2e;
  border-radius: 0px;
  cursor: pointer;
  transition: 0.2s;
  color: #0f3d2e;
  font-size: 13px !important;
}

.slot-btn input {
  display: none;
}

.slot-btn.active,
.slot-btn:hover {
  background: #0f3d2e;
  color: #fff;
}

.services-card {
  height: 275px;
}

@keyframes bounce {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-6px);
  }
}

.officers {
  width: 250px;
  margin: auto;
}

/* Disabled input fields */
input:disabled,
select:disabled,
button:disabled {
  background-color: #f0f0f0 !important;
  color: #999 !important;
  cursor: not-allowed !important;
  opacity: 0.7 !important;
}


.slot.disabled {
  background: #e0e0e0 !important;
  color: #aaa !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}

.about-img {
  width: auto;
  overflow: hidden !important;
  object-fit: contain;
}

@media (max-width: 429px) {
  #stepper .step::before {
    left: -80px;
    width: 80px;
  }
}

@media (min-width: 430px) {
  #stepper .step::before {
    left: -100px;
    width: 100px;
  }
}


@media (min-width: 768px) {
  #stepper .step::before {
    left: -142px;
    width: 140px;
  }
}



/* Responsive */
@media (max-width: 767px) {

  .swiper-hero,
  .swiper-hero .swiper-slide {
    height: 10rem !important;
  }

  .about-bg-right-img,
  .about-bg-img {
    min-height: 30vh !important;
  }

  .fs-50 {
    font-size: calc(1.2rem + 1.5vw) !important;
  }

  .blockquote-details {
    justify-content: end;
  }

  .brand-logo {
    width: 100%;
    max-width: 150px;
  }
}

@media (max-width: 991.98px) {
  .navbar-expand-lg .navbar-brand {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .blockquote-details .info {
    padding-left: 0;
  }
}


@media (min-width: 768px) and (max-width: 991.98px) {
  .appointment-form {
    height: 90vh;
  }

  .swiper-hero,
  .swiper-hero .swiper-slide {
    height: 18rem !important;
  }

  .swiper-controls {
    display: none;
  }

  .about-bg-img {
    min-height: 45vh !important;
  }

  .about-bg-right-img {
    min-height: 32vh !important;
  }

  .navbar-expand-lg .navbar-brand {
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }

  .play-btn {
    width: 60px !important;
    height: 60px !important;
    font-size: 1.25rem !important;
    /* fs-5 equivalent */
  }

  .shape-img1 img {
    left: 5%;
    top: 10%;
  }

  .shape-img4 img {
    left: 44%;
    top: 0%;
  }

  #stepper .step::before {
    left: -150px;
    width: 150px;
  }
}

/* For laptops (min-width: 1024px) */
@media (min-width: 1024px) {
  .appointment-form {
    height: 100vh;
  }

  .swiper-hero,
  .swiper-hero .swiper-slide {
    height: 100vh !important;
  }
}

/* .show-card-img {
  width: 300px;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
} */


.show-card-img img {
    width: 100%;
    height: auto;
    object-fit: fill;
}

.carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.55);
  border: 2px solid #fff;
  margin: 0 6px;
}

.carousel-indicators .active {
  background-color: #fff;
}

/* Icon buttons */
.icon-btn {
  background-color: #ffffff;
  border: 1px solid rgba(31, 92, 83, 0.1);
  border-radius: 2rem;
  transition: transform 0.3s, box-shadow 0.3s;
  text-align: center;
}

.icon-btn img {
  height: 35px;
  max-width: 35px;
}

.icon-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* --- Form alignment fixes --- */
.card h4 {
  margin-bottom: 1.5rem;
}

.input-group input {
  border-radius: 50rem 0 0 50rem !important;
  padding: 0.65rem 1rem;
}

.input-group button {
  border-radius: 0 50rem 50rem 0 !important;
  padding: 0.65rem 1rem;
}

/* Search bar hover & focus */
.input-group input:focus,
.input-group input:hover {
  border-color: #198754 !important;
  /* Bootstrap green */
  box-shadow: 0 0 8px rgba(25, 135, 84, 0.35);
}

.text-green {
  color: #198754 !important;
}

.input-group button:hover {
  background-color: #157347;
  /* darker green */
  transform: scale(1.05);
  transition: all 0.25s ease-in-out;
}

#hero .swiper img {
  height: 62vh;
  object-fit: contain;
}

.btn.rounded-pill {
  padding: 0.7rem 1rem;
  font-weight: 500;
  text-align: left;
}

.btn.rounded-pill .badge {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-btn i {
  margin-bottom: 6px;
}

.icon-btn small {
  font-size: 0.8rem;
  line-height: 1.2;
}

.custom-shadow {
  box-shadow: 0 .3rem 1rem rgba(0, 0, 0, .05) !important;
  /* same as Bootstrap .shadow */
  border-radius: .5rem;
  /* match rounded */
}

.btn-olivian-pulse {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: #1c4f48;
  color: #fff;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  animation: pulseGlow 2s infinite;
}

.btn-olivian-pulse:hover {
  background-color: #163f3a;
  transform: scale(1.05);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(28, 79, 72, 0.3);
}

.btn-olivian-pulse:active {
  transform: scale(0.98);
  box-shadow: 0 4px 12px rgba(28, 79, 72, 0.2);
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(28, 79, 72, 0.4);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(28, 79, 72, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(28, 79, 72, 0);
  }
}


.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 35px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
}

.my-float {
  margin-top: 16px;
}

#test-table tr td {
  font-size: 15px !important;
  font-weight: 400;
  color: #0f3d2e;
}

.test-table {
  width: 75% !important;
}

@media (min-width:320px) and (max-width:576px) {
  #hero .swiper img {
    height: auto;
    object-fit: contain;
  }

  .fs-sm-16 {
    font-size: 19px !important;
    line-height: 28px !important;
  }

  .test-table {
    width: 100% !important;
  }

}

@media (min-width:768px) and (max-width:1024px) {
  #hero .swiper img {
    height: auto;
    object-fit: contain;
  }
}

@media (max-width: 991.98px) { /* md devices */
  .test-table {
    width: 90% !important;
  }
}