/**
 * @author Alexis Bogado <alexis.bogado@s3w.es>
 * @package webinar-web
 */

 @font-face {
  font-family: 'Texta';
  src: url('../../fonts/Texta-BoldIt.woff2') format('woff2'),
      url('../../fonts/Texta-BoldIt.woff') format('woff');
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Texta';
  src: url('../../fonts/TextaAlt-Bold.woff2') format('woff2'),
      url('../../fonts/TextaAlt-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Texta';
  src: url('../../fonts/TextaAlt-Light.woff2') format('woff2'),
      url('../../fonts/TextaAlt-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Texta';
  src: url('../../fonts/TextaAlt-Book.woff2') format('woff2'),
      url('../../fonts/TextaAlt-Book.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Texta';
  src: url('../../fonts/TextaAlt-It.woff2') format('woff2'),
      url('../../fonts/TextaAlt-It.woff') format('woff');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Texta';
  src: url('../../fonts/TextaAlt-Medium.woff2') format('woff2'),
      url('../../fonts/TextaAlt-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Texta';
  src: url('../../fonts/TextaAlt-MediumIt.woff2') format('woff2'),
      url('../../fonts/TextaAlt-MediumIt.woff') format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Texta';
  src: url('../../fonts/TextaAlt-Regular.woff2') format('woff2'),
      url('../../fonts/TextaAlt-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Texta';
  src: url('../../fonts/TextaAlt-BookIt.woff2') format('woff2'),
      url('../../fonts/TextaAlt-BookIt.woff') format('woff');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Texta';
  src: url('../../fonts/Texta-Book.woff2') format('woff2'),
      url('../../fonts/Texta-Book.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Texta';
  src: url('../../fonts/Texta-It.woff2') format('woff2'),
      url('../../fonts/Texta-It.woff') format('woff');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Texta';
  src: url('../../fonts/Texta-Bold.woff2') format('woff2'),
      url('../../fonts/Texta-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Texta';
  src: url('../../fonts/Texta-Medium.woff2') format('woff2'),
      url('../../fonts/Texta-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Texta';
  src: url('../../fonts/Texta-Medium.woff2') format('woff2'),
      url('../../fonts/Texta-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: 'Texta';
  src: url('../../fonts/Texta-Bold.woff2') format('woff2'),
      url('../../fonts/Texta-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Texta';
  src: url('../../fonts/Texta-MediumIt.woff2') format('woff2'),
      url('../../fonts/Texta-MediumIt.woff') format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* ========================================
   CSS Variables - Color Palette
   ======================================== */
:root {
  --color-primary: #472EC6;
  --color-white: #FFFFFF;
  --color-dark-blue: #2A1B74;
  --color-dark-grey: #2D2E2F;
  --color-bg-light: #F7F5FF;
  --color-primary-hover: #3a25a3;
  --color-numbers: #FF57DF;
  --color-desc: #7F5CFF;
  --color-duration: #FF8AE9;
  --color-block: #2A1B74;
  --color-bg-table: #F5FCFF;
  --color-footer-bg: #2A1B74;
  --color-footer-text: #FAFAFA;
}

.separator {
    border-top: 1px solid var(--color-block);
}

html {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Texta', sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

*:disabled {
    cursor: not-allowed;
}

/* #main-menu .nav-link:hover {
    color: rgba(41, 34, 92, .8) !important;
} */

#main-menu .nav-link::after {
    content: ' ';
    display: block;
    height: 3px;
    width: 0;
    transition: width .25s linear;
}

#main-menu .dropdown.show .nav-link::after, #main-menu .nav-link:hover::after {
    width: 100%;
}

#main-menu, #main-menu img {
    transition: max-width 0.5s, background-color 0.5s;
}

#main-logo img {
    /* border-width: 30px 20px 20px 20px; */
    border-style: solid;
    border-color: transparent;
    height: 55px; /* Logo más grande al inicio */
    max-width: none;
    transition: height 0.4s ease, transform 0.3s ease; /* Animación suave */
}

/* Logo más pequeño al hacer scroll (clase maxw-65) */
#main-logo img.maxw-65 {
    height: 40px !important;
    width: auto !important;
    max-width: none !important;
}

/* Efecto hover en el logo */
#main-logo img:hover {
    transform: scale(1.05);
}

/* Forzar altura del logo en móvil */
@media (max-width: 767px) {
    #main-logo img {
        height: 40px !important;
        width: auto !important;
        max-width: none !important;
    }
}

.menu-text {
    letter-spacing: 2px;
    font-size: 8px;
}

#nav-menu.w-0 .navbar-nav {
    visibility: hidden;
    opacity: 0;
}

#nav-menu .navbar-nav {
    display: visible;
    opacity: 1;
    transition: visibility 0s, opacity .35s ease-in-out;
}

.navbar-collapse-right {
    transition: width .35s ease-in-out !important;
    height: 100vh;
    width: 380px;
    max-width: 85%;
    z-index: 1030;
    right: 0;
    top: 0;
}

.maxw-65 {
    max-width: 65% !important;
}

.mw-65 {
    min-width: 65% !important;
}

.w-0 {
    width: 0 !important;
}

.bottom-0 {
    bottom: 0;
}

.right-0 {
    right: 0;
}


.hr-bold {
    border-width: 2px !important;
}

/* ===================================
   Hamburger Menu Icon (Mobile)
   =================================== */
.navbar-toggler {
  padding: 0.5rem;
  outline: none !important;
  box-shadow: none !important;
}

.navbar-toggler:focus {
  outline: none !important;
  box-shadow: none !important;
}

.navbar-toggler-icon-custom {
  display: inline-block;
  width: 30px;
  height: 24px;
  position: relative;
  cursor: pointer;
}

.navbar-toggler-icon-custom span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--color-primary);
  border-radius: 3px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.navbar-toggler-icon-custom span:nth-child(1) {
  top: 0px;
}

.navbar-toggler-icon-custom span:nth-child(2) {
  top: 10px;
}

.navbar-toggler-icon-custom span:nth-child(3) {
  top: 20px;
}

#open-menu:hover .navbar-toggler-icon-custom span,
#open-menu:focus .navbar-toggler-icon-custom span {
  background: var(--color-primary-hover);
}

/* Overlay oscuro cuando el menú está abierto */
#menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1029;
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s ease-in-out, visibility .35s ease-in-out;
}

#menu-overlay.show {
  opacity: 1;
  visibility: visible;
}

/* Estilos del menú lateral en móvil */
#nav-menu {
  overflow-y: auto;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  border-left: 1px solid rgba(71, 46, 198, 0.1);
}

#nav-menu .navbar-nav {
  width: 100%;
}

#nav-menu .nav-link {
  padding: 1.2rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-primary) !important;
  border-bottom: 1px solid rgba(71, 46, 198, 0.08);
  transition: all 0.3s ease;
  display: block;
}

#nav-menu .nav-link:hover {
  background-color: var(--color-bg-light);
  padding-left: 2rem;
  color: var(--color-primary-hover) !important;
}

#nav-menu li {
  list-style: none;
}

#close-menu {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#close-menu:hover {
  transform: rotate(90deg);
  opacity: 0.7;
}

#close-menu i {
  font-weight: bold;
}

/* Separador visual en el sidebar */
#nav-menu .row {
  border-bottom: 2px solid var(--color-bg-light);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

#nav-menu .row:last-child {
  border-bottom: none;
}

/* ========================================
   Banner Section Styles
   ======================================== */
section#inicio {
    background: #fff;
    padding-top: 100px;
}

section#inicio.bg-index {
    background: url(../images/header_home.jpg) no-repeat, #eaeef1;
    background-size: cover;
}

section#inicio.bg-header {
    background: url(../images/header_home.jpg) no-repeat, #eaeef1;
    background-size: cover;
    background-position: left 0%;
}

section#inicio.bg-header-lite {
  background: url(../images/header_lite.png) no-repeat, #eaeef1;
  background-size: cover;
  background-position: left 0%;
}

/* Contenedor con posición relativa */
section#inicio .container-fluid {
  position: relative;
}

/* Wrapper de la imagen */
.banner-image-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  line-height: 0;
}

.banner-image-wrapper img {
  display: block;
  width: 100%;
  position: relative;
  z-index: 0;
}

/* Banner text overlay styles */
.banner-text-overlay {
  top: 58%;
  left: 5%;
  transform: translateY(-50%);
  z-index: 10;
  max-width: 500px;
  width: 90%;
}

.banner-content-right {
  /* background: rgba(255, 255, 255, 0.95); */
  padding: 2rem;
  border-radius: 0px;
  /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15); */
}

.banner-content-right h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--color-white);
}

.banner-content-right p {
  font-size: 1.1rem;
  line-height: 1.2;
  color: var(--color-primary);
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background-color: #ffffff;
  border-radius: 50%;
  padding: 6px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.icon-circle img {
  width: 20px !important;
  height: 20px !important;
  display: block;
}

.icon-arrow {
   width: 32px !important;
   height: 32px !important;
   display: block;
   margin: 0 auto;
}

/* ========================================
   Sección Acceso (Login y Registro)
   ======================================== */
section#acceso {
  margin-top: 0px;
  position: relative;
  z-index: 5;
}

@media (max-width: 768px) {
  /* Ajustar padding-top de la sección inicio en móvil */
  section#inicio {
    padding-top: 67px;
    height: 100vh;
  }
  
  /* En móvil: Banner ocupa toda la altura de la pantalla */
  section#inicio .container-fluid {
    padding: 0 !important;
    height: 100%;
  }
  
  /* Overlay oscuro solo en móvil */
  .banner-image-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
    pointer-events: none;
  }
  
  section#inicio .container-fluid img {
    height: 100vh;
    width: 100%;
    object-fit: cover;
    object-position: 81% 20%;
    /* object-position: center center; */
  }
  
  /* Quitar márgenes del contenedor padre */
  section#inicio .container {
    padding: 0 !important;
    height: 100vh;
  }
  
  /* Texto centrado encima del banner */
  .banner-text-overlay {
    position: absolute !important;
    top: 55% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    max-width: 90%;
    width: 90%;
    z-index: 10;
  }
  
  .banner-content-right {
    background: transparent;
    padding: 2rem 2rem;
    border-radius: 12px;
    box-shadow: none;
    text-align: center;
  }
  
  .banner-content-right h1 {
    font-size: 1.6rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
  }
  
  .banner-content-right p {
    font-size: 0.95rem;
    color: var(--color-white);
    line-height: 1.5;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 0, 0, 0.5);
  }
  
  .banner-content-right p br {
    display: none;
  }
  
  /* Iconos y fechas en móvil */
  .banner-content-right .d-flex {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .banner-content-right .d-flex span {
    color: var(--color-white) !important;
    margin: 0.5rem 0.75rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  }
  
  /* Botón en móvil */
  .banner-content-right .btn {
    width: 100%;
    max-width: 280px;
  }
  
  /* Separación de sección acceso en móvil */
  section#acceso {
    margin-top: 0;
    padding-top: 2rem;
  }
  
  /* Sidebar móvil: ajustes responsive */
  .navbar-collapse-right {
    width: 320px;
    max-width: 90%;
  }
  
  #nav-menu .nav-link {
    padding: 1rem 1.2rem;
    font-size: 1rem;
  }
  
  #close-menu i {
    font-size: 1.5rem !important;
  }
}

/* ========================================
   Banner Welcome Styles
   ========================================*/
.banner-welcome-overlay {
  top: 58%;
  left: 5%;
  transform: translateY(-50%);
  z-index: 2;
}

.banner-welcome-content {
  max-width: 650px;
}

.banner-welcome-label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--color-white);
  margin-bottom: 0.75rem;
}

.banner-welcome-title {
  font-size: 2.5rem;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: 2rem;
}

.banner-welcome-footer {
  margin-top: 2rem;
}

.banner-welcome-footer-text {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-white);
  text-align: left;
}

/* Responsive para Banner Welcome */
@media (max-width: 768px) {
  .banner-welcome-overlay {
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    max-width: 90%;
    width: 90%;
    z-index: 10;
  }
  
  .banner-welcome-content {
    background: transparent;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: none;
    text-align: center;
    max-width: 100%;
  }
  
  .banner-welcome-label {
    font-size: 0.75rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  }
  
  .banner-welcome-title {
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 0, 0, 0.5);
  }
  
  .banner-welcome-title br {
    display: inline;
  }
  
  .banner-welcome-footer {
    margin-top: 1.5rem;
  }
  
  .banner-welcome-footer .col-12 {
    text-align: center;
  }
  
  .banner-welcome-footer-text {
    font-size: 0.9rem;
    text-align: center !important;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.7), 0 0 15px rgba(0, 0, 0, 0.5);
  }
  
  .banner-welcome-footer-text br {
    display: none;
  }
  
  .banner-welcome-footer .btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    display: block;
  }
  
  .banner-welcome-content .d-flex {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .banner-welcome-content .d-flex span {
    color: var(--color-white) !important;
    margin: 0.5rem 0.75rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
  }
}

/* ========================================
   Agenda Block Styles
   ======================================== */
.agenda-block {
  background-color: var(--color-white);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Estilos generales para lazos decorativos */
.decorative-lazo {
  position: absolute;
  width: 400px;
  height: 225px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

/* Lazo decorativo izquierdo */
.decorative-lazo-left {
  left: 0px;
  top: 60px;
  background-image: url('../images/lazo_izquierda.png');
  background-position: left center;
}

/* Lazo decorativo derecho */
.decorative-lazo-right {
  right: 0px;
  top: 1px;
  background-image: url('../images/lazo_derecha.png');
  background-position: right center;
}

/* Ocultar lazos en móvil */
@media (max-width: 767px) {
  .decorative-lazo {
    display: none;
  }
}

/* Ajustar tamaño en tablet */
@media (min-width: 768px) and (max-width: 1024px) {
  .decorative-lazo {
    width: 300px;
    height: 225px;
    top: 5px;
  }
  
  .decorative-lazo-left {
    left: 0px;
  }
  
  .decorative-lazo-right {
    right: 0px;
  }
}

/* Escritorio grande - lazos más prominentes */
@media (min-width: 1400px) {
  .decorative-lazo {
    width: 400px;
    height: 225px;
  }
  
  .decorative-lazo-left {
    left: 0px;
  }
  
  .decorative-lazo-right {
    right: 0px;
  }
}

/* Asegurar que el contenido esté por encima del lazo */
.agenda-block .container {
  position: relative;
  z-index: 2;
}

.agenda-title {
  color: var(--color-dark-blue);
  font-size: 3rem;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
}

.agenda-description {
  color: var(--color-desc);
  font-size: 1.3rem;
  max-width: 700px;
  line-height: 1.2;
}

.agenda-item {
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.agenda-item:hover {
  transform: translateY(-5px);
}

.agenda-number {
  font-size: 4.5rem;
  font-weight: 900;
  color: var(--color-numbers);
  line-height: 1;
  font-family: 'Montserrat', sans-serif;
}

.agenda-icon {
  width: 70px;
  /* height: 60px; */
  /* filter: brightness(0) saturate(100%) invert(52%) sepia(94%) saturate(4686%) hue-rotate(291deg) brightness(100%) contrast(101%); */
}

.agenda-label {
  color: var(--color-primary);
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}

.register-desc-label {
   color: var(--color-dark-grey);
    font-size: 1rem;
    letter-spacing: 0px;
    line-height: 1.2;
    text-align: center; 
}

@media (max-width: 768px) {
  .agenda-block {
    margin-top: 0;
    padding-top: 3rem !important;
  }
  
  .agenda-title {
    font-size: 2.5rem;
  }
  
  .agenda-description {
    font-size: 1.1rem;
  }
  
  .agenda-number {
    font-size: 4rem;
  }
  
  .agenda-icon {
    width: 70px;
    /* height: 50px; */
  }
  
  .agenda-label {
    font-size: 1rem;
  }
}

/* ========================================
   Agenda Table Styles
   ======================================== */
.agenda-table-section {
  background-color: var(--color-white);
}

.agenda-table-card {
  background-color: #f4f4fc;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.agenda-table-header {
  border-bottom: 2px solid var(--color-primary);
  margin-bottom: 1rem;
}

.agenda-table-heading {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.agenda-table-row {
  border-bottom: 1px solid rgba(71, 46, 198, 0.1);
  transition: background-color 0.2s ease;
}

.agenda-table-row:last-of-type {
  border-bottom: none;
}

.agenda-table-row:hover {
  background-color: rgba(71, 46, 198, 0.03);
}

.agenda-duration {
  color: var(--color-duration);
  font-weight: 700;
  font-size: 1.1rem;
}

.agenda-block-text {
  color: var(--color-block);
  font-size: 1rem;
  line-height: 1.6;
  display: block;
}

.agenda-participant {
  color: var(--color-block);
  font-size: 0.95rem;
  line-height: 1.5;
  display: block;
}

.agenda-participant strong {
  font-weight: 700;
}

@media (max-width: 768px) {
  .agenda-table-card {
    padding: 1.5rem;
    border-radius: 15px;
  }
  
  .agenda-table-heading {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }
  
  .agenda-table-row {
    padding: 1.5rem 0 !important;
  }
  
  .agenda-duration,
  .agenda-block-text,
  .agenda-participant {
    text-align: center !important;
    margin-bottom: 1rem;
  }
  
  .agenda-duration {
    font-size: 1rem;
  }
  
  .agenda-block-text {
    font-size: 0.95rem;
  }
  
  .agenda-participant {
    font-size: 0.9rem;
  }
}

/* ========================================
   Doctors Section Styles
   ======================================== */
.doctors-section {
  background-color: var(--color-white);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

/* Asegurar que el contenido esté por encima del lazo */
.doctors-section .container {
  position: relative;
  z-index: 2;
}

.doctors-title {
  color: var(--color-dark-blue);
  font-size: 3rem;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
}

.doctors-subtitle {
  color: var(--color-dark-grey);
  font-size: 1.2rem;
  max-width: 600px;
  line-height: 1.6;
}

.doctor-card {
  padding: 1.5rem;
  transition: transform 0.3s ease;
}

.doctor-card:hover {
  transform: translateY(-10px);
}

.doctor-image-wrapper {
  max-width: 400px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 20px;
}

.doctor-image {
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  width: 100%;
  height: auto;
  transition: transform 0.4s ease, box-shadow 0.3s ease;
}

.doctor-image:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(71, 46, 198, 0.3);
}

.doctor-name {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-top: 1rem;
}

.doctor-specialty {
  color: var(--color-primary);
  font-size: 1rem;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .doctors-title {
    font-size: 2.5rem;
  }
  
  .doctors-subtitle {
    font-size: 1.1rem;
  }
  
  .doctor-image-wrapper {
    max-width: 300px;
    overflow: hidden;
    border-radius: 20px;
  }
  
  .doctor-name {
    font-size: 1.3rem;
  }
  
  .doctor-specialty {
    font-size: 0.95rem;
  }
}

/* ========================================
   Footer Styles
   ======================================== */
.pharma-footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 3rem 0;
  margin-top: auto; /* Empuja el footer al final del flexbox */
}

.footer-label {
  color: var(--color-footer-text);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-logo {
  max-height: 50px;
  width: auto;
}

.footer-text {
  color: var(--color-footer-text);
  font-size: 0.9rem;
  line-height: 1.6;
  /* max-width: 400px; */
}

.footer-text strong {
  font-weight: 700;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-link {
  color: var(--color-footer-text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.3s ease, text-decoration 0.3s ease;
}

.footer-link:hover {
  color: var(--color-footer-text);
  text-decoration: underline;
  opacity: 0.8;
}

@media (max-width: 768px) {
  .pharma-footer {
    padding: 2rem 0;
  }
  
  .footer-label,
  .footer-text,
  .footer-links {
    text-align: center !important;
  }
  
  .footer-logo {
    max-height: 40px;
  }
  
  .footer-text {
    font-size: 0.85rem;
  }
  
  .footer-link {
    font-size: 0.9rem;
  }
}

.line-height-1 {
    line-height: 1;
}

.font-weight-ultrabold {
    font-weight: 900 !important;
}

.social-media-icons li {
    height: 45px;
    width: 45px;
}

.social-media-icons li a {
    border: 2px solid;
}

.social-media-icons li a:hover {
    background-color: #fff;
    color: #14112c !important;
    text-decoration: none;
    transition: all 110ms;
}

.arrow-icon {
    transition: transform .2s ease-in-out;
}

.transform-180deg {
    transform: rotate(180deg) !important;
}

.fs-12 {
    font-size: 12px;
}

.fs-14 {
    font-size: 14px;
}

.text-underlined {
    text-decoration: underline;
}

.border-lg-green {
    border-bottom: 10px solid #318b68;
}

.border-lg-dark-blue {
  border-bottom: 10px solid #202543;
}



.border-transparent{
  border-color: transparent;
}

a.text-dark-purple:hover {
    color: #38345c;
    opacity: .9;
}

a.text-cyan:hover {
    color: #00a09a;
    opacity: .9;
}

footer a.nav-link:hover {
    text-decoration: underline;
}

#go-top {
    display: none;
    width: 60px;
    height: 60px;
}

.nav-link.dropdown-toggle::after {
    border: 0 !important;
    margin: 0 !important;
    vertical-align: unset !important;
}

.transform-none {
    transform: none !important;
}

.download-box::after {
    width: 100%;
    content: ' ';
    background-color: rgba(255, 255, 255, 0.4);
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    height: 0%;
    transition: height .1s ease-in;
}

.download-box:hover::after {
    height: 100%;
    transition: height .1s ease-in;
}

/* Background colors */
.bg-purple {
    background-color: #301688 !important;
}

.bg-dark-purple {
    background-color: #14112c !important;
}

.bg-dark-blue {
  background-color: #202543 !important;
}

.bg-black {
  background-color: #000000 !important;
}

.bg-light-blue {
  background-color: #26b5f2 !important;
}

.bg-gray-purple {
    background-color: #38345c !important;
}

.bg-green {
    background-color: #78BA42 !important;
}

.bg-gray-green {
    background-color: #318b68 !important;
}

.bg-cyan {
    background-color: #00a09a !important;
}

.bg-blue {
    background-color: #004d6d !important;
}

.bg-red {
  background-color: #ed1c24 !important;
}

.bg-light-green {
    background-color: #318b6873 !important;
}

.bg-black-transparent {
  background-color: #f4f4f430 !important;
}

.bg-gray {
  background-color: #9d9d9c !important;
}

.bg-light-gray {
    background-color: #f4f4f4;
}

/* Text colors */
.text-dark-purple {
    color: #2D1892;
}

.text-light-purple {
    color: #7419B5;
}

.text-cyan {
    color: #00a09a;
}

.text-gray {
    color: #9d9d9c;
}

.text-light-gray {
    color: #f4f4f4;
}

.text-light-cyan {
    color: #17cec7;
}

.text-blue {
    color: #004d6d;
}

.text-low-blue {
    color: #e3ebf0;
}

.text-dark-gray {
    color: var(--color-dark-grey) !important;
}

.text-pink {
  color: #ff6775;
}

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

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

.text-red {
  color: #c43f27;
}

.text-red:focus{
  color: #c43f27;
}

.text-light-blue {
    color: #26b5f2;
}

.text-dark-blue {
    color: #202543;
}

.text-decoration-underline {
    text-decoration: underline !important;
}

.text-white {
    color: #ffffff;
}

.text-black {
  color: black;
}

/* Border colors */
.border-blue {
    border: 1px solid #004d6d !important;
}

.form-control.border-blue:focus {
    border-color: rgba(74, 179, 210, .4);
    box-shadow: 0 0 0 0.2rem rgba(74, 179, 210, .25);
}

@media (max-width: 768px) {
    .navbar-collapse-right {
        width: 100%;
    }
}

.blurred-header{
  backdrop-filter: blur(10px);
  background-color: hsla(231, 35%, 19%, .9)
}

input[type=checkbox], input[type=radio] {
    box-sizing: border-box !important;
    padding: 0px !important;
    width: 20px !important;
    height: 20px !important;
}

input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel] {
  background-color: transparent !important;;
  color: #202543;
  border-radius: 12px;
  border: 1px solid var(--color-block);
  height: 48px;
  padding: 0px 18px;
}

select {
  border-radius: 12px;
  border: 1px solid #202543;
  width: 100%;
  min-height: 48px;
  color: #202543;
  padding: 0px 18px;
}

select:focus-visible {
  border-color: #26b5f2 !important;
  box-shadow: none;
}
select:focus {
  border-color: #26b5f2 !important;
  box-shadow: none;
}

.form-control:focus{
  border-color: #26b5f2;
  box-shadow: none;
}

textarea {
  border: none !important;
  color: #202543 !important;
}

textarea::placeholder {
  color: #202543 !important;
  opacity: 1; 
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #444 !important;
  opacity: 1; /* Firefox */
  font-weight: 100;
}

.btn-registrese{
  position: absolute;
  bottom: 10px;
  max-width: 25vw;
  left: 50%;
  transform: translateX(-50%);
}

.btn-menu{
  background-color: white;
  color: black;
  border-radius: 0px;
  padding: 5px 20px;
}

.btn-menu-gray {
  background-color: #9E9E9E;
}

.btn-aom-light {
  background-color: #26b5f2;
  color: white;
  border-radius: 40px;
  padding: 5px 20px;
}

.btn-aom-light:hover {
  background-color: #26b5f275;
}

.btn-aom-dark {
  background-color: #202543;
  color: white;
  border-radius: 40px;
  padding: 5px 20px;
}

.btn-aom-dark:hover {
  background-color: #20254390;
}


/* Gray Button Styles */
.btn-aom-gray {
  background-color: var(--color-bg-light) !important;
  color:  var(--color-primary) !important;
  border-radius: 50px;
  padding: 12px 40px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(71, 46, 198, 0.3);
}

.btn-aom-gray:hover {
  background-color: var(--color-primary-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(71, 46, 198, 0.4);
}

.btn-aom-gray:focus,
.btn-aom-gray:active {
  background-color: var(--color-primary-hover);
  color: var(--color-white);
  box-shadow: 0 0 0 0.2rem rgba(71, 46, 198, 0.25);
}


/* Primary Button Styles */
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
  border-radius: 50px;
  padding: 12px 40px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(71, 46, 198, 0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  color: var(--color-white);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(71, 46, 198, 0.5);
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(71, 46, 198, 0.4);
}

.btn-primary:focus,
.btn-primary:active {
  background-color: var(--color-primary-hover);
  color: var(--color-white);
  box-shadow: 0 0 0 0.2rem rgba(71, 46, 198, 0.25);
}

.padd-x7 {
      padding: 0rem 7rem;
}

.h-48 {
  min-height: 48px;
}

.form-check-label {
  color: var(--color-dark-grey);
  font-size: 0.95rem;
  margin-left: 20px;
}

.registro-container{
  background: rgb(147,39,143);
  background: linear-gradient(90deg, rgba(147,39,143,1) 20%, rgba(0,110,162,1) 100%);
}

.registro-container a {
  color: white;
  font-size: 32px;
  font-weight: bold;
  text-decoration: none;
}

.display-none{
  display: none;
}

.gradient-blue{
  background: rgb(0,110,162);
  background: linear-gradient(90deg, rgba(0,110,162,1) 20%, rgba(41,171,226,0) 80%);
}

.gradient-purple{
  background: rgb(147,39,143);
  background: linear-gradient(90deg, rgba(147,39,143,1) 20%, rgba(41,171,226,0) 80%);
} 

.gradient-pink{
  background: rgb(237,30,121);
  background: linear-gradient(90deg, rgba(237,30,121,1) 20%, rgba(41,171,226,0) 80%);
}

.gradient-red{
  background: rgb(237,28,36);
  background: linear-gradient(90deg, rgba(237,28,36,1) 20%, rgba(237,122,39,0) 80%);
}

.gradient-orange{
  background: rgb(237,158,28);
  background: linear-gradient(90deg, rgba(237,158,28) 20%, rgba(237,122,39,0) 80%);
}

.time-header{
  border-radius: 50px;
}

.mw-32{
  max-width: 32px;
}

/* Cookies */
.banner-cookies {
  font-size: 14px !important;
  background-color: hsla(255, 0%, 0%, .95) !important;
  bottom: 0;
  left: 0;
  padding: 0 15px;
  position: fixed;
  width: 100%;
  z-index: 500;
  color: white;
  display: none;
}

.banner-cookies div:nth-child(1) {
  padding: 10px 0;
}

.banner-cookies div:nth-child(2) {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}

.banner-cookies button {
  font-size: 14px !important;
  margin-right: 10px;
}

.zi-2000 {
  z-index: 2000 !important;
}

.custom-radio {
  height: 25px;
  min-width: 25px;
  border: 2px solid;
}

.custom-radio.selected::before {
  background-color: #202543;
  content: ' ';
  display: block;
  height: 21px;
  width: 21px;
  border: 3px solid #fff;
}

@media (min-width: 768px){
  .position-md-absolute {
    position: absolute;
  }

  .h-center {
    left: 50%;
    transform: translateX(-50%);
  }

  .bg-md-transparent{
    background-color: transparent !important;
  }
}

@media (max-width: 767.98px){
  .bg-white-10{
    background-color: #ffffff10;
  }

  .btn-menu{
    border-radius: 0px;
    border-bottom: 1px solid #00000050 !important;
    border-left: 1px solid #00000050 !important;
    border-right: 1px solid #00000050 !important;
    border-top: none;
  }

  .btn-reuniendo{
    font-size: 0.8rem;
  }
}

/* ========================================
   Animaciones UX Profesionales
   ======================================== */

/* Keyframes para animaciones de entrada */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Clases de animación aplicables */
.animate-fade-in {
  animation: fadeIn 0.6s ease-out;
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.animate-slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease-out;
}

/* Animaciones para secciones y contenedores */
section {
  animation: fadeIn 0.8s ease-out;
}

.container {
  animation: fadeInUp 0.8s ease-out;
}

/* Animación para elementos de formulario */
.form-control {
  transition: all 0.3s ease;
}

.form-control:focus {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(71, 46, 198, 0.15);
}

/* Animación para cards y elementos interactivos */
.card,
.agenda-item,
.doctor-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover,
.agenda-item:hover,
.doctor-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Animación para botones con efecto ripple */
.btn {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

/* Animación para imágenes al cargar */
img {
  animation: fadeIn 0.8s ease-out;
}

/* Animación hover para enlaces */
a {
  transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
  opacity: 0.85;
}

/* Animación para títulos con entrada suave */
h1, h2, h3, h4, h5, h6 {
  animation: fadeInUp 0.8s ease-out;
}

/* Animación staggered para listas (delay progresivo) */
.agenda-item {
  animation: fadeInUp 0.8s ease-out;
  animation-fill-mode: both;
  opacity: 1;
}

.agenda-item:nth-child(1) {
  animation-delay: 0.1s;
}

.agenda-item:nth-child(2) {
  animation-delay: 0.2s;
}

.agenda-item:nth-child(3) {
  animation-delay: 0.3s;
}

.doctor-card:nth-child(1) {
  animation: fadeInUp 0.8s ease-out 0.1s;
  animation-fill-mode: both;
}

.doctor-card:nth-child(2) {
  animation: fadeInUp 0.8s ease-out 0.3s;
  animation-fill-mode: both;
}

/* Animación para tabla de agenda */
.agenda-table-row {
  animation: fadeInUp 0.6s ease-out;
  animation-fill-mode: both;
}

.agenda-table-row:nth-child(1) {
  animation-delay: 0.1s;
}

.agenda-table-row:nth-child(2) {
  animation-delay: 0.2s;
}

.agenda-table-row:nth-child(3) {
  animation-delay: 0.3s;
}

.agenda-table-row:nth-child(4) {
  animation-delay: 0.4s;
}

/* Animación suave para el scroll to top button */
#go-top {
  transition: all 0.3s ease;
  animation: pulse 2s ease-in-out infinite;
}

#go-top:hover {
  transform: translateY(-3px) scale(1.1);
  animation: none;
}

/* Animación para modales */
.modal.fade .modal-dialog {
  transition: transform 0.3s ease-out;
  transform: scale(0.9) translateY(-50px);
}

.modal.show .modal-dialog {
  transform: scale(1) translateY(0);
}

/* Reducir animaciones en móviles para mejor performance */
@media (max-width: 767px) {
  section,
  .container,
  h1, h2, h3, h4, h5, h6,
  img {
    animation: fadeIn 0.4s ease-out;
  }
  
  .animate-fade-in-up,
  .animate-slide-in-left,
  .animate-slide-in-right {
    animation: fadeIn 0.4s ease-out;
  }
}

/* Respetar preferencias de usuario que desactivan animaciones */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Error page styles */
#error .error-icon i.fas {
  font-size: 5rem !important;
  line-height: 1 !important;
}

@media (max-width: 767.98px) {
  #error .error-icon i.fas {
    font-size: 4rem !important;
  }
}
