.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: #0A6DB1;
}

.swiper-slide-thumb-active {
  border: 2px solid #0A6DB1;
}

.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);
  }
}

/* --- Services Mega Menu --- */
header .group:hover .group-hover\:rotate-180 {
  transform: rotate(180deg);
}

/* Transition fix */
header .group:hover>div.absolute {
  opacity: 1;
  visibility: visible;
}

/* Mobile responsive tweaks */
@media (max-width: 1024px) {
  header .group .absolute {
    position: static !important;
    width: 100% !important;
    box-shadow: none !important;
  }

  header .group .absolute>div {
    grid-template-columns: 1fr 1fr !important;
    padding: 20px !important;
  }
}

@media (max-width: 640px) {
  header .group .absolute>div {
    grid-template-columns: 1fr !important;
  }
}

.w-700px {
  width: 750px;
}


/* HEADER */
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  top: 0;
  z-index: 1000;
}

.logo {
  padding: 5px 10px;
  clip-path: polygon(0 0, 100% 0%, 73% 100%, 0% 100%);
  --tw-bg-opacity: 1;
  width: 340px;
}

.logo img {
  height: 100px;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
  transition: all 0.3s ease;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: #d8effc;
}

/* arrow */
.nav-item>button {
  background: none;
  border: none;
  font-weight: 600;
  color: #fff;
  font-family: inherit;
  cursor: pointer;
  align-items: center;
  gap: 5px;
  font-size: 16px;
  display: flex;
}

.nav-item>button:hover {
  color: #d8effc;
}

.nav-item img {
  width: 10px;
  transition: transform 0.3s;
}

button.services-btn img {
  filter: brightness(200);
}

.nav-item:hover img {
  transform: rotate(180deg);
}

.nav-item {
  height: 110px;
  align-items: center;
  display: flex;
}

/* MEGA MENU */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #e1eff9;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  display: none;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 30px;
  white-space: nowrap;
}

.nav-item:hover .mega-menu {
  display: flex;
}

.mega-column {
  width: 25%;
}

.mega-column ul {
  padding-left: 15px;
}

.mega-column h4 {
  font-weight: 600;
  color: #0a6eb1;
  margin-bottom: 10px;
  border-bottom: 2px solid #0a6eb1;
  display: inline-block;
  font-size: 15px;
}

.mega-column ul li {
  list-style: disc;
  color: #0a6eb1;
  font-weight: bold;
}

.mega-column ul {
  padding-left: 15px;
}

.mega-column ul {
  list-style: none;
  margin-top: 10px;
}

.mega-column ul li a {
  color: #333;
  text-decoration: none;
  display: block;
  padding: 5px 0;
  transition: 0.2s;
}

.mega-column ul li a:hover {
  color: #0a6eb1;
  padding-left: 5px;
}

@media (max-width: 992px) {
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    padding: 20px;
    border-top: 1px solid #ddd;
  }
}

/* CONTACT */
.contact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 20px;
}

.contact img {
  width: 50px;
}

.contact p {
  margin: 0;
  line-height: 1.2;
  color: white;
}

.contact a {
  font-weight: 700;
  text-decoration: none;
  color: white;
  ;
}

.contact a:hover {
  color: white;
  ;
}

/* MOBILE STYLES */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #111;
  border-radius: 2px;
}

@media (max-width:992px) {
  img.max-w-fit.rounded-\[20px\].overflow-hidden.min-h-\[300px\] {
    display: none;
  }

  .absolute.w-full.h-fit.max-w-\[630px\].right-0.bg-white.rounded-\[20px\].overflow-hidden.lg\:p-\[60px\].p-7.shadow-primary {
    position: relative;
  }

  nav {
    display: none;
    flex-direction: column;
    background: #fffaf0;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    padding: 20px;
    border-top: 1px solid #ddd;
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
    margin-right: 20px;
  }

  .mega-menu {
    display: none !important;
    position: absolute;
    grid-template-columns: 1fr;
    padding: 15px;
    box-shadow: none;
    gap: 20px;
    top: 170px;
  }

  .nav-item {
    height: auto;
  }

  .nav-item.open .mega-menu {
    display: block !important;
  }

  .nav-item img {
    transform: rotate(0deg) !important;
    transition: transform 0.3s;
  }

  .nav-item.open img {
    transform: rotate(180deg) !important;
  }

  .mega-menu {
    width: 100%;
    height: 300px;
    overflow: scroll;
  }

  .logo img {
    height: 70px;
  }

  header .contact {
    display: none;
  }
}

.ml-auto {
  margin-left: auto;
}

.mr-auto {
  margin-right: auto;
}

.fs-50px {
  font-size: 50px;
}

.counterbox {
  position: relative;
  background: black;
  border-radius: 20px;
  width: 100%;
  padding: 10px;
  text-align: center;
  min-height: 160px;
}

.counterbox p {
  color: white;
}

.w-30 {
  width: 30%;
  min-width: 250px;
}

.case-studies .swiper-slide .group img {
  height: 240px;
  width: 100%;
}

.case-studies .swiper-slide .group h1 {
  font-size: 15px;
}

.fs-14px {
  font-size: 14px;
  line-height: 1.6;
}



.portfolio-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 20px;
}

.portfolio-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 600;
  color: #1d3557;
  margin-bottom: 30px;
}

/* Tabs */
.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-button {
  padding: 12px 30px;
  border: none;
  background: #e9ecef;
  color: #333;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease;
}

.tab-button.active {
  background: linear-gradient(135deg, #0a6eb1, #1d3557);
  color: #fff;
  box-shadow: 0 4px 12px rgba(29, 53, 87, 0.2);
}

/* Grid Layout */
.tab-content {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 25px;
}

/* Image Card */
.portfolio-card {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  background: #fff;
  transition: transform 0.3s ease;
  border: 2px dashed #0a6eb1;
}

.portfolio-card:hover {
  transform: translateY(-4px);
}

.portfolio-card img {
  width: 100%;
  height: auto;
  transition: transform 8s ease;
  /* Slow scroll effect */
}

.portfolio-card:hover img {
  transform: translateY(calc(-100% + 400px));
}

/* Responsive Adjustments */
@media (max-width: 600px) {
  .text-4xl {
    font-size: 2rem !IMPORTANT;
  }

  .p-5 {
    padding: 1rem 0 !important;
  }

  .max-w-\[520px\] {
    max-width: 280px;
  }

  .p-10 {
    padding: 1.5rem;
  }

  .text-2xl {
    font-size: 1rem;
  }

  .portfolio-card {
    height: 300px;
  }

  .portfolio-card:hover img {
    transform: translateY(calc(-100% + 300px));
  }
}

input,
textarea {
  width: 100%;
  margin-bottom: 15px !important;
}

.custom-contact {
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  padding: 30px;
  border-radius: 20px;
  background: lightcoral;

/* Brand-blue overrides: remap orange accents to blue variants for cohesive branding */
.text-sb-orange {
  color: #0A6DB1 !important;
}

.bg-sb-orange {
  background-color: #0A6DB1 !important;
}

.bg-sb-orange\/10 {
  background-color: rgba(10,109,177,0.10) !important;
}

.hover\:bg-sb-orange:hover {
  background-color: #0A6DB1 !important;
}

.bg-btn {
  background: linear-gradient(135deg, #0A6DB1 0%, #4F9CE6 100%) !important;
  color: #fff !important;
  border: 0 !important;
  box-shadow: 0 6px 18px rgba(15, 89, 148, 0.18);
}

.bg-btn:hover {
  filter: brightness(1.03);
}

.text-white\/80:hover {
  color: #D2E8FF !important;
}

/* Ensure mega menu accents match blue theme */
.mega-column h4 {
  color: #0A6DB1;
  border-bottom-color: #0A6DB1;
}
  border: 1px solid #ed4813;
}

.herty {
  background: linear-gradient(270deg, #ff6ec7, #9a91f9, #00e0ff, #ffb347);
  background-size: 800% 800%;
  animation: gradientShift 15s ease infinite;
  position: relative;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.herosection::before {
  content: "";
  display: block;
  position: absolute;
  left: 0px;
  right: 0px;
  bottom: -1px;
  width: 100%;
  clip-path: polygon(0px 80%, 100% 10%, 100% 100%, 0px 100%);
  background: white;
  transition: 0.25s ease-in-out;
  z-index: 1;
}

.position-relative {
  position: relative;
}

.text-4xl {
  font-size: 4rem;
  line-height: normal;
}

.partnerSlider img {
  max-height: 80px;
  margin: auto;
  text-align: center;
}

/* Card Layout */
.service-card {
  border-radius: 20px;
  padding: 30px;
  color: #222;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
  margin-bottom: 20px;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}


/* Unique Backgrounds */
.bg-1 {
  background: #fff6b5 !important;
}

/* Light yellow */
.bg-2 {
  background: #dcd6ff !important;
}

/* Light violet */
.bg-3 {
  background: #b2f0ff !important;
}

/* Light cyan */
.bg-4 {
  background: #ffd6ec !important;
}

/* Light pink */
.bg-5 {
  background: #d6ffe1 !important;
}

/* Light green */
.bg-6 {
  background: #ffe0d6 !important;
}

/* Light pink */
.about-card i {
  background-color: rgb(255 250 240) !important;
  height: 80px;
  width: 80px;
  text-align: center;
  line-height: 1.5;
  border-radius: 20px;
  border: 1px solid;
}

.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: white;
  position: relative;
  /* Needed for absolute positioning inside */
  z-index: 1;
  /* Ensure card content is above pseudo-elements */
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(10, 110, 177, 0.15);
  /* Use a theme color for shadow */
}

/* Optional: Subtle background pattern/overlay on hover */
/* .feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 110, 177, 0.05); Blue tint
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
  border-radius: inherit; /* Match card rounding
}
.feature-card:hover::after {
  opacity: 1;
} */

/* Ensure text stays above background elements */
.feature-card h3,
.feature-card p {
  position: relative;
  z-index: 2;
}

/* --- Main Navbar Top-Level Links Only --- */
/* Uses '>' to target only direct children, ignoring nested mega-menu links */
#nav-menu>a,
#nav-menu .services-btn {
  color: #ffffff !important;
  font-weight: 600;
}

/* --- Mega Menu Links Fix --- */
/* Explicitly set these back to a dark color so they are visible on the light background */
.mega-menu a {
  color: #1A2429 !important;
  /* Dark hex from your theme */
  font-weight: 400;
  /* Standard weight for sub-links */
}

/* Optional: Add a hover effect for mega menu links for better UX */
.mega-menu a:hover {
  color: #0269d0 !important;
  /* Your brand orange on hover */
}

/* --- Force Services dropdown arrow to be white --- */
#nav-menu .services-btn img {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
  /* Ensures it's not faded */
}

/* Who We Help Section */
.who-we-help-section {
  background-color: #F9F9F9;
}

.industry-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid transparent;
}

.industry-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(10, 110, 177, 0.15);
  border-color: rgba(10, 110, 177, 0.1);
}

.industry-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: rgba(236, 72, 20, 0.1);
  /* sb-orange with opacity */
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 25px;
  transition: all 0.3s ease;
}

.industry-card:hover .industry-icon {
  background-color: #EC4814;
  /* sb-orange */
  transform: scale(1.1);
}

.industry-icon svg {
  width: 32px;
  height: 32px;
  color: #EC4814;
  transition: all 0.3s ease;
}

.industry-card:hover .industry-icon svg {
  color: #fff;
}

.industry-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1A2429;
  /* text-heading */
  margin-bottom: 15px;
}

.industry-card p {
  color: #5B5B5B;
  /* text-paragraph */
  line-height: 1.6;
  font-size: 1rem;
}

/* Swiper Pagination Customization */
.swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
  width: 10px;
  height: 10px;
  margin: 0 5px !important;
}

.swiper-pagination-bullet-active {
  background: #EC4814;
  width: 30px;
  border-radius: 5px;
  transition: width 0.3s ease;
}

.swiper-pagination {
  position: relative !important;
  margin-top: 20px;
}

/* Swiper Pagination Customization */
.swiper-pagination-bullet {
  background: #ccc;
  opacity: 1;
  width: 10px;
  height: 10px;
  margin: 0 5px !important;
}

.swiper-pagination-bullet-active {
  background: #EC4814;
  width: 30px;
  border-radius: 5px;
  transition: width 0.3s ease;
}

.swiper-pagination {
  position: relative !important;
  margin-top: 20px;
}