:root {
    --accent-gradient: linear-gradient(135deg, #8c1c40, #c9164f);
    --accent-gradient-hover: linear-gradient(135deg, #9b1643, #eb0335);
    --shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
  
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-bg-hover: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-border-hover: rgba(255, 255, 255, 0.3);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --glass-shadow-hover: 0 16px 40px rgba(0, 0, 0, 0.4);
  }
  
  
  
.bg-base {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top, #0f1419 0%, #0a0e13 50%, #050810 100%);
  z-index: -10;
}

.bg-gradient-primary {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 55, 109, 0.8) 0%,
    rgba(43, 123, 184, 0.6) 25%,
    rgba(100, 181, 246, 0.4) 50%,
    rgba(30, 55, 109, 0.6) 75%,
    rgba(15, 35, 70, 0.8) 100%
  );
  background-size: 400% 400%;
  z-index: -9;
}

.bg-gradient-secondary {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 20%, rgba(74, 151, 208, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(30, 55, 109, 0.4) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(100, 181, 246, 0.2) 0%, transparent 50%);
  z-index: -8;
}


.bg-particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, rgba(255, 255, 255, 0.5), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(74, 151, 208, 0.4), transparent),
    radial-gradient(3px 3px at 90px 40px, rgba(255, 255, 255, 0.4), transparent),
    radial-gradient(2px 2px at 160px 120px, rgba(100, 181, 246, 0.5), transparent),
    radial-gradient(3px 3px at 200px 200px, rgba(255, 255, 255, 0.3), transparent);
  background-repeat: repeat;
  background-size: 250px 250px;
  z-index: -6;
  animation: particleFloat 30s linear infinite;
}

.floating-shape {
  position: fixed;
  z-index: -5;
  filter: blur(3px);
  transition: all 0.5s ease;

  mask: url(../images/Estrella\ blanca.png);
  mask-size: contain;
}


.shape-1 {
  top: 10%;
  left: 15%;
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, rgba(74, 151, 208, 0.25) 0%, rgba(30, 55, 109, 0.2) 100%);
  box-shadow: 0 0 80px rgba(74, 151, 208, 0.4);
  animation: floatShape1 25s ease-in-out infinite;
}

.shape-2 {
  top: 60%;
  right: 20%;
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, rgba(30, 55, 109, 0.25) 0%, rgba(100, 181, 246, 0.2) 100%);
  box-shadow: 0 0 60px rgba(30, 55, 109, 0.4);
  animation: floatShape2 30s ease-in-out infinite;
}

.shape-3 {
  bottom: 20%;
  left: 10%;
  width: 230px;
  height: 230px;
  background: linear-gradient(225deg, rgba(100, 181, 246, 0.25) 0%, rgba(74, 151, 208, 0.2) 100%);
  box-shadow: 0 0 70px rgba(100, 181, 246, 0.4);
  animation: floatShape3 35s ease-in-out infinite;
}

.shape-4 {
  top: 30%;
  right: 10%;
  width: 180px;
  height: 180px;
  background: linear-gradient(315deg, rgba(74, 151, 208, 0.25) 0%, rgba(30, 55, 109, 0.2) 100%);
  box-shadow: 0 0 50px rgba(74, 151, 208, 0.35);
  animation: floatShape4 20s ease-in-out infinite;
}

.shape-5 {
  bottom: 40%;
  left: 60%;
  width: 160px;
  height: 160px;
  background: linear-gradient(90deg, rgba(30, 55, 109, 0.25) 0%, rgba(100, 181, 246, 0.2) 100%);
  box-shadow: 0 0 45px rgba(30, 55, 109, 0.35);
  animation: floatShape5 28s ease-in-out infinite;
}

.shape-6 {
  bottom: 40%;
  left: 45%;
  width: 300px;
  height: 300px;
  background: linear-gradient(90deg, rgba(30, 55, 109, 0.25) 0%, rgba(100, 181, 246, 0.2) 100%);
  box-shadow: 0 0 45px rgba(30, 55, 109, 0.35);
  animation: floatShape1 28s ease-in-out infinite reverse;
}


@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% 50%;
    transform: translateX(0px) translateY(0px);
  }
  25% {
    background-position: 25% 25%;
    transform: translateX(20px) translateY(-15px);
  }
  50% {
    background-position: 100% 50%;
    transform: translateX(-10px) translateY(25px);
  }
  75% {
    background-position: 75% 75%;
    transform: translateX(15px) translateY(-20px);
  }
}

@keyframes particleFloat {
  0% {
    transform: translateY(0px) translateX(0px);
  }
  25% {
    transform: translateY(-30px) translateX(20px);
  }
  50% {
    transform: translateY(-60px) translateX(-15px);
  }
  75% {
    transform: translateY(-40px) translateX(25px);
  }
  100% {
    transform: translateY(-80px) translateX(0px);
  }
}

@keyframes floatShape1 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(80px, -60px) rotate(90deg);
  }
  50% {
    transform: translate(-140px, -80px) rotate(180deg);
  }
  75% {
    transform: translate(-80px, 60px) rotate(270deg);
  }
}

@keyframes floatShape2 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(-100px, -70px) rotate(120deg);
  }
  66% {
    transform: translate(60px, 90px) rotate(240deg);
  }
}

@keyframes floatShape3 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  20% {
    transform: translate(70px, -100px) rotate(72deg);
  }
  40% {
    transform: translate(-60px, -50px) rotate(144deg);
  }
  60% {
    transform: translate(-90px, 80px) rotate(216deg);
  }
  80% {
    transform: translate(50px, 100px) rotate(288deg);
  }
}

@keyframes floatShape4 {
  0%,
  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  25% {
    transform: translate(60px, -70px) scale(1.3) rotate(90deg);
  }
  50% {
    transform: translate(-80px, -40px) scale(0.8) rotate(180deg);
  }
  75% {
    transform: translate(-50px, 80px) scale(1.2) rotate(270deg);
  }
}

@keyframes floatShape5 {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  20% {
    transform: translate(-70px, 60px) rotate(72deg) scale(0.7);
  }
  40% {
    transform: translate(90px, -50px) rotate(144deg) scale(1.3);
  }
  60% {
    transform: translate(-40px, -90px) rotate(216deg) scale(0.9);
  }
  80% {
    transform: translate(80px, 70px) rotate(288deg) scale(1.1);
  }
}





.education {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.education::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.section-header h2 {
  font-size: 3.2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.section-header h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.5rem;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-main) 0%, var(--primary-lighter) 100%);
  border-radius: 2px;
  box-shadow: 0 2px 10px rgba(43, 123, 184, 0.5);
}

.section-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.education-layout {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3.5rem;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.education-card {
  position: relative;
  border-radius: 1.75rem;
  padding: 2rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  isolation: isolate;
  z-index: 1;
  width: calc(50% - 1.25rem);
  max-width: 580px;
  display: flex;
  flex-direction: column;
}

.card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 0%, rgba(74, 151, 208, 0.08), transparent 70%);
  opacity: 0.5;
  z-index: -1;
  transition: all 0.4s ease;
  border-radius: inherit;
  pointer-events: none;
}

.education-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02) 40%, rgba(255, 255, 255, 0) 60%);
  z-index: -1;
  pointer-events: none;
}

.education-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05), transparent 40%);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.education-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 0 0 15px rgba(74, 151, 208, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.education-card:hover .card-glow {
  opacity: 0.8;
  background: radial-gradient(circle at 50% 0%, rgba(74, 151, 208, 0.15), transparent 70%);
}

.education-card:hover::after {
  opacity: 0.7;
}

.education-card-header {
  padding: 2rem 2rem 1rem;
  position: relative;
  z-index: 1;
}

.education-card-header h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.education-card-subtitle {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.education-card-content {
  flex: 1;
  padding: 0 2rem 1.5rem;
  position: relative;
  z-index: 1;
}

.education-card-details-section {
  margin-bottom: 1.5rem;
}

.education-card-details-section h4 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--primary-lighter);
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1rem;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.education-card-details-section h4::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 75%;
  background: linear-gradient(180deg, var(--primary-main) 0%, var(--primary-lighter) 100%);
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(43, 123, 184, 0.4);
}

.features-list {
  list-style: none;
  margin: 1.25rem 0;
  padding-left: 0.25rem;
}

.features-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.features-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--primary-lighter);
  font-weight: bold;
  text-shadow: 0 1px 3px rgba(43, 123, 184, 0.5);
}


.education-card-logistics {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.logistics-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.9rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.logistics-icon {
  color: var(--primary-lighter);
  font-size: 1.1rem;
  opacity: 0.9;
}

.education-amount {
  text-align: center;
  margin: 1.5rem 0;
}

.education-amount .amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-lighter);
  line-height: 1;
  text-shadow: 0 2px 10px rgba(43, 123, 184, 0.5);
}

.education-amount .period {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin-left: 0.5rem;
  align-self: flex-end;
  margin-bottom: 0.5rem;
}

.education-amount.consultation .amount {
  font-size: 2.5rem;
  letter-spacing: 0.03em;
  color: white;
  text-shadow: 0 2px 10px rgba(255, 255, 255, 0.3);
}

.btn2 {
  display: inline-block;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  font-size: 0.95rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.02em;
}

.btn-outline {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--primary-lighter);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-outline::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.btn-outline:hover {
  background: var(--primary-main);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(43, 123, 184, 0.4);
  border-color: var(--primary-lighter);
}

.btn-outline:hover::before {
  left: 100%;
}

.btn-full {
  display: block;
  width: 100%;
}



@media (max-width: 1024px) {
  .education-layout {
    flex-direction: flex;
    align-items: center;
  }

  .education-card {
    width: 100%;
    max-width: 580px;
  }
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2.2rem;
  }

  .section-description {
    font-size: 1rem;
  }

  .education-card-header h3 {
    font-size: 1.4rem;
  }

  .education-card-logistics {
    flex-direction: column;
    align-items: flex-start;
  }

  .shape-4,
  .shape-5,
  .beam-2,
  .beam-3 {
    display: none;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 1.8rem;
  }

  .education-card {
    border-radius: 1rem;
  }

  .education-amount .amount {
    font-size: 2.2rem;
  }

  .education-card-header,
  .education-card-subtitle,
  .education-card-content {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.animate-pulse {
  animation: pulse 2s infinite;
}
  