@charset "UTF-8";
header a[href^=tel] {
  text-decoration: none !important;
}

@font-face {
  font-family: "Roboto Slab";
  src: url("https://www.cognitoforms.com/content/fonts/robotoslab/robotoslab-latin-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Roboto Slab";
  src: url("https://www.cognitoforms.com/content/fonts/robotoslab/robotoslab-latin-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
.wp-block-image figcaption {
  display: none !important;
}

/* ============================= */
/* BASE STYLE (desktop default) */
/* ============================= */
.sam-top-reviews {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  min-height: 50px;
}

.sam-top-reviews-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

/* &#x2b50; Stars */
.sam-stars {
  color: #ffbf00 !important;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1;
}

/* Text ALWAYS WHITE */
.sam-reviews-text,
.sam-reviews-text::after,
.sam-top-reviews-link,
.sam-top-reviews-link:visited,
.sam-top-reviews-link:hover {
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

/* Arrow */
.sam-reviews-text::after {
  content: "›";
  margin-left: 8px;
}

/* Remove ALL animation */
.sam-top-reviews,
.sam-top-reviews * {
  animation: none !important;
  transition: none !important;
  transform: none !important;
  opacity: 1 !important;
}

/* ============================= */
/* SMALL DESKTOP / LAPTOP FIX   */
/* ============================= */
@media (max-width: 1199px) and (min-width: 1025px) {
  .sam-stars {
    font-size: 20px !important;
    letter-spacing: 2px;
  }
  .sam-reviews-text,
  .sam-reviews-text::after {
    font-size: 17px !important;
  }
  .sam-top-reviews-link {
    gap: 8px;
  }
}
/* ============================= */
/* TABLET (optional safety)     */
/* ============================= */
@media (max-width: 1024px) {
  .sam-stars {
    font-size: 16px !important;
    letter-spacing: 1px;
  }
  .sam-reviews-text,
  .sam-reviews-text::after {
    font-size: 14px !important;
  }
  .sam-top-reviews-link {
    gap: 6px;
  }
}
/* ============================= */
/* MOBILE (optional hide)       */
/* ============================= */
/* Hide Elfsight badge visually (overlay) */
.elfsight-app-0ccbf72d-eeda-4e22-9267-0fe63252957a {
  position: relative;
  overflow: hidden;
}

.elfsight-app-0ccbf72d-eeda-4e22-9267-0fe63252957a::after {
  content: "";
  position: absolute;
  bottom: -40px; /* نزّل الطبقة لتحت */
  left: 0;
  width: 100%;
  height: 90px; /* كبرها عشان تغطي البادج بدون ما تقص الكروت */
  background: rgba(250, 250, 250, 0.9803921569);
  z-index: 9999;
  pointer-events: none;
}

.main-service-btn {
  background: #8B1E24;
  color: #ffffff !important;
  padding: 18px 42px;
  border: none;
  border-radius: 14px !important;
  font-size: 22px;
  font-family: Alata, sans-serif;
  font-weight: 700;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  box-sizing: border-box;
  box-shadow: 0 6px 0 #5f1519;
  transition: all 0.2s ease;
}

.main-service-btn:hover {
  background: #7a1a20;
  color: #ffffff !important;
  transform: translateY(2px);
  box-shadow: 0 4px 0 #5f1519;
}

.main-service-btn:active {
  transform: translateY(5px);
  box-shadow: 0 1px 0 #5f1519;
}

.service-popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 99999;
  padding: 20px;
}

.service-popup-box {
  background: #fafafa;
  border: 4px solid #29456C;
  border-radius: 4px;
  max-width: 720px;
  max-height: 86vh;
  overflow-y: auto;
  margin: 7vh auto 0;
  padding: 30px;
  box-sizing: border-box;
}

.service-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
  border-bottom: 1px solid rgba(41, 69, 108, 0.25);
  padding-bottom: 16px;
}

.service-popup-header h2 {
  color: #29456C;
  font-size: 32px;
  line-height: 1.15;
  margin: 0;
}

.service-popup-close {
  background: #29456C;
  color: #ffffff;
  border: none;
  min-width: 42px;
  width: 42px;
  height: 42px;
  font-size: 26px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 4px;
}

.sub-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.sub-service-link {
  background: #ffffff;
  border: 1px solid rgba(41, 69, 108, 0.35);
  border-radius: 4px;
  padding: 14px 16px;
  color: #29456C !important;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.sub-service-link:hover {
  background: #29456C;
  color: #ffffff !important;
  text-decoration: none;
}

@media (max-width: 768px) {
  .main-service-btn {
    width: 100% !important;
    font-size: 22px !important;
    padding: 18px 20px;
    display: block;
    border-radius: 14px !important;
  }
  .service-popup-overlay {
    padding: 12px;
  }
  .service-popup-box {
    width: 100%;
    max-height: 82vh;
    margin: 8vh auto 0;
    padding: 18px;
  }
  .service-popup-header h2 {
    font-size: 24px;
  }
  .service-popup-close {
    min-width: 40px;
    width: 40px;
    height: 40px;
    font-size: 24px;
  }
  .sub-services-grid {
    grid-template-columns: 1fr;
  }
  .sub-service-link {
    font-size: 18px;
    padding: 15px;
  }
}
.ct-backdrop,
.ct-backdrop-button a {
  backdrop-filter: blur(10px);
}

.ba-section {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 50px 0;
  background: transparent !important;
  font-family: Alata, sans-serif;
}

/* TOP */
.ba-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 34px;
}

.ba-header {
  max-width: 760px;
}

.ba-kicker {
  display: block;
  color: #0C1D34;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
  margin-bottom: 8px;
}

.ba-header h2 {
  color: #0C1D34;
  font-size: 52px;
  line-height: 1;
  margin: 0 0 12px;
  font-weight: 900;
}

.ba-header p {
  color: #34445a;
  font-size: 17px;
  line-height: 1.5;
  margin: 0;
}

/* VIEW MORE */
.ba-view-more {
  background: #0C1D34;
  color: #ffffff !important;
  border: none;
  border-radius: 0;
  padding: 22px 42px;
  min-width: 220px;
  font-size: 17px;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.ba-view-more:hover {
  background: #132d50;
}

/* FILTERS */
.ba-filters {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto 30px;
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
}

.ba-filter {
  flex: 1;
  text-align: center;
  background: #ffffff;
  color: #0C1D34;
  border: 1px solid rgba(12, 29, 52, 0.28);
  padding: 17px 10px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ba-filter.active,
.ba-filter:hover {
  background: #0C1D34;
  color: #ffffff;
  border-color: #0C1D34;
}

/* GRID */
.ba-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

/* CARD */
.ba-card {
  background: #ffffff;
  border: 1px solid rgba(12, 29, 52, 0.12);
  border-radius: 12px;
  overflow: hidden;
  padding: 0 !important;
  box-shadow: 0 10px 25px rgba(12, 29, 52, 0.08);
  transition: all 0.25s ease;
}

.ba-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(12, 29, 52, 0.14);
}

/* IMAGE */
.ba-image-btn {
  position: relative;
  width: 100% !important;
  aspect-ratio: 4/3;
  padding: 0 !important;
  margin: 0 !important;
  border: 0;
  display: block !important;
  overflow: hidden;
  cursor: pointer;
  background: #f4f4f4;
  border-radius: 0 !important;
}

.ba-image-btn img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 0 !important;
}

/* BEFORE / AFTER LABELS */
.ba-label {
  position: absolute !important;
  bottom: 12px !important;
  top: auto !important;
  z-index: 5;
  background: rgba(0, 0, 0, 0.68) !important;
  color: #ffffff !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  padding: 6px 10px !important;
  border-radius: 4px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  width: auto !important;
  height: auto !important;
  min-width: auto !important;
  max-width: none !important;
  line-height: 1 !important;
}

.ba-label.before {
  left: 12px !important;
  right: auto !important;
}

.ba-label.after {
  right: 12px !important;
  left: auto !important;
}

/* CENTER LINE */
.ba-divider {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 50% !important;
  width: 3px !important;
  height: auto !important;
  background: rgba(255, 255, 255, 0.95) !important;
  z-index: 4;
  transform: translateX(-50%);
  border-radius: 0 !important;
}

/* CENTER CIRCLE */
.ba-divider::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 38px !important;
  height: 38px !important;
  transform: translate(-50%, -50%) !important;
  background: #ffffff !important;
  color: #0C1D34 !important;
  border-radius: 50% !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22) !important;
  z-index: 6;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M8 7L3 12L8 17' stroke='%230C1D34' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M16 7L21 12L16 17' stroke='%230C1D34' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 18px 18px !important;
}

/* CARD CONTENT */
.ba-card-content {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px !important;
}

.ba-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: rgba(12, 29, 52, 0.07);
  color: #0C1D34;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ba-icon svg {
  width: 20px;
  height: 20px;
  fill: none !important;
  stroke: currentColor;
  stroke-width: 1.8;
}

.ba-card-content h3 {
  color: #0C1D34;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
  margin: 0;
}

/* LIGHTBOX */
.ba-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(12, 29, 52, 0.92);
  padding: 24px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.ba-lightbox.active {
  display: flex;
}

.ba-lightbox img {
  max-width: min(1200px, 94vw);
  max-height: 82vh;
  border-radius: 10px;
  object-fit: contain;
}

.ba-lightbox h3 {
  color: #ffffff;
  margin: 18px 0 0;
  font-size: 24px;
}

.ba-lightbox-close {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  max-width: 48px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  cursor: pointer !important;
  z-index: 1000000 !important;
  box-sizing: border-box !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18) !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.ba-lightbox-close::before,
.ba-lightbox-close::after {
  content: "" !important;
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  width: 22px !important;
  height: 2px !important;
  background: #0C1D34 !important;
  border-radius: 10px !important;
}

.ba-lightbox-close::before {
  transform: translate(-50%, -50%) rotate(45deg) !important;
}

.ba-lightbox-close::after {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}

/* TABLET */
@media (max-width: 1024px) {
  .ba-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ba-header h2 {
    font-size: 42px;
  }
  .ba-filters {
    flex-wrap: wrap;
  }
  .ba-filter {
    flex: 1 1 calc(25% - 12px);
  }
}
/* MOBILE */
@media (max-width: 640px) {
  .ba-section {
    padding: 40px 0;
  }
  .ba-top {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
  }
  .ba-header h2 {
    font-size: 34px;
  }
  .ba-view-more {
    width: 100%;
  }
  .ba-filters {
    display: flex;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
  }
  .ba-filter {
    min-width: 130px;
    flex: unset;
    white-space: nowrap;
  }
  .ba-grid {
    grid-template-columns: 1fr;
  }
}