* {
  font-family: 'Montserrat', sans-serif;
}

body,
html {
  overflow-x: hidden;
  background: rgb(10, 73, 165);
  background: -moz-linear-gradient(
    100deg,
    rgba(10, 73, 165) 0%,
    rgba(0, 160, 214, 1) 100%
  );
  background: -webkit-linear-gradient(
    100deg,
    rgba(10, 73, 165) 0%,
    rgba(0, 160, 214, 1) 100%
  );
  background: linear-gradient(
    100deg,
    rgba(10, 73, 165) 0%,
    rgba(0, 160, 214, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#A49A5",endColorstr="#0075c5",GradientType=1);
}

.diphasac-gradient {
  background: rgb(0, 160, 214);
  background: -moz-linear-gradient(
    135deg,
    rgba(0, 160, 214, 1) 0%,
    rgba(10, 73, 165, 1) 100%
  );
  background: -webkit-linear-gradient(
    135deg,
    rgba(0, 160, 214, 1) 0%,
    rgba(10, 73, 165, 1) 100%
  );
  background: linear-gradient(
    135deg,
    rgba(0, 160, 214, 1) 0%,
    rgba(10, 73, 165, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0075c5",endColorstr="#A49A5",GradientType=1);
}

#generando-bienestar-bg {
   background-image: url('../images/Generando-bienestar-bg.jpg');
  background-size: cover;
  background-position: right center; 
  background-repeat: no-repeat;
  width: 100%;
  
}

#diphapuntos-hero > .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.05; /* 15% opacity */
}

#diphapuntos-hero > .overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: soft-light; /* Soft light blend mode */
}

#diphapuntos-hero > .content {
  position: relative;
  text-align: center;
  z-index: 1;
}

#diphapuntos-hero {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 0 0 100px 100px;
}

.values {
  position: relative;
  background: url('../images/Valores-bg.jpg') no-repeat center center;
  background-size: cover;
  color: white; /* Adjust text color for readability */
}

.values > .overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #8dcdf9;
  opacity: 0.8; /* Adjust opacity as needed */
}

.content {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  #quejaBtn {
      width: 100% !important;
  }
}

.fw-extrabold {
  font-weight: 800 !important;
}

.fw-black {
  font-weight: 900 !important;
}

.btn-danger{
  background-color: white !important;
  color:#0A49A5 !important;
  border: 2px solid #0A49A5!important;
  margin: 10px;
}
.navbar-puntos {
  background-color: white;
  border-radius: 50px 0 0 50px;
  box-shadow: 0 4px 9px rgba(30, 30, 30, 0.5);
  color: #0075C5;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

.navbar-puntos:hover {
  box-shadow: 0 4px 15px rgba(30, 30, 30, 0.75);
}

.hero-family {
  
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
}

.farmacia-link {
  filter: saturate(0);
  transition: all 0.25s ease-in-out;
}

.farmacia-link:hover {
  filter: saturate(1);
}

main {
  background-color: #f0f0f0;
}

.hero-bg {
  background:
    url('../images/PORTADA-DIPHASAC-WEB.png')  ;
   background-size: contain;
  background-position: Top center;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
}

.hero-title-1 {
  font-size: calc(1.75rem);
}

.hero-title-2 {
  font-size: calc(2rem);
}

.hero-title-3 {
  font-size: calc(2.25rem);
}

.hero-title-4 {
  font-size: calc(2.5rem);
}

.hero-pill-container {
  top: -120px;
}

.hero-pill {
  background-color: #f0f0f0;
  border-radius: 10000px;
}

.border-right {
  border-right: 2px solid #0075C5;
}

.fs-0 {
  font-size: calc(1.5rem + 1.5vw) !important;
}

.fs-number {
  font-size: calc(3rem + 1.5vw) !important;
}

#copyright {
  background-position: top center;
  background-size: 100vw;
  padding-top: 9vw;
  padding-bottom: 20px;
}

.fw-medium {
  font-weight: 500 !important;
}

/* Estilo para la alerta de cookies */
.cookie-alert {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #fff;
  padding: 35px 25px;
  display: flex;
  gap: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  font-size: 14px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.65);

  @media (min-width: 768px) {
    flex-direction: row;
    justify-content: space-between;
  }
}
.cookie-alert__text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cookie-alert p {
  margin: 0;
  text-align: center;
}

.cookie-alert h2 {
  font-size: 18px;
  text-align: center;
}

.cookie-alert p,
.cookie-alert h2 {
  @media (min-width: 768px) {
    text-align: justify;
  }
}

.cookie-alert a {
  text-decoration: underline;
}

.cookie-alert button {
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
}

.cookie-alert.hidden {
  display: none;
}

.btn {
  font-family: 'Ubuntu', sans-serif;
  font-weight: bold !important;
}

.ff-montserrat {
  font-family: 'Montserrat', sans-serif;
}

#testimonials {
  padding-top: calc(3rem + 2vw) !important;
  padding-bottom: calc(5rem + 2vw) !important;
}

#testimonials-bg {
  width: 55%;
  border-radius: 0 40px 40px 0;
  background-image: url('../images/Testimonial-bg.');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

#empresa-peruana {
  background-image: url('../images/empresa-peruana-bg-mobile.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center center;
}

.carousel-indicators [data-bs-target] {
  height: 15px !important;
  width: 15px !important;
  margin-right: 5px !important;
  margin-left: 5px !important;
  border-radius: 10px !important;
  background-color: #989898 !important;
  opacity: 1 !important;
  border-top: 0px solid #989898 !important;
  border-bottom: 0px solid #989898 !important;
}

.carousel-indicators .active {  
  width: 50px !important;
  background-color: #0A49A5 !important;
}

.text-small {
  font-size: 14px;
  line-height: 1.25rem;
}

.media-icon-link-primary {
  border: 2px solid #0075C5 !important;
}

.media-icon-link {
  border: 2px solid #8DCDF9;
  text-align: center;
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  transition: all 0.25s ease-in-out;
}

.media-icon-link-primary:hover {
  background-color: #0075C5 !important;
}

.media-icon-link:hover {
  background-color: #8DCDF9;
}

.media-icon-link-primary:hover > .media-icon {
  filter: invert(74%) sepia(35%) saturate(388%) hue-rotate(162deg)
    brightness(99%) contrast(90%) !important;
}

.media-icon-link:hover > .media-icon {
  filter: invert(41%) sepia(50%) saturate(5753%) hue-rotate(180deg)
    brightness(85%) contrast(89%);
}

.media-icon-link-primary > .media-icon {
  filter: invert(37%) sepia(59%) saturate(797%) hue-rotate(166deg)
    brightness(94%) contrast(100%) !important;
}

.media-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: invert(76%) sepia(24%) saturate(574%) hue-rotate(164deg)
    brightness(98%) contrast(91%);
  transition: all 0.25s ease-in-out;
}

.footer-link {
  display: inline-flex;
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
  align-items: center;
}

.footer-link:hover {
  text-decoration: underline;
}

.navbar-link {
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: white;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
  text-transform: uppercase;
}

.navbar-link:hover,
.navbar-link.active {
  font-weight: 800;
}

.navbar-divider {
  width: 1px;
  background-color: white;
}

.text-justify {
  text-align: justify;
}

.farmacovigilancia-1 {
  background-image: url('../images/Farmacovigilancia-bg-1.jpg');
  background-size: cover;
  background-position: center;
}

.farmacovigilancia-2 {
  background-image: url('../images/Farmacovigilancia-bg-2.jpg');
  background-size: cover;
  background-position: center;
}

.farmacovigilancia-3 {
  background-image: url('../images/Farmacovigilancia-bg-3.jpg');
  background-size: cover;
  background-position: center;
}

.farmacovigilancia-4 {
  background-image: url('../images/Farmacovigilancia-bg-4.webp');
  background-size: cover;
  background-position: center;
}

.farmacovigilancia-content {
  min-height: 350px;
}

.farmacovigilancia-2 {
  min-height: 350px;
}

.diphasac-navbar-logo {
  width: 100%;
  max-width: 200px;
}

.hero-title-1 {
  font-size: calc(2.5rem);
}

#home-hero {
  height: 150vw;
}

#empresa-peruana-home {
  height: 150vw;
}

.compromiso-social {
  height: 55vh;
  border-radius: 0 0 5rem 5rem;
  overflow: hidden;
}

@media (min-width: 576px) {
  /* Your CSS rules for screens SM and larger */
  .tip-text {
    font-size: 18px;
  }
  
  .hero-title-1 {
    font-size: calc(3rem);
  }

  .hero-title-3 {
    font-size: calc(3rem);
  }

  .hero-title-4 {
    font-size: calc(3.25rem);
  }
}

@media (min-width: 768px) {
  .compromiso-social {
    height: 100vh;
    max-height: 65vw;
    border-radius: 0 0 5rem 5rem;
    overflow: hidden;
  }
  /* Your CSS rules for screens MD and larger */
  .tip-text {
    font-size: 18px;
  }
  .tip-card-wrapper {
    padding-top: 100%; /* This creates a square shape based on width */
  }
  .campaign-card {
    padding-top: 120%;
  }
  .hero-title-1 {
    font-size: calc(3rem);
  }
  .hero-title-2 {
    font-size: calc(2rem + 0.75vw);
  }

  .hero-title-3 {
    font-size: calc(3.5rem + 0.75vw);
  }

  .hero-title-4 {
    font-size: calc(3.75rem + 0.75vw);
  }

  #tip-card-4 {
    background-size: 140%;
    background-position-x: center;
    background-position-y: 70%;
  }

  .footer-link {
    font-size: 18px;
    line-height: 18px;
  }

  #home-hero {
    min-height: 60vw;
    height: 100vh;
    max-height: 65vw;
  }

  #empresa-peruana-home {
    min-height: 60vw;
    height: 100vh;
    max-height: 65vw;
  }

  .diphasac-navbar-logo {
    width: 100%;
    max-width: 250px;
  }

  #compromiso {
    max-height: 70vw;
  }

  #generando-bienestar-bg {
    width: 55%;
    border-radius: 40px 0 0 40px;
  }

  #empresa-peruana {
    background-image: url('../images/empresa-peruana-bg.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right center;
  }
}

@media (min-width: 992px) {
  /* Your CSS rules for screens LG and larger */
  .tip-text {
    font-size: 20px;
  }
  .hero-title-1 {
    font-size: calc(3.25rem);
  }
  .hero-title-2 {
    font-size: calc(2.5rem + 0.75vw);
  }
  #testimonials {
    background-size: contain;
    background-position: left center;
  }
}

@media (min-width: 1200px) {
  /* Your CSS rules for screens XL and larger */
  .tip-text {
    font-size: 24px;
  }
  .hero-title-1 {
    font-size: calc(3.5rem + 0.25vw);
  }
  .hero-title-2 {
    font-size: calc(2.75rem + 0.25vw);
  }
}

@media (min-width: 1400px) {
  .hero-title-1 {
    font-size: calc(4rem + 0.25vw);
  }
  .hero-title-2 {
    font-size: calc(3.25rem + 0.25vw);
  }
  .hero-title-3 {
    font-size: calc(4.75rem + 0.25vw);
  }
  .hero-title-4 {
    font-size: calc(5rem + 0.25vw);
  }
}

.home-gradient-bg {
  background-image: url('../images/home-bg-gradient.svg');
  background-size: 100%;
  background-position: top center;
}

.text-diphasac {
  color: #0075C5;
}

div.modal-dialog-nav {
  margin-right: 0 !important;
  margin-top: 0;
  margin-bottom: 0;
  height: 100%;
  display: flex;
  justify-content: end;
}

div.modal-content-nav {
  min-height: 100%;
  border-radius: 0;
  max-width: 300px;
}

div.modal-content-nav {
  background: rgb(0, 160, 214);
  background: -moz-linear-gradient(
    135deg,
    rgba(0, 160, 214, 1) 0%,
    rgba(10, 73, 165, 1) 100%
  );
  background: -webkit-linear-gradient(
    135deg,
    rgba(0, 160, 214, 1) 0%,
    rgba(10, 73, 165, 1) 100%
  );
  background: linear-gradient(
    135deg,
    rgba(0, 160, 214, 1) 0%,
    rgba(10, 73, 165, 1) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00a0d6",endColorstr="#0A49A5",GradientType=1);
}

.fadeElement {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

div.scribd_iframe_wrapper {
  position: relative;
  padding-bottom: 56.25%;
}

div.iframe-wrapper {
  position: relative;
  padding-bottom: 56.25%;
}

iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#form-message {
  text-align: center;
  max-width: 400px;
  margin: auto;
}

.value-icon {
  position: absolute;
  top: -37px;
  left: 50%;
  transform: translateX(-50%);
  width: 75px;
  height: 75px;
  border-radius: 50%;
  background-color: #0075C5;
}

#carousel-farmacovigilancia > .carousel-inner > .carousel-item {
  height: 100vh;
  max-height: 70vw;
}

h1.text-shadow {
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.btn-diphasac {
  background-color: #8DCDF9 !important;
  color: #0075C5 !important;
}

#compromiso {
  height: 100vh;
  background-color: #1e1e1e;
}

.farmacovigilancia-col {
  position: relative;
  overflow: hidden;
  background-color: #1e1e1e;
}

.farmacovigilancia-col::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/Farmacovigilancia-bg.jpg') no-repeat center center;
  background-size: cover;
  filter: blur(5px); /* Adjust the blur level as needed */
  z-index: 0;
  opacity: 0.75;
}

.compromiso-social-col {
  position: relative;
  overflow: hidden;
}

.compromiso-social-col::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/Compromiso-social.webp') no-repeat center center;
  background-size: cover;
  filter: blur(5px); /* Adjust the blur level as needed */
  z-index: 0;
  opacity: 0.75;
}

input.form-control, .form-floating1,
textarea.form-control,
input.form-control:focus,
textarea.form-control:focus {
  background-color: #c1e0ee;
  border: 1px solid #c1e0ee;
  border-radius: 50px;
}

.elecdoc{
  border-radius: 40px !important;
  background-color: #c1e0ee !important;
  border: 1px solid #c1e0ee !important;
  border-radius: 50px !important;
}

textarea.form-control,
textarea.form-control:focus {
  border-radius: 25px !important;
}

label.form-label {
  color: #848484;
  font-weight: 600;
}

.form-floating > label::after {
  background-color: transparent !important;
}

.faq-question {
  background-color: #92ccf0;
  font-weight: 600;
  color: #0A49A5;
}

.faq-answer {
  border: 4px solid #92ccf0;
  border-radius: 100px;
  color: #5a5a5a;
}

.compromiso-full-page-div {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0a49a5;
  mix-blend-mode: multiply;
  border-radius: 0 0 5rem 5rem;
  opacity: 0.5;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  opacity: 0.5;
}

.compromiso-background {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/Navidad.grupo2.JPG');
  background-size: cover;
  background-position: center;
  mix-blend-mode: hard-light;
  opacity: 0.65;
}

.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 1; /* Ensure full opacity */
}

.aspect-ratio-3-4 {
  width: 100%;
  padding-top: 133.33%; /* (4 / 3) * 100% */
  position: relative;
}

.aspect-ratio-3-4-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* Ensure the image doesn't overflow */
}

.aspect-ratio-3-4-content img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover the entire div */
}

.mision-card {
  display: block;
  padding-top: 75%;
  width: 100%;
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: all 0.5s ease;
}

@media (min-width: 768px) {
  .mision-card {
    padding-top: 120%;
  }
}

.mision-card-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.mision-card-gradient {
  background: rgb(217, 217, 217);
  background: -moz-linear-gradient(
    180deg,
    rgba(217, 217, 217, 0) 0%,
    rgba(10, 73, 165, 1) 100%
  );
  background: -webkit-linear-gradient(
    180deg,
    rgba(217, 217, 217, 0) 0%,
    rgba(10, 73, 165, 1) 100%
  );
  background: linear-gradient(
    180deg,
    rgba(217, 217, 217, 0) 0%,
    rgb(10, 73, 165) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#d9d9d9",endColorstr="#0a49a5",GradientType=1);
}

@media (max-width: 768px) {
  .hero-bg {
    background-image: url('../images/PORTADA\ WEB-02.jpg');
    background-size: contain;
    background-position: top center;
    background-repeat: no-repeat;
    background-blend-mode: multiply;
    height: 800px;
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
  }

  #home-hero {
    height: auto;
    min-height: unset;
  }
}

#nosotros-hero {
  background-image: url('../images/nosotros.bg.v2.jpeg');
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 80vh;
  position: relative;
}
.nosotros-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0A49A5; /* azul institucional */
  opacity: 0.65; /* ajusta si lo quieres más o menos fuerte */
  z-index: 0;
}
.whatsapp-float {
  position: fixed;
  width: 80px;
  height: 80px;
  bottom: 1.5rem;
  right: 1.5rem;
  text-align: center;
  font-size: 30px;
  z-index: 100;
  display: block;
  transition: all 0.5s ease-in-out;
}

.product-image-container {
  width: 100%;
  padding-top: 75%; /* 1:1 Aspect Ratio */
  position: relative;
}

.product-image-container img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translate(-50%, -50%);
}

.testimonial-card {
  background-color: white;
  border-left: 4px solid #0f5f9c;
  border-radius: 10px;
  padding: 2rem 1rem;
}

.logos-carousel {
  grid-column-gap: 50px;
  grid-row-gap: 50px;
  white-space: nowrap;
  flex: 1;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
  animation: right 15s linear infinite;
}

.logos-carousel-container {
  grid-column-gap: 50px;
  grid-row-gap: 50px;
  white-space: nowrap;
  justify-content: flex-start;
  align-items: center;
  display: flex;
  position: relative;
  overflow: hidden;
}

@keyframes right {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

#empresa-peruana-home {
  background-image: url('../images/empresa-peruana-bg-mobile.svg');
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center center;
}

.shadow-bg {
  background: rgb(0, 0, 0);
  background: -moz-linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.75) 100%
  );
  background: -webkit-linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.75) 100%
  );
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.75) 100%
  );
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#000000",endColorstr="#000000",GradientType=1);
}

.category-button {
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

.linea-rx:hover > div {
  background-color: #ff3235 !important;
}

.linea-otc:hover > div {
  background-color: #de609b !important;
}

.linea-gx:hover > div {
  background-color: #0053ac !important;
}

.personal-care:hover > div {
  background-color: #00b3d8 !important;
}

.category-button:hover > div > h2,
.category-button:hover > div > p {
  color: white !important;
}

h4 {
  color: white !important;
}

.message {
  display: none;
}
.certificacion-img {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

/* Modal de video */
.video-modal-right {
  max-width: 800px;          /* ancho máximo del modal */
  margin: auto;              /* centra horizontal */
}

.video-modal-content {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

#videoModal .modal-dialog {
  margin-top: 5% !important; /* sube un poco el modal */
}

#videoModal iframe {
  width: 100%;
  height: 450px;             /* altura fija del video */
  border: none;
}