
/*for header css*/

/* spinner code  */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {

  height: 100%;
   /*font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;*/
   font-family: "Playfair Display", serif;

  overflow-x: hidden; 
}
body::-webkit-scrollbar {
  width: 6px; 
 z-index: 2;
}

/* Track (background) */
body::-webkit-scrollbar-track {
  background: #121215; 
}

/* Thumb (scroll handle) */
body::-webkit-scrollbar-thumb {
background: linear-gradient(90deg, #38bdf8, #6366f1);
  border-radius: 10px;
}

/* Thumb hover effect */
body::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #c471f5, #7b2ff7);
}

/* === Loader Wrapper === */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(11, 11, 31, 0.3); /* Semi-transparent */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  width: 100%;
  height: 100vh;
  z-index: 9999;
}

/* From Uiverse.io by mrhyddenn */
.spinner {
  font-size: 28px;
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
}

.spinner.center {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}

.spinner .spinner-blade {
  position: absolute;
  left: 0.4629em;
  bottom: 0;
  width: 0.074em;
  height: 0.2777em;
  border-radius: 0.0555em;
  background-color: transparent;
  transform-origin: center -0.2222em;
  animation: spinner-fade9234 1s infinite linear;
}

.spinner .spinner-blade:nth-child(1) {
  animation-delay: 0s;
  transform: rotate(0deg);
}
.spinner .spinner-blade:nth-child(2) {
  animation-delay: 0.083s;
  transform: rotate(30deg);
}
.spinner .spinner-blade:nth-child(3) {
  animation-delay: 0.166s;
  transform: rotate(60deg);
}
.spinner .spinner-blade:nth-child(4) {
  animation-delay: 0.249s;
  transform: rotate(90deg);
}
.spinner .spinner-blade:nth-child(5) {
  animation-delay: 0.332s;
  transform: rotate(120deg);
}
.spinner .spinner-blade:nth-child(6) {
  animation-delay: 0.415s;
  transform: rotate(150deg);
}
.spinner .spinner-blade:nth-child(7) {
  animation-delay: 0.498s;
  transform: rotate(180deg);
}
.spinner .spinner-blade:nth-child(8) {
  animation-delay: 0.581s;
  transform: rotate(210deg);
}
.spinner .spinner-blade:nth-child(9) {
  animation-delay: 0.664s;
  transform: rotate(240deg);
}
.spinner .spinner-blade:nth-child(10) {
  animation-delay: 0.747s;
  transform: rotate(270deg);
}
.spinner .spinner-blade:nth-child(11) {
  animation-delay: 0.83s;
  transform: rotate(300deg);
}
.spinner .spinner-blade:nth-child(12) {
  animation-delay: 0.913s;
  transform: rotate(330deg);
}

@keyframes spinner-fade9234 {
  0% {
    background-color: #69717d;
  }
  100% {
    background-color: transparent;
  }
}

/* Red underline on hover (excluding .cta-button) */
nav a:not(.cta-button),
.dropdown-toggle {
  font-size: 17px;
  position: relative;
  color: white;
}

nav a:not(.cta-button)::after,
.dropdown-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
   background: rgba(255, 255, 255, 0.534);
  transition: width 0.3s ease;
}


nav a:not(.cta-button):hover::after,
.dropdown-toggle:hover::after {
  width: 100%;
  margin-top: 20px;
}

/* Dropdown content underline */
.dropdown-content a {
  position: relative;
}

.dropdown-content a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 0%;
  height: 2px;
  background-color: red;
  transition: width 0.3s ease;
}

.dropdown-content a:hover::after {
  width: 100%;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 11px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  z-index: 1000;
  background: transparent;
  color: white;
  border-radius: 0 0 20px 20px;
}

header.scrolled {
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(11px);
  /* color: white; */
  box-shadow: 0 2px 10px black;
}

.logo img{
  font-size: 1.5rem;
  font-weight: bold;
  width: 150px;
  height: 50px;
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

/* Align button to right only on desktop */
.desktop-button {
  display: inline-block;
  color: white;
  border: 2px solid #007bff;
}

.desktop-button:hover {
  background: #0056b3;
  border-color: #0056b3;
}

nav {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: inherit;
  font-weight: 500;
  transition: color 0.3s ease;
}

/* CTA Button */
.cta-button {
  padding: 10px 20px;
  color: white !important;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #0056b3;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}

.arrow {
  font-size: 0.6rem;
  transition: transform 0.3s ease;
}

.dropdown-content {
  position: absolute;
  top: 139%;
  left: 0;
  background: rgba(0, 0, 0, 0.4);
  color: black;
  min-width: 180px;
  border-radius: 5px;
  overflow: hidden;
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1001;
  display: flex;
  flex-direction: column;
}

.dropdown:hover .dropdown-content {
  transform: scaleY(1);
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(11px);
}

.dropdown:hover .arrow {
  transform: rotate(180deg);
}

.dropdown-content a {
  padding: 10px 15px;
  color: black;
  text-decoration: none;
}

.dropdown-content a:hover {
  background-color: #424242ff;
  /* color: #007BFF; */
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: currentColor;
  border-radius: 3px;
}

.desktop-button {
  display: inline-block;
  color: white;
  border: 2px solid #007bff;
  border-radius: 20px;
}

.desktop-button:hover {
  background: #0056b3;
  border-color: #0056b3;
}

.mobile-button {
  display: none;
}

@media (max-width: 1024px) {
  /* Responsive behavior for tablets + phones */

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: black;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 30px;
    display: none;
    gap: 20px;
    animation: slideDown 0.3s ease forwards;
  }

  nav.active {
    display: flex;
    /*background: rgba(0, 0, 0, 1);*/
      background: rgba(0, 0, 0, 0.7); /* required */
    /*backdrop-filter: blur(10px);*/
    -webkit-backdrop-filter: blur(10px); /* Safari */
    /* backdrop-filter: blur(11px); */
    color: white;
  }

  .dropdown-content {
    position: relative;
    /* background: transparent; */
    box-shadow: none;
    transform: scaleY(1);
    display: none;
  }

  .dropdown.open .dropdown-content {
    display: flex;
    color: white;
  }

  .dropdown.open .arrow {
    transform: rotate(180deg);
  }

  .hamburger {
    display: flex;
  }

  .cta-button.mobile-button {
    display: block;
    width: 100%;
    text-align: center;
    color: white;
    border: 2px solid #007bff;
    border-radius: 20px;
  }

  .cta-button.desktop-button {
    display: none;
  }

  .nav-center {
    justify-content: flex-start;
    width: 100%;
  }
}

/* Mobile Styles */
@media (max-width: 768px) {

  .hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 25px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: currentColor;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Transform hamburger into X when active */
.hamburger.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
  .desktop-button {
    display: none;
  }

  .mobile-button {
    display: block;
    width: 100%;
    text-align: center;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: black;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 30px;
    display: none;
    gap: 20px;
    animation: slideDown 0.3s ease forwards;
  }

  nav.active {
    display: flex;
  }

  .dropdown-content {
    position: relative;
    /* background: transparent; */
    box-shadow: none;
    transform: scaleY(1);
    display: none;
  }

  .dropdown.open .dropdown-content {
    display: flex;
  }

  .dropdown.open .arrow {
    transform: rotate(180deg);
  }

  .hamburger {
    display: flex;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }
}

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

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

/* for otehr devices */

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {

  .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 30px; /* slightly bigger than mobile */
  }

  .hamburger span {
    width: 30px;
    height: 3px;
    background: currentColor;
    border-radius: 3px;
    transition: all 0.3s ease;
  }

  /* Transform hamburger into X when active */
  .hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .desktop-button {
    display: none;
  }

  .mobile-button {
    display: block;
    width: 100%;
    text-align: center;
  }

  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    color: black;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px 40px; /* slightly bigger padding for tablets */
    display: none;
    gap: 20px;
    animation: slideDownTablet 0.3s ease forwards;
  }

  nav.active {
    display: flex;
  }

  .dropdown-content {
    position: relative;
    box-shadow: none;
    transform: scaleY(1);
    display: none;
  }

  .dropdown.open .dropdown-content {
    display: flex;
  }

  .dropdown.open .arrow {
    transform: rotate(180deg);
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }
}



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

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
























/*end of header css */












/* background animation  */

.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh; /* Use viewport height instead of 100% */
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(
      ellipse at center,
      #1a1a2e 0%,
      #16213e 35%,
      #0f0f0f 100%
    ),
    linear-gradient(45deg, #000 25%, transparent 25%),
    linear-gradient(-45deg, #000 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #000 75%),
    linear-gradient(-45deg, transparent 75%, #000 75%);
  background-size: 100% 100%, 30px 30px, 30px 30px, 30px 30px, 30px 30px;
  background-position: 0 0, 0 0, 0 15px, 15px -15px, -15px 0;
  -webkit-overflow-scrolling: touch; /* Improves scrolling on iOS */
  transform: translateZ(0); /* Hardware acceleration */
  backface-visibility: hidden; /* Helps with rendering */
}

.floating-shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.15);
  animation: float3d 8s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.3),
    inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.floating-shape:nth-child(1) {
  width: 120px;
  height: 120px;
  top: 15%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 12s;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(147, 51, 234, 0.4),
    rgba(59, 130, 246, 0.2)
  );
}

.floating-shape:nth-child(2) {
  width: 80px;
  height: 80px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
  animation-duration: 10s;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(16, 185, 129, 0.4),
    rgba(59, 130, 246, 0.2)
  );
}

.floating-shape:nth-child(3) {
  width: 150px;
  height: 150px;
  top: 35%;
  left: 70%;
  animation-delay: 4s;
  animation-duration: 15s;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(245, 158, 11, 0.4),
    rgba(239, 68, 68, 0.2)
  );
}

.floating-shape:nth-child(4) {
  width: 90px;
  height: 90px;
  bottom: 25%;
  left: 25%;
  animation-delay: 1s;
  animation-duration: 11s;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(168, 85, 247, 0.4),
    rgba(59, 130, 246, 0.2)
  );
}

.floating-shape:nth-child(5) {
  width: 110px;
  height: 110px;
  top: 5%;
  right: 35%;
  animation-delay: 3s;
  animation-duration: 13s;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(34, 197, 94, 0.4),
    rgba(59, 130, 246, 0.2)
  );
}

.particle {
  position: absolute;
  border-radius: 50%;
  animation: twinkleSpace 4s ease-in-out infinite;
}

.particle:nth-child(6) {
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.9);
  top: 15%;
  left: 25%;
  animation-delay: 0s;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

.particle:nth-child(7) {
  width: 2px;
  height: 2px;
  background: rgba(147, 51, 234, 0.9);
  top: 70%;
  left: 80%;
  animation-delay: 1s;
  box-shadow: 0 0 8px rgba(147, 51, 234, 0.6);
}

.particle:nth-child(8) {
  width: 4px;
  height: 4px;
  background: rgba(59, 130, 246, 0.9);
  top: 30%;
  right: 10%;
  animation-delay: 2s;
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.7);
}

.particle:nth-child(9) {
  width: 2px;
  height: 2px;
  background: rgba(16, 185, 129, 0.9);
  bottom: 40%;
  left: 60%;
  animation-delay: 0.5s;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
}

.particle:nth-child(10) {
  width: 3px;
  height: 3px;
  background: rgba(245, 158, 11, 0.9);
  top: 80%;
  left: 40%;
  animation-delay: 1.5s;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.7);
}

@keyframes float3d {
  0%,
  100% {
    transform: translateY(0) translateX(0) rotateY(0) rotateX(0);
  }

  25% {
    transform: translateY(-30px) translateX(10px) rotateY(90deg) rotateX(15deg);
  }

  50% {
    transform: translateY(-15px) translateX(-20px) rotateY(180deg)
      rotateX(-10deg);
  }

  75% {
    transform: translateY(-40px) translateX(15px) rotateY(270deg) rotateX(20deg);
  }
}

@keyframes twinkleSpace {
  0%,
  100% {
    opacity: 0.3;
    transform: scale(1) rotate(0);
  }

  25% {
    opacity: 1;
    transform: scale(1.5) rotate(90deg);
  }

  50% {
    opacity: 0.6;
    transform: scale(0.8) rotate(180deg);
  }

  75% {
    opacity: 1;
    transform: scale(1.3) rotate(270deg);
  }
}

@keyframes cosmicWave {
  0%,
  100% {
    transform: translateX(-50%) rotate(0) scaleY(1);
  }

  25% {
    transform: translateX(-50%) rotate(0.5deg) scaleY(1.1);
  }

  50% {
    transform: translateX(-50%) rotate(-0.5deg) scaleY(0.9);
  }

  75% {
    transform: translateX(-50%) rotate(1deg) scaleY(1.05);
  }
}

a {
  text-decoration: none;
}



.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}





.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
}

.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  color: #fff;
  max-width: 900px;
  padding: 0 20px;
  width: 100%;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
}

/* Optional responsive font sizes */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 28px;
  }
}



.gradient-text {
  background: linear-gradient(20deg, #ff6b9d, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero p {
  font-size: 19px;
  margin-bottom: 30px;
}

.btn.outlined {
  border: 2px solid #fff;
  padding: 10px 25px;
  border-radius: 25px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.btn.outlined:hover {
  background: #fff;
  color: #000;
}

@media (max-width: 768px) {
  .hero-content {
    padding: 60px 15px;
    text-align: left;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .btn.outlined {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

.glass-line {
  width: 150px;
  height: 4px;
  margin: 25px auto;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.534);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.services {
  padding: 60px 20px;
  text-align: center;
  z-index: -1000;
}

.services p {
  /* Option 1: subtle text shadow */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.services h2 {
  font-size: clamp(28px, 4vw, 36px); /* Responsive font size */
  margin-bottom: 35px;
  background: linear-gradient(90deg, #38bdf8, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 20px; /* Add padding for small screens */
}

.glass-line {
  width: 80px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 auto 40px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (max-width: 768px) {
  .cards {
    gap: 20px;
  }
}
.card {
  display: flex;
  flex-direction: column;
  text-align: center;
  align-items: center;
  justify-content: center;
  min-height: 300px;
  border-radius: 18px;
  padding: 30px 20px;
  width: 100%;
  max-width: 350px;
  transform-origin: center;
  color: whitesmoke;
  margin: 0 auto;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
  background-clip: padding-box;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

@media (max-width: 768px) {
  .card {
    max-width: 100%;
    min-height: 250px;
    padding: 25px 15px;
  }
}




.card:hover {
  transform: scale(1.05); /* Reduced scale for better mobile behavior */
  box-shadow: 0 25px 45px linear-gradient(to right, #00c6ff, #0072ff);
}

.card h3 {
  font-size: clamp(18px, 2vw, 22px);
  margin-bottom: 15px;
  font-family: system-ui;
  /* color: whitesmoke; */
  /* background: linear-gradient(90deg,  #0072ff, #b8b8b8); */
  background: linear-gradient(90deg, #6366f1, #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/*.card p {*/
/*  font-size: clamp(14px, 1.5vw, 15px);*/
/*  line-height: 1.6;*/
/*  margin-bottom: 20px;*/
/*}*/


.card p {
  font-size: clamp(14px, 1.5vw, 15px);
  line-height: 1.6;
  margin-bottom: 20px;
  /* Contrast fix (small, invisible change) */
  color: #f2f5ff;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25);
}


.bttn {
  position: relative;
  display: inline-block;
  padding: 10px 24px;
  margin-top: 15px;
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 500;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  backdrop-filter: blur(10px);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, background 0.3s ease;
  width: auto;
  min-width: 120px;
}

@media (max-width: 480px) {
  .bttn {
    padding: 8px 20px;
    margin-top: 10px;
  }
  .card h3 {
    font-size: 25px;
  }
}

.bttn:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.1);
}

.bttn .hoverEffect {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.bttn .hoverEffect div {
  width: 120%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
  position: absolute;
  top: 0;
  left: -100%;
  transform: skewX(-30deg);
  transition: left 0.6s ease-in-out;
}

.bttn:hover .hoverEffect div {
  left: 100%;
}

.bttn span,
.bttn::after {
  position: relative;
  z-index: 1;
}

/* project section  */

.portfolio-section {
  padding: 20px 20px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 30px;
  animation: fadeInUp 1s ease-out;
}

.psection-title {
  font-size: 3.5rem;
  font-weight: 700;
  background: linear-gradient(90deg, #38bdf8, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  position: relative;
}

.psection-subtitle {
  font-size: 1.2rem;
  color: #b0b0b0;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
  flex-wrap: wrap;
  animation: slideInUp 1s ease-out 0.3s both;
}

.filter-tab {
  padding: 12px 30px;
  background: rgba(156, 39, 176, 0.1);
  border: 2px solid rgba(156, 39, 176, 0.3);
  border-radius: 30px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.filter-tab:before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(20deg, #38bdf8, #6366f1);
  transition: left 0.3s ease;
  z-index: -1;
}

.filter-tab:hover:before,
.filter-tab.active:before {
  left: 0;
}

.filter-tab.active {
  border-color: #6366f1;
  box-shadow: 0 0 5px #38bdf8;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  animation: fadeIn 1s ease-out 0.6s both;
}

.project-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  position: relative;
  opacity: 1;
  transform: translateY(0);
}

.project-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 40px #6366f1;
}

.project-card.hidden {
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
}

.project-image {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg rgba(0, 0, 0, 0.4), #6366f1);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.overlay-btn {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid #fff;
  border-radius: 25px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.overlay-btn:hover {
  background: #fff;
  color: rgba(0, 0, 0, 0.575);
  transform: scale(1.1);
}

.project-content {
  padding: 25px;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.project-description {
  color: #b0b0b0;
  margin-bottom: 20px;
  line-height: 1.6;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.tech-tag {
  padding: 6px 15px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.25),
    rgba(0, 128, 255, 0.25)
  );
  color: whitesmoke;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid rgba(156, 39, 176, 0.5);
}

.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

@media (max-width: 768px) {
  .psection-title {
    font-size: 2.5rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .project-card {
    margin: 0 10px;
  }

  .filter-tabs {
    gap: 10px;
  }

  .filter-tab {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* why choose us  */

.codexae-feature-card {
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  background-clip: padding-box;
  border-left: 4px solid #0072ff;
  padding: 30px;
  margin: 20px auto;
  background: rgba(15, 23, 42, 0.6);
  max-width: 1000px;
  margin-top: 100px;
  margin-bottom: 50px;
}

.codexae-feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 114, 255, 0.2);
}

.codexae-feature-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 25px;
  background: linear-gradient(90deg, #38bdf8, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

.codexae-feature-card p {
  /* text-align: center; */
  color: #e2e8f0;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.codexae-list {
  padding-left: 20px;
  list-style-type: none; /* Remove default list styling */
}

.codexae-list li {
  margin-bottom: 15px;
  color: #cbd5e1;
  line-height: 1.6;
  padding-left: 1em; /* Adjust as needed */
}

.codexae-list li::marker {
  color: #0072ff;
  font-size: 1.5rem;
  content: "•";
}

.codexae-list li strong {
  color: #ffffff;
  font-weight: 500;
  display: block;
  margin-bottom: 5px;
}

@media (max-width: 768px) {
  .codexae-feature-card {
    padding: 20px;
    margin: 20px;
  }

  .codexae-feature-title {
    font-size: 1.5rem;
  }

  .codexae-list li {
    padding-left: 1em;
  }
}

/* testimonial  */

.testimonials-section {
  max-width: 1400px;
  margin: 0 auto;
  overflow: hidden;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  background: linear-gradient(90deg, #38bdf8, #6366f1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 25px;
}

.section-title p {
  color: #94a3b8;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.testimonial-row {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  width: calc(100% + 800px);
}

.testimonial-row.reverse {
  animation: slideLeft 40s linear infinite;
}

.testimonial-row.forward {
  animation: slideRight 35s linear infinite;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.section-title h2 {
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.section-title p {
  color: #e2e8f0;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.testimonial-row {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  width: calc(100% + 800px);
  position: relative;
  z-index: 2;
}

.testimonial-row.reverse {
  animation: slideLeft 40s linear infinite;
}

.testimonial-row.forward {
  animation: slideRight 35s linear infinite;
}

@keyframes slideRight {
  0% {
    transform: translateX(-800px);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-800px);
  }
}

@keyframes slideRight {
  0% {
    transform: translateX(-800px);
  }

  100% {
    transform: translateX(0);
  }
}

@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-800px);
  }
}

.testimonial-card {
  background: rgba(30, 41, 59, 0.9);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 16px;
  padding: 30px;
  min-width: 350px;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.6);
  box-shadow: 0 20px 60px rgba(59, 130, 246, 0.15);
  background: rgba(30, 41, 59, 0.95);
}

.card-header {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.profile-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid rgba(59, 130, 246, 0.4);
  margin-right: 15px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.user-info p {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.user-info .position {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.star-rating {
  display: flex;
  gap: 2px;
  margin-bottom: 20px;
}

.star {
  color: #fbbf24;
  font-size: 1.2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.star.empty {
  color: #374151;
}

.testimonial-message {
  color: #f1f5f9;
  line-height: 1.6;
  font-size: 1rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.contact-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
}

.contact-image {
  flex: 1 1 45%;
  text-align: center;
  width: 100%;
  height: auto;
}

.contact-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  cursor: pointer;
}

@keyframes floatUpDown {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }
}

.contact-image img {
  animation: floatUpDown 3s ease-in-out infinite;
}

.contact-image img {
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.form-container {
  flex: 1 1 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 30px rgba(0, 183, 255, 0.45);
  border-radius: 20px;
  padding: 40px;
  color: #fff;
  animation: fadeInUp 1s ease-out;
}

.form-container h2 {
  text-align: center;
  margin-bottom: 30px;
  font-weight: 600;
  color: #00bfff;
  font-size: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 300;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid transparent;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #00bfff;
  background-color: rgba(255, 255, 255, 0.15);
}

.form-group textarea {
  resize: none;
  min-height: 100px;
}

.form-group button {
  width: 100%;
  padding: 14px;
  background: #00bfff;
  border: none;
  border-radius: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease;
}

.form-group button:hover {
  background: #0099cc;
  transform: scale(1.02);
}

.fadeInUp {
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }

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

@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .form-container,
  .contact-image {
    width: 100%;
  }

  .form-container {
    padding: 30px 20px;
  }
}

.dark-theme {
  background: radial-gradient(circle at top left, #0a0f2c, #050b1e);
  padding: 80px 20px;
  color: #fff;
  font-family: "Segoe UI", sans-serif;
  overflow: hidden;
}

.story-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 120px auto;
  gap: 50px;
  padding: 40px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 0 20px rgba(0, 128, 255, 0.1);
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.story-text {
  flex: 1;
  min-width: 300px;
}

.story-text h2 {
  font-size: 32px;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
}

.story-text h2::after {
  content: "";
  width: 60px;
  height: 2px;
  background: #00bfff;
  position: absolute;
  bottom: -8px;
  left: 0;
}

.story-text p {
  font-size: 17px;
  line-height: 1.6;
  color: #d0d8f0;
}

.story-image {
  flex: 1;
  text-align: center;
}

.story-image img {
  max-width: 100%;
  border-radius: 15px;
  animation: floatImg 3s ease-in-out infinite;
  transition: transform 0.4s;
}

.story-image img:hover {
  transform: translateY(-10px);
}

@keyframes floatImg {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (max-width: 768px) {
  .story-container {
    flex-direction: column;
    text-align: center;
  }

  .story-text h2::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

.faq-section {
  display: flex;
  color: #fff;
  font-family: "Segoe UI", sans-serif;
  
  padding: 80px 50px;
}

.faq-container {
  display: inline-flex;
  max-width: 1200px;
  margin: auto;
  flex-wrap: wrap;
  gap: 60px;
  align-items: center;
  justify-content: space-between;
}

.faq-left {
  flex: 1 1 40%;
}

.faq-left p {
  font-size: 14px;
  color: #aaa;
  letter-spacing: 1px;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.faq-left .dot {
  height: 10px;
  width: 10px;
  background: #e100ff;
  border-radius: 50%;
  margin-right: 10px;
}

.faq-left h2 {
  font-size: 50px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.3;
}

.faq-left h2 span {
  color: #fff;
  background: linear-gradient(90deg, #00ffff, #ff00ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.faq-left p {
  font-size: 16px;
  line-height: 1.6;
  color: #c4c4c4;
}

.faq-right {
  flex: 1 1 55%;
  max-height: 400px; /* Adjust this value as needed */
  overflow-y: auto;
  padding-right: 10px; /* Add some padding to prevent content from touching the edge */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.faq-right::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.faq-right {
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

.faq-item {
  border: 1px solid #333;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  padding: 20px;
  font-weight: 500;
  font-size: 17px;
  background-color: #101420;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background-color: #141c2c;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background-color: #1a1f2d;
  padding: 0 20px;
  font-size: 15px;
  color: #ccc;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 15px 20px 20px;
}

.plus {
  font-size: 22px;
  transition: transform 0.3s ease;
}

.faq-item.active .plus {
  transform: rotate(45deg);
}

@media (max-width: 768px) {
  .faq-container {
    flex-direction: column;
  }

  .faq-left,
  .faq-right {
    flex: 1 1 100%;
  }

  .faq-left h2 {
    font-size: 28px;
  }
}
