
:root {
  --primary: #2563EB;
  --accent: #10B981;
  --dark: #111827;
  --light-bg: #F3F4F6;
  --gray-text: #6B7280;
}

/* Body and base typography */
body {
  background-color: var(--light-bg);
  color: var(--dark);
  font-family: 'Poppins', sans-serif;
}

/* Navbar */
.navbar {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  background: url('../img/navbar-bg.png') no-repeat right center;
  background-size: cover;
  background-color: #ffffff; /* Color de respaldo */
}

.navbar-brand img {
  height: 55px;
  width: 250px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  opacity: 0.95;
}

.nav-link {
  color: #ffffff !important; /* var(--dark) !important; */
  font-weight: 500;
}

.nav-link:hover {
  color: #10B981 !important; /* Verde suave del esquema de color */ /* var(--primary) !important; */
}

/* Language buttons (treated as nav-links) */
.language-button {
  padding-left: 10px;
  padding-right: 10px;
  color: #808b96 !important;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 10px;
  border: 1px solid #ffffff44; /* borde tenue */
  transition: all 0.3s ease;
  margin-left: 8px;
}
/* Efecto para los idiomas */
.language-button:hover {
  background-color: #ffffff;
  color: #111827 !important;
  text-decoration: none;
}


/* Hero section */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
}

/* Buttons */
.btn-primary {
  background-color: var(--dark);
  border: none;
  color: white;
}

.btn-primary:hover {
  background-color: #374151;
}

/* Footer */
footer {
  background-color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.875rem;
  color: var(--gray-text);
}

footer a {
  color: var(--primary);
  text-decoration: none;
}

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

.card-title {
  color: var(--primary);
  font-weight: 600;
}

blockquote {
  background: #F3F4F6;
  border-left: 5px solid var(--accent);
  padding: 15px;
  border-radius: 5px;
}

/* Sobre Nosotros con estilo Hero */
/* Version 1 igual al Hero
	  #sobre-nosotros {
	  background: linear-gradient(135deg, var(--primary), var(--accent)); /* mismo que hero */
/*	  color: #fff;
	  padding: 100px 20px;
	  text-align: center;
	}*/
#sobre-nosotros {
  background: linear-gradient(135deg, #3B82F6, #34D399); /* más suave */
  color: #fff;
  padding: 100px 20px;
  text-align: center;
}

#sobre-nosotros h2,
#sobre-nosotros p {
  color: #fff;
}

#sobre-nosotros .lead {
  color: #e0f2fe;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.testimonial {
  font-family: 'Caveat';
  font-size: 1.2rem;
  font-style: normal;
  color: #333;
  margin-bottom: 0.5rem;
}

.testimonial-author {
  font-family: 'Caveat';
  font-size: 1rem;
  color: #666;
  font-style: normal;
}

footer {
  background: url('../img/navbar-bg.png') no-repeat right center;
  background-size: cover;
  background-color: #ffffff; /* color de respaldo */
  color: #ffffff;
  padding: 40px 20px;
  font-size: 0.775rem;
  text-align: center;
}
footer a {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

footer a:hover {
  opacity: 0.7;
}

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

footer ul li {
  margin-bottom: 5px;
}

/* Iconos generales */
.partner-icon {
  max-height: 40px;
  filter: grayscale(50%);
  transition: transform 0.3s ease, filter 0.3s ease;
}
.partner-icon:hover {
  transform: scale(1.1);
  filter: grayscale(0%);
}

/* Carrusel horizontal sin scroll manual */
.partner-carousel {
  display: flex;
  overflow: hidden; /* oculta scroll horizontal */
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap;
  scroll-behavior: smooth;
  position: relative;
  padding: 20px 0;
}

/* Cada item del carrusel */
.partner-item {
  flex: 0 0 auto;
  text-align: center;
  width: 80px;
  opacity: 0.5;
  transform: scale(0.9);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Icono o imagen */
.partner-item i,
.partner-item img {
  font-size: 2rem;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Texto debajo del ícono */
.partner-item p {
  font-size: 0.8rem;
  color: #666;
  margin-top: 5px;
}

/* Ítem activo (central) */
.partner-item.active {
  transform: scale(1.4);
  opacity: 1;
}

.carousel-wrapper {
  position: relative;
  overflow: hidden;
}

.partner-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 2rem;
  padding: 20px 0;
  -webkit-overflow-scrolling: touch;
  justify-content: flex-start;
  max-width: 960px; /* nuevo: límite visual */
  margin: 0 auto; /* centra el carrusel horizontalmente */
}

.partner-carousel::-webkit-scrollbar {
  display: none;
}

.partner-item {
  flex: 0 0 20%; /* 100% / 5 = 20% del carrusel */
  scroll-snap-align: center;
  text-align: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.6;
  max-width: 100%;
}

.partner-item:hover {
  transform: scale(1.4);
  opacity: 1;
}

.partner-item i,
.partner-item img {
  font-size: 2rem;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.partner-item p {
  font-size: 0.8rem;
  color: #666;
  margin-top: 5px;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(102, 135, 205, 0.1);
  color: #6687cd;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10;
  padding: 0 10px;
  transition: background 0.3s ease;
}

.carousel-nav:hover {
  background: rgba(102, 135, 205, 0.3);
}

.carousel-nav.left {
  left: 0;
}

.carousel-nav.right {
  right: 0;
}

/* Tablet (≤ 992px): 3 ítems */
@media (max-width: 992px) {
  .partner-item {
    flex: 0 0 33.3333%;
  }
}

/* Móvil (≤ 600px): 2 ítems */
@media (max-width: 600px) {
  .partner-item {
    flex: 0 0 50%;
  }
}

.header-thanks {
  background: url('../img/navbar-bg.png') no-repeat right center;
  background-size: cover;
  background-color: #ffffff; /* respaldo si falla la imagen */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}