.border-btn-wrapper {
  transform: translate(0%, 0%);
}

.fm-big-circle {
  animation: fRotate 50s linear infinite;
}

.fm-icon-block img {
  animation: fRotate-reverse 50s linear infinite;
}
.fm-icon-block:first-child {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}
.fm-icon-block:nth-child(2) {
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
}
.fm-icon-block:nth-child(3) {
  bottom: 0;
  right: 50%;
  transform: translate(50%, 50%);
}
.fm-icon-block:nth-child(4) {
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
}

.fm-icon-block:nth-child(5) {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
}
.fm-icon-block:nth-child(6) {
  top: 50%;
  right: 0;
  transform: translate(50%, -50%);
}
.fm-icon-block:nth-child(7) {
  bottom: 0;
  right: 50%;
  transform: translate(50%, 50%);
}
.fm-icon-block:nth-child(8) {
  top: 50%;
  left: 0%;
  transform: translate(-50%, -50%);
}

@keyframes fRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes fRotate-reverse {
  from {
    transform: rotate(360deg);
  }
  to {
    transform: rotate(0deg);
  }
}

.play-btn::after {
  animation: rotatePlay 3s linear infinite;
}

.play-btn::before {
  animation: rotatePlayRev 3s linear infinite;
}

@keyframes rotatePlay {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(359deg);
  }
}

@keyframes rotatePlayRev {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(-359deg);
  }
}

.video-ratio {
  aspect-ratio: 134 / 63;
}

.v-modal {
  animation: v-modal 0.5s linear;
  transform-origin: left;
}

@keyframes v-modal {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

.active-faq .plus {
  display: none !important;
}

.active-faq .minuse {
  display: block !important;
}

/* before width increase anim  */
.width-increase::before {
  animation: w-increase 1s linear;
  transform-origin: left;
}

@keyframes w-increase {
  0% {
    transform: scaleX(0);
  }
  100% {
    transform: scaleX(1);
  }
}

.screen-height {
  height: calc(100vh - 70px);
}

canvas {
  background-color: transparent !important; /* Default background color */
}

/* parallax style  */
#parallax-mouse {
  position: relative !important;
  width: 100%;
  height: 100%;
}
#parallax-mouse .layer:nth-child(1) {
  position: relative !important;
  left: -36% !important;
  top: -40% !important;
}
#parallax-mouse .layer:nth-child(2) {
  position: relative !important;
  left: 51% !important;
  top: -45% !important;
}
#parallax-mouse .layer:nth-child(3) {
  position: relative !important;
  left: -48% !important;
}
#parallax-mouse .layer:nth-child(4) {
  position: relative !important;
  top: 42% !important;
  left: -49% !important;
}

#parallax-mouse .layer:nth-child(5) {
  position: relative !important;
  left: 14% !important;
  top: 42% !important;
}
#parallax-mouse .layer:nth-child(6) {
  position: relative !important;
  top: 36% !important;
  left: 33% !important;
}

/* home three  */
.h3-nav-logo {
  clip-path: polygon(0 0, 100% 0%, 73% 100%, 0% 100%);
}

.bg-cover-bottom {
  background-repeat: no-repeat;
  object-fit: cover;
  background-size: cover !important;
  background-position: bottom !important;
}

/* custom scrollbar  */

/* width */
.custom-scrollbar::-webkit-scrollbar {
  width: 10px;
  height: 5px;
}

/* Track */
.custom-scrollbar::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 10px;
}

/* Handle */
.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #f9c8b8;
  opacity: 0.8;
  border-radius: 10px;
}

/* Handle on hover */
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #ec4814;
}
.swiper-slide-thumb-active {
  border: 2px solid #ec4814;
}
.open-anim {
  transform-origin: top left;
  animation: slider-open 200ms linear;
}

@keyframes slider-open {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

.option-open {
  transform-origin: top left;
  animation: option-open 300ms linear;
}

@keyframes option-open {
  0% {
    transform: scaleY(0);
  }
  100% {
    transform: scaleY(1);
  }
}

.bg-\[\#FFFAF0\] {
  --tw-bg-opacity: 1;
  background-color: rgb(255 250 240 / var(--tw-bg-opacity)) !important;
}

.moving-anim-x {
  transform-origin: top left;
  animation: xMoving-anim 3000ms linear infinite alternate;
}

@keyframes xMoving-anim {
  0% {
    transform: translateX(-10px);
  }
  100% {
    transform: translateX(10px);
  }
}

.moving-anim-y {
  transform-origin: top left;
  animation: yMoving-anim 2000ms linear infinite alternate;
}

@keyframes yMoving-anim {
  0% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(10px);
  }
}

/* Accessible focus styles for CTA buttons (ensure visible keyboard focus) */
.bg-btn:focus, .border-btn:focus,
.bg-btn:focus-visible, .border-btn:focus-visible {
  outline: 3px solid rgba(236,72,20,0.95);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(236,72,20,0.12);
}

#home .hero-secondary-cta {
  border-color: #fff;
  background-color: transparent;
  color: #fff;
}

#home .hero-secondary-cta::before,
#home .hero-secondary-cta::after {
  display: none;
}

#home .hero-secondary-cta:hover {
  background-color: #fff;
  color: #0e191e;
}

#home .hero-secondary-cta:focus-visible {
  outline-color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.35);
}

/* -----------------------------
   Service cards visual updates
   Scoped to the about/services grid on the homepage
   ----------------------------- */
section[style*="about-bg.png"] .container.grid > div,
section[style*="about-bg.png"] .container .grid > div {
  background: #F5F8FB; /* unified light background */
  padding: 2rem; /* visually consistent spacing */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(8,18,30,0.06);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform .18s cubic-bezier(.2,.9,.2,1), box-shadow .18s ease;
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

/* subtle lift on hover */
section[style*="about-bg.png"] .container.grid > div:hover,
section[style*="about-bg.png"] .container .grid > div:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 40px rgba(8,18,30,0.08);
}

/* reduce icon size ~12% (matching w-32) */
section[style*="about-bg.png"] .container.grid > div img,
section[style*="about-bg.png"] .container .grid > div img {
  width: 8rem; /* 128px */
  height: 8rem;
  object-fit: contain;
}

/* Accent for the AI card (keeps the current orange intent but softer) */
section[style*="about-bg.png"] .container.grid > div.bg-sb-orange,
section[style*="about-bg.png"] .container .grid > div.bg-sb-orange {
  background: linear-gradient(90deg, #FFE3D3 0%, #FFD5C2 100%);
  color: #10202a;
}

/* stronger cloud icon glow (target by filename to avoid changing other icons) */
section[style*="about-bg.png"] .container.grid > div img[src*="CloudAndMicrosoft365Solutions"],
section[style*="about-bg.png"] .container .grid > div img[src*="CloudAndMicrosoft365Solutions"] {
  filter: drop-shadow(0 10px 30px rgba(255,160,60,0.12));
  transform-origin: center;
  transition: transform .18s ease, filter .18s ease;
}
section[style*="about-bg.png"] .container.grid > div img[src*="CloudAndMicrosoft365Solutions"]:hover,
section[style*="about-bg.png"] .container .grid > div img[src*="CloudAndMicrosoft365Solutions"]:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 16px 40px rgba(255,160,60,0.18));
}

/* Title & description typography */
section[style*="about-bg.png"] .container.grid > div h1,
section[style*="about-bg.png"] .container .grid > div h1 {
  font-weight: 600;
}
section[style*="about-bg.png"] .container.grid > div p,
section[style*="about-bg.png"] .container .grid > div p {
  font-weight: 400;
  margin-top: .6rem;
  margin-bottom: 1.25rem;
}

/* Mobile adjustments */
@media (max-width: 640px) {
  section[style*="about-bg.png"] .container.grid > div,
  section[style*="about-bg.png"] .container .grid > div {
    padding: 1.25rem;
    gap: 1rem;
    flex-direction: column;
    text-align: center;
  }
  section[style*="about-bg.png"] .container.grid > div img,
  section[style*="about-bg.png"] .container .grid > div img {
    width: 6.5rem; /* ~104px */
    height: 6.5rem;
  }
}

/* small helper: ensure AI card text remains readable on the accent */
section[style*="about-bg.png"] .container.grid > div.bg-sb-orange h1,
section[style*="about-bg.png"] .container .grid > div.bg-sb-orange h1 {
  color: #10202a !important;
}

/* Backwards-compatible class-based selectors so the styles apply even if
   the section background or markup changes. */
.service-card {
  background: #F5F8FB;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(8,18,30,0.06);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform .18s cubic-bezier(.2,.9,.2,1), box-shadow .18s ease;
  display: flex;
  gap: calc(1.25rem - 1px); /* reduced by 1px to tighten icon-title spacing */
  align-items: stretch;
}
.service-card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 14px 40px rgba(8,18,30,0.08);
}
.service-card .service-icon {
  width: 8rem;
  height: 8rem;
  object-fit: contain;
  align-self: center;
  flex-shrink: 0;
}
.service-card .service-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-width: 0;
}
.service-card .service-content .service-link {
  margin-top: auto;
}

.service-card .service-icon[src*="CloudAndMicrosoft365Solutions"] {
  filter: drop-shadow(0 10px 30px rgba(255,160,60,0.12));
  transition: transform .18s ease, filter .18s ease;
}
.service-card .service-icon[src*="CloudAndMicrosoft365Solutions"]:hover {
  transform: scale(1.06);
  filter: drop-shadow(0 16px 40px rgba(255,160,60,0.18));
}

/* Service Packages section (#it-plans) — scoped to avoid side effects. */
#it-plans .sp-intro {
  max-width: 760px;
  margin: 18px auto 0;
  text-align: center;
  color: #5b6b7f;
  font-size: 18px;
  line-height: 1.7;
}

#it-plans .sp-card {
  height: 100%;
}

#it-plans .sp-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  color: #ec4814;
  background: rgba(236, 72, 20, 0.1);
  border: 1px solid rgba(236, 72, 20, 0.28);
  transition: transform 220ms ease, background-color 220ms ease;
}

#it-plans .sp-card:hover .sp-icon {
  transform: scale(1.06);
  background: rgba(236, 72, 20, 0.18);
}

#it-plans .sp-title {
  margin-top: 20px;
  font-size: 26px;
  line-height: 1.25;
  font-weight: 900;
}

#it-plans .sp-subtitle {
  margin-top: 10px;
  text-align: center;
  color: #5b6b7f;
  font-size: 16px;
  line-height: 1.6;
}

#it-plans .sp-label {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(236, 72, 20, 0.1);
  color: #ec4814;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

#it-plans .sp-list {
  margin-top: 26px;
  padding: 0;
  list-style: none;
}

#it-plans .sp-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #5b6b7f;
  font-size: 16px;
  line-height: 1.6;
}

#it-plans .sp-list li + li {
  margin-top: 12px;
}

#it-plans .sp-list li svg {
  flex: 0 0 auto;
  margin-top: 4px;
}

#it-plans .sp-cta {
  margin-top: auto;
  padding-top: 30px;
}

#it-plans .sp-note {
  max-width: 900px;
  margin: 34px auto 0;
  text-align: center;
  color: #5b6b7f;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 767px) {
  #it-plans .sp-intro {
    font-size: 16px;
  }

  #it-plans .sp-title {
    font-size: 23px;
  }
}

/* Keep the pricing labels on a shared baseline when titles wrap differently. */
@media (min-width: 1024px) {
  #it-plans .sp-title {
    min-height: 65px;
  }
}

/* ==========================================================================
   Technologies We Work With section
   ========================================================================== */
.tech-stack {
  background: linear-gradient(180deg, #FFF8EF 0%, #FFFDF9 100%);
  margin-top: 70px;
  padding: 72px 0;
  overflow-x: hidden;
}

.tech-stack__head {
  max-width: 720px;
}

.tech-stack__title {
  font-weight: 900;
  font-size: 30px;
  line-height: 1.22;
  color: #041A33;
  margin: 0;
}

.tech-stack__intro {
  margin: 16px 0 0;
  max-width: 640px;
  font-size: 17px;
  line-height: 1.7;
  color: #4B5C70;
}

.tech-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-top: 38px;
}

.tech-card {
  background: #FFFFFF;
  border: 1px solid #E3EAF5;
  border-radius: 16px;
  padding: 26px 24px 28px;
  min-width: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.tech-card:hover {
  border-color: #FFD5AE;
  box-shadow: 0 8px 20px rgba(4, 26, 51, 0.07);
}

.tech-card__head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tech-card__icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 12px;
  background: #EAF1FF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-card__icon--orange {
  background: #FFF4E8;
}

.tech-card__icon svg {
  width: 28px;
  height: 28px;
}

.tech-card__title {
  margin: 0;
  font-size: 19px;
  line-height: 1.3;
  font-weight: 700;
  color: #041A33;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.tech-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 8px 14px;
  border: 1px solid #E3EAF5;
  border-radius: 10px;
  background: #FBFCFE;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 600;
  color: #1F3350;
}

.tech-item::before {
  content: "";
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #EC4814;
}

@media (min-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
    margin-top: 50px;
  }
}

@media (min-width: 1024px) {
  .tech-stack {
    margin-top: 120px;
    padding: 104px 0;
  }

  .tech-stack__title {
    font-size: 42px;
  }
}