
.ai-video-section {
    padding-bottom: 10px;
    background: linear-gradient(180deg, #f9f9f9 0%, #ffffff 100%);
    overflow: hidden;
    position: relative;
  }
  
  .section-header-ai {
    text-align: center;
    /* margin-bottom: 60px; */
  }
  
  .ai-message {
    margin-bottom: 20px;
  }
  
  .ai-message h2 {
    font-size: 36px;
    font-weight: 700;
    color: #4a4a9c;
  }
  
  .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
  }
  
  .highlight::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
  }
  
  .ai-video-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 20px;
  }
  
  .ai-video-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 10px;
  }
  
  .ai-video-grid {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
  
  .left-grid {
    margin-right: 20px;
  }
  
  .right-grid {
    margin-left: 20px;
  }
  
  .ai-video-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 25px;
    transition: var(--transition);
    display: flex;
    align-items: flex-start;
    gap: 20px;
  }
  
  .ai-video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-hover-shadow);
  }
  
  .card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(233, 30, 99, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
  }
  
  .card-icon i {
    font-size: 24px;
    color: var(--primary-color);
  }
  
  .card-content {
    flex-grow: 1;
  }
  
  .ai-video-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-color);
  }
  
  .ai-video-card p {
    font-size: 15px;
    color: var(--light-text);
    line-height: 1.6;
  }
  
  .ai-video-container {
    flex: 2;
    min-width: 320px;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
  }
  
  .video-wrapper {
    position: relative;
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  }
  
  .ai-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--border-radius);
    object-fit: cover;
  }
  
  .video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    pointer-events: none;
  }
  
  .video-wrapper:hover .video-overlay {
    opacity: 1;
  }
  
  .play-button {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
  }
  
  .play-button i {
    font-size: 30px;
    color: var(--primary-color);
    margin-left: 5px;
  }
  
  .play-button:hover {
    transform: scale(1.1);
    background: #fff;
  }
  
  .video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
  }
  
  .video-wrapper:hover .video-controls {
    opacity: 1;
  }
  
  .control-button {
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.2s ease;
  }
  
  .control-button:hover {
    transform: scale(1.1);
  }
  
  .progress-bar {
    flex-grow: 1;
    height: 5px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    overflow: hidden;
    cursor: pointer;
  }
  
  .progress {
    height: 100%;
    background: var(--primary-color);
    width: 0;
  }
  
  /* Animación para el texto cambiante */
  @keyframes fadeIn {
    0% {
      opacity: 0;
      transform: translateY(10px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  #changing-text {
    animation: fadeIn 1s ease-in-out;
  }
  
  /* Responsive Styles */
  @media (max-width: 1200px) {
    .ai-video-content {
      gap: 20px;
    }
  
    .left-grid,
    .right-grid {
      margin: 0;
    }
  }
  
  @media (max-width: 992px) {
    .ai-message h2 {
      font-size: 32px;
    }
  
    .ai-video-title {
      font-size: 24px;
    }
  
    .ai-video-content {
      flex-direction: column;
    }
  
    .ai-video-grid {
      width: 100%;
      max-width: 600px;
      margin: 0 auto;
    }
  
    .left-grid,
    .right-grid {
      order: 2;
    }
  
    .ai-video-container {
      order: 1;
      margin-bottom: 30px;
    }
  }
  
  @media (max-width: 768px) {
  
    .section-header-ai {
      margin-bottom: 40px;
    }
  
    .ai-message h2 {
      font-size: 28px;
    }
  
    .ai-video-title {
      font-size: 22px;
    }
  
    .ai-video-card {
      padding: 20px;
    }
  
    .card-icon {
      width: 40px;
      height: 40px;
    }
  
    .card-icon i {
      font-size: 20px;
    }
  
    .ai-video-card h3 {
      font-size: 16px;
    }
  }
  
  @media (max-width: 480px) {
    .ai-message h2 {
      font-size: 24px;
    }
  
    .ai-video-title {
      font-size: 20px;
    }
  
    .play-button {
      width: 60px;
      height: 60px;
    }
  
    .play-button i {
      font-size: 24px;
    }
  }