/* Nosotros Styles */
.nosotros-main {
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

.nosotros-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.nosotros-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.nosotros-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  opacity: 0.1;
  animation: nosotros-bg-wave 6s ease-in-out infinite;
}

.nosotros-floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.nosotros-float-1,
.nosotros-float-2,
.nosotros-float-3 {
  position: absolute;
  background: linear-gradient(45deg, #8b5cf6, #3b82f6);
  border-radius: 50%;
  animation: nosotros-float 8s ease-in-out infinite;
}

.nosotros-float-1 {
  width: 60px;
  height: 60px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.nosotros-float-2 {
  width: 40px;
  height: 40px;
  top: 60%;
  right: 20%;
  animation-delay: -2s;
}

.nosotros-float-3 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 70%;
  animation-delay: -4s;
}

.nosotros-hero-content {
  text-align: center;
  z-index: 2;
}

.nosotros-hero-title {
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.nosotros-gradient-text {
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: nosotros-gradient-pulse 3s ease-in-out infinite;
}

.nosotros-hero-subtitle {
  font-size: 1.3rem;
  color: #d1d5db;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Historia Section */
.nosotros-historia-section {
  padding: 100px 0;
  background: #111;
}

.nosotros-historia-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.nosotros-section-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.nosotros-historia-desc {
  font-size: 1.1rem;
  color: #d1d5db;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.nosotros-timeline {
  position: relative;
}

.nosotros-timeline::before {
  content: "";
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
}

.nosotros-timeline-item {
  position: relative;
  padding-left: 80px;
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.6s ease;
}

.nosotros-timeline-item.animate-scale {
  opacity: 1;
  transform: translateX(0);
}

.nosotros-timeline-item::before {
  content: "";
  position: absolute;
  left: 20px;
  top: 10px;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  border-radius: 50%;
  animation: nosotros-timeline-pulse 2s ease-in-out infinite;
}

.nosotros-timeline-year {
  font-size: 1.5rem;
  font-weight: 700;
  color: #8b5cf6;
  margin-bottom: 0.5rem;
}

.nosotros-timeline-desc {
  color: #d1d5db;
  font-size: 1rem;
}

/* Misión Section */
.nosotros-mision-section {
  padding: 100px 0;
  background: #000;
}

.nosotros-mision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.nosotros-mision-card {
  position: relative;
  background: #1f2937;
  padding: 3rem;
  border-radius: 20px;
  text-align: center;
  transition: all 0.5s ease;
  overflow: hidden;
  border: 1px solid #374151;
}

.nosotros-mision-card:hover {
  transform: translateY(-15px) rotateY(5deg);
  box-shadow: 0 25px 50px rgba(139, 92, 246, 0.3);
  border-color: #8b5cf6;
}

.nosotros-mision-icon {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  font-size: 2.5rem;
  animation: nosotros-icon-rotate 4s linear infinite;
}

.nosotros-mision-card h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
}

.nosotros-mision-card p {
  color: #d1d5db;
  font-size: 1.1rem;
  line-height: 1.7;
}

.nosotros-card-hover-effect {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.1), transparent);
  transition: left 0.8s ease;
}

.nosotros-mision-card:hover .nosotros-card-hover-effect {
  left: 100%;
}

/* Valores Section */
.nosotros-valores-section {
  padding: 100px 0;
  background: #111;
}

.nosotros-valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.nosotros-valor-card {
  background: #1f2937;
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid #374151;
  cursor: pointer;
}

.nosotros-valor-card:hover {
  transform: translateY(-10px) rotateZ(2deg);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
  border-color: #8b5cf6;
}

.nosotros-valor-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.8rem;
  animation: nosotros-valor-bounce 3s ease-in-out infinite;
}

.nosotros-valor-card h4 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.nosotros-valor-card p {
  color: #d1d5db;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Stats Section */
.nosotros-stats-section {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
}

.nosotros-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.nosotros-stat-card {
  text-align: center;
  padding: 2rem;
}

.nosotros-stat-number {
  font-size: 4rem;
  font-weight: 700;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  animation: nosotros-counter-glow 2s ease-in-out infinite;
}

.nosotros-stat-label {
  font-size: 1.1rem;
  color: #d1d5db;
  font-weight: 500;
}

/* CTA Section */
.nosotros-cta-section {
  padding: 100px 0;
  background: #000;
  text-align: center;
}

.nosotros-cta-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.nosotros-cta-subtitle {
  font-size: 1.2rem;
  color: #d1d5db;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.6;
}

.nosotros-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
  color: #fff;
  text-decoration: none;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.nosotros-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(139, 92, 246, 0.4);
}

.nosotros-btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: scale(0);
  animation: nosotros-ripple 0.6s linear;
}

/* Animations */
@keyframes nosotros-bg-wave {
  0%,
  100% {
    opacity: 0.1;
    transform: scale(1);
  }
  50% {
    opacity: 0.2;
    transform: scale(1.05);
  }
}

@keyframes nosotros-float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(180deg);
  }
}

@keyframes nosotros-gradient-pulse {
  0%,
  100% {
    background-size: 100% 100%;
  }
  50% {
    background-size: 200% 200%;
  }
}

@keyframes nosotros-timeline-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(139, 92, 246, 0.7);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 0 10px rgba(139, 92, 246, 0);
  }
}

@keyframes nosotros-icon-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes nosotros-valor-bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes nosotros-counter-glow {
  0%,
  100% {
    text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
  }
  50% {
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.8);
  }
}

@keyframes nosotros-ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .nosotros-hero-title {
    font-size: 2.5rem;
  }

  .nosotros-historia-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .nosotros-mision-grid {
    grid-template-columns: 1fr;
  }

  .nosotros-section-title {
    font-size: 2rem;
  }

  .nosotros-stat-number {
    font-size: 3rem;
  }
}

/* Animation Classes */
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.animate-slide-up {
  opacity: 0;
  transform: translateY(30px);
  animation: slideUp 1s ease forwards;
}

.animate-slide-left {
  opacity: 0;
  transform: translateX(-30px);
  animation: slideLeft 1s ease forwards;
}

.animate-slide-right {
  opacity: 0;
  transform: translateX(30px);
  animation: slideRight 1s ease forwards;
}

.animate-scale {
  opacity: 0;
  transform: scale(0.8);
  animation: scaleIn 1s ease forwards;
}

.animate-rotate {
  opacity: 0;
  transform: rotate(-10deg);
  animation: rotateIn 1s ease forwards;
}

.animate-counter {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

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

@keyframes slideLeft {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes rotateIn {
  to {
    opacity: 1;
    transform: rotate(0deg);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
