
.card-hover {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

:root {
    --primary: #7A3EA1;
    --secondary: #A9BCE3;
}

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

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

.btn-primary-custom {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #fff;
}

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

.btn-outline-primary-custom:hover {
    background-color: var(--primary) !important;
    color: #fff !important;
}

.bg-wave {
    background-color: #E4D1EC; /* Lila claro de fondo general */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-leer-mas {
    background-color: #ffffff;
    border: none;
    color: #7A3EA1;
    padding: 10px 25px;
    border-radius: 20px;
    font-weight: 500;
    box-shadow: 0 5px 10px rgba(0,0,0,0.15);
}

.btn-leer-mas:hover {
    background-color: #f1f1f1;
}

.text-primary-custom {
    color: #7A3EA1;
}

.footer-farmavet {
    background-color: #7A3EA1;
    color: #fff;
    padding-top: 4rem;
    padding-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.footer-farmavet h6 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-farmavet a {
    color: #f1e7f7;
    text-decoration: none;
}

.footer-farmavet a:hover {
    color: #D8B4E2;
}

.footer-deco {
    max-height: 100px;
    opacity: 0.7;
}

.libro-text {
    font-weight: bold;
    font-size: 0.85rem;
    margin-top: 0.4rem;
    color: #D8B4E2;
}

.footer-icon i {
    margin-right: 8px;
    color: #D8B4E2;
}




.navbar-morado {
    background-color: #7A3EA1;
    font-weight: 600;
}

.navbar-morado .nav-link {
    color: #ffffff !important;
    text-transform: uppercase;
    margin-right: 1rem;
}

.navbar-morado .nav-link:hover,
.navbar-morado .dropdown-item:hover {
    color: #D8B4E2 !important;
}

.navbar-morado .dropdown-menu {
    background-color: #fdf4ff;
    border: none;
    border-radius: 0.5rem;
}

.navbar-morado .dropdown-item {
    color: #7A3EA1;
    font-weight: 500;
}

.navbar-morado .dropdown-item:hover {
    background-color: #f3e8fb;
}

.icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    border: 2px dashed white;
    font-size: 18px;
    color: white;
    transition: background 0.3s, transform 0.2s;
}

.icon-circle:hover {
    background-color: #D8B4E2;
    color: #7A3EA1;
    transform: scale(1.05);
}
 .categoria-header {
    font-weight: 800;
    color: #333;
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 2.5rem;
  }

.categoria-icono {
  width: 120px;
  height: 120px;
  background-color: #8e44ad; /* morado */
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  border: 3px dashed #fff; /* opcional */
}


  .categoria-icono:hover {
    transform: scale(1.05);
  }

  .categoria-icono span {
    font-size: 2.5rem;
    color: white;
  }

  .categoria-label {
    color: #000;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
  }
.carousel-img-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}
.carousel-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.img-nosotros-wrapper {
  background: linear-gradient(145deg, #E4D1EC, #ffffff);
  padding: 15px;
  border-radius: 50%;
  display: inline-block;
  border: 4px dashed #D8B4E2;
}

.accordion-button {
  background-color: #f5eaff;
  color: #7A3EA1;
  font-weight: 600;
}

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

.accordion-body {
  background-color: #fff;
  border-left: 4px solid #7A3EA1;
  padding: 1rem;
  color: #333;
}
.img-testimonio {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;          /* mantiene forma cuadrada */
  object-fit: cover;            /* recorta sin deformar */
  border-radius: 0.75rem;       /* esquinas suaves */
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  border: 4px solid #E4D1EC;
  margin-left: auto;
  margin-right: auto;
}
 .carousel-banner img {
        width: 100vw;               /* Ocupa todo el ancho de la pantalla */
        height: auto;               /* Mantiene proporción */
        max-height: 500px;          /* Altura máxima en desktop */
        object-fit: cover;          /* Recorta elegante si no encaja */
    }

    @media (max-width: 768px) {
        .carousel-banner img {
            max-height: 300px;      /* Altura reducida en móviles */
        }
    }
    .navbar.navbar-morado {
    min-height: 100px;
}


#btnWhatsapp {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background-color: #25D366;
    padding: 10px;
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
    z-index: 9999;
    box-shadow: -2px 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s;
}

#btnWhatsapp:hover {
    transform: translateY(-50%) scale(1.05);
}

#btnWhatsapp img {
    display: block;
}

#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    background-color: #7A3EA1; /* morado institucional */
    border: 2px solid #ffffff;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

#scrollToTopBtn:hover {
    background-color: #682f94; /* morado más oscuro al pasar el mouse */
    transform: scale(1.1);
}

#scrollToTopBtn img {
    width: 28px;
    height: 28px;
    margin: 0;
}
.timeline-container {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.icon-wrapper {
    background-color: #f8f9fa;
    transition: transform 0.3s ease;
}

.icon-wrapper:hover {
    transform: scale(1.1);
}

@media (max-width: 767px) {
    .timeline-container .border-top {
        display: none;
    }
}