* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

#contact {
  padding: 4rem 1rem;
  background: linear-gradient(180deg, #f9fafb 0%, #ffffff 100%);
}

.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.title {
  font-size: 2.25rem;
  font-weight: 600;
  text-align: center;
  color: #1f52df;
  margin-bottom: 1rem;
}

.divider {
  width: 5rem;
  height: 0.25rem;
  background-color: #1f52df;
  margin: 0 auto 2rem;
  border-radius: 9999px;
}

.subtitle {
  text-align: center;
  font-size: 1.125rem;
  color: #374151;
  margin-bottom: 3rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.contact-card {
  max-width: 48rem;
  margin: 0 auto;
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.3s ease;
}

.contact-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  transition: transform 0.2s ease;
}

.contact-item:hover {
  transform: translateX(0.5rem);
}

.icon-wrapper {
  width: 3rem;
  height: 3rem;
  border-radius: 9999px;
  background-color: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.contact-item:hover .icon-wrapper {
  background-color: #1f52df;
}

.icon {
  width: 1.5rem;
  height: 1.5rem;
  color: #1f52df;
  transition: color 0.3s ease;
}

.contact-item:hover .icon {
  color: white;
}

.contact-info {
  margin-left: 1rem;
}

.contact-label {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

.contact-value {
  color: #374151;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-value:hover {
  color: #1f52df;
}

@media (max-width: 640px) {
  .title {
    font-size: 1.875rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .contact-list {
    gap: 1.5rem;
  }
}

#about {
  padding: 4rem 1rem;
  background-color: #f9fafb;
}

.container {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.text-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.text-content p {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #374151;
}

/* Carrusel Estilos */
.carousel-container {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.carousel {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Controles del carrusel */
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #1f52df;
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-button:hover {
  background-color: rgba(255, 255, 255, 0.95);
  color: #1039a8;
}

.carousel-button.prev {
  left: 1rem;
}

.carousel-button.next {
  right: 1rem;
}

/* Indicadores del carrusel */
.carousel-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 10;
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background-color: #ffffff;
  transform: scale(1.2);
}

/* Overlay con texto en las imágenes */
.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  padding: 2rem 1rem 1rem;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.carousel-slide .slide-overlay {
  opacity: 1;
}

.slide-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.slide-description {
  font-size: 0.875rem;
  line-height: 1.4;
}
