/* Base Styles & Variables */
:root {
    --primary-color: #00b8ff;
    --secondary-color: #2b8154;
    --accent-color: #6F42C1;
    --dark-color: #222;
    --light-color: #f4f4f4; /* Gris más claro para las secciones alternadas */
    --text-color: #333;
    --text-light: #fff;
    --whatsapp-color: #25D366;
    --card-1-color: #2b8154;
    --card-2-color: #6F42C1;
    --card-3-color: #007BFF;
    --card-4-color: #900040;
    --transition-normal: all 0.3s ease;
    --transition-slow: all 0.5s ease;
    --border-radius: 10px;
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  }
  
  body {
    font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
  }
  
  /* Typography */
  h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
  }
  
  /* Utility Classes */
  .text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  }
  
  .glass-effect {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }
  
  .bg-light {
    background-color: var(--light-color) !important;
  }
  
  .bg-white {
    background-color: #fff !important;
  }
  
  /* Animations */
  .fade-in {
    animation: fadeIn 0.8s ease-in;
  }
  
  .fade-out {
    animation: fadeOut 0.5s ease-out forwards;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
  }
  
  /* Navbar */
  .navbar-translucido {
    background-color: rgba(0, 0, 0, 0.7);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: var(--transition-normal);
    padding: 0.8rem 1rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
  }
  
  .navbar-translucido.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 0.5rem 1rem;
  }
  
  .navbar-translucido .navbar-brand,
  .navbar-translucido .nav-link {
    color: var(--text-light);
  }
  
  .navbar-brand {
    margin-right: auto;
    font-weight: 700;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
  }
  
  .navbar-nav {
    margin-left: auto;
  }
  
  .nav-link {
    margin-left: 15px;
    position: relative;
    padding: 0.5rem 0;
    font-weight: 500;
    transition: var(--transition-normal);
  }
  
  .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition-normal);
  }
  
  .nav-link:hover::after, 
  .nav-link.active::after {
    width: 100%;
  }
  
  .logo-empresa {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-normal);
  }
  
  .logo-empresa:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
  }
  
  .logo-empresa-letra {
    width: 80px;
    height: 20px;
    margin-right: 8px;
    object-fit: cover;
  }
  
  .navbar-toggler {
    border: none;
    outline: none;
    box-shadow: none;
    color: var(--text-light);
  }
  
  .navbar-toggler:focus,
  .navbar-toggler:active {
    outline: none;
    box-shadow: none;
  }
  
  .navbar-toggler-icon {
    color: var(--text-light);
  }
  
  .navbar-collapse {
    transition: var(--transition-normal);
  }
  
  /* Hero Section */
  #hero {
    height: 100vh;
    background-image: url('img/waso_new.gif');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    padding: 60px 0; /* Reducido de 100px a 60px */
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start; /* Cambiado de center a flex-start para que el contenido esté más arriba */
    position: relative;
    padding-top: 100px; /* Añadido padding-top para dar espacio después del navbar */
  }
  
  #hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Overlay oscuro más pronunciado */
    z-index: 1;
  }
  
  #hero .container {
    position: relative;
    z-index: 2;
  }
  
  #hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
  }
  
  #hero .container {
    position: relative;
    z-index: 2;
  }
  
  #hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
  }
  
  #hero p.lead {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 500;
  }
  
  /* Improved Video Container */
  .video-container {
    position: relative;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
  }
  
  .video-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    border-radius: 12px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  }
  
  .video-container iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    transition: var(--transition-normal);
  }
  
  /* Buttons */
  .btn {
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition-normal);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    border: none;
  }
  
  .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition-normal);
  }
  
  .btn:hover::before {
    left: 100%;
  }
  
  .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  }
  
  .boton-empresa {
    background-color: #0015ff;
    color: white;
    font-size: 1.1rem;
  }
  @media (max-width: 700px) {
    .boton-trabajo2 {
    background-color: #FFC107;
    color: var(--dark-color);
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
  }
  }
  @media (min-width: 701px) {
.boton-trabajo2 {
    background-color: #FFC107;
    color: var(--dark-color);
    font-size: 2.1rem;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
  }
  }

  .boton-trabajo {
    background-color: #FFC107;
    color: var(--dark-color);
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
  }
  
  /* Marcas Section */
  #marcas {
    padding: 5rem 0;
    background-color: var(--light-color); /* Gris claro */
    position: relative;
    overflow: hidden;
  }
  
  #marcas::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,184,255,0.1) 0%, rgba(255,255,255,0) 70%);
    top: -150px;
    right: -150px;
    border-radius: 50%;
  }
  
  #marcas h3 {
    font-weight: 700;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
  }
  
  #marcas h3::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .carousel-item img {
    max-height: 120px;
    object-fit: contain;
    opacity: 0.8;
    transition: var(--transition-normal);
    margin: 0 auto;
    filter: grayscale(50%);
  }
  
  .carousel-item:hover img {
    opacity: 1;
    transform: scale(1.05);
    filter: grayscale(0%);
  }
  
  .carousel-control-prev,
  .carousel-control-next {
    width: 5%;
  }
  
  
  /* Features Cards */
  #features {
    padding: 5rem 0;
    background-color: white; /* Blanco */
    position: relative;
  }
  
  #features h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 15px;
  }
  
  #features h2::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .feature-card {
    border-radius: var(--border-radius);
    transition: var(--transition-normal);
    overflow: hidden;
    height: 100%;
    box-shadow: var(--box-shadow);
    border: none;
    position: relative;
    z-index: 1;
  }
  
  .feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    z-index: -1;
  }
  
  .feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--card-shadow);
  }
  
  .feature-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    transition: var(--transition-slow);
    border: 4px solid rgba(255, 255, 255, 0.2);
  }
  
  .feature-card:hover img {
    transform: scale(1.1) rotate(5deg);
  }
  
  .card-caracteristicas-vender {
    background-color: var(--card-1-color);
    color: white;
  }
  
  .card-caracteristicas-especialistas {
    background-color: var(--card-2-color);
    color: white;
  }
  
  .card-caracteristicas-estrategia {
    background-color: var(--card-3-color);
    color: white;
  }
  
  .card-caracteristicas-trabaja {
    background-color: var(--card-4-color);
    color: white;
  }
  
  .h3-card {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 10px;
  }
  
  .h3-card::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: rgba(255, 255, 255, 0.3);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  
  .mi-lista {
    list-style-type: none;
    margin: 20px 0;
    padding-left: 5px;
  }
  
  .mi-lista li {
    font-size: 1.1rem;
    padding: 8px 0 8px 25px;
    position: relative;
  }
  
  .mi-lista li::before {
    content: '🌿';
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.8);
  }
  
  /* About Section */
  #about {
    padding: 5rem 0;
    background-color: var(--light-color); /* Gris claro */
    position: relative;
    overflow: hidden;
  }
  
  #about::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0,184,255,0.05) 0%, rgba(255,255,255,0) 70%);
    bottom: -150px;
    left: -150px;
    border-radius: 50%;
  }
  
  #about h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
  }
  
  #about h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  
  #about p.text-center {
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #666;
  }
  
  #about img {
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    transition: var(--transition-normal);
    cursor: pointer;
    width: 100%;
  }
  
  #about img:hover {
    transform: scale(1.02);
  }
  
  #texto-grupal {
    font-size: 1.15rem;
    padding: 2rem;
    border-radius: var(--border-radius);
    background-color: white;
    box-shadow: var(--box-shadow);
  }
  
  #texto-grupal p {
    margin-bottom: 0;
  }
  
  /* Contact Section */
  #contact {
    padding: 5rem 0;
    background-color: white; /* Blanco */
    position: relative;
  }
  
  #contact h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 15px;
  }
  
  #contact h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }
  
  #contact p.text-center {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: #666;
  }
  
  /* Modal */
  .modal-dialog-imagenes {
    max-width: 800px;
    margin: 1.75rem auto;
  }
  
  .modal-content-imagenes {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  }
  
  .modal-header {
    border-bottom: 1px solid rgba(0,0,0,0.1);
    background-color: var(--light-color);
  }
  
  .modal-body-imagenes {
    padding: 1.5rem;
  }
  
  #modalImage {
    cursor: zoom-in;
    max-width: 100%;
    border-radius: 8px;
    transition: transform 0.5s ease, transform-origin 0.3s ease;
  }
  
  #modalImage.zoomed {
    cursor: zoom-out;
    transform: scale(2);
  }
  
  /* WhatsApp Button */
  .whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition-normal);
  }
  
  .whatsapp-btn:hover {
    transform: scale(1.1) rotate(10deg);
    background-color: #20b858;
  }
  
  .whatsapp-btn i {
    font-size: 30px;
    color: white;
  }
  
  /* Footer */
  .footer {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 3rem 0 2rem;
    position: relative;
  }
  .footer .contact-info a {
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition-normal);
  }
  
  .footer .contact-info a:hover {
    color: var(--primary-color);
  }
  .footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(90deg, var(--primary-color), var(--card-2-color), var(--card-3-color), var(--card-4-color));
  }
  
  .logo-footer {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-top: -40px;
    border: 4px solid var(--dark-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition-normal);
  }
  /* Override Bootstrap responsive alignment classes */
.footer .logo-container,
.footer .social-media,
.footer .contact-info {
  text-align: center !important;
}

/* Ensure the logo stays centered */
.footer .logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

/* Keep social media icons centered */
.footer .social-media {
  display: flex;
  justify-content: center !important;
  margin: 1rem 0;
}

/* Reset any right/left alignment on larger screens */
@media (min-width: 768px) {
  .footer .text-md-left,
  .footer .text-md-right {
    text-align: center !important;
  }
  
  .footer .justify-content-md-end {
    justify-content: center !important;
  }
  /* Override the container styles to center all content */
  .footer .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
  }
  /* Adjust container layout to be column on all screens */
  .footer .container .row {
    flex-direction: column;
    align-items: center;
  }
  
  /* Give each element appropriate spacing */
  .footer .col-md-3,
  .footer .col-md-4,
  .footer .col-md-12 {
    width: 100%;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
}
.larger-logo {
  max-height: 250px !important; /* Más del doble del tamaño predeterminado de 120px */
  margin: -25px auto !important; /* Un margen negativo mayor para mejorar la alineación vertical */
}
  .logo-footer:hover {
    transform: scale(1.1) rotate(5deg);
  }
  
  .social-media a {
    color: var(--text-light);
    font-size: 1.2rem;
    margin: 0 10px;
    transition: var(--transition-normal);
  }
  
  .social-media a:hover {
    color: var(--primary-color);
    transform: translateY(-3px);
  }
  
  /* Animation Classes */
  .seccion-animada {
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-slow);
  }
  
  .seccion-visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Media Queries */
  @media (min-width: 992px) {
    .video-container {
      max-width: 800px;
    }
    
    #hero .video-container {
      margin-top: 2rem;
    }
    
    #hero h1 {
      font-size: 4rem;
    }
    
    .h3-card {
      font-size: 1.5rem;
    }
    
    .feature-card {
      padding: 2.5rem 2rem;
    }
    
    #texto-grupal {
      height: 100%;
      display: flex;
      align-items: center;
    }
    
    .mi-lista li {
      font-size: 1.2rem;
    }
  }
  
  @media (min-width: 1200px) {
    .container {
      max-width: 1200px;
    }
    
    .video-container {
      max-width: 900px;
    }
    
    #hero {
      background-attachment: fixed;
    }
  }
  
  @media (max-width: 991.98px) {
    #hero h1 {
      font-size: 3rem;
    }
    
    .video-container {
      max-width: 90%;
    }
    
    #texto-grupal {
      margin-top: 2rem;
      text-align: center;
    }
    
    .feature-card {
      margin-bottom: 2rem;
    }
  }
  
  @media (max-width: 767.98px) {
    #hero {
      height: auto;
      min-height: 100vh;
      padding: 120px 0 60px;
    }
    
    #hero h1 {
      font-size: 2.5rem;
    }
    
    .section {
      padding: 3rem 0;
    }
    
    .social-media {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      margin-top: 1rem;
    }
    
    .navbar-translucido {
      background-color: rgba(0, 0, 0, 0.9);
    }
  }
  
  @media (max-width: 575.98px) {
    #hero h1 {
      font-size: 2rem;
    }
    
    #hero p.lead {
      font-size: 1.2rem;
    }
    
    .btn {
      width: 100%;
      margin: 0.5rem 0;
    }
    
    .video-container {
      margin-top: 1.5rem;
      margin-bottom: 1.5rem;
    }
    
    #features h2, #about h2, #contact h2 {
      font-size: 2rem;
    }
    #hero, #marcas {
      scroll-margin-top: 30px; /* Adjust this value to match your navbar height */
  }
  /*#features,#about, #contact{
      scroll-margin-top: 30px; /* Adjust this value to match your navbar height */
  /*}*/
    
    .whatsapp-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: var(--whatsapp-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition-normal);
    text-decoration: none;
}

.fa-stack {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-btn i {
    font-size: 30px;
}
    
    .h3-card {
      font-size: 1.3rem;
    }
  }
  
  /* Font Loading Optimization */
  @font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/poppins/v20/pxiEyp8kv8JHgFVrJJfecg.woff2) format('woff2');
  }
  
  @font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/poppins/v20/pxiByp8kv8JHgFVrLEj6Z1xlFQ.woff2) format('woff2');
  }
  
  @font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(https://fonts.gstatic.com/s/poppins/v20/pxiByp8kv8JHgFVrLCz7Z1xlFQ.woff2) format('woff2');
  }

  /* Hero section responsive fixes */

/* Fix for video container on larger screens */
@media (min-width: 992px) {
  #hero {
    height: auto;
    min-height: 100vh;
    padding-top: 100px;
    padding-bottom: 2rem;
    overflow: hidden;
  }
  
  /* Override the existing video container styles for better containment */
  .video-container {
    max-width: 750px !important;
    margin: 2rem auto;
    height: 0;
    padding-bottom: 42.25%; /* Adjusted aspect ratio */
    position: relative;
  }
  
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  /* Ensure buttons stay contained and properly spaced */
  #hero .d-flex {
    width: 100%;
    max-width: 750px;
    margin: 2rem auto 0;
  }
  
  /* Make buttons more responsive */
  #hero .btn-lg {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
    white-space: normal;
  }
}

/* Extra adjustments for very large screens */
@media (min-width: 1400px) {
  .video-container {
    max-width: 900px !important;
    padding-bottom: 40.5%; /* Adjusted for wider screens */
  }
  
  #hero .d-flex {
    max-width: 900px;
  }
}
@media (min-width: 992px) {
  #texto-grupal {
    height: 100%;
    display: block;
  }
  }
/* Mobile adjustments - ensure proper vertical spacing */
@media (max-width: 991.98px) {
  #hero {
    height: auto;
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: 2rem;
  }
  
  /* Ensure the container stays within bounds */
  #hero .container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }
}