/* Root and Normlize */
:root {
  --primary-color: #00A;
  --secondary-color: #E6E6F7;
  --light-bg-color: #F5F6FA;
  --text-color: #1F1F1F;
  --light-text-color: #666;
}

p {
  margin: 0;
  line-height: 130%;
}

a {
  text-decoration: none;
  color: inherit;
}

.row {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

li {
  margin: 0;
}

.fs-12 {
  font-size: 12px !important;
}

.fs-14 {
  font-size: 14px !important;
}

.fs-16 {
  font-size: 16px !important;
}

.h-290 {
  height: 290px;
}

.primary-btn {
  display: flex;
  padding: 12px 24px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  transition: background-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  color: #fff;
}

.primary-btn:hover {
  background-color: transparent;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 170, 0.18);
}

.primary-btn:active {
  transform: translateY(-1px) scale(0.98);
  transition-duration: 0.12s;
}

.border-btn {
  display: flex;
  padding: 12px 24px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  border: 1px solid #FFF;
  background-color: transparent;
  color: #fff;
  transition: background-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.border-btn:hover {
  background-color: #fff;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.border-btn:active {
  transform: translateY(-1px) scale(0.98);
  transition-duration: 0.12s;
}

.white-btn {
  padding: 8px 16px;
  justify-content: center;
  border-radius: 12px;
  background: #FFF;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 12px;
  line-height: 140%;
  transition: background-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  border: 1px solid #fff;
}

.white-btn:hover {
  background-color: transparent;
  color: #fff;
  transform: translateY(-2px);
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100%;
}

/* Critical pre-paint state: animated content is hidden by the first CSS paint,
   before deferred animation scripts annotate or observe it. */
.motion-enabled:not(.animations-ready)[data-page="index"] .panel .panel-content,
.motion-enabled:not(.animations-ready)[data-page="index"] .panel .d-flex.gap-3,
.motion-enabled:not(.animations-ready)[data-page="index"] .panel .bee-layer,
.motion-enabled:not(.animations-ready)[data-page="index"] .panel .bee-hero-image,
.motion-enabled:not(.animations-ready)[data-page="index"] .feature-intro .section-details,
.motion-enabled:not(.animations-ready)[data-page="index"] .feature-showcase > .row > .col-md-6,
.motion-enabled:not(.animations-ready)[data-page="index"] .feature-showcase .feature,
.motion-enabled:not(.animations-ready)[data-page="index"] .why-smartbee .d-flex > div,
.motion-enabled:not(.animations-ready)[data-page="index"] .success-partners .swiper-slide img,
.motion-enabled:not(.animations-ready)[data-page="index"] .contact-section .section-details,
.motion-enabled:not(.animations-ready)[data-page="index"] .border,
.motion-enabled:not(.animations-ready)[data-page="questions"] .question-page > section:first-child .section-title,
.motion-enabled:not(.animations-ready)[data-page="questions"] .question-page > section:first-child .section-details,
.motion-enabled:not(.animations-ready)[data-page="questions"] .question-page > section:nth-child(n + 2),
.motion-enabled:not(.animations-ready)[data-page="questions"] .border,
.motion-enabled:not(.animations-ready)[data-page="blog"] main > section:first-child .section-title,
.motion-enabled:not(.animations-ready)[data-page="blog"] main > section:nth-child(n + 2),
.motion-enabled:not(.animations-ready)[data-page="blog"] .article-card,
.motion-enabled:not(.animations-ready)[data-page="article"] main > section:first-child .section-title,
.motion-enabled:not(.animations-ready)[data-page="article"] main > section:first-child .meta-row,
.motion-enabled:not(.animations-ready)[data-page="article"] .article-img,
.motion-enabled:not(.animations-ready)[data-page="article"] .article .d-grid.gap-3,
.motion-enabled:not(.animations-ready)[data-page="article"] .related-articles {
  opacity: 0;
}

.i18n-pending [data-i18n],
.i18n-pending [data-i18n-placeholder] {
  visibility: hidden;
}

body {
  /* direction: rtl; */
  font-family: "Almarai", sans-serif;
  font-style: normal;
  overflow-x: hidden;
  min-width: 0;
  max-width: 100%;
}

#navbar {
  min-height: 88px;
}

#footer:empty {
  min-height: 320px;
  background: url("../images/home-bg.png") lightgray 50% / cover no-repeat;
}

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-anim],
  .feature,
  .why-smartbee .d-flex > div,
  .success-partners .swiper-slide img,
  .blog-section,
  .blog-section .section-title,
  .article-block,
  .article-block li,
  .related-articles,
  .related-articles .article-card,
  .how-section .col-md-7,
  .how-section .col-md-5,
  .how-section .section-title,
  .how-section .section-details,
  .how-section .feature,
  .how-section .feature .num,
  .faq-section,
  .faq-section .question-card,
  .faq-section .position-relative {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }

  .animate {
    opacity: 1 !important;
    transform: none !important;
  }
}

.row,
.row > *,
main,
main section {
  min-width: 0;
}

/* header section */
.header {
  background: url("../images/home-bg.png") lightgray 50% / cover no-repeat;
  height: fit-content;
}

/* navbar */
.navbar {
  display: flex;
  min-height: 88px;
  height: auto;
  padding: 16px clamp(16px, 5.56vw, 80px) !important;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.navbar-brand img {
  display: block;
  width: 120px;
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: auto;
}

.nav-link {
  color: #FFF !important;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
  padding: 8px 16px;
  position: relative;
}

.nav-link.active {
  font-weight: 700;
}

.nav-link.active::before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 50%;
  transform: translateX(50%);
  width: 16px;
  height: 2px;
  border-radius: 8px;
  background: #FFF;
}

.navbar-toggler {
  border: none;
  padding: 0;
  outline: none;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

/* footer */
.footer {
  display: flex;
  padding: 24px clamp(16px, 5.56vw, 80px);
  gap: 24px;
  align-self: stretch;
  background: url("../images/home-bg.png") lightgray 50% / cover no-repeat;
  color: #FFF;
  flex-wrap: wrap;
}

.footer .footer-col {
  width: calc((100% - 72px)/4);
  min-width: 0;
  height: fit-content;
  display: grid;
  gap: 16px;
}

.footer .title {
  color: #FFF;
  font-size: 14px;
  font-weight: 700;
}

.footer .links-title {
  font-weight: 700;
  line-height: 140%;
}

.footer .footer-links {
  display: grid;
  gap: 16px;
  font-size: 12px;
  font-weight: 400;
  line-height: 140%;
}

.footer .download-btn {
  display: flex;
  padding: 8px;
  align-items: center;
  gap: 4px;
  border-radius: 8px;
  background: #FFF;
  color: var(--primary-color);
  width: fit-content;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
}

/* waitbuzz copyright */
.copyright {
  position: relative;
  background-color: white;
  height: 84px;
  padding: 8px clamp(16px, 5.56vw, 80px);
  font-size: 12px;
  line-height: 1.3;
  color: var(--color-text);
  display: flex;
  text-align: center;
}

.copyright .logo-div {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
}

.copyright .logo-div .waitbuzz-logo {
  position: absolute;
  top: 0;
  left: 25px;
  transform: translate(-50%, 50%);
  width: 100%;
  z-index: 3;
  visibility: visible;
  animation-delay: 0.5s;
  animation-name: bounceInUp;
}

.copyright .logo-div .img1 {
  visibility: visible;
  animation-name: bounceInUp;
}

.copyright .logo-div .img2 {
  visibility: visible;
  animation-name: bounceInUp;
  animation-delay: 1s;
}

.copyright .logo-div .img1 img,
.copyright .logo-div .img2 img {
  position: absolute;
  height: 48px !important;
  width: 48px !important;
  object-fit: contain;
  top: 0;
  left: 0;
}

.copyright .logo-div .img1 img {
  width: 100%;
  animation: rotateRight 15s linear infinite;
  -webkit-animation: rotateRight 15s linear infinite;
  z-index: 2;
}

.copyright .logo-div .img2 img {
  width: 100%;
  animation: rotateLeft 15s linear infinite;
  -webkit-animation: rotateLeft 15s linear infinite;
  z-index: 1;
}

.copyright span {
  font-weight: 700;
  color: var(--primary-color);
  line-height: 130%;
}

@keyframes rotateRight {
  form {
    transform: rotate(0);
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
  }

  to {
    transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
  }
}

@keyframes rotateLeft {
  form {
    transform: rotate(0);
    -webkit-transform: rotate(0);
    -moz-transform: rotate(0);
    -ms-transform: rotate(0);
    -o-transform: rotate(0);
  }

  to {
    transform: rotate(-360deg);
    -webkit-transform: rotate(-360deg);
    -moz-transform: rotate(-360deg);
    -ms-transform: rotate(-360deg);
    -o-transform: rotate(-360deg);
  }
}

.copyright .copyrights-links {
  position: absolute;
  top: 24px;
  inset-inline-end: clamp(16px, 5.56vw, 80px);
  display: flex;
  gap: 24px;
  font-size: 14px;
  color: var(--text-color);
}

/* header panel */
.panel {
  display: flex;
  padding: 0 clamp(16px, 5.56vw, 80px);
  justify-content: space-between;
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  overflow: hidden;
  min-height: 420px;
}

.panel > .d-grid {
  flex: 1 1 520px;
  min-width: 0;
}

.panel .panel-content {
  display: grid;
  gap: 24px;
  max-width: 600px;
  min-width: 0;
}

.panel h1 {
  font-family: "Almarai";
  color: #FFF;
  font-size: clamp(28px, 2.25vw, 32px);
  font-weight: 800;
  line-height: 140%;
}

.panel p {
  font-family: "Almarai";
  color: #FFF;
  font-size: 14px;
  font-weight: 700;
  line-height: 160%;
}

.bee-stage {
  --bee-rotate-x: 0deg;
  --bee-rotate-y: 0deg;
  position: relative;
  isolation: isolate;
  direction: ltr;
  width: min(46vw, 620px);
  aspect-ratio: 1.52;
  flex: 0 1 620px;
  perspective: 1100px;
  transform-style: preserve-3d;
}

.bee-stage::before {
  content: "";
  position: absolute;
  inset: 14% 12%;
  z-index: -2;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 156, 255, 0.3), rgba(0, 0, 170, 0) 68%);
  filter: blur(10px);
  animation: beeGlow 4.8s ease-in-out infinite;
}

.bee-tilt {
  width: 100%;
  height: 100%;
  transform: rotateX(var(--bee-rotate-x)) rotateY(var(--bee-rotate-y));
  transform-style: preserve-3d;
  transition: transform 220ms ease-out;
  will-change: transform;
}

.bee-float {
  position: absolute;
  inset: 0;
  z-index: 4;
  transform-style: preserve-3d;
  pointer-events: none;
  animation: beeHover 5.2s ease-in-out infinite;
}

.bee-hero-image {
  position: absolute;
  bottom: 0;
  left: 42%;
  display: block;
  width: 58%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 28px rgba(0, 0, 75, 0.28));
  transform: translateX(-50%) translateZ(105px);
}

.bee-layer {
  position: absolute;
  display: block;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  will-change: translate;
}

.bee-dashboard {
  z-index: 1;
  top: 24%;
  right: 2%;
  width: 72%;
  transform: translateZ(0);
  filter: drop-shadow(0 22px 24px rgba(0, 0, 75, 0.18));
  animation: beeLayerDrift 7.2s ease-in-out infinite -1.5s;
}

.bee-success-card {
  z-index: 3;
  bottom: 11%;
  left: 2%;
  width: 30%;
  transform: translateZ(68px) rotate(-1.5deg);
  filter: drop-shadow(0 16px 20px rgba(0, 0, 75, 0.2));
  animation: beeLayerDrift 5.8s ease-in-out infinite -2.6s;
}

.bee-note {
  z-index: 5;
  width: 24%;
  transform: translateZ(125px);
  filter: drop-shadow(0 10px 12px rgba(0, 0, 75, 0.18));
  animation: beeLayerDrift 4.8s ease-in-out infinite;
}

.bee-note-one {
  top: 14%;
  right: 8%;
  animation-delay: -0.8s;
}

.bee-note-two {
  top: 35%;
  left: 3%;
  animation-delay: -2.2s;
}

.bee-orbit {
  position: absolute;
  z-index: -1;
  inset: 11%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  pointer-events: none;
}

.bee-orbit::before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  top: 15%;
  inset-inline-start: 8%;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.9);
}

.bee-orbit-outer {
  animation: beeOrbit 18s linear infinite;
}

.bee-orbit-inner {
  inset: 23%;
  border-style: dashed;
  animation: beeOrbit 13s linear infinite reverse;
}

.bee-cell {
  position: absolute;
  z-index: -1;
  width: 32px;
  aspect-ratio: 1;
  clip-path: polygon(25% 6%, 75% 6%, 100% 50%, 75% 94%, 25% 94%, 0 50%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
  animation: beeCellFloat 4s ease-in-out infinite;
}

.bee-cell-one { top: 9%; inset-inline-start: 12%; }
.bee-cell-two { top: 30%; inset-inline-end: 2%; width: 22px; animation-delay: -1.2s; }
.bee-cell-three { bottom: 12%; inset-inline-start: 4%; width: 25px; animation-delay: -2.4s; }

@keyframes beeHover {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -12px, 0); }
}

@keyframes beeLayerDrift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -7px; }
}

@keyframes beeGlow {
  0%, 100% { opacity: 0.6; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes beeOrbit {
  to { transform: rotate(360deg); }
}

@keyframes beeCellFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50% { transform: translateY(-10px) rotate(8deg); }
}

/* Bee scroll journey */
.bee-flight-guide {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  pointer-events: none;
  overflow: hidden;
}

.bee-flight-guide svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.bee-flight-dots {
  fill: none;
  stroke: rgba(0, 0, 170, 0.2);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 3 11;
  animation: dotsMarch 1.1s linear infinite;
}

@keyframes dotsMarch {
  to { stroke-dashoffset: -14; }
}

.bee-flight-reveal-stroke {
  fill: none;
  stroke: #fff;
  stroke-width: 12;
  stroke-linecap: round;
}

.flight-bee-marker {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  width: 72px;
  height: 42px;
  opacity: 0;
  will-change: transform, opacity;
  transform-origin: center;
  transition: opacity 0.25s ease;
}

.flight-bee-marker.is-visible {
  opacity: 1;
}

.flight-bee-marker.is-hustling .flight-bee-marker-inner {
  animation-duration: 0.42s;
}

.flight-bee-marker-inner {
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 8px rgba(0, 0, 90, 0.16));
  animation: beeMarkerFlap 0.85s ease-in-out infinite;
  transform-origin: 50% 60%;
}

.flight-bee-marker img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes beeMarkerFlap {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  50% { transform: translateY(-3px) rotate(-3deg) scale(1.03); }
}

.flight-bee-trail {
  position: absolute;
  top: 50%;
  inset-inline-start: -6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 200, 0, 0.85), rgba(255, 200, 0, 0));
  transform: translateY(-50%) scale(0.6);
  opacity: 0;
  animation: beeTrailPulse 0.85s ease-out infinite;
}

@keyframes beeTrailPulse {
  0% { opacity: 0.55; transform: translateY(-50%) scale(0.4); }
  70% { opacity: 0; transform: translateY(-50%) scale(1.4); }
  100% { opacity: 0; transform: translateY(-50%) scale(1.4); }
}

main {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 32px;
  overflow-x: clip;
}

main section {
  width: 100%;
  padding-inline: clamp(16px, 5.56vw, 80px);
}

.section-title {
  font-family: "Almarai";
  color: var(--text-color);
  font-size: 20px;
  font-weight: 700;
  line-height: 140%;
  margin: 0;
}

.section-details {
  color: var(--text-color);
  font-family: Almarai;
  font-size: 14px;
  font-weight: 400;
  line-height: 160%;
}

.section-title span {
  color: var(--primary-color);
}

.why-smartbee {
  padding: 16px clamp(16px, 5.56vw, 80px);
}

.why-smartbee .col-lg-6.d-flex {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.why-smartbee .col-lg-6.d-flex > div {
  flex: 1 1 130px;
  min-width: 0;
  padding: 0;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-smartbee .col-lg-6.d-flex > div:hover {
  transform: translateY(-4px);
}

.why-smartbee p {
  color: var(--text-color);
  /* text-align: right; */
  font-size: 14px;
  font-weight: 400;
  line-height: 160%;
}

.why-smartbee .title {
  display: flex;
  align-items: center;
  gap: 8px;
}

.why-smartbee .title p {
  color: var(--primary-color);
  font-weight: 700;
}

.feature-intro {
  max-width: 920px;
  margin-inline: auto;
  padding-block: 24px;
}

.feature-intro .section-title {
  font-size: clamp(22px, 2.2vw, 30px);
}

.feature-showcase {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-inline: 0;
  padding-block: clamp(40px, 5vw, 72px) !important;
  padding-inline: clamp(16px, 5.56vw, 80px) !important;
  overflow: visible;
}

.feature-showcase:nth-of-type(even) {
  background: transparent;
}

.feature-showcase::before {
  content: none;
}

.feature-showcase.is-active {
  border-color: transparent;
  box-shadow: none;
}

.feature-showcase.is-active::before {
  content: none;
}

.feature-showcase > .row {
  align-items: center;
}

.feature {
  display: flex;
  gap: 12px;
  min-width: 0;
}

.feature > div {
  min-width: 0;
}

.feature img {
  width: 24px;
  height: 24px;
  padding-top: 2px;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.feature:hover > img {
  transform: scale(1.15) rotate(-4deg);
}

.feature + .feature {
  padding-top: 0;
  border-top: 0;
}

.feature .feature-title {
  color: var(--text-color);
  font-family: Almarai;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 160%;
  margin: 0;
}

.feature p {
  color: var(--light-text-color);
  /* text-align: right; */
  font-family: Almarai;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
}

.top-img {
  position: absolute;
  top: 30px;
  right: 130px;
  z-index: 2;
}

.bottom-img {
  position: absolute;
  top: 60px;
  right: 180px;
  z-index: 1;
}

.border {
  justify-self: center;
  width: 470px;
  max-width: calc(100vw - 32px);
  height: 2px;
  border-radius: 12px;
  background: var(--secondary-color);
}

.left-img {
  position: absolute;
  left: 90px;
  bottom: 0;
}

.right-img {
  position: absolute;
  right: 90px;
  bottom: 0;
}

.popup-img {
  position: absolute;
  top: 90px;
  right:130px;
}

.popdown-img {
  position: absolute;
  bottom: 40px;
  left: 0;
}

.overlay-img {
  position: absolute;
  z-index: 1;
  bottom: 50%;
  right: 50%;
  transform: translate(50%, 50%);
}

.back-imgs {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  max-width: 100%;
}

/* partners  */
.success-partners {
  padding: 24px clamp(16px, 5.56vw, 80px);
  /* background-image:linear-gradient( #FEFEFE ,#B0B0E5) ; */
  background-color: #FEFEFE;
  text-align: center;
  display: grid;
  gap: 24px;
}

.success-partners .section-details {
  max-width: 650px;
  margin: auto;
}
.partners-swiper {
  overflow: hidden;
  width: 100%; /* must have a defined width */
    min-width: 0; /* flex children don't shrink below content size by default */

}

.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0; /* prevent flex shrink interference */
  width: auto;    /* let Swiper control the width */
}

.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;  /* eliminates inline image spacing gaps */
  object-fit: contain;
}
/* contact section */
.contact-section {
  background: url("../images/contact-bg.png") lightgray 50% / cover no-repeat;
  padding: 32px clamp(16px, 5.56vw, 80px);
  /* margin-bottom: 48px; */
}

.contact-section .section-title {
  color: #FFF;
}

.contact-section .section-details {
  color: #F5F5F5;
  max-width: 632px;
  margin: auto;
}

.contact-form {
  position: relative;
  border-radius: 12px;
  border: 1px solid #FEFEFE;
  background: #FFF;
  box-shadow: 0 4px 12px 0 rgba(223, 223, 223, 0.25);
  padding: 32px 16px 16px;
}

.form-bee-feedback {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 8px 12px;
  border: 1px solid rgba(0, 0, 170, 0.08);
  border-radius: 12px;
  background: linear-gradient(135deg, #fff, rgba(230, 230, 247, 0.5));
  color: var(--text-color);
  font-size: 12px;
  line-height: 1.6;
  transition: border-color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.form-bee-feedback[data-state="active"] {
  border-color: rgba(0, 0, 170, 0.2);
  transform: translateY(-2px);
}

.form-bee-feedback[data-state="error"] {
  border-color: rgba(220, 53, 69, 0.25);
  background: rgba(255, 245, 246, 0.95);
}

.form-bee-feedback[data-state="success"] {
  border-color: rgba(40, 167, 69, 0.24);
  background: rgba(241, 252, 244, 0.95);
}

.form-bee-avatar {
  position: relative;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--secondary-color);
}

.form-bee-avatar img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 88px;
  max-width: none;
  transform: translate(-50%, -50%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.form-bee-feedback[data-state="active"] .form-bee-avatar img {
  transform: translate(-50%, -52%) scale(1.05) rotate(-2deg);
}

.contact-form label {
  transition: color 0.25s ease, transform 0.25s ease;
}

.contact-form .form-field-active > label,
.contact-form .form-field-active .form-label {
  color: var(--primary-color);
  transform: translateY(-1px);
}

.contact-form .form-field-complete > label::after,
.contact-form .form-field-complete > .form-label::after {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-inline-start: 6px;
  border-radius: 50%;
  background: rgba(40, 167, 69, 0.12);
  color: #219653;
  font-size: 11px;
  font-weight: 700;
}

.contact-form .form-control:focus,
.contact-form textarea:focus,
.contact-form .input-group:focus-within {
  border-color: rgba(0, 0, 170, 0.22);
  box-shadow: 0 0 0 4px rgba(0, 0, 170, 0.06);
  outline: none;
}

.contact-form .form-field-error .form-control,
.contact-form .form-field-error .input-group {
  border-color: rgba(220, 53, 69, 0.38);
}

.contact-form.form-attention {
  animation: formAttention 0.42s ease;
}

.contact-form .primary-btn.is-ready {
  box-shadow: 0 8px 20px rgba(0, 0, 170, 0.2);
}

@keyframes formAttention {
  0%, 100% { transform: translateX(0); }
  30% { transform: translateX(5px); }
  60% { transform: translateX(-4px); }
}

.contact-form label {
  color: var(--text-color);
  /* text-align: right; */
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  /* 142.857% */
}

.contact-form input,
.contact-form textarea {
  border-radius: 12px;
  border: 1px solid #F5F5F5;
  background: #F5F5F5;
  padding: 12px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #999;
  font-size: 12px;
  font-weight: 400;
  line-height: 140%;
}

.contact-form .input-group {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  border: 1px solid #F5F5F5;
  background: #F5F5F5;
  padding: 12px;
}

.contact-form .form-select {
  background-color: transparent;
  border: none;
  padding: 0;
  height: fit-content;
  color: #4D4D4D;
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
  max-width: 100px;
  border-left: 0;
  border-inline-end: 1px solid #DFDFDF;
  border-radius: 0;
  outline: none;
  box-shadow: none;
}


.contact-form .form-select option {
  color: #4D4D4D;
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
  text-align: center;
}

.contact-form .input-group input {
  border: none;
  border-radius: 0;
  background-color: transparent;
  padding: 0;
  outline: none;
  height: fit-content;
}

/* .contact-form .input-group input::placeholder {
  text-align: right;
} */

.contact-form .primary-btn {
  width: fit-content;
  padding: 12px 40px;
  margin: auto;
  gap: 8px;
}

.contact-form .primary-btn img {
  transition: filter 0.3s ease;
}

.contact-form .primary-btn:hover img,
.contact-form .primary-btn:focus-visible img {
  filter: brightness(0) saturate(100%) invert(10%) sepia(100%) saturate(7494%) hue-rotate(246deg) brightness(69%) contrast(140%);
}

.contact-info {
  padding: 16px 24px;
  display: grid;
  gap: 16px;
  height: fit-content;
}

.contact-info h3 {
  color: #FFF;
  /* text-align: right; */
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  line-height: 160%;
}

.contact-info h4 {
  color: #FFF;
  /* text-align: right; */
  font-size: 16px;
  font-weight: 700;
  line-height: 160%;
  margin: 0;
}

.contact-info p {
  color: var(--secondary-color);
  text-align: start;
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
}

.contact-info img {
  width: 24px;
  height: 24px;
}

.map-item ,
.copy-item {
  cursor: pointer;
  transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.map-item:hover ,
.copy-item:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}


/* contact page */
.contact-page section {
  padding: 32px clamp(16px, 5.56vw, 80px);
  margin-bottom: 48px;
}

.contact-page .section-title {
  color: var(--text-color);
}

.contact-page .section-details {
  color: var(--text-color);
  max-width: 632px;
  margin: auto;
}

.contact-page .contact-info h3,
.contact-page .contact-info h4,
.contact-page .contact-info p {
  color: var(--primary-color);
}

/* request-page */
.request-page {
  margin: 32px auto 48px;
}

.request-page .section-details {
  max-width: 632px;
  margin: auto;
}

.request-page .contact-form {
  max-width: 794px;
  margin: auto;
}

/* questions page */
.question-page {
  margin: 32px clamp(0px, 3.33vw, 48px);
}

.question-page .about-img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
}

.question-page .section-details {
  max-width: 632px;
}

.question-page .question-mark-right {
  right: 0;
}

.question-page .question-mark-left {
  left: 0;
}

.feature .num {
  border-radius: 0 16px;
  background: var(--primary-color);
  padding: 8px;
  color: #FFF;
  font-size: 18px;
  line-height: 160%;
  font-weight: 400;
  height: fit-content;
}

.questions {
  display: grid;
  gap: 12px;
  width: 100%;
  max-width: 720px;
  height: fit-content;
}

.question-card {
  display: flex;
  padding: 16px;
  justify-content: space-between;
  align-items: flex-start;
  border-radius: 12px;
  border: 1px solid #F8F8F8;
  background: #FFF;
  box-shadow: 0 4px 12px 0 rgba(223, 223, 223, 0.25);
  width: 100%;
}

.question-card .content {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.question-card .question-title {
  color: var(--text-color);
  font-size: 14px;
  font-weight: 700;
  line-height: 160%;
  margin: 0;
}

.question-card .answer {
  display: none;
  color: #666;
  text-align: start;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.question-card.active .answer {
  display: block;
}


/* .question-card .icon {
  transition: transform 0.3s ease;
} */

.question-card .toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  height: fit-content;
}

.question-card .icon {
  transition:
    transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.question-card.active .icon {
  transform: rotate(45deg) scale(1.1);
}

/* features page */
.feature-head {
  text-align: center;
  padding: 24px clamp(16px, 5.56vw, 80px) 50px;
  display: grid;
  gap: 32px;
  background-color: var(--secondary-color);
  /* margin-top: 32px; */
}

.feature-head .section-details {
  max-width: 800px;
  margin: auto;
}

.feature-head .images {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 42px 0;
  min-width: 0;
  min-height: clamp(180px, 40vw, 461px);
}

.feature-head .images > img:not(.overlay-img) {
  width: min(35%, 528px);
  object-fit: contain;
}

.feature-head .images > .overlay-img {
  width: min(52%, 644px);
  max-width: none;
  object-fit: contain;
}

.feature-tabs > .d-flex {
  flex-wrap: wrap;
}

.feature-tabs .tab {
  border-radius: 12px;
  border: 1px solid var(--primary-color);
  background: var(--secondary-color);
  padding: 12px;
  color: var(--text-color);
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 140%;
  transition: all 0.3s ease;
}

.feature-tabs .tab:hover,
.tab.active {
  background: var(--primary-color);
  color: #FFF;
  transform: scale(1.05);
}

.feature-card {
  border: 1px solid #FCFCFC;
  background-color: #fff;
  display: flex;
  align-items: center;
  gap: clamp(24px, 5.56vw, 80px);
  box-shadow: 0 4px 12px 0 #DFDFDF40;
  padding: 16px;
}

.feature-card .content {
  display: grid;
  gap: 16px;
  width: auto;
  flex: 1 1 52%;
  min-width: 0;
}

.feature-card > img {
  flex: 0 1 44%;
  max-width: 44%;
  max-height: 360px;
  object-fit: contain;
}

.feature-card .feature-title {
  color: var(--text-color);
  font-family: "Almarai";
  font-size: 18px;
  font-weight: 700;
  line-height: 160%;
  margin: 0;
}

.feature-card .content p {
  color: #666666;
  font-weight: 400;
}

/* animation */
.animate {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}

.animate-left {
  transform: translateX(60px);
}

.animate-right {
  transform: translateX(-60px);
}

.animate-left.show,
.animate-right.show {
  transform: translateX(0);
}

.feature-card {
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.01);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.feature-card img {
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

/* blog page */
.swiper {
  width: 100%;
  padding-bottom: 40px; /* space for dots */
}

.swiper-slide {
  height: auto; /* important */
}

.blog-swiper-shell {
  position: relative;
  min-width: 0;
  padding-inline: 64px;
}

.blog-swiper-shell .swiper {
  min-width: 0;
}

.article-card {
  background-color: #FFF;
  border: 1px solid #FEFEFE;
  border-radius: 12px;
  box-shadow: 0 4px 12px 0 #DFDFDF40;
  overflow: hidden;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px 0 #DFDFDF66;
}

.article-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.article-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.article-card:hover img {
  transform: scale(1.06);
}

.article-card .card-body {
  padding: 16px;
  display: grid;
  gap: 16px;
  align-content: start;
  flex: 1;
}

.article-card .card-body .card-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 160%;
  color: var(--text-color);
}

.article-card .card-body p {
  font-weight: 700;
  font-size: 14px;
  line-height: 160%;
  color: #666666;
}

/* remove default arrow icons */
.custom-arrow svg {
  display: none;
}

/* base style */
.custom-arrow {
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  background-color: var(--primary-color);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  padding: 12px;
  top: 50% !important;
  bottom: auto !important;
  margin-top: 0 !important;
  transform: translateY(-50%);
  z-index: 2;
}

/* your custom SVG */
.blog-swiper-shell .swiper-button-next {
  background-image: url('../images/elements\ \(1\).svg');
  left: 0 !important;
  right: auto !important;
}

.blog-swiper-shell .swiper-button-prev {
  background-image: url('../images/elements.svg');
  right: 0 !important;
  left: auto !important;
}

.swiper-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

/* default dots */
.swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: var(--primary-color);
  opacity: 40%;
  border-radius: 50%;
  transition: all 0.3s ease;
  margin: 0 !important;
}

/* active pill */
.swiper-pagination-bullet-active {
  width: 14px;
  height: 6px;
  border-radius: 999px;
  opacity: 1;
}

/* article page */
.article {
  display: grid;
  gap: 24px;
  width: 100%;
  height: fit-content;
  min-width: 0;
}

.article .article-img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  object-position: center;
  border-radius: 12px;
}

.article .article-title {
  font-weight: 700;
  font-size: 16px;
  line-height: 160%;
  color: #000000;
  margin-bottom: 0;
  font-family: "Almarai";
}

.article .dotted-list {
  list-style:disc;
  flex-wrap: wrap;
  padding-inline-start: 20px;
}

.article .point {
  font-weight: 700;
  font-size: 15px;
  line-height: 160%;
}

.article p {
  font-weight: 400;
  font-size: 15px;
  color: #666666;
  line-height: 160%;
}

.related-articles {
  width: min(400px, 100%);
  min-width: 0;
  display: grid;
  gap: 16px;
  height: fit-content;
}

@media (max-width: 1199.98px) {
  .question-page .about-img {
    max-height: 420px;
  }

  .question-page > section.d-flex {
    gap: 32px;
  }
}

@media (max-width: 991.98px) {
  .navbar {
    min-height: 72px;
    padding-block: 12px !important;
    flex-wrap: wrap;
  }

  .navbar-collapse {
    order: 3;
    flex-basis: 100%;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .navbar-nav {
    align-items: stretch;
    gap: 0;
    padding-block: 8px;
  }

  .nav-link {
    padding-block: 10px;
  }

  .panel {
    height: auto;
    min-height: 336px;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding-block: 32px;
  }

  .panel > .d-grid {
    flex: none;
    width: 100%;
  }

  .bee-stage {
    width: min(100%, 560px);
    align-self: center;
    flex-basis: auto;
  }

  main section.py-4 .row > [class*="col-md-6"] {
    width: 100%;
  }

  main section.py-4 .row > .position-relative,
  .question-page .row > .position-relative {
    min-height: 320px;
    margin-top: 24px;
  }

  .top-img,
  .bottom-img,
  .popup-img,
  .popdown-img,
  .left-img,
  .right-img {
    max-width: 52%;
  }

  .top-img,
  .popup-img {
    inset-inline-start: 12%;
    inset-inline-end: auto;
  }

  .bottom-img {
    inset-inline-start: 28%;
    inset-inline-end: auto;
  }

  .left-img {
    inset-inline-start: 8%;
    left: auto;
  }

  .right-img {
    inset-inline-end: 8%;
    right: auto;
  }

  .footer .footer-col {
    width: calc((100% - 24px) / 2);
  }

  .feature-head .images {
    margin-block: 24px;
  }

  .feature-head .images > .overlay-img {
    width: min(60%, 520px);
  }

  .feature-head .images > img:not(.overlay-img) {
    width: 36%;
  }

  .feature-card {
    flex-direction: column;
    align-items: stretch;
  }

  .feature-card > img {
    order: -1;
    flex-basis: auto;
    max-width: 100%;
    width: auto;
    max-height: 300px;
  }

  .feature-card .content {
    order: 0;
    width: 100%;
  }

  .question-page .row > [class*="col-md-"] {
    width: 100%;
  }

  .question-page > section.d-flex {
    flex-direction: column;
    align-items: center;
  }

  .question-page > section.d-flex > .position-relative {
    width: min(100%, 360px);
  }

  .question-page .question-mark-left {
    left: -16px;
  }

  .question-page .question-mark-right {
    right: -16px;
  }

  .article + .related-articles {
    width: 100%;
  }

  .article-section-layout,
  .article-page-layout {
    flex-direction: column;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .related-articles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .related-articles > .section-title {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767.98px) {
  main {
    gap: 24px;
  }

  .flight-bee-marker {
    width: 32px;
    height: 20px;
  }

  .panel h1 {
    font-size: clamp(24px, 7vw, 30px);
  }

  .panel > .d-grid > .d-flex {
    flex-wrap: wrap;
  }

  .panel > .d-grid > .d-flex > a {
    flex: 1 1 150px;
  }

  .why-smartbee .row {
    gap: 24px;
  }

  .contact-section,
  .contact-page section {
    margin-bottom: 24px;
  }

  .contact-section .row.mt-5,
  .contact-page .row.mt-5 {
    margin-top: 24px !important;
  }

  .contact-info {
    margin-top: 16px;
    padding-inline: 0;
  }

  .contact-info .d-flex.gap-3 {
    flex-wrap: wrap;
  }

  .feature-head {
    margin-top: 16px;
    gap: 16px;
  }

  .feature-tabs .tab {
    flex: 1 1 190px;
  }

  .custom-arrow {
    width: 36px;
    height: 36px;
    padding: 10px;
    top: auto !important;
    bottom: 0 !important;
    margin-top: 0 !important;
    transform: none;
  }

  .blog-swiper-shell {
    padding-inline: 0;
  }

  .blog-swiper-shell .swiper {
    padding-bottom: 64px;
  }

  .blog-swiper-shell .swiper-button-next {
    left: 0 !important;
    right: auto !important;
  }

  .blog-swiper-shell .swiper-button-prev {
    right: 0 !important;
    left: auto !important;
  }

  .article-meta,
  .meta-row {
    flex-wrap: wrap;
    gap: 12px !important;
  }
}

@media (min-width: 610px) and (max-width: 991.98px) {
  .payroll-visual {
    min-height: clamp(330px, 48vw, 420px) !important;
    align-items: center !important;
    justify-content: center;
  }

  .payroll-visual .payroll-main-image {
    width: min(76%, 523px);
    max-width: none;
    margin: auto !important;
  }

  .payroll-visual .popup-img {
    top: 10%;
    right: auto;
    left: 49%;
    width: min(32%, 203px);
    max-width: none;
  }

  .payroll-visual .popdown-img {
    right: auto;
    bottom: 4%;
    left: calc(50% - min(37%, 235px));
    width: min(39%, 248px);
    max-width: none;
  }
}

@media (max-width: 575.98px) {
  .navbar {
    gap: 8px;
  }

  .navbar-brand {
    margin: 0;
  }

  .navbar-brand img {
    width: 92px;
  }

  .nav-btns {
    gap: 8px !important;
  }

  .nav-btns .white-btn {
    padding: 6px 8px;
    font-size: 11px;
    white-space: nowrap;
  }

  #langToggle img {
    width: 24px;
  }

  .panel {
    padding-block: 24px 32px;
  }

  .bee-stage {
    width: 100%;
    max-width: 420px;
    margin-inline: auto;
  }

  .bee-orbit {
    opacity: 0.65;
  }

  .bee-note-two {
    left: 8%;
  }

  .flight-bee-marker {
    width: 30px;
    height: 18px;
  }

  .flight-bee-marker img {
    width: 100%;
  }

  .bee-flight-dots {
    stroke-width: 2;
    stroke-dasharray: 3 9;
  }

  .feature-intro {
    padding-block: 12px;
  }

  .feature-showcase {
    margin-inline: 0;
    padding-block: 32px !important;
  }

  .panel .panel-content,
  .panel > .d-grid {
    gap: 20px !important;
  }

  .why-smartbee .col-lg-6.d-flex > div {
    min-height: 0;
  }

  .why-smartbee .col-lg-6.d-flex {
    grid-template-columns: minmax(0, 1fr);
  }

  .feature .feature-title {
    font-size: 16px;
  }

  .feature p,
  .contact-info p {
    font-size: 14px;
  }

  main section.py-4 .row > .position-relative,
  .question-page .row > .position-relative {
    min-height: 250px;
  }

  .contact-form {
    padding: 20px 12px 12px;
  }

  .contact-form .primary-btn {
    width: 100%;
  }

  .feature-head .images {
    margin-block: 12px;
  }

  .feature-head .overlay-img {
    width: 66%;
    max-width: none;
  }

  .feature-head .images > img:not(.overlay-img) {
    width: 38%;
  }

  .question-page {
    margin-block: 24px;
  }

  .question-page > section.d-flex > .position-relative {
    width: min(88%, 300px);
  }

  .question-card {
    padding: 12px;
    gap: 12px;
  }

  .footer {
    padding-block: 24px;
  }

  .footer .footer-col {
    width: 100%;
  }

  .copyright {
    height: auto;
    min-height: 132px;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding-block: 72px 16px;
  }

  .copyright .copyrights-links {
    position: static;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 20px;
  }

  .related-articles {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .bee-tilt {
    transform: none !important;
  }

  .bee-hero-image {
    transform: translateX(-50%) translateZ(0) !important;
  }

  .flight-bee-marker {
    display: none;
  }

}
