:root {
  --primary-color: #2563eb;
  --primary-dark: #1e3a8a;
  --secondary-color: #f8fafc;
  --accent-color: #3b82f6;
  --text-dark: #1e293b;
  --text-light: #64748b;
  --footer-text: #e2e8f0;
}

body {
  font-family: 'Montserrat', sans-serif;
  scroll-behavior: smooth;
  color: var(--text-dark);
}

.navbar {
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background-color: white !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1513828583688-c52646db42da?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.section-spacing {
  padding: 5rem 0;
}

.service-card {
  transition: all 0.3s ease;
  border: none;
  overflow: hidden;
  border-radius: 12px;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.service-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-size: 2rem;
  border-radius: 50%;
}

.team-card {
  transition: all 0.3s ease;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.testimonial-card {
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.stats-card {
  transition: all 0.3s ease;
  border-radius: 12px;
  height: 100%;
}

.stats-card:hover {
  transform: scale(1.05);
}

.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
  padding: 5rem 0;
}

.contact-form {
  border-radius: 12px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.accordion-button:not(.collapsed) {
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary-color);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(37, 99, 235, 0.25);
}

.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0px);
  }
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transition: all 0.3s ease;
}

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

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  transition: all 0.3s ease;
}

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

.btn-outline-light:hover {
  transform: translateY(-2px);
}

.text-primary {
  color: var(--primary-color) !important;
}

/* .bg-primary {
    background-color: var(--primary-color) !important;
} */

.border-primary {
  border-color: var(--primary-color) !important;
}

.section-title {
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: '';
  position: absolute;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.social-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icon:hover {
  transform: translateY(-3px);
}

.whatsapp-btn {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  transform: translateY(-3px) scale(1.1);
}

.back-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: white;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 999;
}

.back-to-top:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
}

.back-to-top.active {
  opacity: 1;
  visibility: visible;
}

/* Mejoras para el footer */

footer {
  background-color: #1e293b;
}

footer a {
  color: var(--footer-text);
  text-decoration: none;
  transition: all 0.3s ease;
}

footer a:hover {
  color: white;
  text-decoration: underline;
}

footer .text-muted {
  color: var(--footer-text) !important;
}

/* Mejoras para los botones de CTA */

.cta-buttons .btn {
  margin: 0.5rem 0;
  white-space: nowrap;
}

/* Ajustes de espaciado */

.content-spacing {
  margin-bottom: 3rem;
}

/* Asegurar que los iconos sean visibles */

.icon-visible {
  opacity: 1 !important;
}

/* Mejoras para el formulario */

.form-control, .form-select {
  padding: 0.75rem 1rem;
  border-radius: 8px;
}

/* Mejoras para las tarjetas de equipo */

.team-img {
  height: 250px;
  object-fit: cover;
  width: 100%;
}

.navbar-brand img {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  /*Optional: rounds the corners slightly;*/
}

.navbar-brand img::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(37, 99, 235, 0) 0%, rgba(37, 99, 235, 0.4) 50%, rgba(37, 99, 235, 0) 100%);
  animation: shimmer 4s infinite linear;
  transform: skewX(-25deg);
}

@keyframes shimmer {
  0% {
    left: -100%;
  }
  50% {
    left: 100%;
  }
  100% {
    left: 100%;
  }
}

