/* === RESET GENERAL === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: 'Poppins', sans-serif;
  color: #333;
  overflow-x: hidden;
  scroll-behavior: smooth;
  background: #fff;
}

/* === NAVBAR === */
.navbar {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  z-index: 1000;
  animation: fadeInDown 1s ease forwards;
}

.navbar .container {
  max-width: 1200px;
  margin: auto;
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar .logo {
  display: flex;
  align-items: center;
}

.navbar .logo img {
  height: 50px;
  margin-right: 10px;
}

.navbar .logo h1 {
  font-size: 22px;
  color: #000;
  letter-spacing: 1px;
}

.navbar .logo span {
  color: #93c9a2;
}

.navbar ul {
  display: flex;
  gap: 25px;
  list-style: none;
}

.navbar a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  transition: color 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
  color: #1d66db;
  font-weight: 700;
  position: relative;
}

.navbar a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #1d66db;
  border-radius: 2px;
  transition: all 0.3s ease;
}


/* === SECCIONES === */
section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  padding: 100px 20px;
  position: relative;
  background-color: #ffffff;
  color: #333;
}

/* === HERO (CARRUSEL ANIMADO) === */
.hero {
  position: relative;
  color: #fff;
  background: linear-gradient(-45deg, #4e86e0, #93c9a2, #6fa86b, #5187de);
  background-size: 400% 400%;
  animation: gradientMove 12s ease infinite;
  overflow: hidden;
}

.hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.55);
  z-index: 1;
}

.hero-carousel {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  overflow: hidden;
  text-align: center;
}

.hero-slide {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1.2s ease;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
}

.hero-slide.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}

.hero-slide h1 {
  font-size: 3em;
  margin-bottom: 20px;
  text-shadow: 0 4px 10px rgba(0,0,0,0.3);
  animation: fadeIn 1.5s ease forwards;
  text-align: center;
}

.hero-slide p {
  font-size: 1.2em;
  margin-bottom: 25px;
  line-height: 1.8;
  color: #f0f0f0;
  text-align: center;  /* 👈 Justifica el texto */
  text-justify: inter-word;
  animation: fadeIn 2s ease forwards;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-slide .btn-primary {
  animation: fadeInUp 1.5s ease forwards;
}

/* ANIMACIÓN DEL GRADIENTE */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* === BOTONES === */
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: #93c9a2;
}

.btn-primary:hover {
  background-color: #1d66db;
  transform: translateY(-3px);
}

.btn-secondary {
  background-color: #1d66db;
}

.btn-secondary:hover {
  background-color: #93c9a2;
}

/* === NOSOTROS (ABOUT SECTION CON FONDO GEOMÉTRICO) === */
.about {
  position: relative;
  background: #ffffff;
  overflow: hidden;
  color: #333;
}

.about .background-shapes {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
}

/* Figuras flotantes */
.about .background-shapes::before,
.about .background-shapes::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  animation: floatShape 12s ease-in-out infinite;
}

/* Figura 1: Círculo verde */
.about .background-shapes::before {
  width: 200px;
  height: 200px;
  background: #93c9a2;
  top: 15%;
  left: -5%;
  animation-delay: 0s;
}

/* Figura 2: Círculo azul */
.about .background-shapes::after {
  width: 300px;
  height: 300px;
  background: #1d66db;
  bottom: -10%;
  right: -10%;
  animation-delay: 4s;
}

/* Figuras extra opcionales */
.about::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  background: #6fa86b;
  opacity: 0.1;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  top: 30%;
  right: 15%;
  animation: floatShape 10s ease-in-out infinite alternate;
}

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(10deg); }
}

/* Contenido */
.about .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
  padding: 100px 20px;
}

.about-text {
  flex: 1;
  text-align: left;
  animation: fadeInLeft 1.2s ease forwards;
}

.about-text h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  position: relative;
  color: #1d66db;
}

.about-text h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #93c9a2, #1d66db);
  margin-top: 10px;
  border-radius: 5px;
}

.about-text p {
  line-height: 1.8;
  color: #555;
  margin-bottom: 25px;
  text-align: justify;
}

.about-image {
  flex: 1;
  display: flex;
  justify-content: center;
  animation: fadeInRight 1.2s ease forwards;
}

.about-image img {
  width: 50%;
  max-width: 480px;
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Animaciones suaves */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* === PROGRAMAS === */
/* === PROGRAMAS === */
.programs {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  color: #333;
  padding: 100px 20px;
}

/* Fondo con figuras geométricas */
.programs::before,
.programs::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
  animation: floatGeom 10s ease-in-out infinite;
}

.programs::before {
  width: 250px;
  height: 250px;
  background: #1d66db;
  top: 10%;
  left: -5%;
}

.programs::after {
  width: 180px;
  height: 180px;
  background: #93c9a2;
  bottom: 15%;
  right: -5%;
  animation-delay: 3s;
}

@keyframes floatGeom {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-25px) rotate(8deg); }
}

/* Fondo de líneas diagonales suaves */
.programs-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: repeating-linear-gradient(
    45deg,
    rgba(29, 102, 219, 0.04) 0px,
    rgba(29, 102, 219, 0.04) 2px,
    transparent 2px,
    transparent 18px
  );
  animation: moveLines 25s linear infinite;
}

@keyframes moveLines {
  from { transform: translate(0, 0); }
  to { transform: translate(-150px, -150px); }
}

/* === CONTENIDO === */
.programs .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.programs h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
  color: #1d66db;
  position: relative;
}

.programs h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #93c9a2, #1d66db);
  margin: 10px auto 0;
  border-radius: 5px;
}

.programs p {
  color: #555;
  margin-bottom: 40px;
  text-align: center;
  line-height: 1.8;
  font-weight: bold;
}

/* === TARJETAS === */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.card {
  background: #ffffff;
  padding: 30px 20px;
  border-radius: 20px;
  width: 300px;
  color: #333;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(147,201,162,0.15), rgba(29,102,219,0.15));
  transition: 0.5s;
}

.card:hover::before {
  left: 0;
}

.card i {
  font-size: 50px;
  color: #1d66db;
  margin-bottom: 15px;
  transition: transform 0.4s ease;
}

.card:hover i {
  transform: rotate(8deg) scale(1.1);
}

.card:hover {
  transform: translateY(-10px);
  background: #f9f9f9;
}

.card h3 {
  font-size: 1.3em;
  color: #1d66db;
  margin-bottom: 10px;
}

.card p {
  color: #555;
  text-align: center;
  line-height: 1.6;
  font-size: 0.95em;
}

/* === METODOLOGÍA === */
.method {
  position: relative;
  overflow: hidden;
  padding: 100px 20px;
  background: linear-gradient(135deg, #e8f5ee 0%, #dce9fb 100%);
}

/* Fondo decorativo animado */
.method::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: rgba(147, 201, 162, 0.25);
  border-radius: 50%;
  z-index: 0;
  animation: floatShape 8s ease-in-out infinite alternate;
}

.method::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: rgba(29, 102, 219, 0.15);
  border-radius: 50%;
  z-index: 0;
  animation: floatShape 10s ease-in-out infinite alternate-reverse;
}

@keyframes floatShape {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* Contenido principal */
.method .container {
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 2;
}

.method-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 70px;
  flex-wrap: wrap;
}

/* Bloque de texto */
.method-text {
  flex: 0.9;
  text-align: left;
  color: #333;
  animation: fadeIn 1.2s ease forwards;
}

.method-text h2 {
  font-size: 2.5em;
  color: #1d66db;
  margin-bottom: 10px;
  position: relative;
}

.method-text h2::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  background: linear-gradient(90deg, #93c9a2, #1d66db);
  margin-top: 8px;
  border-radius: 5px;
}

.method-text .subtitle {
  font-size: 1.3em;
  color: #6fa86b;
  margin-bottom: 20px;
  font-weight: 600;
}

.method-text p {
  text-align: justify;
  line-height: 1.8;
  margin-bottom: 25px;
  color: #555;
  font-size: 1.05em;
}

.method-text ul {
  list-style: none;
  padding: 0;
}

.method-text li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  color: #333;
  font-weight: 500;
}

.method-text i {
  color: #1d66db;
  background: rgba(29,102,219,0.1);
  border-radius: 50%;
  padding: 10px;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.method-text li:hover i {
  transform: scale(1.2);
}

/* Imagen */
.method-image {
  flex: 1.2;
  position: relative;
  animation: fadeInUp 1.3s ease forwards;
}

.method-image img {
  width: 100%;
  max-width: 550px;
  border-radius: 20px;
  border: 8px solid #ffffff;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  transition: transform 0.5s ease;
}

.method-image:hover img {
  transform: scale(1.03);
}

/* Animaciones */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .method-content {
    flex-direction: column;
    text-align: center;
  }

  .method-text {
    flex: 1;
    text-align: center;
  }

  .method-text li {
    justify-content: center;
  }

  .method-image img {
    max-width: 400px;
  }
}

/* === SECCIÓN COLABORAR / DONACIONES === */
.donation-section {
  position: relative;
  padding: 100px 20px;
  background: linear-gradient(135deg, #f3f8ff 0%, #e9f7ef 100%);
  overflow: hidden;
}

/* === FONDO DECORATIVO CON RECTÁNGULOS ANIMADOS === */
.donation-section::before,
.donation-section::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(120deg, rgba(29,102,219,0.08) 25%, transparent 25%) 0 0,
    linear-gradient(240deg, rgba(147,201,162,0.08) 25%, transparent 25%) 0 0;
  background-size: 80px 80px;
  animation: moveBg 20s linear infinite;
  opacity: 0.6;
}

@keyframes moveBg {
  0% { background-position: 0 0, 0 0; }
  50% { background-position: 80px 80px, -80px -80px; }
  100% { background-position: 0 0, 0 0; }
}

/* FIGURAS GEOMÉTRICAS GRANDES (RECTÁNGULOS) */
.donation-section .animated-rect {
  position: absolute;
  border-radius: 10px;
  opacity: 0.12;
  z-index: 1;
  background: linear-gradient(135deg, #1d66db, #93c9a2);
  filter: blur(1px);
  animation: floatRect 12s ease-in-out infinite;
}

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

/* POSICIONES DE RECTÁNGULOS */
.rect1 { width: 180px; height: 80px; top: 80px; left: 50px; animation-delay: 0s; }
.rect2 { width: 240px; height: 100px; bottom: 100px; right: 80px; animation-delay: 3s; }
.rect3 { width: 100px; height: 150px; top: 200px; right: 150px; animation-delay: 6s; }
.rect4 { width: 220px; height: 90px; bottom: 50px; left: 100px; animation-delay: 1s; }

/* === CONTENIDO PRINCIPAL === */
.donation-section .container {
  max-width: 1200px;
  margin: auto;
  position: relative;
  z-index: 5;
  text-align: center;
}

/* TÍTULOS Y TEXTO */
.section-header h2 {
  font-size: 2.5em;
  color: #1d66db;
  margin-bottom: 15px;
  position: relative;
}

.section-header h2::after {
  content: "";
  display: block;
  width: 90px;
  height: 3px;
  background: linear-gradient(90deg, #93c9a2, #1d66db);
  margin: 10px auto 0;
  border-radius: 5px;
}

.section-header p {
  max-width: 800px;
  margin: 20px auto 60px;
  color: #444;
  font-size: 1.05em;
  line-height: 1.8;
  text-align: justify;
}

/* === TARJETAS === */
.donation-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.donation-card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 25px;
  width: 340px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: all 0.4s ease;
  border-top: 4px solid #93c9a2;
  position: relative;
}

.donation-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

/* ÍCONOS */
.icon-circle {
  background: linear-gradient(135deg, #93c9a2, #1d66db);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  box-shadow: 0 6px 15px rgba(29,102,219,0.3);
}

.icon-circle i {
  color: #fff;
  font-size: 32px;
  transition: transform 0.3s ease;
}

.donation-card:hover .icon-circle i {
  transform: rotate(15deg) scale(1.1);
}

/* TEXTO DENTRO DE TARJETAS */
.donation-card h3 {
  color: #1d66db;
  font-size: 1.4em;
  margin-bottom: 15px;
}

.donation-card p {
  color: #555;
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 25px;
  text-align: justify;
}

/* BOTÓN */
.btn-primary {
  background-color: #93c9a2;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #1d66db;
  transform: translateY(-3px);
}

/* FOOTER INTERNO */
.donation-footer {
  margin-top: 60px;
  background: rgba(255,255,255,0.9);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.donation-footer h4 {
  color: #1d66db;
  font-size: 1.4em;
  margin-bottom: 15px;
}

.donation-footer p {
  color: #555;
  line-height: 1.8;
  font-size: 1em;
  text-align: justify;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .donation-grid {
    flex-direction: column;
    align-items: center;
  }
  .donation-card {
    width: 90%;
  }
}

/* === CONTACTO LIMPIO Y MODERNO === */
.contact-clean {
  background: linear-gradient(180deg, #ffffff 0%, #f4f8ff 100%);
  padding: 120px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-container {
  display: flex;
  gap: 60px;
  max-width: 1100px;
  width: 100%;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* COLUMNA IZQUIERDA */
.contact-left {
  flex: 1;
  min-width: 280px;
  padding-right: 20px;
}

.contact-left h2 {
  font-size: 2.5em;
  color: #1d66db;
  margin-bottom: 15px;
}

.contact-left p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 25px;
  text-align: justify;
}

.contact-info {
  list-style: none;
  padding: 0;
}

.contact-info li {
  margin-bottom: 12px;
  font-size: 1em;
  color: #444;
  display: flex;
  align-items: center;
}

.contact-info i {
  color: #1d66db;
  margin-right: 10px;
}

/* FORMULARIO */
.contact-form-modern {
  flex: 1;
  min-width: 320px;
  background: #fff;
  padding: 40px 45px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 25px;
  animation: fadeIn 1s ease forwards;
}

/* CAMPOS DE TEXTO */
.input-box {
  position: relative;
  width: 100%;
}

.input-box input,
.input-box textarea {
  width: 100%;
  border: none;
  outline: none;
  font-size: 1em;
  padding: 15px 15px 15px 0;
  background: transparent;
  border-bottom: 2px solid #ccc;
  transition: all 0.3s ease;
  resize: none;
  color: #333;
}

.input-box label {
  position: absolute;
  top: 15px;
  left: 0;
  color: #888;
  pointer-events: none;
  transition: all 0.3s ease;
  font-size: 1em;
}

/* EFECTO FLOTANTE */
.input-box input:focus,
.input-box input:valid,
.input-box textarea:focus,
.input-box textarea:valid {
  border-bottom-color: #1d66db;
}

.input-box input:focus + label,
.input-box input:valid + label,
.input-box textarea:focus + label,
.input-box textarea:valid + label {
  top: -10px;
  font-size: 0.85em;
  color: #1d66db;
}

/* BOTÓN */
.btn-send {
  align-self: flex-end;
  background: linear-gradient(90deg, #1d66db, #93c9a2);
  color: #fff;
  padding: 12px 35px;
  border: none;
  border-radius: 30px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 20px rgba(29,102,219,0.2);
}

.btn-send:hover {
  transform: translateY(-3px);
  background: linear-gradient(90deg, #93c9a2, #1d66db);
}

/* ANIMACIÓN */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-container {
    flex-direction: column;
    text-align: center;
  }

  .contact-left {
    padding-right: 0;
  }

  .btn-send {
    align-self: center;
  }
}

/* === FOOTER === */
.footer {
  background: #1d1d1d;
  padding: 60px 20px 20px;
  color: #fff;
  text-align: center;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
  text-align: left;
}

.footer h4 {
  margin-bottom: 15px;
  color: #93c9a2;
}

.footer a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #93c9a2;
}

.footer .social a {
  margin-right: 15px;
  font-size: 20px;
  color: #fff;
}

.footer .social a:hover {
  color: #93c9a2;
}

.copyright {
  margin-top: 30px;
  color: #ccc;
  font-size: 14px;
}

/* === ANIMACIONES === */
@keyframes fadeIn {
  0% { opacity: 0; transform: translateY(30px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(50px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  0% { opacity: 0; transform: translateY(-30px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .about .container,
  .method .container {
    flex-direction: column;
    text-align: center;
  }

  .navbar ul {
    gap: 15px;
  }

  .cards, .donation-grid {
    flex-direction: column;
    align-items: center;
  }

  .card, .donation-card {
    width: 90%;
  }

  section {
    padding: 120px 20px 60px;
  }
}

@media (max-width: 500px) {
  .hero h1 {
    font-size: 2em;
  }

  .hero p {
    font-size: 1em;
  }

  .navbar .logo h1 {
    font-size: 18px;
  }
}
/* === SECCIÓN COLABORA MODERNA === */
.collab-modern {
  position: relative;
  overflow: hidden;
  padding: 120px 20px;
  background: linear-gradient(180deg, #f5f9ff 0%, #ffffff 100%);
}

/* === FONDO CON FORMAS ANIMADAS === */
.collab-bg::before,
.collab-bg::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  z-index: 0;
}

.collab-bg::before {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #93c9a2 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation: moveBlob1 18s infinite alternate ease-in-out;
}

.collab-bg::after {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #1d66db 0%, transparent 70%);
  bottom: -150px;
  right: -150px;
  animation: moveBlob2 22s infinite alternate ease-in-out;
}

@keyframes moveBlob1 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 80px); }
}

@keyframes moveBlob2 {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-70px, -60px); }
}

/* === CONTENIDO PRINCIPAL === */
.collab-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  position: relative;
  z-index: 1;
}

.collab-header h2 {
  font-size: 2.6em;
  color: #1d66db;
  margin-bottom: 15px;
  font-weight: 700;
}

.collab-header p {
  font-size: 1.1em;
  color: #555;
  line-height: 1.8;
}

/* === TARJETAS === */
.collab-cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.collab-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 40px 30px;
  width: 320px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
  text-align: center;
  transition: all 0.4s ease;
}

.collab-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.12);
}

.collab-icon {
  background: linear-gradient(135deg, #1d66db, #93c9a2);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 35px;
  box-shadow: 0 6px 15px rgba(29,102,219,0.3);
}

.collab-card h3 {
  font-size: 1.4em;
  margin-bottom: 15px;
  color: #1d1d1d;
}

.collab-card p {
  color: #555;
  font-size: 1em;
  line-height: 1.7;
  margin-bottom: 25px;
}

/* BOTÓN */
.btn-collab {
  background: linear-gradient(90deg, #1d66db, #93c9a2);
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
}

.btn-collab:hover {
  transform: translateY(-3px);
  background: linear-gradient(90deg, #93c9a2, #1d66db);
}

/* === FOOTER DE LA SECCIÓN === */
.collab-footer {
  text-align: center;
  margin-top: 70px;
  position: relative;
  z-index: 1;
}

.collab-footer h4 {
  color: #1d66db;
  font-size: 1.5em;
  margin-bottom: 10px;
}

.collab-footer p {
  color: #444;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  font-size: 1em;
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .collab-card {
    width: 90%;
  }

  .collab-header h2 {
    font-size: 2.2em;
  }
}



