/*--------------------------------------------------------------
# Audio Player 
--------------------------------------------------------------*/
.audio-player-container {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(to right, #049bf3, #049bf3, #94c6f7, #ffffff);
  /* Degradado */
  padding: 15px 20px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  z-index: 1000;
  width: 90%;
  max-width: 700px;
  box-sizing: border-box;
  overflow: hidden;
  /* Evita desbordamientos */
}

.audio-player-container.hidden {
  display: none;
}

.metadata-container {
  flex-grow: 1;
  color: white;
  font-size: 14px;
  line-height: 1.5;
}

.metadata-container .program-name {
  font-size: 16px;
  font-weight: bold;
  color: #ffffff;
}

.metadata-container .station-info {
  font-size: 12px;
  color: #d4d4d4;
  /* Menos prominente */
}

.metadata-container .live-indicator {
  color: #ff0000;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.metadata-container .live-indicator i {
  animation: pulse 1s infinite;
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

/* Controles */
.controls-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.volume-slider {
  width: 100px;
  height: 6px;
  background: #004d99;
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 15px;
  height: 15px;
  background: #ffffff;
  border: 2px solid #004d99;
  border-radius: 50%;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.btn-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-primary {
  background-color: #007bff;
  color: white;
}

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

.btn-secondary {
  background-color: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background-color: #5a6268;
}

.btn-stop {
  background-color: #ff6347;
  /* Rojo tomate */
  color: white;
}

.btn-stop:hover {
  background-color: #e5533d;
}

/* RESPONSIVE DESIGN */

/* Ajustes para móviles */
@media (max-width: 600px) {
  .audio-player-container {
    flex-direction: column;
    padding: 10px;
    align-items: center;
    max-height: 900%;
    background: linear-gradient(to bottom, #049bf3, #049bf3, #94c6f7, #ffffff);
    /* Cambia el degradado a vertical */

  }

  .metadata-container {
    text-align: center;
    font-size: 12px;
  }

  .controls-container {
    gap: 8px;
  }

  .btn-circle {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .volume-slider {
    width: 80px;
  }
}

/* Ajustes para tablets */
@media (min-width: 601px) and (max-width: 1024px) {
  .metadata-container {
    font-size: 13px;
  }

  .volume-slider {
    width: 90px;
  }
}

/* Animación de giro */
.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Fonts */
:root {
  --default-font: "Poppins", 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: "Poppins", 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: #049bf3ef;
  /* Color for headings, subheadings and title throughout the website */
  --accent-color: #049bf3ef;
  /* 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: rgb(65, 65, 65);
  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff;
  /* 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: #444444;
  /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #049bf3ef;
  /* 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: #f8f5f5;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #e4e4f4;
  --default-color: #434343;
  --heading-color: #02030e;
  --surface-color: #4668a2;
  --contrast-color: #02030e;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.gradient-multicolor {
  background: linear-gradient(270deg,
      #01a2ed,
      /* azul celeste */
      #00ffc8,
      /* verde aqua */
      #ffe600,
      /* amarillo */
      #ff7e7e,
      /* coral */
      #a12fff,
      /* violeta */
      #01a2ed
      /* regreso al inicio */
    );
  background-size: 1200% 1200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: gradientShift 160s ease infinite;
}

.gradient-green-yellow {
  background: linear-gradient(270deg, #fffb00, #ffffffd7, #3aff77, #01a2ed);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s ease infinite;
}


.gradient-pink-purple {
  background: linear-gradient(270deg, #ff69b4, #ffffffd7, #a12fff, #01a2ed);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s ease infinite;
}

.gradient-lila-purple {
  background: linear-gradient(270deg, #ff7e7e, #ffffffd7, #7e5e95, #01a2ed);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s ease infinite;
}


.gradient-blue-gray {
  background: linear-gradient(270deg, #bab9b9, #ffffffd7, #162eb7, #01a2ed);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s ease infinite;
}

.gradient-orange-maroon {
  background: linear-gradient(270deg, #ff8c42, #ffffffd7, #4b5320, #01a2ed);
  background-size: 600% 600%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s ease infinite;
}

.gradient-azul-blanco-1 {
  background: linear-gradient(90deg, #01a2ed, #ffffff, #0a0f2c);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: gradientShift 12s ease infinite;
}

.gradient-azul-blanco-2 {
  background: linear-gradient(90deg, #ffffff, #7fd7ff, #01a2ed);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}


.columna-derecha {
  margin-top: 20px;
  /* Ajusta la cantidad según lo necesites */
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #059652;
  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 {
  --background-color: #e4e4f4;
  --heading-color: rgb(65, 65, 65);
  color: var(--default-color);
  background-color: var(--background-color, transparent);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

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

.header .logo img {
  max-height: 60px;
  margin-right: 25px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 500;
  color: var(--heading-color);
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* === Botón con Degradado Azul Animado === */
.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: white !important;
  /* Texto siempre blanco */
  font-size: 16px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: all 0.4s ease;
  background: linear-gradient(270deg,
      #0052d9,
      /* Azul marino */
      #4364f7,
      /* Azul cielo */
      #6fdbfc
      /* Azul claro */
    );
  background-size: 200% 200%;
  animation: gradientShift 8s ease infinite;
}

/* Efecto hover (más intenso) */
.header .btn-getstarted:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 109, 255, 0.3);
}

/* Animación del degradado */
@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}


.header .btn-getstarted:hover,
.header .btn-getstarted: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 .btn-getstarted {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

/* Index Page Header */
.index-page .header {
  --background-color: rgba(255, 255, 255, 0);
  --heading-color: #070404;
  --nav-color: rgb(65, 65, 65);
}

/* Header con scroll - Tema claro (default) */
.index-page.scrolled .header {
  --background-color: #ffffff;
}

/* Header con scroll - Tema oscuro */
.dark-theme.index-page.scrolled .header {
  --background-color: #1a1a1a;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .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;
  }

  .navmenu .megamenu {
    position: static;
  }

  .navmenu .megamenu ul {
    margin: 0;
    padding: 10px;
    background: var(--nav-dropdown-background-color);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 130%;
    left: 0;
    right: 0;
    visibility: hidden;
    opacity: 0;
    display: flex;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
  }

  .navmenu .megamenu ul li {
    flex: 1;
  }

  .navmenu .megamenu ul li a,
  .navmenu .megamenu ul li:hover>a {
    padding: 10px 20px;
    font-size: 15px;
    color: var(--nav-dropdown-color);
  }

  .navmenu .megamenu ul li a:hover,
  .navmenu .megamenu ul li .active,
  .navmenu .megamenu ul li .active:hover {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .megamenu:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dd-box-shadow {
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  /* Barra blanca solo para pantallas grandes con nueva clase */
  .navmenu-bar {
    display: flex;
    justify-content: center;
    /* Centrar los elementos de navegación */
    background: #fff;
    /* Fondo blanco */
    padding: 15px 25px;
    /* Espaciado interno */
    border-radius: 50px;
    /* Bordes redondeados */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    /* Sombra para destacar */
    max-width: 85%;
    /* Limitar ancho máximo */
    margin: 0 auto;
    /* Centrar la barra horizontalmente */
  }

  .navmenu-bar ul {
    display: flex;
    gap: 20px;
    /* Separación entre los elementos */
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .navmenu-bar li {
    position: relative;
  }

  .navmenu-bar a {
    text-decoration: none;
    color: var(--nav-color, #333);
    /* Color de los enlaces */
    padding: 10px 15px;
    /* Espaciado interno de los enlaces */
    font-size: 16px;
    font-weight: 500;
    border-radius: 30px;
    /* Bordes redondeados */
    transition: all 0.3s ease;
  }

  .navmenu-bar a:hover,
  .navmenu-bar .active {
    color: var(--nav-hover-color, #fff);
    /* Color al pasar el mouse o activo */
    background: linear-gradient(270deg, #01a2ed, #ffffff, #0a0f2c);
    background-size: 800% 800%;
    animation: gradientShift 12s ease infinite;

  }
}

/* Mobile Navigation */
@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;
  }

  .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);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .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;
  }

  .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%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .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);
  font-size: 14px;
  padding-bottom: 50px;
  position: relative;
}

.footer .footer-newsletter {
  background-color: color-mix(in srgb, var(--heading-color), transparent 95%);
  padding: 50px 0;
}

.footer .footer-newsletter h4 {
  font-size: 24px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: 0px 2px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  transition: 0.3s;
  border-radius: 50px;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 50px;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .footer-top {
  padding-top: 50px;
}

.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;
}

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

.footer .footer-links ul i {
  margin-right: 3px;
  font-size: 12px;
  line-height: 0;
  color: var(--accent-color);
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-about a {
  color: var(--heading-color);
  font-size: 28px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

.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: 6px;
  font-size: 13px;
}

.footer-logo {
  height: 60px;
  /* Ajusta la altura del logo */
  width: auto;
  /* Mantiene la proporción */
  max-width: 200px;
  /* Tamaño máximo */
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: #e4e4f4;
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Listeners Button with Tooltip
--------------------------------------------------------------*/
.listeners-container {
  position: fixed;
  right: 15px;
  bottom: 190px;
  /* Ubicado arriba del botón de WhatsApp */
  z-index: 100000;
}

.listeners-button {
  background-color: #ff5722;
  /* Naranja llamativo */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
  position: relative;
}

.listeners-button i {
  font-size: 28px;
  color: white;
}

/* Efecto hover */
.listeners-button:hover {
  background-color: #e64a19;
  transform: scale(1.1);
}

/* Burbuja de cantidad de oyentes */
.listeners-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: red;
  color: white;
  font-size: 12px;
  font-weight: bold;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Tooltip */
.listeners-tooltip {
  position: absolute;
  left: -180px;
  /* Mueve el tooltip a la izquierda */
  top: 50%;
  transform: translateY(-50%);
  background: white;
  color: black;
  padding: 10px 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.listeners-container:hover .listeners-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateY(-50%) translateX(-10px);
  /* Efecto de deslizamiento */
}


/*--------------------------------------------------------------
# WhatsApp Button with Tooltip
--------------------------------------------------------------*/
.whatsapp-container {
  position: fixed;
  right: 15px;
  bottom: 130px;
  z-index: 10000;
}

.whatsapp-button {
  background-color: #25d366;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-button i {
  font-size: 28px;
  color: white;
}

.whatsapp-button:hover {
  background-color: #1ebe57;
  transform: scale(1.1);
}

/* Tooltip */
.whatsapp-tooltip {
  position: absolute;
  left: -212px;
  /* Mueve el tooltip a la izquierda */
  top: 50%;
  transform: translateY(-50%);
  background: white;
  color: black;
  padding: 10px 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.whatsapp-container:hover .whatsapp-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateY(-50%) translateX(-10px);
  /* Efecto de deslizamiento */
}


/*--------------------------------------------------------------
# Facebook Button with Tooltip
--------------------------------------------------------------*/
.facebook-container {
  position: fixed;
  right: 15px;
  bottom: 70px;
  z-index: 100000;
}

.facebook-button {
  background-color: #ffffff;
  /* Fondo blanco */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.facebook-button i {
  font-size: 32px;
  /* Aumentamos el tamaño del ícono */
  color: #1067fc;
  /* Color azul de Facebook */
}

/* Efecto hover */
.facebook-button:hover {
  background-color: #1067fc;
  /* Cambio a azul */
  transform: scale(1.1);
}

.facebook-button:hover i {
  color: white;
  /* Ícono en blanco al hacer hover */
}

/* Tooltip */
.facebook-tooltip {
  position: absolute;
  left: -227px;
  /* Mueve el tooltip a la izquierda */
  top: 50%;
  transform: translateY(-50%);
  background: white;
  color: black;
  padding: 10px 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.facebook-container:hover .facebook-tooltip {
  visibility: visible;
  opacity: 1;
  transform: translateY(-50%) translateX(-10px);
  /* Efecto de deslizamiento */
}


/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  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;
  bottom: 15px;
}

/*--------------------------------------------------------------
# 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 {
  --background-color: #e4e4f4;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  position: relative;
}

.page-title h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 14px;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs 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: 88px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  text-transform: uppercase;
  position: relative;
}

.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;
}

.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;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 80vh;
  position: relative;
  padding: 120px 0 60px 0;
  display: flex;
  align-items: center;
}

.hero h1 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin: 5px 0 30px 0;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
}

.button-gradient {
  background: linear-gradient(270deg,
      #0052d9,
      /* Azul marino */
      #4364f7,
      /* Azul cielo */
      #01a2edd5,
      /* Azul claro */
      #002855
    );
  background-size: 600% 600%;
  color: white;
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  display: inline-block;
  padding: 10px 28px 12px 28px;
  border-radius: 50px;
  animation: gradientShift 120s ease infinite;
  transition: transform 0.2s ease;
}

.button-gradient:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 15px rgba(1, 162, 237, 0.6),
    /* Sombra azul */
    0 0 30px rgba(161, 47, 255, 0.4),
    /* Sombra violeta */
    0 0 45px rgba(255, 126, 126, 0.2);
  /* Sombra coral */
  filter: brightness(1.1);
  animation-delay: 60s;
  /* Acelera la animación al pasar el mouse */
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero .btn-get-started {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  display: inline-block;
  padding: 10px 28px 12px 28px;
  border-radius: 50px;
  transition: 0.5s;
}

.hero .btn-get-started:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.hero .button-gradient:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.hero .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  color: var(--default-color);
  font-weight: 600;
}

.hero .btn-watch-video i {
  color: var(--contrast-color);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero .btn-watch-video:hover {
  color: var(--accent-color);
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }

  .hero p {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 30px;
  }

  .hero .btn-get-started,
  .hero .btn-watch-video {
    font-size: 13px;
  }
}

@keyframes up-down {
  0% {
    transform: translateY(10px);
  }

  100% {
    transform: translateY(-10px);
  }
}

.video-rounded {
  border-radius: 15px;
  /* Esquinas redondeadas */
  overflow: hidden;
  /* Asegura que el contenido respete las esquinas redondeadas */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  /* Sombra para mayor estética */
  display: block;
  /* Asegura que se comporte como un bloque */
  max-width: 100%;
  /* Responsivo */
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding: 12px 0;
}

.clients .swiper {
  padding: 10px 0;
}

.clients .swiper-wrapper {
  height: auto;
}

.clients .swiper-slide img {
  transition: 0.3s;
  padding: 0 10px;
}

.clients .swiper-slide img:hover {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about ul {
  list-style: none;
  padding: 0;
}

.about ul li {
  padding-bottom: 5px;
  display: flex;
  align-items: center;
}

.about ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.about .read-more {
  color: var(--accent-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 8px 28px;
  border-radius: 5px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--accent-color);
}

.about .read-more i {
  font-size: 18px;
  margin-left: 5px;
  line-height: 0;
  transition: 0.3s;
}

.about .read-more:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.about .read-more:hover i {
  transform: translate(5px, 0);
}

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us {
  padding: 30px 0;
}

.why-us .content h3 {
  font-weight: 400;
  font-size: 34px;
}

.why-us .content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.why-us .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0px 5px 25px 0px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.why-us .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.why-us .faq-container .faq-item h3 {
  font-weight: 500;
  font-size: 17px;
  line-height: 24px;
  margin: 0 30px 0 0;
  transition: 0.3s;
  cursor: pointer;
}

.why-us .faq-container .faq-item h3 span {
  color: var(--accent-color);
  padding-right: 5px;
  font-weight: 600;
}

.why-us .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.why-us .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.why-us .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.why-us .faq-container .faq-item .faq-icon {
  position: absolute;
  top: 22px;
  left: 20px;
  font-size: 22px;
  line-height: 0;
  transition: 0.3s;
  color: var(--accent-color);
}

.why-us .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.why-us .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.why-us .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.why-us .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.why-us .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

.why-us .why-us-img {
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-us .why-us-img img {
  max-height: 70%;
}

/*--------------------------------------------------------------
# Skills Section
--------------------------------------------------------------*/
.skills .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

.skills .content p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.skills .content p:last-child {
  margin-bottom: 0;
}

.skills .content ul {
  list-style: none;
  padding: 0;
}

.skills .content ul li {
  padding-bottom: 10px;
}

.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  color: var(--default-color);
  padding: 0;
  margin: 0 0 6px 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: var(--heading-font);
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: color-mix(in srgb, var(--heading-color), transparent 90%);
  height: 10px;
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: var(--heading-color);
}

/*--------------------------------------------------------------
# Schedule Section
--------------------------------------------------------------*/

.schedule {
  display: grid;
  grid-template-columns: 1fr repeat(5, 1fr);
  grid-auto-rows: 50px;
  gap: 5px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.schedule div {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  transition: background-color 0.3s;
  position: relative;
  z-index: 1;
  overflow: hidden;
  /* Asegura que los elementos que se desborden estén ocultos */
}

.schedule div:hover {
  filter: brightness(120%);
}

/* Tooltip dentro del contenedor */
.schedule div .schedule-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  /* Fondo más claro para visibilidad */
  color: #222222;
  /* Texto oscuro */
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 12px;
  white-space: nowrap;
  /* Permite saltos de línea */
  overflow-wrap: break-word;
  /* Evita desbordamientos */
  box-sizing: border-box;
  visibility: hidden;
  opacity: 0;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.schedule div:hover .schedule-tooltip {
  visibility: visible;
  opacity: 1;
}

/* Ajuste dinámico para tooltips cercanos al borde */
.schedule-tooltip.schedule-tooltip-right {
  transform: translateX(100%);
  /* Desplaza el tooltip a la derecha */
}

.header-table {
  font-weight: bold;
  background-color: #ffffff;
  color: #333;
  pointer-events: none;
}

.header-table0 {
  font-weight: bold;
  font-size: 18px;
  color: #47b2e4;
  background-color: white;
}

.time {
  font-weight: bold;
  background-color: #ffffff;
  color: #333;
  pointer-events: none;
}

/* Example shades for schedule */
.ultra-light {
  background-color: #bce4ec;
}

.very-light {
  background-color: #98cff2;
}

.light {
  background-color: #63c7e9;
}

.in-gradient {
  background: linear-gradient(to bottom, #c2e8f9, #1f8dba);
}

.out-gradient {
  background: linear-gradient(to bottom, #1f8dba, #c2e8f9);
}

.dark {
  background-color: #32a5db;
}

.very-dark {
  background-color: #1eb1f7;
}

.ultra-dark {
  background-color: #1f8dba;
}

@media (max-width: 480px) {
  .schedule {
    grid-template-columns: 1fr repeat(5, 1fr);
    gap: 3px;
  }

  .schedule div {
    font-size: 12px;
    padding: 5px;
  }

  .time,
  .header {
    font-size: 10px;
  }
}

/* Animación de deslizamiento solo para el texto dentro del tooltip */
@media (max-width: 768px) {
  .schedule-tooltip .text-content {
    display: inline-block;
    /* Mantiene el texto en línea */
    white-space: nowrap;
    /* Evita saltos de línea */
    animation: slide-horizontal 8s linear infinite;
    /* Animación de deslizamiento */
    padding-left: 70%;
    /* Empieza el texto fuera del contenedor */
  }

  @keyframes slide-horizontal {
    0% {
      transform: translateX(70%);
      /* Inicia fuera del contenedor */
    }

    100% {
      transform: translateX(-100%);
      /* Termina completamente fuera del contenedor */
    }
  }
}

.icon-containerbs {
  background-color: rgba(0, 120, 200, 1);
  /* Fondo azul oscuro */
  display: flex;
  /* Usamos flexbox para centrar el icono */
  justify-content: center;
  /* Centra el ícono horizontalmente */
  align-items: center;
  /* Centra el ícono verticalmente */
  border-radius: 50%;
  /* Hace que el fondo sea un círculo perfecto */
  width: 40px;
  /* Ancho del círculo */
  height: 40px;
  /* Alto del círculo */
}

.icon-containerbs i {
  color: white;
  /* Icono blanco */
  font-size: 20px;
  /* Tamaño del icono */
}



/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0px 5px 90px 0px rgba(0, 0, 0, 0.1);
  padding: 50px 30px;
  transition: all ease-in-out 0.4s;
  height: 100%;
}

.services .service-item .icon {
  margin-bottom: 10px;
}

.services .service-item .icon i {
  color: var(--accent-color);
  font-size: 36px;
  transition: 0.3s;
}

.services .service-item h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 20px;
}

.services .service-item h4 a {
  color: var(--heading-color);
  transition: ease-in-out 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover {
  transform: translateY(-10px);
}

.services .service-item:hover h4 a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 120px 0;
  position: relative;
  clip-path: inset(0);
}

.call-to-action img {
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.call-to-action:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 35%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.call-to-action .container {
  position: relative;
  z-index: 3;
}

.call-to-action h3 {
  color: var(--default-color);
  font-size: 28px;
  font-weight: 700;
}

.call-to-action p {
  color: var(--default-color);
}

.call-to-action .cta-btn {
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  border: 2px solid var(--contrast-color);
  color: var(--contrast-color);
}

.call-to-action .cta-btn:hover {
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 8px 20px 10px 20px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  margin-bottom: 5px;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  font-family: var(--heading-font);
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 0 10px 0;
  }
}

.portfolio .portfolio-item {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: -100%;
  z-index: 3;
  transition: all ease-in-out 0.5s;
  background: color-mix(in srgb, var(--background-color), transparent 10%);
  padding: 15px;
}

.rounded-box {
  border-radius: 20px;
  /* Esquinas redondeadas específicas */
}

.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  font-weight: 600;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 14px;
  margin-bottom: 0;
  padding-right: 50px;
}

.portfolio .portfolio-item .portfolio-info .preview-link,
.portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 50px;
  font-size: 24px;
  top: calc(50% - 14px);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  transition: 0.3s;
  line-height: 0;
}

.portfolio .portfolio-item .portfolio-info .preview-link:hover,
.portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-item .portfolio-info .details-link {
  right: 14px;
  font-size: 28px;
}

.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 0;
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
  background-color: var(--surface-color);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  border-radius: 30px;
  transition: 0.5s;
  padding: 30px;
  height: 100%;
}

@media (max-width: 468px) {
  .team .team-member {
    flex-direction: column;
    justify-content: center !important;
    align-items: center !important;
  }
}

.team .team-member .pic {
  position: relative;
  overflow: hidden;
  width: 150px;
  border-radius: 50%;
  flex-shrink: 0;
}

.team .team-member .pic img {
  transition: ease-in-out 0.3s;
}

.team .team-member:hover {
  transform: translateY(-10px);
}

.team .team-member .member-info {
  padding-left: 30px;
}

@media (max-width: 468px) {
  .team .team-member .member-info {
    padding: 30px 0 0 0;
    text-align: center;
  }
}

.team .team-member h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
}

.team .team-member span {
  display: block;
  font-size: 15px;
  padding-bottom: 10px;
  position: relative;
  font-weight: 500;
}

.team .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) {
  .team .team-member span::after {
    left: calc(50% - 25px);
  }
}

.team .team-member p {
  margin: 10px 0 0 0;
  font-size: 14px;
}

.team .team-member .social {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: start;
  width: 100%;
}

@media (max-width: 468px) {
  .team .team-member .social {
    justify-content: center;
  }
}

.team .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;
}

.team .team-member .social a i {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 16px;
  margin: 0 2px;
}

.team .team-member .social a:hover {
  background: var(--accent-color);
}

.team .team-member .social a:hover i {
  color: var(--contrast-color);
}

.team .team-member .social a+a {
  margin-left: 8px;
}

/* New boradcasters */

/* NUEVO: Clase para destacar al nuevo miembro */
.team .team-member.new-member {
  border: 2px solid #049bf3;
  box-shadow: 0 0 12px rgba(4, 155, 243, 0.3);
  position: relative;
  animation: pulseGlow 2.5s infinite;
}

/* Etiqueta "Nuevo locutor" */
.team .team-member .badge-new {
  position: absolute;
  top: -10px;
  left: -10px;
  background-color: #f34404;
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 0 6px 6px 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  z-index: 10; /* <-- Esto es lo importante */
  pointer-events: none;
}

/* Animación de brillo sutil */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 10px rgba(4, 155, 243, 0.3);
  }
  50% {
    box-shadow: 0 0 20px rgba(4, 155, 243, 0.6);
  }
  100% {
    box-shadow: 0 0 10px rgba(4, 155, 243, 0.3);
  }
}


/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0 3px 20px -2px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--background-color);
  padding: 60px 40px;
  height: 100%;
  border-radius: 5px;
}

.pricing h3 {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 20px;
}

.pricing h4 {
  color: var(--accent-color);
  font-size: 48px;
  font-weight: 400;
  font-family: var(--heading-font);
  margin-bottom: 0;
}

.pricing h4 sup {
  font-size: 28px;
}

.pricing h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 18px;
}

.pricing ul {
  padding: 20px 0;
  list-style: none;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  text-align: left;
  line-height: 20px;
}

.pricing ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.pricing ul i {
  color: #059652;
  font-size: 24px;
  padding-right: 3px;
}

.pricing ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na i {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.pricing ul .na span {
  text-decoration: line-through;
}

.pricing .buy-btn {
  color: var(--accent-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 50px;
  transition: none;
  font-size: 16px;
  font-weight: 500;
  font-family: var(--heading-font);
  transition: 0.3s;
  border: 1px solid var(--accent-color);
}

.pricing .buy-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pricing .featured {
  border-top-color: var(--accent-color);
}

.pricing .featured .buy-btn {
  background: var(--accent-color);
  color: var(--contrast-color);
}

@media (max-width: 992px) {
  .pricing .box {
    max-width: 60%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 767px) {
  .pricing .box {
    max-width: 80%;
    margin: 0 auto 30px auto;
  }
}

@media (max-width: 420px) {
  .pricing .box {
    max-width: 100%;
    margin: 0 auto 30px auto;
  }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .section-header {
  margin-bottom: 40px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  text-align: center;
}

.testimonials .testimonial-item .testimonial-img {
  width: 120px;
  border-radius: 50%;
  border: 4px solid var(--background-color);
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin: 0 0 15px 0;
}

.testimonials .testimonial-item .stars {
  margin-bottom: 15px;
}

.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 50%);
  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: 0 auto 15px auto;
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 1;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

@media (min-width: 992px) {
  .testimonials .testimonial-item p {
    width: 80%;
  }
}

/*--------------------------------------------------------------
# Faq 2 Section
--------------------------------------------------------------*/
.faq-2 .faq-container {
  margin-top: 15px;
}

.faq-2 .faq-container .faq-item {
  background-color: var(--surface-color);
  position: relative;
  padding: 20px;
  margin-bottom: 20px;
  overflow: hidden;
}

.faq-2 .faq-container .faq-item:last-child {
  margin-bottom: 0;
}

.faq-2 .faq-container .faq-item h3 {
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  margin: 0 30px 0 32px;
  transition: 0.3s;
  cursor: pointer;
}

.faq-2 .faq-container .faq-item h3 span {
  color: var(--accent-color);
  padding-right: 5px;
}

.faq-2 .faq-container .faq-item h3:hover {
  color: var(--accent-color);
}

.faq-2 .faq-container .faq-item .faq-content {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.3s ease-in-out;
  visibility: hidden;
  opacity: 0;
}

.faq-2 .faq-container .faq-item .faq-content p {
  margin-bottom: 0;
  overflow: hidden;
}

.faq-2 .faq-container .faq-item .faq-icon {
  position: absolute;
  top: 22px;
  left: 20px;
  font-size: 20px;
  line-height: 0;
  transition: 0.3s;
  color: var(--accent-color);
}

.faq-2 .faq-container .faq-item .faq-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 16px;
  line-height: 0;
  transition: 0.3s;
  cursor: pointer;
}

.faq-2 .faq-container .faq-item .faq-toggle:hover {
  color: var(--accent-color);
}

.faq-2 .faq-container .faq-active h3 {
  color: var(--accent-color);
}

.faq-2 .faq-container .faq-active .faq-content {
  grid-template-rows: 1fr;
  visibility: visible;
  opacity: 1;
  padding-top: 10px;
}

.faq-2 .faq-container .faq-active .faq-toggle {
  transform: rotate(90deg);
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  border-top: 3px solid var(--accent-color);
  border-bottom: 3px solid var(--accent-color);
  padding: 30px;
  height: 100%;
  border-radius: 12px;
  /* Bordes redondeados para el contenedor de información */
}

@media (max-width: 575px) {
  .contact .info-wrap {
    padding: 20px;
  }
}

.contact .info-item {
  margin-bottom: 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  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 .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  border-top: 3px solid var(--accent-color);
  border-bottom: 3px solid var(--accent-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  /* Bordes redondeados para el formulario */
}

@media (max-width: 575px) {
  .contact .php-email-form {
    padding: 20px;
  }
}

.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: 8px;
  /* Bordes redondeados para los campos del formulario */
  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 30px;
  transition: 0.4s;
  border-radius: 50px;
  /* Botón más redondeado */
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}



/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/* Estilos para las flechas de navegación */
.swiper-button-next,
.swiper-button-prev {
  color: #444;
  /* Color de las flechas */
  background-color: rgba(255, 255, 255, 0.5);
  /* Fondo semi-transparente */
  border-radius: 50%;
  /* Forma redonda para las flechas */
  width: 40px;
  /* Ancho del botón */
  height: 40px;
  /* Alto del botón */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  /* Tamaño del icono */
  z-index: 10;
  /* Para asegurarse de que esté por encima del contenido */
}

/* Posicionamiento de las flechas */
.swiper-button-next {
  right: 10px;
  /* Ubicación a la derecha */
  top: 50%;
  /* Centrado verticalmente */
  transform: translateY(-50%);
  /* Centrado perfecto */
}

.swiper-button-prev {
  left: 10px;
  /* Ubicación a la izquierda */
  top: 50%;
  /* Centrado verticalmente */
  transform: translateY(-50%);
  /* Centrado perfecto */
}

/* Estilos adicionales cuando las flechas se pasan sobre ellas */
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: rgba(255, 255, 255, 0.8);
  /* Fondo más claro cuando se pasa el mouse */
  color: #333;
  /* Color de las flechas en hover */
}

/* Estilo para las bolitas de la paginación */
.swiper-pagination-bullet {
  background-color: #444;
  /* Color de las bolitas */
}

.swiper-pagination-bullet-active {
  background-color: #f5a623;
  /* Color de la bolita activa */
}


/*--------------------------------------------------------------
# Sun Button with Tooltip
--------------------------------------------------------------*/
#sun-button {
  /* Usamos el mismo estilo que el botón Ayuda */
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 16px;
  padding: 8px 15px;
  /* Ajustamos el padding para que coincida con el de "Ayuda" */
  margin-right: 20px;
  /* Espacio agregado a la derecha */
  border-radius: 50px;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  height: 40px;
  /* Aseguramos que el botón tenga la misma altura que el de "Ayuda" */
}

#sun-button i {
  font-size: 18px;
  /* Ajustamos el tamaño del ícono */
}

#sun-button:hover {
  color: var(--contrast-color);
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: scale(1.1);
  /* Efecto de hover */
}

/* Tooltip */
.sun-tooltip {
  position: absolute;
  top: 100%;
  /* Tooltip debajo del botón */
  left: 50%;
  transform: translateX(-50%);
  background: white;
  color: black;
  padding: 10px 15px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-size: 14px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

#sun-button:hover+.sun-tooltip {
  visibility: visible;
  opacity: 1;
}

/* --------------------------------------------------------
Definimos variables para el tema claro y oscuro 
---------------------------------------------------------- */
:root {
  --background-color: #ffffff;
  --default-color: #444444;
  --heading-color: #049bf3;
  --accent-color: #049bf3;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;

  --player-bg: linear-gradient(to right, #049bf3, #049bf3, #94c6f7, #ffffff);
  --player-text: #ffffff;
  --player-button-bg: #007bff;
  --player-button-text: #ffffff;
  --player-border: #004d99;
}

/* Estilos para el tema oscuro */
.dark-theme {
  --background-color: #1a1a1a;
  --default-color: #e0e0e0;
  --heading-color: #049bf3;
  --accent-color: #049bf3;
  --surface-color: #333333;
  --contrast-color: #ffffff;

  --nav-color: #e0e0e0;
  /* Color claro para los enlaces */
  --nav-hover-color: #ffffff;
  /* Blanco puro en hover */
  --nav-mobile-background-color: #1a1a1a;
  /* Fondo oscuro para menú móvil */
  --nav-dropdown-background-color: #222222;
  /* Fondo oscuro para dropdown */
  --nav-dropdown-color: #bbbbbb;
  /* Color gris claro para enlaces del dropdown */
  --nav-dropdown-hover-color: #007bff;
  /* Azul vibrante en hover */

  --player-bg: linear-gradient(to right, #121212, #1a1a1a, #373737, #6f6f6f);
  /*--player-bg: linear-gradient(to right, #049bf3, #049bf3, #94c6f7, #ffffff);*/
  --player-text: #e0e0e0;
  --player-button-bg: #007bff;
  --player-button-text: #1a1a1a;
  --player-border: #007bff;
}

/* Ajuste de fondos en secciones claras/oscuras */
.dark-theme .light-background {
  --background-color: #2a2a2a;
  --surface-color: #1f1f1f;
}

.dark-theme .dark-background {
  --background-color: #121212;
  --default-color: #cfcfcf;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}


/* Aplicamos los cambios globales */
body {
  background-color: var(--background-color);
  color: var(--default-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
}

/* Cambiamos el color del botón de cambio de tema */
.btn-getstarted {
  background: var(--accent-color);
  color: var(--contrast-color);
}


/*--------------------------------------------------------------
# Modo oscuro para el Audio Player
--------------------------------------------------------------*/

/* Fondo oscuro del reproductor */
.dark-theme .audio-player-container {
  background: linear-gradient(to right, #222222, #1a1a1a, #333333, #444444);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
}

/* Texto en modo oscuro */
.dark-theme .metadata-container {
  color: #e0e0e0;
}

.dark-theme .metadata-container .program-name {
  color: #ffffff;
}

.dark-theme .metadata-container .station-info {
  color: #bbbbbb;
}

/* Indicador de transmisión en vivo */
.dark-theme .metadata-container .live-indicator {
  color: #ff4444;
}



/* Barra de volumen en modo oscuro */
.dark-theme .volume-slider {
  background: #0066cc;
}

.dark-theme .volume-slider::-webkit-slider-thumb {
  background: #ffffff;
  border: 2px solid #0066cc;
}

/* Botones en modo oscuro */
.dark-theme .btn-circle {
  background: #2a2a2a;
  color: white;
}

.dark-theme .btn-circle:hover {
  background: #444;
}

/* Botón de reproducción y controles */
.dark-theme .btn-primary {
  background-color: #007bff;
  color: white;
}

.dark-theme .btn-primary:hover {
  background-color: #0056b3;
}

.dark-theme .btn-secondary {
  background-color: #444;
  color: white;
}

.dark-theme .btn-secondary:hover {
  background-color: #666;
}

.dark-theme .btn-stop {
  background-color: #ff3b3b;
}

.dark-theme .btn-stop:hover {
  background-color: #cc2929;
}

/*--------------------------------------------------------------
# Ajustes responsivos en modo oscuro
--------------------------------------------------------------*/

/* Ajustes para móviles */
@media (max-width: 600px) {
  .dark-theme .audio-player-container {
    flex-direction: column;
    padding: 10px;
    align-items: center;
    background: linear-gradient(to bottom, #222222, #1a1a1a, #333333, #444444);
  }

  .dark-theme .metadata-container {
    text-align: center;
    font-size: 12px;
  }

  .dark-theme .controls-container {
    gap: 8px;
  }

  .dark-theme .btn-circle {
    width: 35px;
    height: 35px;
    font-size: 16px;
  }

  .dark-theme .volume-slider {
    width: 80px;
  }
}

/* Ajustes para tablets */
@media (min-width: 601px) and (max-width: 1024px) {
  .dark-theme .metadata-container {
    font-size: 13px;
  }

  .dark-theme .volume-slider {
    width: 90px;
  }
}

/*--------------------------------------------------------------
# Animaciones y efectos en modo oscuro
--------------------------------------------------------------*/

/* Animación de pulsación en el indicador de transmisión */
.dark-theme .metadata-container .live-indicator i {
  animation: pulse-dark 1s infinite;
}

@keyframes pulse-dark {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

/* Animación de giro */
.dark-theme .spin {
  animation: spin-dark 1s linear infinite;
}

@keyframes spin-dark {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*-------------------------------------
 Modo oscuro para el Schedule 
---------------------------------------*/

/* Modo oscuro para las celdas de horario */
.dark-theme .header-table,
.dark-theme .time {
  background-color: #1a1a1a;
  color: #e0e0e0;
}

/* Fondo de la primera columna con la hora */
.dark-theme .header-table0 {
  background-color: #1a1a1a;
  color: #47b2e4;
  /* Mantiene el azul */
}

/* Manteniendo el mismo sistema de colores azules */
.dark-theme .ultra-light {
  background-color: #0f4c81;
}

.dark-theme .very-light {
  background-color: #0a369d;
}

.dark-theme .light {
  background-color: #0056b3;
}

.dark-theme .in-gradient {
  background: linear-gradient(to bottom, #0a66c2, #004d99);
}

.dark-theme .out-gradient {
  background: linear-gradient(to bottom, #004d99, #0a66c2);
}

.dark-theme .dark {
  background-color: #004d99;
}

.dark-theme .very-dark {
  background-color: #003c7c;
}

.dark-theme .ultra-dark {
  background-color: #002855;
}

/* Ajuste del tooltip en modo oscuro */
.dark-theme .schedule div .schedule-tooltip {
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
}

/* Íconos en modo oscuro */
.dark-theme .icon-containerbs {
  background-color: rgba(0, 120, 200, 0.9);
  /* Azul adaptado */
}

.dark-theme .icon-containerbs i {
  color: white;
}

/*--------------------------------------------------------------
# Modo oscuro solo para la navegación en pantallas grandes
--------------------------------------------------------------*/

@media (min-width: 1200px) {
  .dark-theme .navmenu-bar {
    background: #1a1a1a;
    /* Fondo oscuro */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    /* Sombra más pronunciada */
  }

  /* Enlaces del menú en modo oscuro */
  .dark-theme .navmenu-bar a {
    color: #e0e0e0;
    /* Texto más claro */
    background: transparent;
  }

  .dark-theme .navmenu-bar a:hover,
  .dark-theme .navmenu-bar .active {
    color: #ffffff;
    background: linear-gradient(270deg, #01a2ed, #ffffff, #0a0f2c);
    background-size: 800% 800%;
    animation: gradientShift 12s ease infinite;
    /* Mantiene el azul original */
  }

  /* Dropdown en modo oscuro */
  .dark-theme .navmenu .dropdown ul {
    background-color: #222222;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .dark-theme .navmenu .dropdown ul a {
    color: #bbbbbb;
  }

  .dark-theme .navmenu .dropdown ul a:hover {
    color: #ffffff;
    background: var(--accent-color, #049bf3ef);
  }
}

/* 🌙 Menú desplegable en modo oscuro */
.dark-theme .navmenu .dropdown ul {
  background-color: #222222;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-theme .navmenu .dropdown ul a {
  color: #bbbbbb;
}

.dark-theme .navmenu .dropdown ul a:hover {
  color: #ffffff;
  background: var(--accent-color, #049bf3ef);
}

/* 📱 Fondo del menú cuando está activo */
.dark-theme .mobile-nav-active .navmenu {
  background: rgba(20, 20, 20, 0.9);
}

/* 📌 Icono del menú móvil en modo oscuro */
.dark-theme .mobile-nav-active .mobile-nav-toggle {
  color: #ffffff;
}

/* 🛑 Fondo bloqueador para deshabilitar la app */
.theme-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  /* Fondo semitransparente */
  z-index: 999;
  /* Debe estar detrás del banner */
  display: none;
  /* Oculto por defecto */
  opacity: 1;
  transition: opacity 0.3s ease-in-out;
}

/* 🏷 Banner flotante */
.theme-banner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  color: #333;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s ease-in-out;
  width: 320px;
}

/* 📌 Imagen del GIF en el banner */
.theme-banner__icon img.theme-gif {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/* 🎨 Botón del banner */
.theme-banner button {
  background: #333;
  color: #fff;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  border-radius: 5px;
  font-weight: bold;
}

.theme-banner button:hover {
  background: var(--accent-color, #049bf3ef);
}

/* ❌ Icono de cierre */
.theme-banner span {
  cursor: pointer;
  font-weight: bold;
  color: #666;
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 18px;
}

/* 🎨 Tema oscuro para el banner */
body.dark-theme .theme-banner {
  background: #222;
  color: #fff;
}

body.dark-theme .theme-banner button {
  background: #fff;
  color: #222;
}

body.dark-theme .theme-banner button:hover {
  background: var(--accent-color, #ffcc00);
}

/* 🔒 Deshabilitar la interacción de la página mientras el banner esté visible */
body.banner-active {
  overflow: hidden;
  /* Evita el scroll */
  pointer-events: none;
  /* Deshabilita clics en todo */
}

/* ✅ Permitir interacción solo en el banner */
body.banner-active .theme-banner,
body.banner-active .theme-overlay {
  pointer-events: all;
}

/*--------------------------------------------------------------
# Modo oscuro para el Preloader
--------------------------------------------------------------*/
.dark-theme #preloader {
  background: #121212;
  /* Fondo oscuro */
}

/*--------------------------------------------------------------
# Indicador de oyentes diarios de cada locutor
--------------------------------------------------------------*/
.oyentes-indicador {
  width: 36px;
  /* Ajusta el tamaño */
  height: 36px;
  /* Para hacerlo circular */
  border-radius: 50%;
  /* Esto lo hace circular */
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  /* Degradado en tonos azules */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out;
}

.oyentes-indicador:hover {
  transform: scale(1.1);
  /* Pequeña animación al pasar el mouse */
}

.oyentes-indicador.aumento {
  background: linear-gradient(135deg, #ff4e50, #f9d423);
  transform: scale(1.1);
}