html {
  scroll-behavior: smooth;
}

/* theme ============================================================== */
/* ==================================================================== */

:root {
  --red-color: #d33b41;
  --black-color: #07000d;
  --white-color: #ffffff;
  --purple-color: #6d2cf9;
  --orange-color: #f63;
}

/* fonts ============================================================== */
/* ==================================================================== */
.font-Ubuntu {
  font-family: "Ubuntu", serif;
}

.font-DmSans {
  font-family: "DM Sans", sans-serif;
}

/* stylesheet Started ============================================================== */
/* ==================================================================== */

body {
  font-family: "DM Sans", sans-serif;
  scroll-behavior: smooth;
  overscroll-behavior: inherit;
  color: var(--white-color);
  background-color: var(--black-color);
  position: relative;
}

/* Global cursor-follow glow (subtle background, no cursor changes) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 320ms cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: 0;
  background:
    radial-gradient(650px 480px at var(--bgx, 50%) var(--bgy, 50%),
      rgba(109, 44, 249, 0.281),
      rgba(109, 44, 249, 0.06) 35%,
      rgba(7, 0, 13, 0) 72%);
  filter: blur(14px);
}

body.global-glow-on::before {
  opacity: 1;
}

#smooth-wrapper {
  position: relative;
  z-index: 1;
}

/* site buttons ============================================================== */
/* ==================================================================== */

.normal-btn {
  align-items: center;
  justify-content: center;
  font-weight: 500;
  padding: 14px 26px;
  letter-spacing: 0.015em;
  font-size: 16px;
  line-height: 20px;
  font-family: "Ubuntu", serif;
  transition: 0.4s ease-in-out;
}

.normal-btn.border:not(.bg-gradient-button) {
  background: transparent;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.25s ease, color 0.25s ease;
}

.normal-btn.border:not(.bg-gradient-button):hover {
  border-color: var(--purple-color);
  color: var(--white-color);
}

.normal-btn.border:not(.bg-gradient-button)::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--purple-color);
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.normal-btn.border:not(.bg-gradient-button):hover::before {
  transform: translateY(0%);
}

.bg-gradient-button {
  background: none;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Don't let the gradient button styles override Tailwind positioning utilities */
.bg-gradient-button.fixed {
  position: fixed;
}

.bg-gradient-button.absolute {
  position: absolute;
}

.bg-gradient-button.sticky {
  position: sticky;
}

.bg-gradient-button:hover {
  color: var(--white-color);
}

.bg-gradient-button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(266deg, var(--orange-color) -1.18%, var(--purple-color) 96.14%);
  background-size: 150% 100%;
  background-position: 0 0;
}

/* Slide-up overlay (same gradient, feels like a panel) */
.bg-gradient-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(266deg, var(--orange-color) -1.18%, var(--purple-color) 96.14%);
  background-size: 150% 100%;
  background-position: 100% 0;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.bg-gradient-button:hover::before {
  transform: translateY(0%);
}

/* heading text animation ============================================================== */
/* ==================================================================== */
.text-transition {
  color: rgb(182, 182, 182, 0.2);
  background: linear-gradient(to right, #fff, #fff) no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  background-size: 0%;
  transition: background-size cubic-bezier(0.1, 0.5, 0.5, 1) 0.5s;
}

.text-gradient {
  background: linear-gradient(266deg, #f63 -1.18%, #6d2cf9 96.14%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.number-tag {
  background: linear-gradient(206deg, #f63 70.18%, #6d2cf9 96.14%);
  background-clip: text;
  -webkit-text-fill-color: transparent;
}


/* header styles ============================================================== */
/* ==================================================================== */

.menu-item {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  transition: color 0.3s ease;
  color: #141c14;
  text-decoration: none;
}

.menu-item a {
  color: #fff;
  font-size: 18px;
}

/* Mobile menu overrides (glassy light panel) */
#mobileMenu .menu-item a {
  color: #ffffff;
}

/* Frosted glass mobile menu */
.mobile-menu-glass {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0.02)),
    rgba(7, 0, 13, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .mobile-menu-glass {
    -webkit-backdrop-filter: blur(28px) saturate(1.25);
    backdrop-filter: blur(28px) saturate(1.25);
  }
}

/* Keep the close (X) icon visible against the light glass menu */
.menu-open #mobileMenuBtn {
  color: #ffffff;
}

.menu-open #mobileMenuBtn {
  background: rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

/* Hero section styles ============================================================== */
/* ==================================================================== */

.hero-wrapper {
  position: relative;
  height: 830px;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  will-change: transform, opacity;
}

.hero-tech-tilt {
  will-change: transform;
  transition: transform 260ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  object-fit: cover;
}

.hero-text-content {
  position: relative;
  z-index: 1;
}

/* Hero team tooltip: slide up and stay while hovering a member */
#hero-team-tooltip {
  transform: translate(-50%, 18px);
  transition: transform 300ms cubic-bezier(0.2, 0.7, 0.2, 1), opacity 300ms cubic-bezier(0.2, 0.7, 0.2, 1);
  will-change: transform, opacity;
  pointer-events: auto;
}

#hero-team-tooltip.hero-team-tooltip-active {
  transform: translate(-50%, 0px);
}

/* Mobile hero team tabs */
.hero-team-tab {
  flex: 0 0 auto;
  backdrop-filter: blur(10px);
  overflow: hidden;
  transition: border-color 220ms ease, background-color 220ms ease, transform 220ms ease;
}

.hero-team-tab[aria-selected="true"] {
  border-color: rgba(246, 99, 51, 0.85);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.hero-team-tab:active {
  transform: translateY(0px) scale(0.98);
}

.hero-team-tab:focus-visible {
  outline: 2px solid rgba(246, 99, 51, 0.75);
  outline-offset: 3px;
}


/* Smooth scale effect for selected tab */
.hero-team-tab[aria-selected="true"] {
  transform: scale(1.1);
}

/* Smoothly animate the height and filter of the vertical tabs */
.hero-team-tab {
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

/* Hide vertical scroll if you have many team members */
#hero-team-mobile-tabs::-webkit-scrollbar {
  display: none;
}

/* Ensure smooth transitions for the JS animations */
#hero-team-tab-name,
#hero-team-tab-role,
#hero-team-tab-bio,
#hero-team-tab-image {
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.hero-team-member img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* remove old hover scale */
.hero-team-member:hover img {
  transform: none;
}

/* ✅ only scale ACTIVE one */
.hero-team-member.active img {
  transform: scale(1.03);
}


.hero-team-member.grayscale-all>img {
  filter: grayscale(100%) brightness(0.7);
}


/* About section styles ============================================================== */
/* ==================================================================== */

.about-img-container {
  width: 100%;
  position: relative;
  z-index: 1;
}

.about-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  /* Adjust based on your image height preference */
  object-fit: fill;
  background: #111;
  /* YOUR CUSTOM CLIP PATH */
  clip-path: polygon(62.202% 0.146%,
      5.041% 0.146%,
      5.041% 0.146%,
      4.249% 0.204%,
      3.499% 0.37%,
      2.799% 0.636%,
      2.16% 0.992%,
      1.591% 1.431%,
      1.104% 1.942%,
      0.707% 2.517%,
      0.411% 3.146%,
      0.226% 3.821%,
      0.163% 4.532%,
      0.163% 69.99%,
      0.163% 69.99%,
      0.226% 70.702%,
      0.411% 71.377%,
      0.707% 72.006%,
      1.104% 72.581%,
      1.591% 73.092%,
      2.16% 73.53%,
      2.799% 73.887%,
      3.499% 74.153%,
      4.249% 74.319%,
      5.041% 74.376%,
      27.342% 74.376%,
      27.342% 74.376%,
      28.133% 74.434%,
      28.883% 74.6%,
      29.583% 74.866%,
      30.223% 75.223%,
      30.791% 75.661%,
      31.279% 76.172%,
      31.675% 76.747%,
      31.971% 77.376%,
      32.156% 78.051%,
      32.22% 78.762%,
      32.22% 95.468%,
      32.22% 95.468%,
      32.284% 96.179%,
      32.468% 96.854%,
      32.764% 97.483%,
      33.161% 98.058%,
      33.648% 98.569%,
      34.217% 99.008%,
      34.856% 99.364%,
      35.556% 99.63%,
      36.307% 99.796%,
      37.098% 99.854%,
      94.959% 99.854%,
      94.959% 99.854%,
      95.751% 99.796%,
      96.501% 99.63%,
      97.201% 99.364%,
      97.84% 99.008%,
      98.409% 98.569%,
      98.896% 98.058%,
      99.293% 97.483%,
      99.589% 96.854%,
      99.774% 96.179%,
      99.837% 95.468%,
      99.837% 41.647%,
      99.837% 41.647%,
      99.774% 40.936%,
      99.589% 40.261%,
      99.293% 39.632%,
      98.896% 39.057%,
      98.409% 38.546%,
      97.84% 38.108%,
      97.201% 37.751%,
      96.501% 37.485%,
      95.751% 37.319%,
      94.959% 37.261%,
      71.958% 37.261%,
      71.958% 37.261%,
      71.166% 37.204%,
      70.416% 37.038%,
      69.716% 36.772%,
      69.077% 36.415%,
      68.508% 35.977%,
      68.021% 35.466%,
      67.624% 34.891%,
      67.328% 34.262%,
      67.144% 33.587%,
      67.08% 32.875%,
      67.08% 4.532%,
      67.08% 4.532%,
      67.016% 3.821%,
      66.831% 3.146%,
      66.535% 2.517%,
      66.138% 1.942%,
      65.651% 1.431%,
      65.083% 0.992%,
      64.443% 0.636%,
      63.743% 0.37%,
      62.993% 0.204%,
      62.202% 0.146%);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-img:hover img {
  transform: scale(1.05);
}

.approach-item {
  transition: background-color 0.3s ease;
}

.approach-item:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.approach-highlights .approach-highlight.is-active {
  color: var(--orange-color);
}


/*  Services section styles ============================================================== */
/* ================================================================= */

.services-wrap {
  overflow: hidden;
  z-index: 99999;
  position: relative;
  border-radius: 35px;
  backdrop-filter: blur(40px);
}

.services-wrap:before {
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  content: "";
  height: 100%;
  position: absolute;
  backdrop-filter: blur(100px);
  background-image: url("../assests/images/service-bg1.webp");
  background-size: cover;
}

/* Generic cursor-follow glow (single color, no shadows/waves) */
.cursor-glow-follow {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.cursor-glow-follow::before {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
  background:
    radial-gradient(340px 260px at var(--gx, 50%) var(--gy, 50%),
      rgba(109, 44, 249, 0.32),
      rgba(109, 44, 249, 0.12) 38%,
      rgba(7, 0, 13, 0) 70%);
  filter: blur(12px);
}

.cursor-glow-follow.cursor-glow-warm::before {
  background:
    radial-gradient(340px 260px at var(--gx, 50%) var(--gy, 50%),
      rgba(255, 102, 51, 0.34),
      rgba(211, 59, 65, 0.14) 38%,
      rgba(7, 0, 13, 0) 70%);
}

.cursor-glow-follow.cursor-glow-active::before {
  opacity: 1;
}

.cursor-glow-follow>* {
  position: relative;
  z-index: 1;
}

/* Footer/contact social icons: warm red glow on hover */
.footer-social-icons a {
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
  will-change: transform, box-shadow;
}

.footer-social-icons a:hover {
  transform: translateY(-1px);
  background-color: rgba(255, 102, 51, 0.12);
  box-shadow:
    0 0 0 1px rgba(255, 102, 51, 0.25) inset,
    0 0 28px rgba(211, 59, 65, 0.35),
    0 0 44px rgba(255, 102, 51, 0.18);
}

.footer-social-icons a:hover i {
  filter:
    drop-shadow(0 0 10px rgba(211, 59, 65, 0.65)) drop-shadow(0 0 22px rgba(255, 102, 51, 0.35));
}

/* Service cards: keep solid hover bg, add cursor-following glow on top */
.service-box {
  isolation: isolate;
  cursor: pointer;
}

.service-box::before {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
  z-index: 1;
  background:
    radial-gradient(360px 260px at var(--sx, 50%) var(--sy, 50%),
      rgba(109, 44, 249, 0.26),
      rgba(109, 44, 249, 0.10) 35%,
      rgba(7, 0, 13, 0) 72%);
  filter: blur(10px);
  will-change: opacity, transform;
}

.service-box.service-glow-active::before {
  opacity: 1;
}

.service-box.service-glow-active::before {
  transform: scale(1);
}

.service-box.service-glow-active {
  box-shadow: none;
}

/* =================== section gradient breaks ============================ */
/* ================================================================= */

.section-break-gradient {
  height: 175px;
  width: 100%;
  position: absolute;
  z-index: 9999;
  top: -10px;
  left: 0;
  background-image: linear-gradient(#07000c, #07000c00);
}

.section-break-gradient-bottom {
  height: 75px;
  width: 100%;
  position: absolute;
  z-index: 999;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(#07000c00, #07000c);
}


/* =================== difference section styles ============================ */
/* ================================================================= */

.comparison-card {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  height: 100%;
}

.card-traditional {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  position: relative;
}

.card-traditional::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(7, 0, 13, 0.5));
  pointer-events: none;
}

.card-traditional .comparison-item::before {
  content: "×";
  color: #444;
  margin-right: 12px;
  font-weight: bold;
}


.card-vopro {
  background-image: url("../assests/images/hero-bg.webp");
  background-position: right;
  background-size: cover;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-vopro:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(109, 44, 249, 0.3);
}

.card-vopro .comparison-item::before {
  content: "✓";
  color: #ff6633;
  margin-right: 12px;
  font-weight: bold;
}

.difference-card-stage {
  position: relative;
  width: 100%;
}

/* Difference mobile scroller: hide scrollbar/track but keep scrolling */
#difference-scroll {
  -ms-overflow-style: none; /* IE/Edge legacy */
  scrollbar-width: none; /* Firefox */
}

#difference-scroll::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none; /* Chrome/Safari */
}

/* =================== Major Organisations interactive glow ============================ */
.major-orgs-wrap {
  isolation: isolate;
  overflow: hidden;
  transition: none;
}

.major-orgs-wrap::before {
  content: "";
  position: absolute;
  inset: -2px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 0;
  background:
    radial-gradient(420px 320px at var(--mx, 50%) var(--my, 50%),
      rgba(246, 99, 51, 0.42),
      rgba(246, 99, 51, 0.14) 35%,
      rgba(7, 0, 13, 0) 70%);
  filter: blur(10px);
}

.major-orgs-wrap.major-orgs-glow-active::before {
  opacity: 1;
}

.major-orgs-wrap.major-orgs-glow-active {
  border-color: rgba(255, 255, 255, 0.10);
}

.major-orgs-wrap>* {
  position: relative;
  z-index: 1;
}




/* glowing custom cursor =================================================================== */
.glow-pointer {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  pointer-events: none;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.95) 0%, rgba(109, 44, 249, 0.9) 80%);
  box-shadow: 0 0 25px rgba(109, 44, 249, 0.8), inset 0 0 8px rgba(255, 255, 255, 0.8);
  transform: translate(-50%, -50%) scale(0.4);
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 999999;
}


/* ===== RESPONSIVE STYLES ===== */

@media (min-width: 320px) and (max-width: 1023px) {
  .normal-btn {
    padding: 11px 24px;
    font-size: 12px;
    width: fit-content;
  }

  .menu-item {
    margin: 20px 0;
  }

  .menu-item a {
    font-size: 22px;
    text-transform: uppercase;
  }
}

@media (min-width: 1024px) and (max-width: 1536px) {
  .normal-btn {
    padding: 12px 24px;
    width: fit-content;
    font-size: 14px;
  }

  .menu-item {
    margin-bottom: 0;
  }

  .menu-item a {
    font-size: 14px;
  }

  /* .about-img {
    max-width: 450px;
    height: 100%;
  }

  .about-img img {
    height: 100%;
  } */
}
