/* Capabilities Section Styles */
.capabilities-section {
padding: var(--spacing-xl) 0; 
  background-color: #f0f5ff; 
  position: relative;
  z-index: 5;
}

.capabilities-section .section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.capabilities-section .section-header.animate {
  opacity: 1;
  transform: translateY(0);
}

.capabilities-container {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-bottom: 20px;
}
.capability-card {
  flex: 1;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  /*opacity: 0; */
  /* From https://css.glass */
  background: white;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
	    padding: var(--spacing-lg);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  /* border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.3); */
  transform: translateY(30px);
}
.p-7 {
  padding: 1.7rem;
}
.capability-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.capability-card:hover {
  box-shadow: 0 15px 35px rgba(0, 85, 255, 0.1);
  transform: translateY(-5px);
}

svg#Capa_1 {
  width: 50px;
  height: 50px;
}

.capability-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
  display: inline-block;
  transition: transform 0.3s ease;
}

.capability-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  color: var(--dark);
}

.capability-description {
  font-size: 0.95rem;
  color: var(--dark);
  line-height: 1.6;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .capabilities-container {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
  }

  .capability-card {
    width: 100%;
    max-width: 450px;
  }
}

@media (max-width: 768px) {
  .capability-title {
    font-size: 1.1rem;
  }
}
.animated-box {
  position: relative;
}

.animated-box:hover:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 4px;
    background: linear-gradient(120deg, #f73cce, #13aff0, #f73cce);
  background-size: 300% 300%;
  clip-path: polygon(
    0% 100%,
    3px 100%,
    3px 3px,
    calc(100% - 3px) 3px,
    calc(100% - 3px) calc(100% - 3px),
    3px calc(100% - 3px),
    3px 100%,
    100% 100%,
    100% 0%,
    0% 0%
  );
}

.animated-box.in:hover:after {
  animation: frame-enter 1s forwards ease-in-out reverse,
    gradient-animation 4s ease-in-out infinite;
}

.animated-box-head:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 4px;
  background: linear-gradient(120deg, #00f260, #0575e6, #00f260);
  background-size: 100% 100%;
  clip-path: polygon(
    0% 100%,
    3px 100%,
    3px 3px,
    calc(100% - 3px) 3px,
    calc(100% - 3px) calc(100% - 3px),
    3px calc(100% - 3px),
    3px 100%,
    100% 100%,
    100% 0%,
    0% 0%
  );
}
.animated-box {
  position: relative;
}
.animated-box-head.in:after {
  animation: frame-enter 1s forwards ease-in-out reverse,
    gradient-animation 4s ease-in-out infinite;
}
/* motion */
@keyframes gradient-animation {
  0% {
    background-position: 15% 0%;
  }
  50% {
    background-position: 85% 100%;
  }
  100% {
    background-position: 15% 0%;
  }
}

@keyframes frame-enter {
  0% {
    clip-path: polygon(
      0% 100%,
      3px 100%,
      3px 3px,
      calc(100% - 3px) 3px,
      calc(100% - 3px) calc(100% - 3px),
      3px calc(100% - 3px),
      3px 100%,
      100% 100%,
      100% 0%,
      0% 0%
    );
  }
  25% {
    clip-path: polygon(
      0% 100%,
      3px 100%,
      3px 3px,
      calc(100% - 3px) 3px,
      calc(100% - 3px) calc(100% - 3px),
      calc(100% - 3px) calc(100% - 3px),
      calc(100% - 3px) 100%,
      100% 100%,
      100% 0%,
      0% 0%
    );
  }
  50% {
    clip-path: polygon(
      0% 100%,
      3px 100%,
      3px 3px,
      calc(100% - 3px) 3px,
      calc(100% - 3px) 3px,
      calc(100% - 3px) 3px,
      calc(100% - 3px) 3px,
      calc(100% - 3px) 3px,
      100% 0%,
      0% 0%
    );
  }
  75% {
    -webkit-clip-path: polygon(
      0% 100%,
      3px 100%,
      3px 3px,
      3px 3px,
      3px 3px,
      3px 3px,
      3px 3px,
      3px 3px,
      3px 0%,
      0% 0%
    );
  }
  100% {
    -webkit-clip-path: polygon(
      0% 100%,
      3px 100%,
      3px 100%,
      3px 100%,
      3px 100%,
      3px 100%,
      3px 100%,
      3px 100%,
      3px 100%,
      0% 100%
    );
  }
}
