:root {
  --main-bg: #ffffff;
  --heading-color: #0f0d1d;
  --white: #ffffff;
  --black: #000000;
  --shadow: 0px 4px 25px 0px #0000000f;
  --kumbh: "Inter", sans-serif;
  --tech-purple: #6f00ff;
  --tech-blue: #0066ff;
  --tech-pink: #bc3863;
  --tech-gray: #1a1a2e;
}

:root[data-theme="dark"] {
  --main-bg: #151327;
  --heading-color: #fff;
}

html {
  width: 100%;
  box-sizing: border-box;
}

body {
  font-family: var(--kumbh);
  line-height: 1.6;
  color: var(--white);
  width: 100%;
  min-height: 100vh; /* ← Use min-height instead of height */
  margin: 0; /* Good practice */
  padding: 0;
  box-sizing: border-box;
  overflow-x: hidden; /* Keeps horizontal scroll away */
  /* Remove overflow-y or set to visible/auto if needed */
}
/* cursor css start */

#main {
  height: 100%;
  width: 100%;
  background-color: #000000;
  /* cursor: none; */
}

/* #cursor {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  position: fixed;
  z-index: 9999;
  pointer-events: none;
} */

/* cursor css end */
.container {
  max-width: 1200px;
  padding: 0 20px;
}

/* .main-bg {
  background: url(../tfs_img/bg/4239964_90595.jpg) no-repeat fixed center;
  position: relative;
  width: 100%;
  background-size: cover;
} */
.main-bg {
  background: #ffffff;
  position: relative;
  width: 100%;
  background-size: cover;
}

.header-area {
  position: relative;
  background-color: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header-area::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 30%;
  background: linear-gradient(45deg, #6f00ff, #bc3863);
  height: 100%;
  content: "";
  z-index: -1;
  clip-path: polygon(0 0, 100% 0%, 90% 100%, 0% 100%);
}

@media (max-width: 1199px) {
  .header-area::after {
    width: 40%;
  }
}

@media (max-width: 991px) {
  .header-area::after {
    width: 50%;
  }
}

@media (max-width: 767px) {
  .header-area::after {
    width: 60%;
  }
}

@media (max-width: 575px) {
  .header-area::after {
    width: 70%;
  }
}

.header-two-area {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 999;
  background: #ffffff;
  position: sticky;
}

.header-two-area.menu-fixed {
  background: var(--white);
  border-bottom: none;
}

/* test  */
:root {
  --kumbh: "Inter", sans-serif;
  --white: #ffffff;
  --black: #000000;
  --tech-purple: #6f00ff;
  --tech-blue: #0066ff;
  --tech-pink: #bc3863;
  --tech-gray: #1a1a2e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  cursor: pointer;
}

body {
  font-family: var(--kumbh);
  line-height: 1.6;
  color: var(--white);
}

#prod-megamenu,
#serv-megamenu {
  display: none; /* Initially hidden */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  position: absolute;
  top: 100%; /* Adjust depending on nav position */
  left: 0;
  z-index: 999;
}

.services-section {
  position: relative;
}

.services-section {
  animation: fadeInUp 0.5s ease-out;
}

.category-item {
  transition: all 0.3s ease;
}

.category-item.active .flex {
  background: linear-gradient(
    135deg,
    rgba(111, 0, 255, 0.3),
    rgba(0, 102, 255, 0.3)
  );
  border-color: rgba(111, 0, 255, 0.5);
  box-shadow: 0 8px 32px rgba(111, 0, 255, 0.2);
}

.service-content {
  display: none;
  animation: fadeInUp 0.5s ease-out;
}

.service-content.active {
  display: block;
}

.feature-card {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transition: left 0.8s;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-card:hover::before {
  left: 100%;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  .services-section .grid {
    grid-template-columns: 1fr;
  }

  .categories-section {
    margin-bottom: 2rem;
  }

  .content-area {
    grid-column: span 1;
  }
}

@media (max-width: 767px) {
  .services-section {
    padding: 1.5rem;
  }

  .feature-card {
    padding: 1.5rem;
  }
}

/* countup css  */

:root {
  --white: #ffffff;
  --tech-purple: #6f00ff;
  --tech-blue: #0066ff;
}

.stats-section {
  animation: fadeInUp 1s ease-out 0.5s both;
}

.counter {
  font-family: "Poppins", sans-serif;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 575px) {
  .stats-section {
    padding: 1.5rem;
  }

  .stats-section .grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
}

.header-area {
  position: relative;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 80%;
  max-width: 300px;
  background: #0f0f23;
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  z-index: 60;
  padding: 1rem;
  overflow-y: auto;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  background: #1a1a3a;
  padding: 0;
  margin-top: 0.5rem;
  border-radius: 0.5rem;
}

.mobile-submenu.open {
  max-height: 1000px;
  padding: 1rem;
}

.mobile-submenu-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-submenu-item h4 {
  margin-top: 0.5rem;
}

.submenu-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--white);
  font-weight: 600;
  padding: 0.5rem 0;
}

.submenu-toggle i {
  transition: transform 0.3s ease;
}

.submenu-toggle.open i {
  transform: rotate(180deg);
}

@media (max-width: 1279px) {
  .main-menu,
  .contact-info {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 768px) {
  .mobile-menu {
    width: 90%;
  }

  .header__container {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .toplogo img {
    max-width: 180px;
  }
}

@media (max-width: 360px), (max-aspect-ratio: 1/2) {
  .mobile-menu {
    width: 95%;
    max-width: 280px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-section.active {
  animation: fadeInUp 0.5s ease-out;
}

.stats-section {
  animation: fadeInUp 1s ease-out 0.6s both;
}

/* ---------------------------------------------------
            projects sections
--------------------------------------------------  */
.section-head {
  position: relative;
}

.project_layer {
  position: sticky;
  top: 18vh;
  height: 70vh;
  width: 100%;
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .project_layer {
    position: sticky;
    top: 15vh;
    height: 20vh;
    width: 100%;
    overflow: hidden;
  }
}

.project_layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  /* border: 2px solid #ffffff; */
  border-radius: 10px;
}
