h1 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
}

/* SOLUCIÓN PARA FONDO COMPLETO - MÉTODO DIRECTO */

/* Hacer que el section tenga fondo completo */
.register-section-3 {
  background-color: transparent !important;
  padding: 0 !important;
  margin-top: 77px !important;
}

/* El container de Bootstrap no debe limitar */
.register-section-3 .container {
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* CONTENEDOR PRINCIPAL */
.organizers-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 0;
  padding: 0;
  background-color: transparent;
}

/* ORGANIZADOR - FONDO COMPLETO GARANTIZADO */
.organizer {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
  background-color: #f9f9f9;
  border-radius: 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: border-box;
}

/* SOLUCIÓN CON DIVS - MÉTODO GARANTIZADO AL 100% */
.organizer-with-waves {
  position: relative;
  overflow: hidden;
  padding-bottom: 0 !important;
}

/* CONTENEDOR DE ONDAS */
.wave-wrapper {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  overflow: hidden;
  z-index: 1;
}

/* ONDAS INDIVIDUALES */
.wave {
  position: absolute;
  width: 200%;
  height: 100%;
  background: #f0f8ff;
  border-radius: 50%;
  opacity: 1;
}

.wave-1 {
  bottom: -50%;
  left: -50%;
  background: #f0f8ff;
  animation: waveMove1 8s ease-in-out infinite;
}

.wave-2 {
  bottom: -60%;
  left: -45%;
  background: rgba(240, 248, 255, 0.8);
  animation: waveMove2 6s ease-in-out infinite;
}

.wave-3 {
  bottom: -70%;
  left: -40%;
  background: rgba(230, 243, 255, 0.6);
  animation: waveMove3 10s ease-in-out infinite;
}

.wave-4 {
  bottom: -80%;
  left: -35%;
  background: rgba(220, 238, 255, 0.4);
  animation: waveMove4 12s ease-in-out infinite;
}

/* ANIMACIONES DE ONDAS */
@keyframes waveMove1 {
  0%, 100% { 
    transform: translateX(0) rotate(0deg) scale(1);
  }
  25% { 
    transform: translateX(-15px) rotate(1deg) scale(1.02);
  }
  50% { 
    transform: translateX(-25px) rotate(2deg) scale(0.98);
  }
  75% { 
    transform: translateX(-10px) rotate(1deg) scale(1.01);
  }
}

@keyframes waveMove2 {
  0%, 100% { 
    transform: translateX(0) rotate(0deg) scale(1);
  }
  33% { 
    transform: translateX(20px) rotate(-1deg) scale(0.99);
  }
  66% { 
    transform: translateX(15px) rotate(-1.5deg) scale(1.01);
  }
}

@keyframes waveMove3 {
  0%, 100% { 
    transform: translateX(0) rotate(0deg) scale(1);
  }
  40% { 
    transform: translateX(-10px) rotate(0.5deg) scale(1.01);
  }
  80% { 
    transform: translateX(-5px) rotate(1deg) scale(0.99);
  }
}

@keyframes waveMove4 {
  0%, 100% { 
    transform: translateX(0) rotate(0deg) scale(1);
  }
  50% { 
    transform: translateX(12px) rotate(-0.5deg) scale(1.005);
  }
}

/* CONTENIDO INTERNO CENTRADO - MEJORADO */
.organizer-content {
  display: flex;
  align-items: center;
  gap: 50px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
  box-sizing: border-box;
  z-index: 10;
  position: relative;
}

.organizer-image {
  flex: 0 0 40%;
  text-align: center;
}

.organizer-image img {
  max-width: 100%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.organizer-info {
  flex: 0 0 60%;
  padding-left: 20px;
}

.organizer-info p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin: 0;
  color: #333;
  text-align: justify;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* COLORES ALTERNADOS PARA CADA ORGANIZADOR */
.organizer:nth-child(odd) {
  background-color: #ffecef;
}

.organizer:nth-child(even) {
  background-color: #f0f8ff;
}

/* RESPONSIVE MEJORADO CON ONDAS */
@media (max-width: 1200px) {
  .organizer-content {
    max-width: 1100px;
    gap: 40px;
    padding: 0 30px;
  }
  
  .organizer-info p {
    font-size: 1.1rem;
  }
  
  .wave-wrapper {
    height: 100px;
  }
}

@media (max-width: 992px) {
  .organizer-content {
    gap: 30px;
    padding: 0 25px;
  }
  
  .organizer-image {
    flex: 0 0 35%;
  }
  
  .organizer-info {
    flex: 0 0 65%;
    padding-left: 15px;
  }
}

@media (max-width: 768px) {
  .organizer {
    padding: 40px 0;
  }
  
  .wave-wrapper {
    height: 80px;
  }
  
  .organizer-content {
    flex-direction: column;
    padding: 0 20px;
    gap: 30px;
    text-align: center;
  }

  .organizer-image,
  .organizer-info {
    flex: 0 0 100%;
  }
  
  .organizer-image {
    margin-bottom: 0;
  }
  
  .organizer-info {
    padding-left: 0;
  }
  
  .organizer-info p {
    text-align: center;
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .organizer {
    padding: 30px 0;
  }
  
  .wave-wrapper {
    height: 60px;
  }
  
  .organizer-content {
    padding: 0 15px;
  }
  
  .organizer-info p {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* Para imágenes de gran tamaño */
@media screen and (min-width: 1600px) {
  .organizer-content {
    max-width: 1500px;
    gap: 60px;
  }

  .organizer-image img {
    max-height: 350px;
  }

  h1 {
    font-size: 3rem;
  }

  .organizer-info p {
    font-size: 1.25rem;
    line-height: 1.8;
  }
  
  .wave-wrapper {
    height: 140px;
  }
}

/* ESTILOS PARA OTRAS SECCIONES */
.cuenta-regresiva-section {
  text-align: center;
}

.inscripcion-btn {
  background-color: #28a745;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.inscripcion-btn:hover {
  background-color: #218838;
  transform: scale(1.05);
}

.inscripcion-btn:active {
  background-color: #1e7e34;
  transform: scale(0.97);
}

.text-anim {
  font-size: 44px !important;
  margin-bottom: 40px !important;
  text-align: center !important;
  line-height: 1 !important;
}

.brand-main-item .brand-item .brand-image.not-image {
  min-width: 215px !important;
  height: 104px !important;
  line-height: 80px !important;
  border-radius: 10px;
  border-top: 1px solid #ece9f3 !important;
  border-right: 3px solid #ece9f3 !important;
  border-bottom: 3px solid #ece9f3 !important;
  border-left: 1px solid #ece9f3 !important;
  text-align: center !important;
  margin: 0 auto !important;
  background: #ece9f3 !important;
}

.register-section-3 {
  margin-top: 77px !important;
  padding-top: 77px !important;
  background-color: transparent;
}

.brand-section {
   background: #ece9f3 !important;
}

.brand-image {
   background-color: #ffff;
}

.section-padding {
  padding: 60px 0;
}

.pt-0 {
  padding-top: 0 !important;
}

.custom-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: #0D0D0D;
  margin-bottom: 3rem;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(135deg, #6B46C1 0%, #10B981 100%);
  border-radius: 2px;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.brand-card {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #6B46C1 0%, #10B981 100%);
}

.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.15);
}

.brand-link {
  display: block;
  text-decoration: none;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f8f9fa;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.brand-link:hover {
  background: #e9ecef;
  transform: scale(1.02);
}

.brand-link::after {
  content: '🔗';
  position: absolute;
  top: 10px;
  right: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  font-size: 1.2rem;
}

.brand-link:hover::after {
  opacity: 1;
}

.brand-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}

.brand-link:hover .brand-image {
  filter: grayscale(0%);
}

/* Responsive breakpoints */
@media (max-width: 1400px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1000px;
  }
}

@media (max-width: 1024px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  
  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 768px) {
  .brands-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .section-title {
    font-size: 1.8rem;
    margin-bottom: 2rem;
  }
  
  .brand-card {
    padding: 1.5rem;
  }
  
  .custom-container {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .section-padding {
    padding: 40px 0;
  }
  
  .brand-link {
    height: 100px;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
}

/* Animaciones */
.wow.fadeInUp {
  animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.brand-card:nth-child(1) { animation-delay: 0.1s; }
.brand-card:nth-child(2) { animation-delay: 0.2s; }
.brand-card:nth-child(3) { animation-delay: 0.3s; }
.brand-card:nth-child(4) { animation-delay: 0.4s; }
.brand-card:nth-child(5) { animation-delay: 0.5s; }
.brand-card:nth-child(6) { animation-delay: 0.6s; }
.brand-card:nth-child(7) { animation-delay: 0.7s; }

/* Espaciado entre secciones */
.brand-section + .brand-section {
  margin-top: 4rem;
}