 
     :root {
      --primary-color: blueviolet;
      --light-bg: whitesmoke;
      --dark-text: #1a1a1a;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      color: var(--dark-text);
    }
/*NAV BAR STYLES*/
/* === Core Styles === */
.navbar-custom {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  padding: 0.75rem 1rem;
  min-height: 60px;
}

/* Logo */
.navbar-brand {
  width: 130px !important;
  min-width: 130px !important;
  max-width: 130px !important;
  overflow: hidden;
  z-index: 20;
}
.logo-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Hire Button */
.hire-now-btn {
  background-color: #5b57a4;
  color: white;
  padding: 6px 12px !important;
  border-radius: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: all 0.3s ease;
  font-size: 0.9rem !important;
}

/* === Mobile Layout (Under 992px) === */
@media (max-width: 991.98px) {
  /* 1. NAVBAR CONTAINER */
  .navbar > .container-fluid {
    position: relative;
    min-height: 60px;
    padding-right: 0;
    max-width: 100vw;
    overflow: hidden;
  }

  /* 2. LOGO (LEFT) */
  .navbar-brand {
    width: 110px !important;
    min-width: 110px !important;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    margin: 0;
  }
  .logo-img {
    width: 100%;
    height: auto;
    max-height: 40px;
  }

  /* 3. HIRE BUTTON (CENTER) */
  .hire-btn-container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateX(-50%);
    width: 100px;
    text-align: center;
    z-index: 10;
    margin-left: 55px;
    padding: 0;
  }

  /* 4. TOGGLER (RIGHT) */
  .navbar-toggler {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    z-index: 20;
    padding: 0.25rem;
  }

  /* 5. RIGHT-ALIGNED MENU */
  .navbar-collapse {
    position: fixed !important;
    right: 0 !important;
    left: auto !important;
    top: 60px;
    width: 80% !important;
    max-width: 300px !important;
    height: calc(100vh - 60px);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    z-index: 1001;
    box-shadow: -2px 0 15px rgba(0,0,0,0.1);
    will-change: transform;
  }
  
  .navbar-collapse.show {
    transform: translateX(0);
  }

  /* 6. MENU ITEMS - Enhanced visibility & touch */
  .navbar-nav {
    display: block !important;
    width: 100% !important;
    padding: 1.5rem 1rem;
    overflow-y: auto;
    height: 100%;
  }
  
  .nav-item {
    display: block;
    padding: 0 !important;
    margin: 0.5rem 0;
    border-bottom: 1px solid #f5f5f5;
  }
  
  .nav-link {
    color: #333 !important;
    font-weight: 500 !important;
    font-size: 1.05rem !important;
    padding: 0.75rem 1.25rem !important;
    display: block;
    border-radius: 6px;
    transition: background 0.2s ease;
  }
  
  .nav-link:hover,
  .nav-link:focus {
    background: #f8f9fa;
  }
  /* 8. Accessibility Improvements */
  .nav-link:focus {
    outline: 2px solid #5b57a4;
    outline-offset: -2px;
  }
}


/* === Desktop Layout (992px+) === */
@media (min-width: 992px) {
  /* Hide mobile elements */
  .navbar-mobile-container,
  .navbar-collapse.d-lg-none {
    display: none !important;
  }
  
  /* Show desktop structure */
  .d-none.d-lg-flex {
    display: flex !important;
  }

  /* Reset navbar container */
  .navbar > .container-fluid {
    flex-wrap: nowrap;
    padding: 0 1rem;
    overflow: visible !important;
  }

  /* Logo adjustments */
  .navbar-brand {
    width: auto !important;
    min-width: unset !important;
    position: static !important;
    transform: none !important;
    margin-right: 2rem !important;
  }

  /* Desktop menu container */
  .navbar-collapse:not(.d-lg-none) {
    display: flex !important;
    flex-basis: auto;
    flex-grow: 1;
  }

  /* Menu items */
  .navbar-nav {
    flex-direction: row !important;
    gap: 1.5rem;
    width: auto;
    padding: 0;
    margin: 0 0 0 auto !important;
  }

  /* Hire button */
  .hire-now-btn {
    padding: 8px 24px !important;
    font-size: 1rem !important;
    margin-left: 1.5rem !important;
  }
}

/* === Desktop Layout (992px+) === */
@media (min-width: 992px) {
  /* Hide mobile elements */
  .navbar-mobile-container,
  .navbar-collapse.d-lg-none {
    display: none !important;
  }
  
  /* Show desktop structure */
  .d-none.d-lg-flex {
    display: flex !important;
  }

  /* Reset navbar container */
  .navbar > .container-fluid {
    flex-wrap: nowrap;
    padding: 0 1rem;
    overflow: visible !important;
  }

  /* Logo adjustments */
  .navbar-brand {
    width: auto !important;
    min-width: unset !important;
    position: static !important;
    transform: none !important;
    margin-right: 2rem !important;
  }

  /* Desktop menu container */
  .navbar-collapse:not(.d-lg-none) {
    display: flex !important;
    flex-basis: auto;
    flex-grow: 1;
  }

  /* Menu items */
  .navbar-nav {
    flex-direction: row !important;
    gap: 1.5rem;
    width: auto;
    padding: 0;
    margin: 0 0 0 auto !important;
  }

  /* Hire button */
  .hire-now-btn {
    padding: 8px 24px !important;
    font-size: 1rem !important;
    margin-left: 1.5rem !important;
  }
}

   .hero-section {
      background-color: var(--light-bg);
      padding: 4rem 1rem;
      text-align: center;
    }

    .hero-section h1 {
      color: rgb(86, 71, 151);
      font-size: 2.5rem;
      font-weight: bold;
    }

    .hero-section p {
      font-size: 1.2rem;
      margin-top: 1rem;
    }

/* ===== SERVICE CARDS STYLES ===== */

.services-showcase {
  display: flex;
  flex-direction: row;
  gap: 30px;
  padding: 20px;
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
  justify-content: flex-start;
}
.services-showcase::-webkit-scrollbar {
    display: none;
}

/* Rest of your CSS remains the same */
.service-card {
  background: white;
  border-radius: 15px;    
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1 1 calc(33.333% - 30px); /* 3 per row in desktop */
  min-width: 280px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.service-icon {
    background: linear-gradient(135deg, #6e8efb, #a777e3);
    padding: 30px;
    text-align: center;
}

.service-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.service-card h3 {
    text-align: center;
    margin: 20px 0;
    color: #333;
    font-size: 1.5rem;
}

.service-details {
    padding: 0 25px 25px;
    color: #555;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box; /* Ensures padding is included in width calculation */
    width: 100%; /* Makes it take full width of parent */
}
.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #bbb;
}

.carousel-indicators .active {
  background-color: #6e8efb; /* tu color de branding */
}

/* ARROWS ATYLES */
.svc-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px; height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(2px);
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 3;
}
.svc-arrow.prev { left: 8px; }
.svc-arrow.next { right: 8px; }
.svc-arrow::before { content: '‹'; font-size: 28px; line-height: 1; color: #fff; }
.svc-arrow.next::before { content: '›'; }

/* Dots circulares */
.svc-indicators {
  position: absolute;
  left: 0; right: 0; bottom: 10px;
  display: flex; gap: 8px; justify-content: center; align-items: center;
  z-index: 3;
}
.svc-indicators button {
  width: 10px; height: 10px; border-radius: 50%;
  background: #bbb; border: 0; padding: 0;
}
.svc-indicators button.active { background: #6e8efb; }
/* Ocultar scrollbar visible sin romper scroll táctil */
.services-showcase {
  scrollbar-width: none;            /* Firefox */
  -ms-overflow-style: none;         /* IE/Edge */
}
.services-showcase::-webkit-scrollbar { display: none; } /* WebKit */

@media (max-width: 768px) {
    .service-details {
        padding: 0 20px 20px; /* Slightly reduce padding on mobile */
        width: 100%; /* Ensure full width */
        margin: 0; /* Remove any default margins */
    }
    
    .service-card {
    flex: 1 1 100%;
    min-width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto;
  }
    .services-showcase {
    flex-direction: column; /* stack vertically */
    gap: 20px;
    padding: 15px;
    width: 95%;
  }
    
    /* Ensure all inner elements don't cause overflow */
    .why-choose, .benefit {
        width: 100%;
        box-sizing: border-box;
    }
    
    .service-details p {
        word-wrap: break-word; /* Prevent long words from causing overflow */
        overflow-wrap: break-word;
    }
     /* ✅ FIX: indicadores debajo del botón */
    #servicesCarouselMobile .carousel-indicators {
        bottom: -30px; /* mueve los dots hacia afuera */
    }
    #servicesCarouselMobile {
        padding-bottom: 40px; /* espacio extra para no tapar el botón */
    }
}

/* Create a container for the button to override Bootstrap spacing */
.service-details .btn-container {
    margin-top: 20px;
    text-align: center;
    width: 100%;
}

.service-details p {
    margin-bottom: 15px;
}

.why-choose, .benefit {
    background: #f9f9ff;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
}

.why-choose strong, .benefit strong {
    color: #6e8efb;
    display: block;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .services-showcase {
        gap: 20px;
        padding: 15px;
        width: 95%; /* Slightly wider on mobile for better use of space */
    }
    
    .service-card {
        min-width: 280px;
        scroll-snap-align: start;
    }
}

.services-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #333;
    text-transform: uppercase;
    font-weight: 700;
}

.services-subtitle {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

//**BUILDING TEAM ANIMATIONS**//

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

.snapvas-features {
  display: flex;
  flex-direction: column;
  gap: 30px; /* espacio entre filas */
  max-width: 1000px;
  margin: 60px auto;
  padding: 20px;
  font-family: 'Poppins', sans-serif;
}

.features-row {
  display: flex;
  justify-content: center;
  gap: 25px; /* espacio entre tarjetas */
}

.feature-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 12px 18px; /* 🔥 antes 25px 30px */
  text-align: center;
  font-weight: 600;
  font-size: 14px; /* 🔥 reducido para más compacidad */
  flex: 1;
  max-width: 220px; /* 🔥 más angostas también */
  box-shadow: 0 6px 16px rgba(86, 71, 151, 0.12);
  opacity: 0;
  transform: rotateY(0deg) scale(0.7);
  animation: spinIn 1.5s forwards;
}

.feature-card .icon {
  font-size: 28px; /* 🔥 más pequeño */
  margin-bottom: 8px; /* 🔥 menos espacio */
}


/* Animación doble giro */
@keyframes spinIn {
  0% {
    opacity: 0;
    transform: rotateY(720deg) scale(0.3);
  }
  60% {
    opacity: 1;
    transform: rotateY(20deg) scale(1.05);
  }
  100% {
    opacity: 1;
    transform: rotateY(0deg) scale(1);
  }
}

/* Delay progresivo */
.feature-card:nth-child(1) { animation-delay: 0.2s; }
.feature-card:nth-child(2) { animation-delay: 0.4s; }
.feature-card:nth-child(3) { animation-delay: 0.6s; }
.feature-card:nth-child(4) { animation-delay: 0.8s; }
.feature-card:nth-child(5) { animation-delay: 1s; }

/* Responsivo en móviles: las filas se apilan verticalmente */
@media (max-width: 768px) {
  .features-row {
    flex-direction: column;
    align-items: center;
  }
  .feature-card {
    max-width: 90%;
  }
}

/*=== Pricing Section Styles ===*/
#pricing {
  background-color: #f9f9ff;
}

.pricing-card {
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.popular-badge {
  position: relative;
  top: -15px;
  font-weight: 600;
  font-size: 0.85rem;
}

.price-badge {
  background-color: rgba(76, 67, 140, 0.1);
}

.text-primary {
  color: #4c438c !important;
}

.bg-primary-light {
  background-color: rgba(76, 67, 140, 0.1);
}

.btn-primary {
  background-color: #4c438c;
  border-color: #4c438c;
}

.text-accent {
  color: #ff6b6b !important;
}

.bg-accent-light {
  background-color: rgba(255, 107, 107, 0.1);
}

.btn-accent {
  background-color: #ff6b6b;
  border-color: #ff6b6b;
}

.text-purple {
  color: #9c6bff !important;
}

.bg-purple-light {
  background-color: rgba(156, 107, 255, 0.1);
}

.btn-purple {
  background-color: #9c6bff;
  border-color: #9c6bff;
}

.btn-primary:hover,
.btn-accent:hover,
.btn-purple:hover {
  opacity: 0.9;
}

@media (max-width: 767.98px) {
  .pricing-card {
    margin-bottom: 30px;
  }
}



/*=== T&Cs Styles ===*/

   .hero-section {
      background-color: var(--light-bg);
      padding: 4rem 1rem;
      text-align: center;
    }

    .hero-section h1 {
      color: rgb(86, 71, 151);
      font-size: 2.5rem;
      font-weight: bold;
    }

    .hero-section p {
      font-size: 1.2rem;
      margin-top: 1rem;
    }

 .terms-box {
      background: var(--light-bg);
      border: none;
      border-radius: 15px;
      padding: 1.5rem;
      height: 100%;
      box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
        }
        .terms-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.15);
        }
        .terms-box h2 {
      color: rgb(86, 71, 151);
      margin-bottom: 1rem;
        }
        .terms-box ul {
            padding-left: 20px;
            margin-bottom: 0;
        }
        .terms-box li {
            margin-bottom: 5px;
            text-align: left;
        }
        .terms-header {
            margin-bottom: 40px;
        }

        @media (max-width: 767.98px) {
            .terms-container {
                display: flex;
                flex-wrap: nowrap;
                overflow-x: auto;
                -webkit-overflow-scrolling: touch;
                scroll-snap-type: x mandatory;
                margin: 0 -15px;
                padding: 0 15px 20px;
            }
            .terms-container::-webkit-scrollbar {
                height: 5px;
            }
            .terms-container::-webkit-scrollbar-thumb {
                background: #ddd;
                border-radius: 10px;
            }
            .terms-container > .col-md-4 {
                flex: 0 0 auto;
                width: 85%;
                margin-right: 15px;
                scroll-snap-align: start;
            }
            .terms-container > .col-md-4:last-child {
                margin-right: 0;
            }
        }

/*=== OUR Mission, Values and Vision ===*/

   .ourmvv-section {
      background-color: var(--light-bg);
      padding: 4rem 1rem;
      text-align: center;
    }

    .ourmvv-section h4 {
      color: rgb(86, 71, 151);
      font-size: 2.5rem;
      font-weight: bold;
    }

    .ourmvv-section p {
      font-size: 1.2rem;
      margin-top: 1rem;
    }

    /* ===== Groth STYLES ===== */
#drive-growth {
  font-family: 'Poppins', sans-serif; /* Tipografía Snapvas */
}

/* Wrapper para centrar */
.icon-circle-wrapper {
  display: flex;
  justify-content: center;
}

/* Estilos del círculo */
.icon-circle {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: #F0F4FF; /* Color suave, puedes adaptar al branding Snapvas */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: scale(0.5) rotate(0deg);
  animation: pop-spin 1s ease-out forwards;
}

/* Animación al entrar */
@keyframes pop-spin {
  0% {
    opacity: 0;
    transform: scale(0.5) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.1) rotate(180deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(360deg);
  }
}

/* Imagen dentro del círculo */
.icon-circle img {
  max-width: 60%;
  height: auto;
}


/* ================================
   SNAPVAS STATS BLOCK
   ================================ */
.snapvas-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background: #fff;
  font-family: 'Poppins', sans-serif;
  flex-wrap: wrap; /* responsive */
  gap: 2rem;
  text-align: center;
}

.snapvas-stat {
  text-align: center;
  padding: 20px;
  flex: 1 1 200px;
}

.snapvas-stat h3 {
  font-size: 2rem;
  font-weight: bold;
  color: #2c6ca6; /* Azul Snapvas */
  margin: 0;
  transition: transform 0.3s ease-in-out;
}

.snapvas-stat p {
  margin-top: 10px;
  font-size: 1rem;
  color: #333;
}

.snapvas-stat:hover h3 {
  transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
  .snapvas-stats {
    flex-direction: column;
    flex: 1 1 200px; 
  }
}


    /* ===== FOOTER STYLES ===== */

.footer-custom {
    background-color: #f6f2f9;
    color: #000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
}

.footer-custom h6 {
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-custom ul {
    padding-left: 0;
    list-style: none;
}

.footer-custom ul li {
    margin-bottom: 0.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.footer-custom ul li:hover {
    color: #999;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #4c438c;
    color: white;
    border-radius: 50%;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.2s;
}

.social-icon:hover {
    background-color: #3a3270;
    transform: scale(1.1);
}

.btn-get-hired {
    background-color: #4c438c;
    color: #fff;
    padding: 6px 16px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-get-hired:hover {
    background-color: #3a3270;
}
.contact-info {
  margin-top: 1rem; /* Adds space between social icons and contact info */
}

@media (max-width: 768px) {
    .footer-custom .row > div {
        margin-bottom: 1.5rem;
    }
    
    .footer-custom .col-md-4,
    .footer-custom .col-sm-6 {
        text-align: center;
    }

    .footer-custom .social-icon {
        margin: 0 4px;
    }

    .btn-get-hired {
        text-align: center;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .footer-custom .col-6 {
        margin-bottom: 1.5rem;
    }
    
    .footer-custom .row > div {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    .footer-custom .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
    }
      .d-flex.align-items-center {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .d-flex.align-items-center .ms-3 {
    margin-left: 0 !important;
    margin-top: 1rem;
  }
  
  .contact-info {
    margin-top: 1.5rem;
  }
}

/* ===== WAVE STYLES ===== */
.wave-top, .wave-bottom {
    position: relative;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-top svg, .wave-bottom svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 100px;
}

.wave-bottom {
    transform: rotate(180deg);
}

.shape-fill {
    fill: #f8f9fa;
}

/* ===== POPUP SERVICES STYLES ===== */
/* Popup background */
.service-popup {
  display: none; /* oculto por defecto */
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  justify-content: center;
  align-items: center;
}

/* Popup content */
.popup-content {
  background: #fff;
  border-radius: 15px;
  width: 90%;
  height: 85%;
  padding: 20px;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  animation: fadeIn 0.3s ease-in-out;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}

/* Inner content */
.popup-inner {
  margin-top: 40px;
}

.popup-inner h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.popup-inner p {
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .popup-content {
    width: 90%;
    height: 85%;
    padding: 15px;
  }

  .popup-inner h2 {
    font-size: 1.4rem;
  }

  .popup-inner p {
    font-size: 1rem;
  }
}

/* Simple fade animation */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}


/* Imagen en el popup */
#popup-img {
  display: block;
  width: 100%;
  max-width: 300px;   /* 🔹 límite claro en desktop */
  height: auto;
  margin: 0 auto 20px;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  
  /* Animación */
  transition: transform 0.6s ease-in-out;
  animation: zoomPulse 6s infinite; 
}

/* Animación de zoom in/out */
@keyframes zoomPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* Ajuste para móviles */
@media (max-width: 768px) {
  .popup-img {
    max-width: 180px;  /* 🔹 reduce aún más en móvil */
    margin-bottom: 15px;
  }
}
