.hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #f1f3f9 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238073d9' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero .image-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 20px;
  position: relative;
}

.hero .img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero-content-wrapper {
  padding: 30px 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hero h1 {
  color: #212529;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 30px;
  line-height: 1.2;
  background: linear-gradient(90deg, #212529 0%, #8073d9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.hero .main-description {
  color: #495057;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 35px;
  position: relative;
  padding-left: 15px;
  border-left: 3px solid #8073d9;
  letter-spacing: 0.2px;
}

.hero .main-description p {
  margin-bottom: 15px;
}

.hero .main-description p:last-child {
  margin-bottom: 0;
}

.features-container {
  padding: 0;
  margin-bottom: 40px;
}

.features-title {
  color: #8073d9;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
}

.features-title i {
  margin-right: 8px;
  font-size: 1.2rem;
}

.hero ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.hero ul li {
  color: #333333;
  font-size: 1.1rem;
  font-weight: 500;
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  padding: 18px 22px;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.2px;
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 4px 15px rgba(128, 115, 217, 0.12);
  border: 1px solid rgba(128, 115, 217, 0.15);
  backdrop-filter: blur(8px);
}

.hero ul li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, #8073d9, #6558d3);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.hero ul li:hover {
  background-color: rgba(255, 255, 255, 1);
  padding-left: 28px;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(128, 115, 217, 0.2);
}

.hero ul li:hover::before {
  opacity: 1;
  width: 8px;
}

.hero ul li i {
  color: #6558d3;
  font-size: 1.25rem;
  margin-right: 15px;
  flex-shrink: 0;
  margin-top: 2px;
  text-shadow: 0 0 10px rgba(101, 88, 211, 0.3);
  transition: all 0.3s ease;
}

.hero ul li:hover i {
  transform: scale(1.15);
  color: #4d3fc9;
}

.hero ul li::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  background: radial-gradient(circle, rgba(128, 115, 217, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  opacity: 0;
  transition: all 0.4s ease;
}

.hero ul li:hover::after {
  opacity: 1;
  transform: scale(3);
}

@media (max-width: 768px) {
  .hero ul {
    grid-template-columns: 1fr;
  }
}

.cta-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 25px 15px;
  margin: 20px 0;
  text-align: center;
}

.cta-highlight {
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(128, 115, 217, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
  border-radius: 50%;
}

.cta-subtext {
  margin-top: 15px;
  font-size: 0.9rem;
  color: #666;
  opacity: 0.85;
  font-weight: 500;
}

.hero .btn-get-started {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-image: linear-gradient(135deg, #8073d9, #6558d3);
  background-color: #8073d9; /* Color base por si falla el gradiente */
  color: #ffffff;
  padding: 16px 36px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(128, 115, 217, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 0.5px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero .btn-get-started i {
  font-size: 1rem;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
  margin-left: 10px;
}

.hero .btn-get-started::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(135deg, #6a5fc7, #5548c0);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -2;
}

.hero .btn-get-started::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
  z-index: -1;
}

.hero .btn-get-started:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(128, 115, 217, 0.4);
}

.hero .btn-get-started:hover::before {
  opacity: 1;
}

.hero .btn-get-started:hover::after {
  width: 300px;
  height: 300px;
}

.hero .btn-get-started:hover i {
  transform: translateX(4px);
}

.hero .btn-get-started:active {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(128, 115, 217, 0.3);
}

@media (max-width: 768px) {
  .hero .btn-get-started {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
  
  .cta-subtext {
    font-size: 0.85rem;
  }
}

.hero .separator {
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(128, 115, 217, 0.2) 0%,
    rgba(128, 115, 217, 0.5) 50%,
    rgba(128, 115, 217, 0.2) 100%
  );
  margin: 0 0 35px 0;
}

@media (max-width: 1199px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero ul {
    grid-template-columns: 1fr 1fr; 
    gap: 15px;
  }
}

@media (max-width: 991px) {
  .hero .image-container {
    margin-bottom: 40px; 
  }

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

  .hero ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .hero {
    padding: 60px 0;
  }

  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 25px;
  }

  .hero .main-description {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 30px;
  }

  .hero ul li {
    font-size: 0.9rem;
  }
}

@media (max-width: 575px) {
  .hero {
    padding: 50px 0;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero-content-wrapper {
    padding: 10px 5px;
  }

  .hero .btn-get-started {
    padding: 14px 30px;
    text-align: center;
  }
}

.about {
  padding: 80px 0;
  background-color: #f8f9fa;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: rgba(128, 115, 217, 0.08);
  z-index: 0;
}

.about::after {
  content: '';
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: rgba(128, 115, 217, 0.08);
  z-index: 0;
}

.about .container {
  position: relative;
  z-index: 1;
}

.about h3 {
  color: #8073d9;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.about h2 {
  color: #212529;
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 25px;
  line-height: 1.3;
}

.about .content p {
  color: #6c757d;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.about .read-more {
  display: inline-flex;
  align-items: center;
  color: #8073d9;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.about .read-more span {
  margin-right: 8px;
}

.about .read-more i {
  transition: transform 0.3s ease;
}

.about .read-more:hover {
  color: #6a5fc7;
}

.about .read-more:hover i {
  transform: translateX(5px);
}

.about .icon-boxes {
  margin-top: 20px;
}

.about .icon-box {
  background-color: #e5e7eb;
  border-radius: 12px;
  padding: 35px;
  min-height: 320px;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.about .icon-box:nth-child(4) {
  min-height: 380px;
}

.about .icon-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.about .icon-box i {
  font-size: 1.5rem;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  min-width: 60px;
  min-height: 60px;
  background-color: #a5b4fc;
  border-radius: 50%;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  flex-shrink: 0;
  aspect-ratio: 1/1;
}

.about .icon-box:hover i {
  background-color: #6a5fc7;
  transform: scale(1.3);
}

.about .icon-box h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: #212529;
  font-weight: 600;
}

.about .icon-box p {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.about .icon-box ul {
  padding-left: 20px;
  margin-bottom: 15px;
}

.about .icon-box ul li {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 8px;
}

[data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.8s;
}

[data-aos="fade-up"] {
  transform: translateY(30px);
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1199px) {
  .about .content {
    margin-bottom: 40px;
  }
  
  .about h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 767px) {
  .about {
    padding: 60px 0;
  }
  
  .about .icon-box {
    margin-bottom: 30px;
    min-height: 340px;
  }
  
  .about .icon-box:nth-child(4) {
    min-height: 400px;
  }
  
  .about h2 {
    font-size: 1.6rem;
  }
  
  .about .icon-box i {
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    font-size: 1.3rem;
  }
}