/* CSS Variables */
:root {
  --vh: 1vh;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  overflow: hidden;
}

/* Navigation Styles */
.navigation {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(36, 232, 11, 0.2);
  padding: 0.75rem 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5rem;
  position: relative;
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
  transition: all 0.3s ease;
  order: 2; /* Menu a la derecha */
}

.nav-link {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
  white-space: nowrap;
}

.nav-link:hover {
  color: #24E80B;
  transform: translateY(-1px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #24E80B, #1CB80A);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  order: 1; /* Logo a la izquierda */
}

.logo-image {
  height: 40px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo-image:hover {
  transform: scale(1.05);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  order: 3; /* Botón hamburguesa a la derecha */
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background: #333;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-btn:hover .hamburger-line {
  background: #24E80B;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Hide social media links on desktop */
.mobile-social-links {
  display: none;
}

/* Ensure no unwanted content appears behind videos on mobile */
@media (max-width: 1024px) {
  .app-container {
    background: transparent !important;
  }
  
  .main-content {
    background: transparent !important;
  }
  
  body {
    background: transparent !important;
  }
  
  /* Hide any potential background elements */
  .description {
    display: none !important;
  }
  
  /* Ensure video container is above everything */
  .video-container {
    z-index: 25 !important;
  }
  
  .media-container {
    z-index: 26 !important;
  }
  
  .media-element {
    z-index: 27 !important;
  }
  
  /* Touch navigation styles */
  .video-container {
    touch-action: pan-y; /* Allow vertical scrolling but handle horizontal swipes */
    user-select: none; /* Prevent text selection during swipe */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
  }
  
  .media-container {
    touch-action: pan-y;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
  }
}

/* iOS specific styles to prevent video fullscreen */
@supports (-webkit-touch-callout: none) {
  .media-element {
    -webkit-playsinline: true;
    -webkit-media-controls: none;
    -webkit-media-controls-panel: none;
    -webkit-media-controls-play-button: none;
    -webkit-media-controls-start-playback-button: none;
    -webkit-media-controls-fullscreen-button: none;
    -webkit-media-controls-timeline: none;
    -webkit-media-controls-current-time-display: none;
    -webkit-media-controls-time-remaining-display: none;
    -webkit-media-controls-mute-button: none;
    -webkit-media-controls-volume-slider: none;
    -webkit-media-controls-overlay-play-button: none;
    -webkit-media-controls-enclosure: none;
  }
  
  .video-container {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    perspective: 1000;
  }
}

/* ========================================
   PLATFORM-SPECIFIC STYLES
   ======================================== */

/* iOS Device Styles */
.ios-device .media-element {
  -webkit-playsinline: true !important;
  -webkit-media-controls: none !important;
  -webkit-media-controls-panel: none !important;
  -webkit-media-controls-play-button: none !important;
  -webkit-media-controls-start-playback-button: none !important;
  -webkit-media-controls-fullscreen-button: none !important;
  -webkit-media-controls-timeline: none !important;
  -webkit-media-controls-current-time-display: none !important;
  -webkit-media-controls-time-remaining-display: none !important;
  -webkit-media-controls-mute-button: none !important;
  -webkit-media-controls-volume-slider: none !important;
  -webkit-media-controls-overlay-play-button: none !important;
  -webkit-media-controls-enclosure: none !important;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  pointer-events: none;
}

.ios-device .video-container {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000;
  perspective: 1000;
  pointer-events: auto;
}

.ios-device .media-container {
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  pointer-events: auto;
}

/* Android Device Styles */
.android-device .media-element {
  -webkit-playsinline: true !important;
  -webkit-media-controls: none !important;
  -webkit-media-controls-panel: none !important;
  -webkit-media-controls-play-button: none !important;
  -webkit-media-controls-start-playback-button: none !important;
  -webkit-media-controls-fullscreen-button: none !important;
  -webkit-media-controls-timeline: none !important;
  -webkit-media-controls-current-time-display: none !important;
  -webkit-media-controls-time-remaining-display: none !important;
  -webkit-media-controls-mute-button: none !important;
  -webkit-media-controls-volume-slider: none !important;
  -webkit-media-controls-overlay-play-button: none !important;
  -webkit-media-controls-enclosure: none !important;
}

/* ========================================
   PLATFORM-SPECIFIC SIZES - iOS
   ======================================== */

/* iOS Video Sizes */
.ios-device .carousel-container {
  height: 65% !important; /* iOS: Videos más pequeños */
  top: 70px !important;
}

.ios-device .content-section {
  height: 30% !important; /* iOS: Más espacio para párrafos */
}

/* iOS Paragraph Sizes */
.ios-device .paragraph {
  font-size: 1.8rem !important; /* iOS: Párrafos más grandes */
  line-height: 1.3 !important;
}

.ios-device .video-title {
  font-size: 2.5rem !important; /* iOS: Títulos más grandes */
}

.ios-device .cta-button {
  padding: 16px 45px !important; /* iOS: Botones más grandes */
  font-size: 1.3rem !important;
}

/* iOS Mobile Specific (480px and below) */
@media (max-width: 480px) {
  .ios-device .carousel-container {
    height: 60% !important; /* iOS móvil: Videos aún más pequeños */
    top: 60px !important;
  }
  
  .ios-device .content-section {
    height: 40% !important; /* iOS móvil: Más espacio para texto */
  }
  
  .ios-device .paragraph {
    font-size: 2.2rem !important; /* iOS móvil: Párrafos grandes */
    line-height: 1.2 !important;
  }
  
  .ios-device .video-title {
    font-size: 2.8rem !important; /* iOS móvil: Títulos grandes */
  }
  
  .ios-device .cta-button {
    padding: 18px 50px !important; /* iOS móvil: Botones extra grandes */
    font-size: 1.4rem !important;
  }
}

/* ========================================
   PLATFORM-SPECIFIC SIZES - ANDROID
   ======================================== */

/* Android Video Sizes */
.android-device .carousel-container {
  height: 75% !important; /* Android: Videos más grandes */
  top: 50px !important;
}

.android-device .content-section {
  height: 20% !important; /* Android: Menos espacio para párrafos */
}

/* Android Paragraph Sizes */
.android-device .paragraph {
  font-size: 1.3rem !important; /* Android: Párrafos más pequeños */
  line-height: 1.4 !important;
}

.android-device .video-title {
  font-size: 2.2rem !important; /* Android: Títulos más pequeños */
}

.android-device .cta-button {
  padding: 12px 35px !important; /* Android: Botones más pequeños */
  font-size: 1.1rem !important;
}

/* Android Mobile Specific (480px and below) */
@media (max-width: 480px) {
  .android-device .carousel-container {
    height: 60% !important; /* Android móvil: Videos medianos */
    top: 60px !important;
  }
  
  .android-device .content-section {
    height: 35% !important; /* Android móvil: Espacio medio para texto */
  }
  
  .android-device .paragraph {
    font-size: 2rem !important; /* Android móvil: Párrafos medianos */
    line-height: 1.3 !important;
  }
  
  .android-device .video-title {
    font-size: 2.4rem !important; /* Android móvil: Títulos medianos */
  }
  
  .android-device .cta-button {
    padding: 14px 40px !important; /* Android móvil: Botones medianos */
    font-size: 1.2rem !important;
  }
}

.app-container {
  min-height: 100vh;
  background: transparent;
  position: relative;
}

.main-content {
  position: relative;
  height: 100vh;
  height: calc(var(--vh, 1vh) * 100);
  overflow: hidden;
  padding-top: 70px; /* Space for fixed navigation */
}

.carousel-container {
  position: absolute;
  inset: 0;
  z-index: 10;
}

.video-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.progress-bars {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  gap: 4px;
  padding: 8px;
}

.progress-bar {
  display: none;
  flex: 1;
  height: 4px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: white;
  transition: width 0.1s ease;
  border-radius: 2px;
}

.video-content {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.video-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-container {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.media-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.media-element.active {
  opacity: 1;
}

.placeholder-video {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  color: white;
  text-align: center;
}

.placeholder-video h1 {
  font-size: 4rem;
  font-weight: bold;
  margin-bottom: 1rem;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.placeholder-video p {
  font-size: 1.5rem;
  font-weight: 500;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.overlay-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.title-container {
  text-align: center;
  padding: 0 1rem;
}

.video-title {
  font-size: 3rem;
  font-weight: bold;
  color: white;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  margin: 0;
}


.carousel-indicator {
  position: absolute;
  bottom: 6rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  z-index: 10;
}

.indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator-dot:hover {
  background: rgba(255, 255, 255, 0.75);
}

.indicator-dot.active {
  width: 32px;
  background: white;
}

.description {
  display: none;
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(20px);
  padding: 1.5rem;
  border-top: 1px solid rgba(36, 232, 11, 0.2);
}

.description-title {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.description-text {
  color: #666;
  font-size: 0.875rem;
  margin: 0;
}

.content-section {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.content-container {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  padding: 1.5rem;
  
}

.paragraphs-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  min-height: 60px;
}

.paragraph {
  font-size: 1.5rem;
  font-weight: 500;
  color: #333;
  margin: 0;
  transition: all 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

/* Bysible link styles */
.bysible-link {
  color: #24E80B;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.bysible-link:hover {
  color: #1CB80A;
  text-decoration: underline;
  transform: scale(1.05);
}

.paragraph[data-position="top"] {
  top: 0;
}

.paragraph[data-position="middle"] {
  top: 50%;
  transform: translateY(-50%);
}

.paragraph[data-position="bottom"] {
  top: auto;
  bottom: 0;
}

.paragraph.visible {
  opacity: 1;
  transform: translateY(0);
}

.paragraph.hidden {
  opacity: 0;
  transform: translateY(-16px);
  pointer-events: none;
}

.special-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  transition: all 0.5s ease;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

/* CTA positioning classes */
.cta-container[data-position="left"] {
  align-items: flex-start;
  left: 0;
  right: auto;
  width: 100%;
}

.cta-container[data-position="center"] {
  align-items: center;
  left: 0;
  right: 0;
  width: 100%;
}

.cta-container[data-position="right"] {
  align-items: center;
  left: auto;
  right: 0;
  width: 100%;
}

.cta-container[data-position="top"] {
  top: 0;
}

.cta-container[data-position="middle"] {
  top: 50%;
  transform: translateY(-50%);
}

.cta-container[data-position="bottom"] {
  top: auto;
  bottom: 0;
}

/* Special styles for last video in last carousel - only on small screens */

.cta-container.visible {
  opacity: 1;
  transform: translateY(0);
  animation: slideUpFromBottom 0.8s ease-out;
}

.cta-container.hidden {
  opacity: 0;
  transform: translateY(100px);
  pointer-events: none;
  transition: all 0.5s ease;
}

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

.cta-text {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

.cta-button {
  background: linear-gradient(135deg, #24E80B, #1CB80A);
  color: white;
  padding: 15px 40px;
  font-size: 1.25rem;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(36, 232, 11, 0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(36, 232, 11, 0.4);
  background: linear-gradient(135deg, #2BFF0D, #22D80B);
}

.cta-button:active {
  transform: translateY(-1px);
}

/* Gradient classes */
/* .gradient-blue-cyan-teal {
  background: linear-gradient(135deg, #2563eb, #06b6d4, #14b8a6);
}

.gradient-indigo-purple-pink {
  background: linear-gradient(135deg, #4f46e5, #9333ea, #ec4899);
}

.gradient-emerald-teal-cyan {
  background: linear-gradient(135deg, #10b981, #14b8a6, #0891b2);
}

.gradient-red-pink-rose {
  background: linear-gradient(135deg, #dc2626, #ec4899, #f43f5e);
}

.gradient-orange-red-pink {
  background: linear-gradient(135deg, #ea580c, #ef4444, #ec4899);
}

.gradient-amber-orange-red {
  background: linear-gradient(135deg, #d97706, #f97316, #ef4444);
}

.gradient-green-emerald-teal {
  background: linear-gradient(135deg, #16a34a, #10b981, #14b8a6);
}

.gradient-blue-indigo-purple {
  background: linear-gradient(135deg, #2563eb, #4f46e5, #9333ea);
}

.gradient-green-emerald-teal-light {
  background: linear-gradient(135deg, #22c55e, #34d399, #2dd4bf);
}

.gradient-cyan-blue-indigo {
  background: linear-gradient(135deg, #06b6d4, #3b82f6, #4f46e5);
}

.gradient-purple-indigo-blue {
  background: linear-gradient(135deg, #9333ea, #4f46e5, #3b82f6);
}

.gradient-slate-gray-zinc {
  background: linear-gradient(135deg, #475569, #374151, #27272a);
} */

.gradient-default {
  background: linear-gradient(135deg, #24E80B, #1CB80A);
}

.gradient-text {
  background: linear-gradient(135deg, #24E80B, #1CB80A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.animate-fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

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

/* Responsive Design */
@media (min-width: 768px) {
  .video-title {
    font-size: 4rem;
  }
  
  .description-text {
    font-size: 1rem;
  }
}

@media (max-width: 1024px){
  .carousel-container{
    height: 70%;
    top: 60px;
    z-index: 20 !important;
  }

  .content-section{
    height: 25%;
    z-index: 60 !important;
  }
 

  .nav-container {
    padding: 0 1rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    flex-direction: column;
    gap: 0;
    padding: 2rem 0;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
    box-sizing: border-box;
  }

  .nav-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: -1;
  }

  .nav-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: -1;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 1.5rem 2rem;
    width: 100%;
    text-align: center;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-link:last-of-type {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-link:hover {
    background: rgba(36, 232, 11, 0.2);
    transform: none;
    color: #24E80B;
  }

  .nav-link::after {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 100000;
  }

  .mobile-menu-btn.active {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 100000;
  }

  .mobile-menu-btn.active .hamburger-line {
    background: white;
  }

  .logo-image {
    height: 35px;
  }

  .main-content {
    padding-top: 65px;
  }

  /* Social Media Links Styles */
  .mobile-social-links {
    display: block;
    margin-top: auto;
    padding: 2rem 1rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .social-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
  }

  .social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
  }

  .social-link:hover {
    color: #24E80B;
    transform: translateY(-2px);
  }

  .social-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .social-text {
    font-size: 0.9rem;
    font-weight: 500;
  }

  .video-title {
    font-size: 2rem;
  }

  .carousel-indicator {
    bottom: 4rem;
  }

  .content-container {
    padding: 1rem;
  }

  .paragraph {
    font-size: 1.25rem;
  }

  .cta-text {
    font-size: 1.25rem;
  }

  .cta-button {
    padding: 12px 30px;
    font-size: 1.1rem;
  }

    /* Paragraph positioning classes */
.paragraph[data-position="left"] {
  text-align: left;
  left: 0;
  right: auto;
  width: 100%;
}

.paragraph[data-position="center"] {
  text-align: center;
  left: 0;
  right: 0;
  bottom: 10px;
  width: 100%;
}

.paragraph[data-position="right"] {
  text-align: right;
  left: auto;
  right: 0;
  width: 100%;
}

.paragraph[data-position="abajo"] {
  text-align: center;
  top: 100px;
  width: 100%;
  font-size: 3.5rem;
}


  /* Last video mobile styles - fullscreen with visible menu and content */
  .last-video-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1 !important;
  }

  .last-video-content {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 90vh !important;
    z-index: 1 !important;
  }

  .last-video-cta {
    position: fixed !important;
    top: 80%;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 10vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    padding: 1rem;
    z-index: 102 !important;
  }

  .last-video-cta .cta-button {
    padding: 12px 40px;
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 40px;
    box-shadow: 0 6px 25px rgba(36, 232, 11, 0.3);
    transform: scale(1.05);
    transition: all 0.3s ease;
  }

  .last-video-cta .cta-button:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 30px rgba(36, 232, 11, 0.4);
    background: linear-gradient(135deg, #2BFF0D, #22D80B);
  }

  .last-video-cta.visible {
    animation: slideUpFromBottom 0.8s ease-out;
  }

  /* Ensure navigation and content are above fullscreen video */
  .navigation {
    z-index: 1000 !important;
  }

  .content-section {
    z-index: 1001 !important;
    background: transparent !important;
    backdrop-filter: none !important;
  }

  .content-container {
    background: transparent !important;
    backdrop-filter: none !important;
  }

  .description {
    z-index: 1001 !important;
    background: transparent !important;
    backdrop-filter: none !important;
  }

  .paragraph {
    font-size: 3.3rem;
    line-height: 1;
    text-align: start;
    background: transparent !important;
  }

  .cta-text {
    font-size: 1.125rem;
  }

  .cta-button {
    padding: 10px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .carousel-container{
    height: 70%;
    top: 60px;
    z-index: 20 !important;
  }

  .content-section{
    height: 25%;
    z-index: 60 !important;
  }
 

  .nav-container {
    padding: 0 1rem;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    flex-direction: column;
    gap: 0;
    padding: 2rem 0;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
    justify-content: flex-start;
    align-items: center;
    overflow-y: auto;
    box-sizing: border-box;
  }

  .nav-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: -1;
  }

  .nav-menu.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: -1;
  }

  .nav-link {
    font-size: 1.2rem;
    padding: 1.5rem 2rem;
    width: 100%;
    text-align: center;
    color: white;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-link:last-of-type {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-link:hover {
    background: rgba(36, 232, 11, 0.2);
    transform: none;
    color: #24E80B;
  }

  .nav-link::after {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    z-index: 100000;
  }

  .mobile-menu-btn.active {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 100000;
  }

  .mobile-menu-btn.active .hamburger-line {
    background: white;
  }

  .logo-image {
    height: 35px;
  }

  .main-content {
    padding-top: 65px;
  }

  /* Social Media Links Styles */
  .mobile-social-links {
    display: block;
    margin-top: auto;
    padding: 2rem 1rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
  }

  .social-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
  }

  .social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
  }

  .social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
  }

  .social-link:hover {
    color: #24E80B;
    transform: translateY(-2px);
  }

  .social-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
  }

  .social-text {
    font-size: 0.9rem;
    font-weight: 500;
  }

  .video-title {
    font-size: 2rem;
  }

  .carousel-indicator {
    bottom: 4rem;
  }

  .content-container {
    padding: 1rem;
  }

  .paragraph {
    font-size: 1.25rem;
  }

  .cta-text {
    font-size: 1.25rem;
  }

  .cta-button {
    padding: 12px 30px;
    font-size: 1.1rem;
  }

    /* Paragraph positioning classes */
.paragraph[data-position="left"] {
  text-align: left;
  left: 0;
  right: auto;
  width: 100%;
}

.paragraph[data-position="center"] {
  text-align: center;
  left: 0;
  right: 0;
  bottom: 10px;
  width: 100%;
}

.paragraph[data-position="right"] {
  text-align: right;
  left: auto;
  right: 0;
  width: 100%;
}

.paragraph[data-position="abajo"] {
  text-align: center;
  top: 100px;
  width: 100%;
  font-size: 3.5rem;
}


  /* Last video mobile styles - fullscreen with visible menu and content */
  .last-video-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1 !important;
  }

  .last-video-content {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 90vh !important;
    z-index: 1 !important;
  }

  .last-video-cta {
    position: fixed !important;
    top: 80%;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 10vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    padding: 1rem;
    z-index: 102 !important;
  }

  .last-video-cta .cta-button {
    padding: 12px 40px;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 40px;
    box-shadow: 0 6px 25px rgba(36, 232, 11, 0.3);
    transform: scale(1.05);
    transition: all 0.3s ease;
  }

  .last-video-cta .cta-button:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 30px rgba(36, 232, 11, 0.4);
    background: linear-gradient(135deg, #2BFF0D, #22D80B);
  }

  .last-video-cta.visible {
    animation: slideUpFromBottom 0.8s ease-out;
  }

  /* Ensure navigation and content are above fullscreen video */
  .navigation {
    z-index: 1000 !important;
  }

  .content-section {
    z-index: 1001 !important;
    background: transparent !important;
    backdrop-filter: none !important;
  }

  .content-container {
    background: transparent !important;
    backdrop-filter: none !important;
  }

  .description {
    z-index: 1001 !important;
    background: transparent !important;
    backdrop-filter: none !important;
  }

  .paragraph {
    font-size: 3.3rem;
    line-height: 1;
    text-align: start;
    background: transparent !important;
  }

  .cta-text {
    font-size: 1.125rem;
  }

  .cta-button {
    padding: 10px 25px;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {

  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    flex-direction: column;
    gap: 0;
    padding: 2rem 0;
    transform: translateX(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 99999 !important;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    box-sizing: border-box;
  }

  .nav-container {
    padding: 0 0.75rem;
  }

  .carousel-container{
    height: 50%;
    top: 100px;
    z-index: 20 !important;
  }

  .content-section{
    height: 38%;
    z-index: 60 !important;
  }

  .nav-link {
    font-size: 1.1rem;
    top: 200px;
    padding: 1.25rem 1.5rem;
  }

  .logo-image {
    height: 30px;
  }

  .main-content {
    padding-top: 60px;
  }

  .mobile-menu-btn {
    width: 35px;
    height: 35px;
  }

  .hamburger-line {
    width: 20px;
    height: 2px;
  }

  .social-icons {
    gap: 1.5rem;
  }

  .social-icon {
    font-size: 1.8rem;
  }

  .social-text {
    font-size: 0.8rem;
  }

  .social-title {
    font-size: 1rem;
  }

  /* Paragraph positioning classes */
.paragraph[data-position="left"] {
  text-align: left;
  left: 0;
  top: 80px;
  right: auto;
  width: 100%;
}

.paragraph[data-position="center"] {
  text-align: center;
  left: 0;
  top: 80px;
  right: 0;
  bottom: 10px;
  width: 100%;
}

.paragraph[data-position="right"] {
  text-align: right;
  top: 80px;
  left: auto;
  right: 0;
  width: 100%;
}

.paragraph[data-position="abajo"] {
  text-align: center;
  top: 170px;
  width: 100%;
  font-size: 2.3rem;
}

  /* Last video mobile styles - fullscreen with visible menu and content */
  .last-video-container {
    position: fixed !important;
    top: 25px !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 80vh !important;
    z-index: 1 !important;
  }

  .last-video-content {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1 !important;
  }

  .last-video-cta {
    position: fixed !important;
    top: 85%;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 10vh !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    padding: 1rem;
    
  }

  .last-video-cta .cta-button {
    padding: 12px 40px;
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 700;
    border-radius: 40px;
    box-shadow: 0 6px 25px rgba(36, 232, 11, 0.3);
    transform: scale(1.05);
    transition: all 0.3s ease;
  }

  .last-video-cta .cta-button:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 30px rgba(36, 232, 11, 0.4);
    background: linear-gradient(135deg, #2BFF0D, #22D80B);
  }

  /* Ensure navigation and content are above fullscreen video */
  .navigation {
    z-index: 1000 !important;
  }

  .content-section {
    z-index: 1001 !important;
    background: transparent !important;
    backdrop-filter: none !important;
  }

  .content-container {
    background: transparent !important;
    backdrop-filter: none !important;
  }

  .description {
    z-index: 1001 !important;
    background: transparent !important;
    backdrop-filter: none !important;
  }

  .paragraph {
    font-size: 3.5rem;
    line-height: 1;
    text-align: start;
    background: transparent !important;
  }

  .cta-text {
    font-size: 1.125rem;
  }

  .cta-button {
    padding: 10px 25px;
    font-size: 1rem;
  }
}
