/**
* Template Name: Medilab
* Template URL: https://bootstrapmade.com/medilab-free-medical-bootstrap-theme/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
.links {
  text-decoration: none;
  color: #005ecc;
}

a,
a:visited,
a:hover,
a:active {
  text-decoration: none;
}

:root {
  --default-font:
    "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Poppins", sans-serif;
  --nav-font: "Raleway", sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
  --background-color: #ffffff;
  /* Background color for the entire website, including individual sections */
  --default-color: #444444;
  /* Default color used for the majority of the text content across the entire website */
  --heading-color: #2c4964;
  --heading-color-colonik: #846948;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #1977cc;
  --accent-color-colonik: #b49973;
  /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff;
  /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff;
  /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #2c4964;
  --nav-color-colonik: #b49973;
  /* The default color of the main navmenu links */
  --nav-hover-color: #1977cc;
  --nav-hover-color-colonik: #b69066;
  /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff;
  /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff;
  /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #2c4964;
  --nav-dropdown-color-colonik: #846948;
  /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #1977cc;
  --nav-dropdown-hover-color-colonik: #b69066;
  /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f1f7fc;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

@font-face {
  font-family: "Visby";
  src: url("../fonts/Visby-Font/VisbyCF-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
.no_url {
  text-decoration: none;
}

body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: "Visby", sans-serif;
  text-decoration: none;
}

a {
  text-decoration: none;
  color: var(--accent-color);
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  text-decoration: none;
  font-family: var(--heading-font);
  font-size: 2vh;
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(
    var(--accent-color) 50%,
    color-mix(in srgb, var(--accent-color), transparent 75%) 52%
  );
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

.icono_1 {
  width: 100px;
  height: 100px;
  fill: rgb(29, 252, 203);
  /* Cambia el color aquí */
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  transition: all 0.5s;
  z-index: 997;
  background-color: var(--background-color);
}

.header .topbar {
  background-color: #dd127b;
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
  width: 100%;
}

.header .topbar_colonik {
  background-color: #b69066;
  height: 40px;
  padding: 0;
  font-size: 14px;
  transition: all 0.5s;
}

.header .topbar .contact-info i {
  font-style: normal;
  color: var(--contrast-color);
}

.header .topbar .contact-info i a,
.header .topbar .contact-info i span {
  padding-left: 5px;
  color: var(--contrast-color);
}

@media (max-width: 575px) {
  .header .topbar .contact-info i a,
  .header .topbar .contact-info i span {
    font-size: 13px;
  }
}

.header .topbar .contact-info i a {
  line-height: 0;
  transition: 0.3s;
}

.header .topbar .contact-info i a:hover {
  color: var(--contrast-color);
  text-decoration: underline;
}

.header .topbar .social-links a {
  color: color-mix(in srgb, var(--contrast-color), transparent 40%);
  line-height: 0;
  transition: 0.3s;
  margin-left: 20px;
}

.header .topbar .social-links a:hover {
  color: var(--contrast-color);
}

.header .branding {
  min-height: 60px;
  padding: 10px 0;
}

.header .logo {
  width: 8vh;
  height: auto;
  text-decoration: none;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 15vh;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
  text-decoration: none;
}

.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 2.5vh;
  position: relative;
  padding: 1.5vh 4vh;
  margin: 0 0 0 15px;
  border-radius: 50px;
  transition: 0.3s ease-out;
  white-space: nowrap;
  /* Evita que el texto se divida en varias líneas */
  /* Oculta cualquier contenido que se desborde */
  text-overflow: ellipsis;
  text-align: center;
  text-decoration: none;
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .cta-btn {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.scrolled .header .topbar {
  height: 0;
  visibility: hidden;
  overflow: hidden;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    display: flex;
    padding: 0;
    text-decoration: none;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
  }

  .navmenu li {
    position: relative;
    text-decoration: none;
    font-weight: bold;
  }

  .navmenu > ul > li {
    white-space: nowrap;
    padding: 15px 14px;
    text-decoration: none;
    flex-wrap: wrap;
  }

  .navmenu > ul > li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: #475cc7;
    font-size: 2.5vh;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
    text-decoration: none;
    font-weight: 600;
  }

  .navmenu a i,
  .navmenu a:focus i {
    text-decoration: none;
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu > ul > li > a:before {
    text-decoration: none;
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover > a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
    text-decoration: none;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover > a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1000px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
    text-decoration: none;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    text-decoration: none;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    text-decoration: none;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    text-decoration: none;
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    text-decoration: none;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
    text-decoration: none;
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
    text-decoration: none;
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
    text-decoration: none;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
    text-decoration: none;
  }

  .navmenu .dropdown > .dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
  }
}

@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
    text-decoration: none;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    text-decoration: none;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    text-decoration: none;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    text-decoration: none;
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    text-decoration: none;
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
    text-decoration: none;
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
    text-decoration: none;
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
    text-decoration: none;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
    text-decoration: none;
  }

  .navmenu .dropdown > .dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu > ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
  text-decoration: none;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  color: var(--heading-color);
  font-family: var(--heading-font);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
  text-decoration: none;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-decoration: none;
}

.footer .footer-links ul i {
  padding-right: 2px;
  font-size: 12px;
  line-height: 0;
  text-decoration: none;
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
  text-decoration: none;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
  text-decoration: none;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .copyright {
  padding-top: 25px;
  padding-bottom: 25px;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 8px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  /* Fija el preloader en la pantalla */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fbfbfb;
  /* Fondo semitransparente */
  display: flex;
  justify-content: center;
  /* Centra horizontalmente */
  align-items: center;
  /* Centra verticalmente */
  z-index: 9999;
  /* Asegura que el preloader esté por encima de todo */
}

#preloader-img {
  width: 100px;
  /* Ajusta el tamaño del GIF según lo necesites */
  height: 100px;
  /* Ajusta el tamaño del GIF según lo necesites */
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.page-title .heading h1 {
  font-size: 5vh;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--accent-color), transparent 94%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.page-title nav ol li + li {
  padding-left: 10px;
}

.page-title nav ol li + li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 72px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 60px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  font-size: 3vh;
  text-align: center;
  padding-bottom: 60px;
  position: relative;
  text-decoration: none;
}

.section-title h2 {
  font-size: 7vh;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
  text-decoration: none;
}

.section-title h2:before {
  content: "";
  position: absolute;
  display: block;
  width: 160px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  left: 0;
  right: 0;
  bottom: 1px;
  margin: auto;
  text-decoration: none;
}

.section-title h2::after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  text-decoration: none;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: calc(100vh - 112px);
  padding: 0px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero .contenedor {
  z-index: 3;
}

.hero .content {
  margin-top: 40px;
  text-align: justify;
  text-decoration: none;
}

.hero .content .why-box {
  color: var(--contrast-color);
  background: #475cc7;
  padding: 30px;
  border-radius: 4px;
  text-align: justify;
  margin: 2%;
}

.hero .content .why-box h3 {
  color: var(--contrast-color);
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
  text-decoration: none;
}

.hero .content .why-box p {
  margin-bottom: 30px;
  text-align: justify;
}

.hero .content .why-box .more-btn {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--contrast-color), transparent 80%);
  display: inline-block;
  padding: 6px 30px 8px 30px;
  border-radius: 50px;
  transition: all ease-in-out 0.4s;
  text-decoration: none;
}

.hero .content .why-box .more-btn i {
  font-size: 14px;
}

.hero .content .why-box .more-btn:hover {
  background: var(--surface-color);
  color: var(--accent-color);
}

.hero .content .why-box2 {
  color: var(--contrast-color);
  background: #b49973;
  padding: 30px;
  border-radius: 4px;
  text-align: justify;
}

.hero .content .why-box2 h3 {
  color: var(--contrast-color);
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
  text-decoration: none;
}

.hero .content .why-box2 p {
  margin-bottom: 30px;
  text-align: justify;
}

.hero .content .why-box2 .more-btn {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--contrast-color), transparent 80%);
  display: inline-block;
  padding: 6px 30px 8px 30px;
  border-radius: 50px;
  transition: all ease-in-out 0.4s;
  text-decoration: none;
}

.hero .content .why-box2 .more-btn i {
  font-size: 14px;
}

.hero .content .why-box2 .more-btn:hover {
  background: #846948;
  color: var(--accent-color);
}

.colonik {
  color: white;
  text-decoration: none;
}

.hero .content .icon-box {
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface-color), transparent 20%);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  padding: 40px 30px;
  width: 100%;
  text-align: center;
  height: fit-content;
}

.centrar {
  width: 100%;
  text-align: justify;
}

.hero .content .icon-box i {
  font-size: 40px;
  color: var(--accent-color);
}

.hero .content .icon-box h4 {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0 20px 0;
}

.hero .content .icon-box p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h3 {
  font-size: 2rem;
  font-weight: 700;
  text-decoration: none;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  display: flex;
  align-items: flex-start;
  margin-top: 40px;
}

.about .content ul i {
  flex-shrink: 0;
  font-size: 48px;
  color: var(--accent-color);
  margin-right: 20px;
}

.about .content ul h5 {
  font-size: 18px;
  font-weight: 700;
}

.about .content ul p {
  font-size: 15px;
}

.about .content p:last-child {
  margin-bottom: 0;
}

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats i {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  width: 54px;
  height: 54px;
  font-size: 24px;
  border-radius: 50px;
  border: 2px solid var(--background-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.stats .stats-item {
  background-color: var(--surface-color);
  margin-top: -27px;
  padding: 30px 30px 25px 30px;
  width: 100%;
  position: relative;
  text-align: center;
  box-shadow: 0px 2px 35px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  z-index: 0;
}

.stats .stats-item span {
  font-size: 32px;
  display: block;
  margin: 10px 0;
  font-weight: 700;
  color: var(--heading-color);
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
  height: 100%;
  text-decoration: none;
}

.services .service-item .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: var(--accent-color);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
  transform-style: preserve-3d;
  text-decoration: none;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

.services .service-item .icon::before {
  position: absolute;
  content: "";
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: color-mix(in srgb, var(--accent-color), transparent 80%);
  border-radius: 5px;
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-1px);
  text-decoration: none;
}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  text-decoration: none;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
}

.services .service-item:hover .icon {
  background: var(--surface-color);
}

.services .service-item:hover .icon i {
  color: var(--accent-color);
}

.services .service-item:hover .icon::before {
  background: color-mix(in srgb, var(--background-color), transparent 70%);
}

.services .service-item:hover h3,
.services .service-item:hover p {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Appointment Section
--------------------------------------------------------------*/
.appointment .php-email-form {
  width: 100%;
}

.appointment .php-email-form .form-group {
  padding-bottom: 8px;
}

.appointment .php-email-form input,
.appointment .php-email-form textarea,
.appointment .php-email-form select {
  color: var(--default-color);
  background-color: transparent;
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  padding: 10px !important;
}

.appointment .php-email-form input:focus,
.appointment .php-email-form textarea:focus,
.appointment .php-email-form select:focus {
  border-color: var(--accent-color);
}

.appointment .php-email-form input::placeholder,
.appointment .php-email-form textarea::placeholder,
.appointment .php-email-form select::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.appointment .php-email-form input,
.appointment .php-email-form select {
  height: 44px;
}

.appointment .php-email-form textarea {
  padding: 10px 12px;
}

.appointment .php-email-form button[type="submit"] {
  background: var(--accent-color);
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 50px;
}

.appointment .php-email-form button[type="submit"]:hover {
  background: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

/*--------------------------------------------------------------
# Departments Section
--------------------------------------------------------------*/
.departments {
  overflow: hidden;
}

.departments .nav-tabs {
  border: 0;
}

.departments .nav-link {
  border: 0;
  padding: 12px 15px 12px 0;
  transition: 0.3s;
  color: var(--default-color);
  border-radius: 0;
  border-right: 2px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
  font-weight: 600;
  font-size: 15px;
}

.departments .nav-link:hover {
  color: var(--accent-color);
}

.departments .nav-link.active {
  color: var(--accent-color);
  border-color: var(--accent-color);
  background-color: var(--background-color);
}

.departments .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.departments .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
  text-decoration: none;
}

.departments .details p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.departments .details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .departments .nav-link {
    border: 0;
    padding: 15px;
  }

  .departments .nav-link.active {
    color: var(--accent-color);
    background: var(--accent-color);
  }
}

/*--------------------------------------------------------------
# Doctors Section
--------------------------------------------------------------*/
.doctors .team-member {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  border-radius: 5px;
  transition: 0.5s;
  padding: 30px;
  height: 100%;
}

@media (max-width: 468px) {
  .doctors .team-member {
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
  }
}

.doctors .team-member .pic {
  overflow: hidden;
  width: 150px;
  border-radius: 50%;
  flex-shrink: 0;
}

.doctors .team-member .pic img {
  transition: ease-in-out 0.3s;
}

.doctors .team-member:hover {
  transform: translateY(-10px);
}

.doctors .team-member .member-info {
  padding-left: 30px;
}

@media (max-width: 468px) {
  .doctors .team-member .member-info {
    padding: 30px 0 0 0;
    text-align: center;
  }
}

.doctors .team-member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
}

.doctors .team-member span {
  display: block;
  font-size: 15px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 500;
}

.doctors .team-member span::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 85%);
  bottom: 0;
  left: 0;
}

@media (max-width: 468px) {
  .doctors .team-member span::after {
    left: calc(50% - 25px);
  }
}

.doctors .team-member p {
  margin: 10px 0 0 0;
  font-size: 14px;
}

.doctors .team-member .social {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
}

@media (max-width: 468px) {
  .doctors .team-member .social {
    justify-content: center;
  }
}

.doctors .team-member .social a {
  background: color-mix(in srgb, var(--default-color), transparent 94%);
  transition: ease-in-out 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  width: 36px;
  height: 36px;
}

.doctors .team-member .social a i {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 16px;
  margin: 0 2px;
}

.doctors .team-member .social a:hover {
  background: var(--accent-color);
}

.doctors .team-member .social a:hover i {
  color: var(--contrast-color);
}

.doctors .team-member .social a + a {
  margin-left: 8px;
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-contenedor .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 75%);
  border-radius: 5px;
  overflow: hidden;
}

.faq .faq-contenedor .faq-item:last-child {
  margin-bottom: 0;
}

.faq .faq-contenedor .faq-item h3 {
  font-weight: 500;
  font-size: 18px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.faq .faq-contenedor .faq-item h3 .num {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq .faq-contenedor .faq-item h3:hover {
  color: var(--accent-color);
}

.faq .faq-contenedor .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq .faq-contenedor .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq .faq-contenedor .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq .faq-contenedor .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq .faq-contenedor .faq-active {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.faq .faq-contenedor .faq-active h3,
.faq .faq-contenedor .faq-active h3:hover {
  color: var(--contrast-color);
}

.faq .faq-contenedor .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq .faq-contenedor .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .info h3 {
  font-weight: 700;
  font-size: 32px;
}

.testimonials .swiper {
  box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.05);
  background-color: var(--surface-color);
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 200px;
  position: relative;
  margin: 30px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  height: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  margin-right: 10px;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
  margin: 0;
}

.testimonials .testimonial-item .stars {
  margin: 10px 0;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 60%);
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  margin-bottom: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
  border: none;
  transition: ease-in-out;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
  animation: moverYDesvanecer 2s ease-in-out infinite;
}

@keyframes moverYDesvanecer {
  0% {
    box-shadow: 0px 0px 10px #1977cc;
  }

  50% {
    box-shadow: 0px 0px 0px #1977cc;
  }

  100% {
    box-shadow: 0px 0px 10px #1977cc;
  }
}

@media (max-width: 767px) {
  .testimonials .testimonials-carousel,
  .testimonials .testimonials-slider {
    overflow: hidden;
  }

  .testimonials .testimonial-item {
    margin: 15px;
  }
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
  overflow: hidden;
  border-right: 3px solid var(--background-color);
  border-bottom: 3px solid var(--background-color);
}

.gallery .gallery-item img {
  transition: all ease-in-out 0.4s;
}

.gallery .gallery-item:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item + .info-item {
  margin-top: 40px;
}

.contact .info-item i {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(
    in srgb,
    var(--background-color),
    transparent 50%
  );
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type="text"]:focus,
.contact .php-email-form input[type="email"]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type="text"]::placeholder,
.contact .php-email-form input[type="email"]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type="submit"] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 36px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/* COLORES SANTA FE
AZUL: #475CC7
MAGENTA: DE0082 */
/* ICONOS Y ESTILOS PERSONALIZADOS */

.icono {
  width: 10vh;
  height: 12vh;
  color: #475cc7;
  border-color: #475cc7;
}

.logotipo {
  height: 10vh;
  width: auto;
  position: absolute;
  /* Coloca la imagen en la parte superior */
  top: 0;
  left: 0;
  background-image: url("assets\img\icons\logo.png");
  background-size: cover;
  /* Hace que la imagen cubra todo el fondo */
  background-position: center;
  /* Centra la imagen */
  z-index: 10;
  /* Coloca la imagen detrás del navbar */
  max-width: 100%;
}

/* 
.marquesina {
  width: 100%;

  /* Fondo de la marquesina */
/* color: #fff; */
/* Color del texto */
/* overflow: hidden; */
/* Ocultar el desbordamiento */
/* white-space: nowrap; */
/* Mantener el texto en una sola línea */
/* Sombra para mayor efecto */
/* animation: marquee 3s linear infinite; */
/* Animación de desplazamiento */
/* text-align: center; */
/* Centrar el texto */
.ofertas {
  text-align: center;
  color: #f1f7fc;
  font-style: italic;
  font-size: 2.5vh;
  font-weight: bold;
}

.flotante {
  position: fixed;
  width: 100px;
  padding: 15px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  justify-content: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.flotante2 {
  position: fixed;
  width: 110px;
  padding: 15px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  justify-content: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

.flotante3 {
  position: fixed;
  width: 110px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  justify-content: center;
  display: flex;
  align-items: center;
  padding: 0;
  left: 60px;
  top: 45px;
}

.flotante4 {
  position: fixed;
  width: 250px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  justify-content: center;
  display: flex;
  align-items: center;
  padding: 0;
  right: 0px;
  top: 520px;
  text-decoration: none;
}

.flotante4:hover {
  size-adjust: 80%;
  background-color: #007bff;
  color: white;
  transition: 0.5s;
}

.flotante4::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 75%;
  height: 100%;
  background: rgba(0, 123, 255, 0.7);
  border-radius: 10px;
  transform: translate(-50%, -50%) scale(1);
  opacity: 0;
  z-index: -1;
  animation: pulse 3s infinite;
  /* duración total del ciclo */
}

/* Keyframes del pulso */
@keyframes pulse {
  0%,
  70% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }

  80% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0.6;
  }

  100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .flotante {
    position: fixed;
    width: 100px;
    padding: 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    justify-content: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    right: 0px;
    top: 350px;
  }

  .flotante2 {
    position: fixed;
    width: 110px;
    padding: 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    justify-content: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    right: 0px;
    top: 410px;
  }

  .flotante4 {
    position: fixed;
    width: 310px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    justify-content: center;
    display: flex;
    align-items: center;
    padding: 0.5dvh;
    right: 0px;
    top: 480px;
    font-size: 3dvh;
  }

  .flotante4::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 75%;
    height: 100%;
    background: rgba(0, 123, 255, 0.3);
    border-radius: 10px;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    z-index: -1;
    animation: pulse 3s infinite;
    /* duración total del ciclo */
  }

  /* Keyframes del pulso */
  @keyframes pulse {
    0%,
    70% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0;
    }

    80% {
      transform: translate(-50%, -50%) scale(1.5);
      opacity: 0.6;
    }

    100% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0;
    }
  }
}

/* VERSION PARA MOVILES */
@media (min-width: 52px) and (max-width: 1199px) {
  .p_1 {
    font-size: 1.5vh;
    line-height: 1.4;
    flex: 1;
    color: #000000;
  }

  .card_1 {
    position: relative;
    width: 28vh;
    height: 50vh;
    border: 1px solid #cccccc80;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 1s;
    cursor: pointer;
    background-color: #ffffffb0;
    text-align: center;
    animation: mostrarBarra 2s forwards;
    align-items: center;
    margin: 1vh;
    display: flex;
    flex-direction: column;
    /* Alinea ícono y texto verticalmente */
    align-items: center;
    /* Centra horizontalmente */
    justify-content: center;
    /* Centra verticalmente (si el contenedor tiene altura definida) */
    text-align: center;
  }

  .card_1:hover {
    transform: scale(1.05);
  }

  .welcome h2 {
    font-size: 1vh;
    font-weight: 700;
  }

  .welcome p {
    font-size: 1.2rem;
  }

.tarjeta-image {
  width: 25vh;
  height: auto;
  transition: opacity 0.5s;
  cursor: pointer;
}


  .tarjeta-image:hover {
    width: 100%;
    height: auto;
    opacity: 0;
    cursor: pointer;
  }

  .tarjeta-title {
    margin: 10px;
    text-align: center;
    opacity: 1;
    font-size: 1vh;
    display: flex;
    overflow-wrap: normal;
  }

  .tarjeta-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #1f7aaf;
    color: white;
    padding: 10px;
    opacity: 1;
    transition: opacity 0.3s;
    text-align: center;
    font-size: 2vh;
    cursor: pointer;
  }

  .tarjeta:hover .card-text {
    opacity: 1;
  }

  .hero .img1 {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 55vh;
    object-fit: cover;
    z-index: 0;
    animation: slide 10s infinite;
    transition: opacity 1s ease;
    animation-delay: 0s;
  }

  .hero .img2 {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 55vh;
    object-fit: cover;
    z-index: 0;
    animation: slide2 20s infinite;
    transition: opacity 1s ease;
    animation-delay: 3s;
  }

  .hero .img3 {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 55vh;
    object-fit: cover;
    z-index: 0;
    animation: slide3 30s infinite;
    transition: opacity 1s ease;
    animation-delay: 6s;
  }

  .flotante {
    position: fixed;
    width: 110px;
    padding: 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    justify-content: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    right: 0px;
    top: 610px;
    font-size: 4vh;
  }

  .flotante2 {
    position: fixed;
    width: 100px;
    padding: 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    justify-content: center;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    right: 0px;
    top: 530px;
    font-size: 4vh;
  }

  .flotante4 {
    position: fixed;
    width: 310px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    justify-content: center;
    display: flex;
    align-items: center;
    padding: 0.5dvh;
    right: 0px;
    top: 700px;
    font-size: 3dvh;
  }

  .flotante4::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 75%;
    height: 100%;
    background: rgba(0, 123, 255, 0.3);
    border-radius: 10px;
    transform: translate(-50%, -50%) scale(1);
    opacity: 0;
    z-index: -1;
    animation: pulse 3s infinite;
    /* duración total del ciclo */
  }

  /* Keyframes del pulso del boton de agendar cita */
  @keyframes pulse {
    0%,
    70% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0;
    }

    80% {
      transform: translate(-50%, -50%) scale(1.5);
      opacity: 0.6;
    }

    100% {
      transform: translate(-50%, -50%) scale(1);
      opacity: 0;
    }
  }
}

.z-index {
  z-index: 0;
}

.carousel-item img {
  height: 100vh;
  /* Ocupa toda la altura del viewport */
  object-fit: cover;
  /* Ajusta las imágenes sin distorsionar */
}

.welcome {
  z-index: 10;
  /* Se asegura de quedar encima */
}

.welcome h2,
.welcome p {
  text-shadow: 0 10px 12px rgba(0, 0, 0, 0.7);
  /* Para que se lea mejor sobre la imagen */
}

.welcome h2 {
  font-size: 10vh;
  font-weight: 700;
}

.welcome p {
  font-size: 5vh;
}

.flotante5 {
  position: fixed;
  width: 110px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  justify-content: center;
  display: flex;
  align-items: center;
  padding: 0;
  right: 60px;
  top: 275px;
  cursor: none;
}

#whatsapp {
  bottom: 100px;
  right: 20px;
  width: 8vh;
  height: 8vh;
  border-radius: 100%;
  animation-delay: 5ms;
  color: #f7f7f7;
  background-color: #059652;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  text-decoration: none;
  max-width: 100%;
  /* Asegura que la imagen no se desborde */
  max-height: 100%;
  /* Asegura que la imagen no se desborde */
}

#whatsapp:hover {
  transform: scale(1.25);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

#correo {
  bottom: 160px;
  right: 20px;
  width: 8vh;
  height: 8vh;
  border-radius: 100%;
  animation-delay: 5ms;
  color: #f7f7f7;
  background-color: #1f7aaf;
  text-decoration: none;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  max-width: 100%;
  /* Asegura que la imagen no se desborde */
  max-height: 100%;
  /* Asegura que la imagen no se desborde */
}

#correo:hover {
  transform: scale(1.25);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

#correo2 {
  bottom: 160px;
  right: 20px;
  width: 8vh;
  height: 8vh;
  border-radius: 100%;
  animation-delay: 5ms;
  color: #f7f7f7;
  background-color: #b49973;
  text-decoration: none;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  max-width: 100%;
  /* Asegura que la imagen no se desborde */
  max-height: 100%;
  /* Asegura que la imagen no se desborde */
}

#correo2:hover {
  transform: scale(1.25);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

#facebook {
  bottom: 160px;
  right: 20px;
  width: 8vh;
  height: 8vh;
  border-radius: 100%;
  animation-delay: 5ms;
  color: #f7f7f7;
  background-color: #1877f2;
  text-decoration: none;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  max-width: 100%;
  /* Asegura que la imagen no se desborde */
  max-height: 100%;
  /* Asegura que la imagen no se desborde */
}

#facebook:hover {
  transform: scale(1.25);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

#instagram {
  bottom: 160px;
  right: 20px;
  width: 8vh;
  height: 8vh;
  border-radius: 100%;
  animation-delay: 5ms;
  color: #f7f7f7;
  background-color: #e1306c;
  text-decoration: none;
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
  max-width: 100%;
  /* Asegura que la imagen no se desborde */
  max-height: 100%;
  /* Asegura que la imagen no se desborde */
}

#instagram:hover {
  transform: scale(1.25);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.img_marque {
  width: 5vh;
  height: 5vh;
  box-shadow: #060606;
}

.dropdown-img {
  display: block;
  width: 5vh;
  height: auto;
  margin-right: 10px;
  /* Espacio entre imagen y texto */
  border: 1px solid #b69066;
  border-radius: 50%;
  overflow: hidden;
}

.dropdown-img2 {
  display: block;
  width: 5vh;
  height: auto;
  margin-right: 10px;
  /* Espacio entre imagen y texto */
  border: 1px solid #092d74;
  border-radius: 50%;
  overflow: hidden;
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 200px;
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-item {
  display: flex;
  /* Usamos flex para alinear imagen y texto */
  align-items: center;
  /* Alineación vertical */
  padding: 10px;
  text-decoration: none;
  /* Sin subrayado en enlaces */
  color: black;
  /* Color del texto */
}

.dropdown-item:hover {
  background-color: #f1f1f1;
  /* Color al pasar el mouse */
}

/* TARJETAS DE VACANTES */
.tarjeta {
  position: relative;
  width: auto;
  /* Ajusta el ancho según necesites */
  height: 40vh;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 1s;
  cursor: pointer;
  background-color: white;
  text-align: center;
  animation: mostrarBarra 2s forwards;
  background: rgba(255, 255, 255, 0.21);
  backdrop-filter: blur(19px);
  -webkit-backdrop-filter: blur(19px);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    inset 0 -1px 0 rgba(255, 255, 255, 0.1),
    inset 0 0 26px 13px rgba(255, 255, 255, 1.3);
  position: relative;
  overflow: hidden;
}

.tarjeta:hover {
  transform: scale(1.05);
}

.tarjeta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.8),
    transparent
  );
}

.tarjeta::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.8),
    transparent,
    rgba(255, 255, 255, 0.3)
  );
}

@keyframes mostrarBarra {
  to {
    left: 0;
    /* Mueve la barra a la izquierda */
  }
}

.titulo {
  height: 20px;
  background-color: #060606;
  border-radius: 1 px;
}

.tarjeta-image {
  width: 25vh;
  height: auto;
  transition: opacity 0.5s;
  cursor: pointer;
}

.tarjeta-image:hover {
  width: 100%;
  height: auto;
  opacity: 0;
  cursor: pointer;
}

.tarjeta-title {
  margin: 10px;
  text-align: center;
  opacity: 1;
  font-size: 2vh;
  display: flex;
  overflow-wrap: normal;
}

.tarjeta-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1f7aaf;
  color: white;
  padding: 10px;
  opacity: 1;
  transition: opacity 0.3s;
  text-align: center;
  font-size: 2vh;
  cursor: pointer;
}

.tarjeta:hover .card-text {
  opacity: 1;
}

.carrusel {
  overflow: hidden;
  width: 100%;
  max-width: 600px;
  /* Ancho máximo del carrusel */
  margin: auto;
  /* Centrar el carrusel */
}

.imagen_carrusel_1 {
  height: 10px;
  width: 10px;
  animation: slide 1s infinite;
  /* Duración y repetición */
}

.imagen_carrusel {
  height: 10px;
  width: 10px;

  animation: slide 2s infinite;
  /* Duración y repetición */
}

.imagen_carrusel2 {
  height: 10px;
  width: 10px;
  animation: slide2 3s infinite;
  /* Duración y repetición */
}

.imagenes img {
  width: 100%;
  /* Las imágenes ocupan todo el ancho */
  max-width: 100%;
}

figure {
  display: grid;
  border-radius: 0.5rem;
  overflow: hidden;
  cursor: pointer;
  margin: 0;
  padding: 0;
}

figure > * {
  grid-area: 1/1;
  transition: 0.7s;
  margin: 0;
  padding: 0;
}

figure figcaption {
  display: grid;
  align-items: end;
  font-family: sans-serif;
  font-size: 5vh;
  font-weight: bold;
  color: #f7f7f7;
  padding: 0.75rem;
  background: var(--c, #0009);
  clip-path: inset(0 var(--_i, 100%) 0 0);
  -webkit-mask: linear-gradient(#000 0 0), linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  -webkit-mask-clip: text, padding-box;
  margin: -1px;
}

figure:hover figcaption {
  --_i: 0%;
}

figure:hover img {
  transform: scale(1.2);
}

@supports not (-webkit-mask-clip: text) {
  figure figcaption {
    -webkit-mask: none;
    color: #fff;
  }
}

@keyframes slide {
  5% {
    opacity: 1;
  }

  33% {
    opacity: 1;
  }

  38% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes slide2 {
  0% {
    opacity: 0;
  }

  5% {
    opacity: 1;
  }

  33% {
    opacity: 1;
  }

  38% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.imagen_2 {
  width: 100%;
  /* Hace que la imagen ocupe todo el ancho del contenedor */
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 25%;
}

.sitename {
  text-decoration: none;
}

/* Estilos básicos del modal */
.modal {
  display: none;
  /* Inicialmente oculto */
  position: absolute;
  /* Fijo en la pantalla */
  z-index: 9999;
  /* Aparece encima del contenido */
  width: 50%;
  /* Full width */
  height: auto;
  /* Full height */
  background-color: rgba(0, 0, 0, 0.4);
  /* Fondo semi-transparente */
  padding: 5%;
  top: 0;
  bottom: 1000px;
  text-align: right;
  margin: 0 auto;
  /* Centra el contenido */
  text-align: left;
  /* Centra el texto */
  transition: opacity 0.5s ease-in-out;
}

.modal_1 {
  display: none;
  /* Inicialmente oculto */
  position: absolute;
  /* Fijo en la pantalla */
  z-index: 9999;
  /* Aparece encima del contenido */
  width: 100%;
  height: 100vh;
  /* Tamaño de la pantalla completa */
  background-color: rgba(0, 0, 0, 0.4);
  /* Fondo semi-transparente */
  overflow: auto;
  /* Asegura que el modal tenga su propia barra de desplazamiento */
  padding-top: 8%;
  /* Espacio superior */
  padding-left: 20%;
  /* Espacio izquierdo */
  padding-right: 20%;
  /* Espacio derecho */
  padding-bottom: 75%;
  top: 0;
  margin: 0 auto;
  /* Centra el contenido */
  text-align: center;
  align-items: center;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  /* Usamos flexbox para centrar el contenido dentro del modal */
  justify-content: center;
  /* Asegura que el contenido esté centrado */
  flex-direction: column;
  /* Asegura que los elementos se apilen verticalmente */
}

/* Contenido del modal */
.modal-content_1 {
  top: 0;
  background-color: rgba(128, 128, 128, 0.74);
  margin: 0 auto;
  padding: 0px;
  border: 1px solid #888;
  width: 100%;
  /* Tamaño del modal */
  text-align: center;
  align-items: center;
  position: relative;
  overflow-y: auto;
  /* Permite el desplazamiento vertical si el contenido es más grande que el modal */
  border-radius: 10px;
  /* Bordes redondeados opcionales */
  color: #ffffff;
  font-size: 3vh;
  align-items: center;
}

/* Estilo del botón de cerrar */
.close {
  color: #000000;
  float: right;
  font-size: 8vh;
  font-weight: bold;
  text-align: right;
  transition: 0.5s;
  align-items: right;
  position: absolute;
  /* El botón de cierre será posicionado en el contenedor */
  top: 5px;
  /* Coloca el botón a 10px desde la parte superior del modal */
  right: 25px;
  /* Coloca el botón a 10px desde el borde derecho */
}

.close:hover,
.close:focus {
  color: rgb(255, 255, 255);
  text-decoration: none;
  cursor: pointer;
}

.aviso {
  width: 105vh;
  height: auto;
  align-items: center;
}

@media (max-width: 768px) {
  .modal-content_1 {
    width: 90%;
    /* Ajusta el tamaño del modal en pantallas pequeñas */
    height: auto;
    /* Permite que el modal crezca según el contenido */
    padding: 20px;
    /* Ajusta los márgenes internos */
  }

  .modal_1 {
    padding-left: 5%;
    /* Ajusta el margen para que no se recorte en dispositivos pequeños */
    padding-right: 5%;
  }

  .close {
    font-size: 1.5em;
    /* Ajusta el tamaño del botón de cerrar */
    right: 10px;
    /* Asegura que el botón esté bien posicionado */
  }
}

.banner-contenedor:has(#close-banner:checked) .banner {
  display: none;
}

.banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #1977cc;
  color: white;
  text-align: center;
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
}

.close-btn {
  background-color: #dd127b;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
  text-decoration: none;
}

@media (max-width: 768px) {
  .banner-contenedor:has(#close-banner:checked) .banner {
    display: none;
  }

  .banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1977cc;
    color: white;
    text-align: center;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    font-size: 2.5dvh;
  }

  .close-btn {
    background-color: #dd127b;
    color: white;
    border: none;
    padding: 1dvh;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    padding-top: 0.5dvh;
    padding-bottom: 0.5dvh;
  }
}

@media (max-width: 414px) {
  .banner-contenedor:has(#close-banner:checked) .banner {
    display: none;
  }

  .banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #1977cc;
    color: white;
    text-align: center;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 9999;
    font-size: 1.5dvh;
  }

  .close-btn {
    background-color: #dd127b;
    color: white;
    border: none;
    padding: 1dvh;
    cursor: pointer;
    border-radius: 5px;
    text-decoration: none;
    padding-top: 0.25dvh;
    padding-bottom: 0.25dvh;
  }

  .contenedor {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 400px;
    background: #f5f5f5;
    box-shadow: 0 30px 50px #dbdbdb;
    border-radius: 20px;
  }

  .contenedor .slide {
    border-radius: 20px;
  }

  .contenedor .slide .item {
    width: 200px;
    height: 250px;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 20px;
    box-shadow: 0 30px 50px #505050;
    background-position: 50% 50%;
    background-size: cover;
    display: inline-block;
    transition: all 0.5s;
  }

  .slide .item:nth-child(1),
  .slide .item:nth-child(2) {
    top: 0;
    left: 0;
    transform: translate(0, 0);
    border-radius: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    transition: all 0.5s;
  }

  .slide .item:nth-child(3) {
    left: 50%;
  }

  .slide .item:nth-child(4) {
    left: calc(50% + 220px);
  }

  .slide .item:nth-child(5) {
    left: calc(50% + 440px);
  }

  .slide .item:nth-child(n + 6) {
    left: calc(50% + 660px);
    opacity: 0;
  }

  .item .content {
    position: absolute;
    top: 50%;
    left: 100px;
    width: 300px;
    text-align: left;
    color: #eee;
    transform: translate(0, -50%);
    font-family: system-ui;
    display: none;
  }

  .slide .item:nth-child(2) .content {
    display: block;
  }

  .content .name {
    font-size: 40px;
    text-transform: uppercase;
    font-weight: bold;
    opacity: 0;
    animation: animate 1s ease-in-out 1 forwards;
  }

  .content .des {
    margin-top: 10px;
    margin-bottom: 20px;
    opacity: 0;
    animation: animate 1s ease-in-out 0.3s 1 forwards;
  }

  .content button {
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    opacity: 0;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.673);
    transition: all 0.5s;
    animation: animate 1s ease-in-out 0.6s 1 forwards;
  }

  .content button:hover {
    background-color: rgb(255, 255, 255);
  }

  @keyframes animate {
    from {
      opacity: 0;
      transform: translate(0, 100px);
      filter: blur(33px);
    }

    to {
      opacity: 1;
      transform: translate(0);
      filter: blur(0);
    }
  }

  .button {
    display: flex;
    flex-direction: row;
    gap: 20px;
    left: 45%;
    right: 50%;
    width: 100%;
    align-items: center;
    text-align: center;
    position: absolute;
    bottom: 20px;
  }

  .button button {
    width: 40px;
    height: 35px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    margin: 0 5px;
    border: 2px solid #000000bd;
    transition: 0.3s;
    background: rgba(255, 255, 255, 0.578);
  }

  .button button:hover {
    color: #000000;
    border: 2px solid #ffffffbd;
    transform: scale(1.1);
  }

  .button button:focus {
    transform: scale(1.1);
    background: #ffffff;
    border: 2px solid #ffffffbd;
  }

  .button button:active {
    transform: scale(1.02);
  }

  .next {
    padding: 0 0 0 3px;
  }

  .prev {
    padding: 0 3px 0 0;
  }

  .MDJAminDiv {
    z-index: 4444;
    position: fixed;
    bottom: 5%;
    left: 2%;
  }

  .MDJAmin {
    text-decoration: none;
    border-bottom: 1px dashed rgb(44, 44, 44);
    border-top: 1px dashed rgb(44, 44, 44);
    padding: 4px 0;
    color: rgba(44, 44, 44, 0.525);

    font-family: monospace;
    font-style: italic;
    font-size: 1.1em;
    transition: all 0.5s;
  }

  .MDJAmin:hover {
    color: #000000;
  }
}

.contenedor_1 {
  align-items: center;
  display: flex;
  background: white;
  position: relative;
  width: 100%;
  height: 80vh;
  /* altura fija para todo el contenedor */
  overflow: hidden;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.4);
  padding: 0;
}

.image {
  flex: 1;
}

.image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.6s ease;
  /* animación de cambio de imagen */
  top: 0;
  left: 0;
  margin: 0%;
  padding: 0;
}

.content_1 {
  flex: 1;
  padding: 100px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.h1_1 {
  font-size: 25px;
  color: #000000;
  flex: 1;
}

.h1_1,
.p_1 {
  transition: all 0.6s ease;
  opacity: 1;
  transform: translateY(0);
}

.h1_1.fade-out,
.p_1.fade-out {
  opacity: 0;
  transform: translateY(30px);
}

.h1_1.fade-in,
.p_1.fade-in {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeInUp 0.6s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.button_1 {
  margin-top: 30px;
  padding: 12px 25px;
  background-color: #0078ff;
  color: white;
  border-radius: 4px;
  /* hace el botón completamente redondo */
  border: none;
  cursor: pointer;
  font-size: 2vh;
  transition:
    transform 0.3s ease,
    background-color 0.3s;
}

.button_1:hover {
  transform: scale(1.2);
  background-color: #005ecc;
}

.card_1 {
  position: relative;
  width: 28vh;
  height: 50vh;
  border: 1px solid #cccccc80;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 1s;
  cursor: pointer;
  background-color: #ffffffb0;
  text-align: center;
  animation: mostrarBarra 2s forwards;
  align-items: center;
  margin: 1vh;
  display: flex;
  flex-direction: column;
  /* Alinea ícono y texto verticalmente */
  align-items: center;
  /* Centra horizontalmente */
  justify-content: center;
  /* Centra verticalmente (si el contenedor tiene altura definida) */
  text-align: center;
}

.card_1:hover {
  transform: scale(1.05);
}

@keyframes mostrarBarra {
  to {
    left: 0;
    /* Mueve la barra a la izquierda */
  }
}

.tarjeta-titulo {
  height: 20px;
  background-color: #060606;
  border-radius: 1 px;
  align-items: center;
}

.inicio-image {
  width: 2vh;
  height: 2vh;
  transition: opacity 0.5s;
  cursor: pointer;
}

.inicio-image:hover {
  width: 100%;
  height: auto;
  opacity: 0;
  cursor: pointer;
}

.inicio-title {
  margin: 10px;
  text-align: center;
  opacity: 1;
  font-size: 4vh;
}

.inicio-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #1f7aaf;
  color: white;
  padding: 10px;
  opacity: 1;
  transition: opacity 0.3s;
  text-align: center;
  font-size: 2vh;
  cursor: pointer;
}

.inicio:hover .card-text {
  opacity: 1;
}

.encabezado {
  background-color: #475cc7;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
  /* importante para incluir padding en el ancho */
  white-space: nowrap;
  width: 100%;
  /* que no supere el ancho de la pantalla */
  max-width: 100vw;
}

.encabezado h1 {
  font-size: 6vh;
  color: #ffffff;
  margin: 0;
  padding: 0;
}

.encabezado p {
  font-size: 3vh;
  color: #ffffff;
  margin: 0;
  padding: 0;
}
