html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

:root {
  --primary-color: #49a7c9ff;
  --bg-color: #000;
  --text-color: #8892b0;
  --heading-color: #ccd6f6;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: 'Inter', sans-serif;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-secondary);
  border-radius: 8px;
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 8px;
  border: 3px solid var(--bg-secondary);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

/* Hide scrollbar for Chrome/Safari/Opera on hover only */
.scrollbar-hover::-webkit-scrollbar {
  display: none;
}

.scrollbar-hover:hover::-webkit-scrollbar {
  display: block;
}

.navbar {
  backdrop-filter: blur(10px);
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
  padding: 1rem;
}

.nav-link {
  color: #fff !important;
  position: relative;
  padding: 0.5rem 1rem;
  margin: 0 0.5rem;
}

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

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

.section {
  padding: 6rem 0;
  position: relative;
}

h1, h2, h3 {
  color: var(--heading-color);
}

.btn-primary {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  transition: all 0.3s ease;
  padding: 0.5rem 1.5rem;
}

.btn-primary:hover {
  background-color: var(--primary-color);
  color: var(--bg-color);
  transform: translateY(-2px);
}

.img-fluid {
  border-radius: 10px;
  transition: transform 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.img-fluid:hover {
  transform: scale(1.05);
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(73, 167, 201, 0.2);
  background: rgba(255, 255, 255, 0.08);
}

.service-card h3 {
  margin: 1rem 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.service-card h3 i {
  color: var(--primary-color);
  margin-right: 0.5rem;
}

.service-card p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
  flex-grow: 1;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
}

.social-links a {
  margin: 0 10px;
  font-size: 1.5rem;
}

header {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: black;
  position: relative;
  overflow: hidden;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
}

header .container {
  z-index: 2;
}

.contact-info i {
  color: var(--primary-color);
  margin-right: 10px;
}

.bg-dark {
  background-color: rgba(255, 255, 255, 0.02) !important;
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: var(--primary-color);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-30px); }
  60% { transform: translateY(-15px); }
}

.lead {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-top: 2rem;
}

.hero-buttons {
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.hero-buttons .btn {
  padding: 1rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border-radius: 50px;
}

.hero-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(73, 167, 201, 0.3);
}

.hero-buttons .btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.hero-buttons .btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--bg-color);
}

.hero-buttons .btn i {
  font-size: 1.1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.contact-info-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
}

.office-location {
  margin-bottom: 1.5rem;
}

.office-location h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 2rem;
}

#contacto .lead {
  color: var(--heading-color);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.25rem;
  opacity: 0.9;
}

#contacto .lead:hover {
  opacity: 1;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-control {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-color);
  padding: 0.8rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.form-control:focus {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--primary-color);
  color: white;
  box-shadow: none;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

textarea.form-control {
  min-height: 120px;
}

.book-call-btn {
  background-color: var(--primary-color);
  color: var(--bg-color);
  padding: 1rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  border: none;
  font-weight: 600;
}

.book-call-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(100, 255, 218, 0.2);
  color: var(--bg-color);
  text-decoration: none;
}

/* WhatsApp Button Styles */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background-color: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  background-color: #128C7E;
  color: white;
  text-decoration: none;
}

.whatsapp-button i {
  font-size: 2rem;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.5rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 1.5rem;
    margin-bottom: 1rem;
  }

  .service-card img {
    height: 160px;
  }

  .service-card h3 {
    font-size: 1.3rem;
    margin: 0.75rem 0;
  }

  .service-card p {
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .hero-buttons .btn {
    display: block;
    width: 100%;
    margin-bottom: 1rem;
  }
}

.contact-info p  {
  color: var(--primary-color);
}

.contact-info p a  {
  color: var(--primary-color);
}

/* Footer Styles */
.footer-links {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 1rem;
}

.footer-links a {
  color: var(--text-color) !important;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--primary-color) !important;
}

/* Solutions Carousel Styles */
#soluciones {
  overflow: hidden;
}

.solution-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 3rem;
  margin: 1rem;
  transition: all 0.5s ease;
}

.solution-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-5px);
}

.solution-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

.solution-card h3 i {
  color: var(--primary-color);
  margin-right: 0.75rem;
}

.solution-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
}

.solution-card img {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(73, 167, 201, 0.2);
  transition: all 0.5s ease;
}

.solution-card:hover img {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(73, 167, 201, 0.3);
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
  opacity: 1;
}

.carousel-control-prev i,
.carousel-control-next i {
  color: var(--primary-color);
  font-size: 2.5rem;
  transition: all 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(73, 167, 201, 0.3));
}

.carousel-control-prev:hover i,
.carousel-control-next:hover i {
  color: white;
  transform: scale(1.1);
  filter: drop-shadow(0 0 15px rgba(73, 167, 201, 0.5));
}

.carousel-indicators {
  bottom: -3rem;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 8px;
  background-color: var(--primary-color);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.carousel-indicators button.active {
  opacity: 1;
  transform: scale(1.2);
}

/* Campaign Carousel Styles */
.carousel-section .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.carousel-section .feature-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text-color);
}

.carousel-section .feature-list li i {
  color: var(--primary-color);
}

.carousel-section .solution-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 3rem;
  margin: 1rem;
}

.carousel-section .solution-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

.carousel-section .solution-card .lead {
  color: var(--heading-color);
  font-size: 1.2rem;
  line-height: 1.6;
}

.carousel-section .solution-card img {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(73, 167, 201, 0.2);
  transition: all 0.5s ease;
}

.carousel-section .carousel-control-prev,
.carousel-section .carousel-control-next {
  width: 5%;
}

.carousel-section .carousel-control-prev i,
.carousel-section .carousel-control-next i {
  color: var(--primary-color);
  filter: drop-shadow(0 0 10px rgba(73, 167, 201, 0.3));
}

@media (max-width: 768px) {
  .carousel-section .solution-card {
    padding: 1.5rem;
  }
  
  .carousel-section .solution-card h3 {
    font-size: 1.4rem;
    margin: 1rem 0;
  }
  
  .carousel-section .feature-list li {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 768px) {
  .solution-card {
    padding: 1.5rem;
  }

  .solution-card h3 {
    font-size: 1.4rem;
    margin: 1rem 0;
  }

  .solution-card p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .solution-card img {
    margin-bottom: 1.5rem;
  }

  .carousel-control-prev-icon,
  .carousel-control-next-icon {
    padding: 1.5rem;
  }
}

/* About Section Styles */
#nosotros p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-color);
  transition: all 0.3s ease;
}

#nosotros p:hover {
  color: var(--heading-color);
}

#nosotros .img-fluid {
  box-shadow: 0 10px 30px rgba(73, 167, 201, 0.2);
  transition: all 0.5s ease;
}

#nosotros .img-fluid:hover {
  transform: scale(1.02) translateY(-5px);
  box-shadow: 0 15px 40px rgba(73, 167, 201, 0.3);
}

@media (max-width: 768px) {
  #nosotros p {
    font-size: 1rem;
    line-height: 1.7;
  }
  
  #nosotros .img-fluid {
    margin-bottom: 2rem;
  }
}

/* Case Study Section Styles */
.case-study-section {
  background: linear-gradient(180deg, var(--bg-color) 0%, rgba(0,0,0,0.95) 100%);
  padding: 6rem 0;
}

.case-study-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  transition: all 0.3s ease;
}

.case-study-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(73, 167, 201, 0.15);
}

.case-study-card h3 {
  color: var(--heading-color);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.case-study-card .lead {
  color: var(--heading-color);
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.case-study-card .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.case-study-card .feature-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: var(--text-color);
  display: flex;
  align-items: center;
}

.metric-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.metric-card:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
}

.metric-card h4 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.metric-card p {
  color: var(--text-color);
  margin: 0;
  font-size: 1rem;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(73, 167, 201, 0.15);
}

.testimonial-content {
  position: relative;
}

.testimonial-content .fa-quote-left {
  font-size: 2rem;
  opacity: 0.5;
}

.testimonial-content .lead {
  color: var(--heading-color);
  font-size: 1.2rem;
  line-height: 1.8;
  margin: 1.5rem 0;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  margin-top: 2rem;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 1rem;
  object-fit: cover;
}

.testimonial-info h4 {
  color: var(--heading-color);
  margin: 0;
  font-size: 1.1rem;
}

.testimonial-info p {
  color: var(--text-color);
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .case-study-card,
  .testimonial-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }

  .case-study-card h3 {
    font-size: 1.5rem;
  }

  .case-study-card .lead,
  .testimonial-content .lead {
    font-size: 1.1rem;
  }

  .metric-card {
    margin-bottom: 1rem;
  }

  .metric-card h4 {
    font-size: 2rem;
  }
}

/* Privacy Policy Page Styles */
.page-content {
  padding-top: 8rem;
}

.content-article {
  color: var(--text-color);
  max-width: 1000px;
  margin: 0 auto;
}

.content-article img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  margin: 2rem 0;
  box-shadow: 0 10px 30px rgba(73, 167, 201, 0.2);
  transition: transform 0.5s ease;
}

.content-article img:hover {
  transform: scale(1.02);
  box-shadow: 0 15px 40px rgba(73, 167, 201, 0.3);
}

.content-article h1 {
  font-size: 3rem;
  font-weight: 700;
  margin: 2rem 0;
  text-align: center;
  background: linear-gradient(90deg, var(--primary-color), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.content-article h2 {
  color: var(--primary-color);
  font-size: 1.8rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.content-article p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.content-article ul {
  margin: 2rem 0;
}

.content-article li {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.hero-image-container {
  margin: 2rem 0;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(73, 167, 201, 0.2);
}

.hero-image-container img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.hero-image-container:hover img {
  transform: scale(1.05);
}

.display-4 {
  color: var(--heading-color);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.content-section {
  margin-bottom: 4rem;
}

.section-highlight {
  background: rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 15px;
  margin: 2rem 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.solution-section {
  background: linear-gradient(180deg, rgba(73, 167, 201, 0.1), transparent);
  padding: 2.5rem;
  border-radius: 15px;
  margin: 2rem 0;
}

.benefits-section {
  background: rgba(255, 255, 255, 0.03);
  padding: 2.5rem;
  border-radius: 15px;
  margin: 2rem 0;
}

.competitive-advantage-section {
  background: linear-gradient(0deg, rgba(73, 167, 201, 0.1), transparent);
  padding: 2.5rem;
  border-radius: 15px;
  margin: 2rem 0;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--heading-color);
  opacity: 0.9;
}

.content-article h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--heading-color);
}

.content-article h2 {
  font-size: 1.8rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

.content-article h3 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.content-article p, .content-article li {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.content-article ul {
  margin-bottom: 2rem;
  padding-left: 1.5rem;
}

.content-article a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.content-article a:hover {
  color: white;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .page-content {
    padding-top: 6rem;
  }
  
  .content-article h1 {
    font-size: 2rem;
  }
  
  .content-article h2 {
    font-size: 1.5rem;
  }
  
  .content-article h3 {
    font-size: 1.2rem;
  }
  
  .content-article p, .content-article li {
    font-size: 1rem;
    line-height: 1.6;
  }
}

/* FAQ Section Styles */
.faq-section {
  background: linear-gradient(0deg, var(--bg-color) 0%, rgba(0,0,0,0.95) 100%);
  padding: 6rem 0;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  margin-bottom: 1rem;
  border-radius: 15px;
  overflow: hidden;
}

.accordion-button {
  background: transparent;
  color: var(--heading-color);
  font-size: 1.1rem;
  padding: 1.5rem;
  border: none;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  background: rgba(255, 255, 255, 0.08);
  color: var(--heading-color);
  box-shadow: none;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2349a7c9'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2349a7c9'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:hover {
  background: rgba(255, 255, 255, 0.08);
}

.accordion-button:focus {
  border: none;
  box-shadow: none;
}

.accordion-body {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-color);
  font-size: 1.1rem;
  line-height: 1.8;
  padding: 2rem;
}

.accordion-button .fa-question-circle {
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.accordion-button:hover .fa-question-circle {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .accordion-button {
    font-size: 1rem;
    padding: 1.2rem;
  }

  .accordion-body {
    font-size: 1rem;
    padding: 1.5rem;
  }
}
