/* Card container */
.card-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
  }
.card {
  background: linear-gradient(150deg, #FFFFFF00 15%, #FFFFFF1A 85%) !important; 
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    cursor: pointer;
    transition: background 0.25s ease, border-color 0.25s ease;
    flex-basis: calc((33.33% - 30px) + 30px/3);
    position: relative;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0);
    transform: translateZ(0);
}
  


/* ----------------------------------------------------------------------
// ODD CARDS HOVER EFFECT (GOLD: #C2A97A)
// ---------------------------------------------------------------------- */
.card:nth-child(odd):hover {
   
  background: linear-gradient(210deg, #FFFFFF26 35%, #FFFFFF4D 55%) !important;
  border-color: rgba(194, 169, 122, 0.7);

  box-shadow: 
  0 8px 15px rgba(194, 169, 122, 0.2), 
  0 4px 8px rgba(194, 169, 122, 0.4),
  0 0 5px rgba(194, 169, 122, 0.6);
      
  /* FIX 3: REMOVE translateY(-4px) — ONLY KEEP translateZ(0) */
  transform: translateZ(0);
  color: #ffffff;
}

/* ----------------------------------------------------------------------
// EVEN CARDS HOVER EFFECT (PINK: #E04B86)
// ---------------------------------------------------------------------- */
.card:nth-child(even):hover {
 
  background: linear-gradient(210deg, #FFFFFF26 35%, #FFFFFF4D 55%) !important;
  border-color: rgba(224, 75, 134, 0.7);

  box-shadow: 
  0 8px 15px rgba(224, 75, 134, 0.2), 
  0 4px 8px rgba(224, 75, 134, 0.4),
  0 0 5px rgba(224, 75, 134, 0.6);
      
  /* FIX 3: REMOVE translateY(-4px) — ONLY KEEP translateZ(0) */
  transform: translateZ(0);
  color: #ffffff;
}

  /* Left content */
  .card-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  
  /* Tag (TECHNOLOGY) */
  .card-tag {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 12px;
    opacity: 0.7;
    margin: 0;
    color: #FFFFFF;
  }
  
  /* Title */
  .card-title {
    margin: 0;
    font-weight: 600;
    color: #ffffff;
  }
  
  /* Description */
  .card-description {
    margin: 0;
    opacity: 0.8;
    color: #d6d6d6;
  }

.card-content p {
    margin: 0;
}

.card-arrow {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
}
  
  /* Arrow icon */
.card-arrow svg {
    height: 0.75rem;
    fill: #FFF;
}
  
  /* Arrow hover animation */
  .card:hover .card-arrow span {
    transform: translateX(4px);
    color: #ffffff;
  }

@media screen and (max-width:767px){
	.card{
		flex-basis: 100%;
	}
}

@keyframes infinite-gradient-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}



/* tech better cta */

/* 
#tech-better-cta {
  background-blend-mode: soft-light; 
  padding: 60px 40px;
  border-radius: 15px; 
  
  border: 1px solid rgba(255, 255, 255, 0.1); 
  
  box-shadow: 0 0 10px rgba(194, 169, 122, 0.2); 
  
  transition: all 0.5s ease-in-out;
 
  transform: translateZ(0); 
  overflow: hidden; 
  position: relative; 
  z-index: 1; 
  color: #f0f0f0; 
}


#tech-better-cta::before {
  content: '';
  position: absolute;
  top: -200%; 
  left: -100%; 
  right: -100%; 
  bottom: -200%;
  
  z-index: -1; 
  opacity: 0;
  
  background: linear-gradient(135deg, #A88F68, #CC3D74, #A88F68, #CC3D74); 
  background-size: 400% 400%; 
  transform: translateZ(0);
  transition: opacity 0.5s ease;
  border-radius: 15px; 
}

#tech-better-cta:hover {
  background: rgba(15, 15, 15, 0.6); 
  
  border-color: transparent; 

  box-shadow: 
      0 15px 30px rgba(0, 0, 0, 0.7),
      0 0 25px rgba(255, 255, 255, 0.1), 
      0 0 5px rgba(255, 255, 255, 0.05); 
      
  
  transform: translateZ(0);
}

#tech-better-cta:hover::before {
  opacity: 1;
  animation: infinite-gradient-flow 8s ease infinite;
}

#tech-better-cta h2, #tech-better-cta p, #tech-better-cta .elementor-button {
  color: #ffffff;
  transition: color 0.3s;
} */



@keyframes infinite-gradient-flow {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

@keyframes button-alternate-color {
  0% {
    background-color: #C2A97A;
    border-color: #C2A97A;
  }
  50% {
    background-color: #E04B86;
    border-color: #E04B86;
  }
  100% {
    background-color: #C2A97A;
    border-color: #C2A97A;
  }
}

#tech-better-cta {
  background-blend-mode: soft-light; 
  padding: 60px 40px;
  border-radius: 15px; 
  
  border: 1px solid rgba(255, 255, 255, 0.1); 
  
  box-shadow: 
      0 0 15px rgba(194, 169, 122, 0.15), 
      0 0 5px rgba(224, 75, 134, 0.1);  
  
  transition: all 0.5s ease-in-out;
  transform: translateZ(0); 
  overflow: hidden; 
  position: relative; 
  z-index: 1; 
  color: #f0f0f0; 
}

#tech-better-cta::before {
  content: '';
  position: absolute;
  top: -5px; 
  left: -5px; 
  right: -5px; 
  bottom: -5px;
  border-radius: 20px; 
  
  z-index: -1; 
  opacity: 0;
  background: linear-gradient(135deg, #C2A97A, #E04B86, #C2A97A, #E04B86); 
  background-size: 400% 400%; 
  transform: translateZ(0);
  transition: opacity 0.5s ease;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

#tech-better-cta:hover {
  background: rgba(15, 15, 15, 0.8); 
  border-color: transparent; 
  box-shadow: 
      0 15px 30px rgba(0, 0, 0, 0.7),
      0 0 25px rgba(255, 255, 255, 0.1), 
      0 0 5px rgba(255, 255, 255, 0.05); 
      
  transform: translateZ(0); 
}

#tech-better-cta:hover::before {
  opacity: 1;
  animation: infinite-gradient-flow 8s ease infinite;
}

#tech-better-cta .elementor-button {
  transition: all 0.5s ease; 
}

#tech-better-cta .elementor-button:hover {

  background-color: #E04B86;
  border-color: #E04B86; 
  
  transform: scale(1.05);
  }

#tech-better-cta h2, #tech-better-cta p, #tech-better-cta .elementor-button {
  color: #ffffff;
  transition: color 0.3s;
}






/* global box shadow alternative */
/* 

.wpcs_alternating_glow {
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
  cursor: pointer;
  
  border: 2px solid rgba(255, 255, 255, 0.1); 
  
  background: linear-gradient(250deg, #FFFFFF00 15%, #FFFFFF1A 70%) !important; 
  
  box-shadow: 
      inset 0 0 10px rgba(0, 0, 0, 0.4), 
      0 1px 0 rgba(255, 255, 255, 0.1); 
      
  transition: all 0.25s ease; 
  

  transform: translate3d(0.001px, 0, 0);
  color: #cccccc;
}

.wpcs_alternating_glow:nth-child(odd):hover {
  background: linear-gradient(210deg, #FFFFFF26 35%, #FFFFFF4D 55%) !important;
  

  border-color: rgba(194, 169, 122, 1.0) !important;
  

  box-shadow: 
      0 0 20px 4px rgba(194, 169, 122, 0.7), 
      inset 0 0 10px rgba(0, 0, 0, 0.6); 
      

  transform: translate3d(0.001px, 0, 0);
  color: #ffffff;
}


.wpcs_alternating_glow:nth-child(even):hover {
  background: linear-gradient(210deg, #FFFFFF26 35%, #FFFFFF4D 55%) !important;
  

  border-color: rgba(224, 75, 134, 1.0) !important;
  
  box-shadow: 
      0 0 20px 4px rgba(224, 75, 134, 0.7), 
      inset 0 0 10px rgba(0, 0, 0, 0.6); 
      

  transform: translate3d(0.001px, 0, 0);
  color: #ffffff;
}


.wpcs_alternating_glow:hover .elementor-widget-icon-box-wrapper,
.wpcs_alternating_glow:hover .elementor-widget-container,
.wpcs_alternating_glow:hover > .e-con-inner > .elementor-element {
    border: none !important;
    outline: none !important;
} */


/* ----------------------------------------------------------------------
// 1. BASE STRUCTURE AND DEFAULT APPEARANCE (.wpcs_card_base)
// ---------------------------------------------------------------------- */
.wpcs_card_base {
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
  cursor: pointer;
  
  
  border: 2px solid rgba(255, 255, 255, 0.1); 
  
  background: linear-gradient(250deg, #FFFFFF00 15%, #FFFFFF1A 70%) !important; 
  

  box-shadow: 
      inset 0 0 10px rgba(0, 0, 0, 0.4), 
      0 1px 0 rgba(255, 255, 255, 0.1); 
      

  transition: all 0.25s ease; 
  

  color: #cccccc;
}

.wpcs_alternating_glow {

  transform: translate3d(0.001px, 0, 0);
 
  transition: all 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; 
}

.wpcs_alternating_glow:nth-child(odd):hover {
  background: linear-gradient(210deg, #FFFFFF26 35%, #FFFFFF4D 55%) !important;
  border-color: rgba(194, 169, 122, 1.0) !important;
  box-shadow: 0px 0px 7px 7px #C2A97A;
  transform: translate3d(0.001px, 0, 0);
  color: #ffffff;
}
.wpcs_alternating_glow:nth-child(even):hover {
  background: linear-gradient(210deg, #FFFFFF26 35%, #FFFFFF4D 55%) !important;
  border-color: rgba(224, 75, 134, 1.0) !important;
  box-shadow: 0px 0px 7px 7px #E04B86;
  transform: translate3d(0.001px, 0, 0);
  color: #ffffff;
}





/* polygon */
/* ----------------------------------------------------------------------
// 1. BASE CONTAINER HOST (.wpcs_bg_polygon_host)
// This class is applied to your Section/Container to host the effect.
// ---------------------------------------------------------------------- */
.wpcs_bg_polygon_host {
  /* CRITICAL: Ensure the container is positioned relatively */
  position: relative;
  
  /* Set the dark base color visible beneath the lines */
  background-color: #121212 !important; 
  
  /* Ensure all content (text, icons, cards) appears above the canvas */
  z-index: 1;
  
  /* Force stability */
  transform: translate3d(0, 0, 0); 
}

/* ----------------------------------------------------------------------
// 2. CANVAS STYLING (The Polygon Effect itself)
// ---------------------------------------------------------------------- */

/* Target the canvas generated by the JavaScript library inside the host */
.wpcs_bg_polygon_host canvas {
  /* CRITICAL: Position fixed/absolute to cover the entire container */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  /* Place the canvas behind all the content elements */
  z-index: 0; 
  
  /* Ensures the canvas doesn't interfere with mouse clicks */
  pointer-events: none;
}



