/* images in feature projects css  */

.mxd-project-item__preview {
  background-size: cover;
  background-position: center;
  width: 100%;
          /* Or whatever fits your card design */
  border-radius: 10px;   /* Optional styling */
  margin-bottom: 8px;
}

/* Classes for each unique image */
.card-img-1 {
  background-image: url('Images/featured-1.png');
}
.card-img-2 {
  background-image: url('Images/featured-2.png');
}
.card-img-3 {
  background-image: url('Images/featured-3.png');
}
.card-img-4 {
  background-image: url('Images/featured-4.png');
}
.card-img-5 {
  background-image: url('Images/featured-5.png');
}
.card-img-6 {
  background-image: url('Images/featured-6.png');
}
.card-img-7 {
  background-image: url('Images/featured-7.png');
}
.card-img-8 {
  background-image: url('Images/featured-8.png');
}
.card-img-9 {
  background-image: url('Images/featured-9.png');
}
.card-img-10 {
  background-image: url('Images/featured-10.png');
}
.card-img-11 {
  background-image: url('Images/featured-11.png');
}
.card-img-12 {
  background-image: url('Images/featured-12.png');
}
/* Add more card-img-N as needed */

@media (max-width: 400px) {
  .mxd-project-item {
    max-width: 98vw;
  }
  .mxd-project-item__promo {
    padding: 14px 6px 8px 6px;
  }
  .mxd-project-item__name {
    font-size: 15px;
  }
}


/* images in feature projects css end   */





.mxd-promo__bg {
  background-image: url('Images/matter_bike.webp');
  background-size: cover;
  background-position: center;
  /* Optional if you want overlay effect: */
  /* opacity: 0.8; */
}



:root {
  --modal-bg: #fff;
  --modal-color: #222;
  --modal-field-bg: #f4f4f4;
  --modal-field-color: #222;
  --modal-border: #e0e0e0;
  --modal-btn-bg: #e52421;
  --modal-btn-color: #fff;
}
@media (prefers-color-scheme: dark) {
  :root {
    --modal-bg: #181818;
    --modal-color: #fff;
    --modal-field-bg: #222;
    --modal-field-color: #fff;
    --modal-border: #333;
    --modal-btn-bg: #e52421;
    --modal-btn-color: #fff;
  }
}
.modal-overlay {
  position: fixed;
  top:0; left:0; right:0; bottom:0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.modal-box {
  background: var(--modal-bg);
  color: var(--modal-color);
  padding: 32px 24px;
  border-radius: 14px;
  min-width: 320px;
  max-width: 95vw;
  text-align: center;
  position: relative;
  border: 1px solid var(--modal-border);
  box-shadow: 0 4px 48px rgba(0,0,0,0.18);
   transition: background 0.3s, color 0.3s; 
}
.modal-close {
  position: absolute;
  top:16px; right:20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: #aaa;
  cursor: pointer;
}
.modal-form input,
.modal-form textarea {
  width: 95%;
  margin: 10px auto;
  display: block;
  border-radius: 6px;
  border: 1px solid var(--modal-border);
  background: var(--modal-field-bg);
  color: var(--modal-field-color);
  padding: 10px 12px;
  font-size: 1rem;
  box-sizing: border-box;
  transition: background 0.3s, color 0.3s; 
}
.modal-form input:focus,
.modal-form textarea:focus {
  outline: 2px solid #e52421;
}
.modal-form button,
#thankYouOkBtn, #whatsappLink {
  margin-top: 14px;
  width: 100%;
  background: var(--modal-btn-bg);
  color: var(--modal-btn-color);
  border: none;
  border-radius: 6px;
  padding: 12px 0;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  display: block;
}
.modal-form button:hover,
#thankYouOkBtn:hover,
#whatsappLink:hover {
  background: #c91e1b;
}
.modal-error {
  margin-top: 8px;
}
@media (max-width: 500px) {
  .modal-box { padding: 18px 8px; min-width: 180px; }
  .modal-form input, .modal-form textarea { font-size: 0.93rem; }
}




@media (min-width: 992px) {
  .mxd-testimonials-card__content {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }
  .mxd-testimonials-card__text {
    margin-bottom: 12px !important; /* Adjust value, e.g., 8px, 12px as you prefer */
    padding-bottom: 0 !important;
  }
  .mxd-testimonials-card__author {
    margin-top: 8px !important; /* Reduce as needed (e.g., 0-12px) */
  }
}









/* ---------- Desktop only (override) ---------- */
@media (min-width: 1024px) {

  /* Card container: use column layout but don't distribute space */
  .mxd-testimonials-card {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important; /* <-- prevent large gaps */
    align-items: stretch !important;
    height: 325px !important;
    min-height: 0 !important;
    padding: 20px !important;    /* reduce/adjust padding as needed */
    gap: 8px !important;         /* small gap between internal parts */    
  }

 
}











/* mobile version css  */

/* counter   */







