/* Fonts */
:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Poppins", sans-serif;
}


:root {
  --background-color: #ffffff;
  --default-color: #444444;
  --heading-color: #2a2c39;
  --accent-color: #ef6603;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
}

:root {
  --nav-color: #ffffff;
  --nav-hover-color: #ef6603;
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #060606;
  --nav-dropdown-hover-color: #ef6603;
}

:root {
  --color-azul-oscuro: #0c243d;
  --color-primario: #113157;
  /* Azul marino */
  --color-secundario: #83dd64;
  /* Verde  */
  --color-secundario2: #a4d487;
  /* Verde  */
  --color-acento: #F2B705;
  /* Amarillo */
  /* Paleta Primaria */
  --azul-primario: #0c2643;
  /* Fondos y elementos principales */
  --verde-secundario: #c1ff72;
  /* verde lima */
  --naranja-calido: #F5A623;
  /* Iniciativas "Te Quiero Vivo" */
  --gris-neutral: #4D4D4D;
  /* Textos secundarios y fondos */

  /* Paleta Secundaria */
  --morado: #6A0DAD;
  /* Salud y Belleza */
  --cian: #00C4CC;
  /* Voluntarios */
  --naranja-claro: #F28C38;
  /* Investigación y Proyectos */
  --gris-oscuro: #2A4066;
  /* Fondos de texto y botones */
}

.light-background {
  --background-color: #f9f9f9;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #2a2c39;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #404356;
  --contrast-color: #ffffff;
}

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

/*--------------------------------------------------------------
# Estilos Generales para etiquetas
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

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

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

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

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background-color: transparent;
  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(--color-secundario);
  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);
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(255, 255, 255, 0);
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  height: 90px;
  width: 250px;
}

.header .logo img {
  max-height: 100%;
  margin-right: 8px;
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: var(--contrast-color);

  .mobile-nav-toggle {
    color: #113157;
  }

  .navmenu a {
    color: #fff;
  }
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .scrolled .header {
    .navmenu a {
      color: #0c243d;
    }
  }

  .navmenu {
    padding: 0;
  }

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

  .navmenu li {
    position: relative;
    margin-left: 5px;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--surface-color);
    padding: 8px 20px;
    font-size: 14px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    border-radius: 50px;
  }

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

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    background-color: var(--color-secundario);
  }

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

  .navmenu .dropdown ul li {
    min-width: 200px;
    margin-left: 0;
  }

  .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 {
    background-color: transparent;
    color: var(--color-secundario2);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 105%;
    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 - Mobile */
@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(--azul-primario);
    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(--surface-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(--color-secundario2), transparent 90%);
  }

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

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

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--color-secundario2);
    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(--color-secundario2), transparent 20%);
    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;
  }
}

/*--------------------------------------------------------------
# barra lateral redes sociales
--------------------------------------------------------------*/

.social-menu {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateX(80%) translateY(-50%);
  margin: 0;
  padding: 0;
  z-index: 100;
  transition: transform 0.3s ease-in-out;
}

.social-menu:hover {
  transform: translateX(0) translateY(-50%);
}

.social-menu li:nth-child(1) a {
  transition-delay: 0.05s;
}

.social-menu li:nth-child(2) a {
  transition-delay: 0.1s;
}

.social-menu li:nth-child(3) a {
  transition-delay: 0.15s;
}

.social-menu .social-item {
  list-style: none;
  transition: 0.5s;
}

.social-menu .social-link {
  background-color: #34495e;
  color: #fff;
  display: block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  text-align: center;
  font-size: 24px;
  text-decoration: none;
  border-radius: 5px 0 0 5px;
  transition: 0.5s;
  animation: slideIn 0.5s ease forwards;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  /*transform: translateX(100%);*/

}

.social-menu li a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.social-menu .facebook {
  background: linear-gradient(45deg, #3b5998, #1877f2);
  opacity: 0.5;
}

.social-menu .instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  opacity: 0.5;
}

.social-menu .youtube {
  background: linear-gradient(45deg, #c4302b, #ff0000);
  opacity: 0.5;
}
.social-menu .facebook:hover {
  background: linear-gradient(45deg, #3b5998, #1877f2);
  opacity: 1;
}
.social-menu .instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  opacity: 1;
}
.social-menu .youtube:hover {
  background: linear-gradient(45deg, #c4302b, #ff0000);
  opacity: 1;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--azul-primario);
  font-size: 14px;
  text-align: center;
  padding: 30px 0;
  position: relative;
}

.footer-links {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}

.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}

.footer-links h4 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
}

.footer-links h4:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: var(--color-secundario2);
}

.footer .redes_sociales {
  margin: 0 0 30px 0;
}

.footer-links ul {
  text-align: left;
  list-style: none;
  gap: 10px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--contrast-color);
}

.footer-links a:hover {
  color: #c1ff72;
  transform: translateX(5px);
}

.footer .redes_sociales a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-secundario);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .redes_sociales a:hover {
  background: color-mix(in srgb, var(--naranja-calido), transparent 20%);
  text-decoration: none;
  transform: translateY(-5px);
}

.footer .derechos {
  padding-top: 25px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background-color: var(--background-color);
  transition: all 0.6s ease-out;
  width: 100%;
  height: 100vh;
}

#preloader:before,
#preloader:after {
  content: "";
  position: absolute;
  border: 4px solid var(--color-secundario2);
  border-radius: 50%;
  animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

#preloader:after {
  animation-delay: -0.5s;
}

@keyframes animate-preloader {
  0% {
    width: 10px;
    height: 10px;
    top: calc(50% - 5px);
    left: calc(50% - 5px);
    opacity: 1;
  }

  100% {
    width: 72px;
    height: 72px;
    top: calc(50% - 36px);
    left: calc(50% - 36px);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--color-secundario);
  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(--azul-primario), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# WhatsApp Button
--------------------------------------------------------------*/
.whatsapp-button {
  position: fixed;
  visibility: visible;
  opacity: 1;
  right: 15px;
  bottom: 70px;
  z-index: 99999;
  background-color: #25D366;
  width: 50px;
  height: 50px;
  border-radius: 50px;
  transition: all 0.4s;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
}

.whatsapp-button i {
  font-size: 26px;
  color: #ffffff;
  line-height: 0;
}

.whatsapp-button:hover {
  background-color: #128C7E;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.whatsapp-button:active {
  transform: scale(0.95);
}

/* WhatsApp Button Pulse Animation */
@keyframes pulse {
  0% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  }

  50% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3), 0 0 0 10px rgba(37, 211, 102, 0.1);
  }

  100% {
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3), 0 0 0 20px rgba(37, 211, 102, 0);
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }

  /* WhatsApp Button Mobile */
  .whatsapp-button {
    width: 55px;
    height: 55px;
    bottom: 80px;
    right: 20px;
  }

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

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

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

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 77px;
  overflow: clip;
}

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

.section-title h2 {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--color-secundario);
  margin: 4px 10px;
}

.section-title h2::before {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--color-secundario);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  position: relative;
  background-color: #059652;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(0deg, var(--background-color) 0%, color-mix(in srgb, var(--background-color) 90%, white 10%) 100%);
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;

}

.hero .carousel-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  position: relative;
  min-height: 100vh;
  padding-top: 60px;
}

/* Oscurece el fondo para mejorar la legibilidad del texto */
.hero .carousel-container::before {
  content: "";
  height: 100vh;
  background: color-mix(in srgb, var(--azul-primario), transparent 50%);
  position: absolute;
  inset: 0;
}

.carousel {
  width: 100%;
  height: 100%;
}

.carousel-item img,
video {
  object-fit: cover;
  height: 100vh;
}

.carousel-item_contenedor {
  position: absolute;
  width: 100%;
}

.hero h2 {
  margin-bottom: 30px;
  font-size: 48px;
  font-weight: 700;
}

.hero h2 span {
  text-decoration: underline;
  color: var(--verde-secundario);
}

.hero .span {
  color: var(--azul-primario);
}

.hero .span {
  color: var(--azul-primario);
}


.hero h2 {
  max-width: 80%;
  animation-delay: 0.4s;
  margin: 0 auto 30px auto;
  z-index: 10;
}

.hero p {
  max-width: 80%;
  animation-delay: 0.4s;
  margin: 0 auto 30px auto;
  z-index: 10;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  width: 10%;
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  background: none;
  font-size: 48px;
  line-height: 1;
  width: auto;
  height: auto;
}

.hero .btn-get-started {
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 32px;
  border-radius: 50px;
  transition: 0.5s;
  line-height: 1;
  margin: 10px;
  animation-delay: 0.8s;
  color: var(--default-color);
  border: 2px solid var(--color-secundario2);
  animation: glowPulseMulti 4s infinite, colorCycle 8s infinite;
  z-index: 1;
}

/* Brillo pulsante multicolor */
@keyframes glowPulseMulti {

  0%,
  100% {
    box-shadow: 0 0 5px currentColor,
      0 0 10px currentColor,
      0 0 20px currentColor;
  }

  50% {
    box-shadow: 0 0 15px currentColor,
      0 0 30px currentColor,
      0 0 45px currentColor;
  }
}

/* Ciclo de color entre paleta primaria y secundaria */
@keyframes colorCycle {
  0% {
    color: var(--azul-primario, #005B99);
    border-color: var(--azul-primario, #005B99);
  }

  25% {
    color: var(--verde-secundario, #00A170);
    border-color: var(--verde-secundario, #00A170);
  }

  50% {
    color: var(--morado, #6A0DAD);
    border-color: var(--morado, #6A0DAD);
  }

  75% {
    color: var(--cian, #00C4CC);
    border-color: var(--cian, #00C4CC);
  }

  100% {
    color: var(--azul-primario, #005B99);
    border-color: var(--azul-primario, #005B99);
  }
}

.hero .btn-get-started:hover {
  background: var(--color-primario);
  color: var(--surface-color);
  text-decoration: none;
}

@media (min-width: 1024px) {
  .hero .carousel-container {
    min-height: 90vh;
  }

  .hero p {
    max-width: 60%;
  }

  .hero .carousel-control-prev,
  .hero .carousel-control-next {
    width: 5%;
  }
}

@media (max-width: 768px) {
  .hero .carousel-container {
    min-height: 60vh;
  }

  .hero h2 {
    font-size: 28px;
  }
}

.hero .hero-waves {
  display: block;
  width: 100%;
  height: 60px;
  position: relative;
  z-index: 10;
}

.hero .wave1 use {
  animation: move-forever1 10s linear infinite;
  animation-delay: -2s;
  fill: var(--verde-secundario);
  opacity: 0.6;
}

.hero .wave2 use {
  animation: move-forever2 8s linear infinite;
  animation-delay: -2s;
  fill: var(--azul-primario);
  opacity: 0.4;
}

.hero .wave3 use {
  animation: move-forever3 6s linear infinite;
  animation-delay: -2s;
  fill: #0c243d;
}

@keyframes move-forever1 {
  0% {
    transform: translate(85px, 0%);
  }

  100% {
    transform: translate(-90px, 0%);
  }
}

@keyframes move-forever2 {
  0% {
    transform: translate(-90px, 0%);
  }

  100% {
    transform: translate(85px, 0%);
  }
}

@keyframes move-forever3 {
  0% {
    transform: translate(-90px, 0%);
  }

  100% {
    transform: translate(85px, 0%);
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
#particles-js {
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: -1;
}

.about-img-directores {
  position: absolute;
  bottom: 0;
  /* Lo pega a la parte inferior de la sección padre */
  left: 40%;
  /* Lo centra horizontalmente */
  transform: translateX(-80%);
  /* Ajusta el centrado horizontal */
  width: 30%;
  /* O el tamaño deseado */
  height: 300px;
  /* O el tamaño deseado */
  border-radius: 10px;
  /* Degradado elíptico para difuminar en todas las direcciones */
  background: radial-gradient(ellipse at center, rgba(164, 212, 135, 1) 0%, rgba(12, 38, 67, 0) 70%);
}

.about-img-directores img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* Ajusta la imagen sin distorsionarla */
  display: block;
  transition: transform 0.3s ease;
  border-bottom: #c1ff72 solid 1px;
}

.about-contenido_mision-vision img {
  width: 100%;
  height: 150px;
}

.about-contenido {}

.about {
  position: relative;
  z-index: 5;
  background: linear-gradient(to top, #0c243d, #0c243d);
}

.about h2 {
  color: var(--gris-neutral);
}

.about h3,
.about-contenido_mision-vision h3 {
  color: var(--verde-secundario);
  margin-bottom: 15px;
}

.about p {
  color: var(--surface-color);
  text-align: justify;
}

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

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

.about-contenido span {
  color: var(--naranja-calido);
}

.about ul i {
  width: 40px;
  height: 40px;
  font-size: 20px;
  padding-right: 4px;
}

.about .bi {
  display: flex;
  justify-content: center;
  align-items: center;

}

.about .bi-diagram-3 {
  color: #6A0DAD;
}

.about .bi-lightbulb {
  color: #F2B705;
}

.about .bi-heart {
  color: #059652;
}

.about .bi-people {
  color: #df1529;
}

.about .bi-flag {
  color: #f9f9f9;
}

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

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

.about .read-more:hover {
  background: color-mix(in srgb, var(--color-secundario), transparent 20%);
  color: var(--surface-color);
}

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

@media (max-width: 768px) {
  .about {
    background-color: #0c2643;
  }

  .about-img-directores {
    position: relative;
    bottom: 0;
    /* Lo pega a la parte inferior de la sección padre */
    left: 70%;
    /* Lo centra horizontalmente */
    transform: translateX(-80%);
    /* Ajusta el centrado horizontal */
    width: 50%;
    /* O el tamaño deseado */
    height: 100px;
    /* O el tamaño deseado */
    border-radius: 10px;
    /* Degradado elíptico para difuminar en todas las direcciones */
    background: linear-gradient(to bottom, #c1ff72, #0c2643)
  }

  .about-img-directores img {
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    top: 20%;
    object-fit: contain;
    /* Ajusta la imagen sin distorsionarla */
    display: block;
    transition: transform 0.3s ease;
  }
}

/*--------------------------------------------------------------
# Areas Section
--------------------------------------------------------------*/
.features {
  position: relative;
}

.nav-item-features {
  padding: 10px 5px;
}

.features .nav-link {
  position: relative;
  background-color: var(--surface-color);
  color: var(--heading-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  transition: 0.3s;
  border-radius: 5px;
  cursor: pointer;
  height: 100%;
  width: 100%;
  margin: 0;
}

.features .nav-tabs {
  border: 0;
}

.contenedor_features_img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 5px;
  background-color: var(--surface-color);
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

/*.features .nav-link::after, .features .nav-link::before{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: conic-gradient(from var(--angle),var(--color-secundario) ,var(--color-primario));
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: -5;
  padding: 3px;
  border-radius: 5px;
  animation: 3s spin linear infinite;
}
/*.features .nav-link::before{
  filter: blur(1.5rem);
  opacity: 0.5;
}*/
@keyframes spin {
  from {
    --angle: 0deg;
  }

  to {
    --angle: 360deg;
  }
}

.features .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.features .nav-link:hover {
  color: var(--accent-color);
  border-color: var(--color-azul-oscuro);
}

.features .nav-link.active {
  background: var(--azul-primario);
  color: var(--contrast-color);
  border-color: var(--color-secundario);
}

.features .nav-link.active h4 {
  color: var(--contrast-color);
}

@media (max-width: 768px) {
  .nav-item-features {
    padding: 5px 2px;
  }

  .features .nav-link i {
    padding: 0;
    line-height: 1;
    font-size: 36px;
  }
}

@media (max-width: 575px) {
  .nav-item-features {
    padding: 5px 2px;
  }

  .features .nav-link {
    padding: 15px;
  }

  .features .nav-link i {
    font-size: 24px;
  }
}

.features .tab-content {
  margin-top: 30px;
}

.features .tab-pane h3 {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 26px;
}

.features .tab-pane ul {
  list-style: none;
  padding: 0;
}

.features .tab-pane ul li {
  padding-bottom: 10px;
}

.features .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--color-secundario2);
}

.features .tab-pane p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
  padding: 80px 0;
  position: relative;
  clip-path: inset(0);
  background: linear-gradient(to right, #0c243d, #0c243d, #83dd64);
}

.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;
  background: transparent;
  border: 2px solid var(--contrast-color);
  color: var(--contrast-color);
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 10px var(--contrast-color);
  animation: glowPulse 2s infinite;
}

/* Efecto de brillo pulsante */
@keyframes glowPulse {
  0% {
    box-shadow: 0 0 5px var(--contrast-color),
      0 0 10px var(--contrast-color),
      0 0 20px var(--contrast-color);
  }

  50% {
    box-shadow: 0 0 15px var(--contrast-color),
      0 0 30px var(--contrast-color),
      0 0 45px var(--contrast-color);
  }

  100% {
    box-shadow: 0 0 5px var(--contrast-color),
      0 0 10px var(--contrast-color),
      0 0 20px var(--contrast-color);
  }
}

/* Efecto de barrido luminoso */
.call-to-action .cta-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.6),
      transparent);
  transform: skewX(-25deg);
}

.call-to-action .cta-btn:hover::before {
  animation: shine 1s ease;
}

@keyframes shine {
  0% {
    left: -75%;
  }

  100% {
    left: 125%;
  }
}

.call-to-action .cta-btn:hover {
  background: color-mix(in srgb, var(--azul-primario) 90%, white 15%);
  border: none;
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.1);
  padding: 60px 30px 60px 70px;
  transition: all ease-in-out 0.3s;
  transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
  border-radius: 18px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.services .service-item .icon {
  position: absolute;
  left: -20px;
  top: calc(50% - 30px);
  z-index: 10;
}

.services .service-item .icon i {
  font-size: 64px;
  line-height: 1;
  transition: 0.5s;

}

.services .service-item h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: ease-in-out 0.3s;
}

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

.service-item .read-more {
  color: var(--color-secundario);
}

.services .service-item:hover {
  transform: translateY(-10px);
  background: linear-gradient(to bottom, #0c243d, #0c243d, #059652);
  color: var(--surface-color);
  box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.5);
}

.services .service-item:hover h3 {
  color: var(--color-secundario);
}

.service-item .service-image {
  position: absolute;
  /* Posicionamiento absoluto sobre el icono */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  /* Inicia más pequeña */
  opacity: 0;
  /* Inicia oculta */
  transition: transform 0.4s ease, opacity 0.4s ease;
  /* Transición para la animación */
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  /* O el mismo border-radius que la card */
  z-index: 1;
  /* Asegura que la imagen esté sobre el icono */
}

.service-item:hover .service-image {
  opacity: 1;
  /* Se vuelve visible */
  transform: translate(-50%, -50%) scale(1);
  /* Vuelve a su tamaño normal */
}

.service-item:hover .icon i {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-img {
  opacity: .1;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.service-img:hover {
  opacity: .9;
}


/*--------------------------------------------------------------
# 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(--color-secundario2);
}

.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(--surface-color), transparent 10%);
  padding: 15px;
}

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

/*Proyectos*/
.contendor-tequierovivo {
  overflow: hidden;
}

.container-elementos {
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.contenedor-img-tequierovivo {
  width: 50%;
  height: 50%;

}

.container-elementos img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  box-shadow: 5px 0 20px 0 rgba(0, 0, 0, 0.5);
}

.ver_proyectos {
  margin-right: 20%;
  padding: 10px;
  border-radius: 5px;
  background-color: #a4d487;
  color: #113157;
}

.ver_proyectos:hover {
  background-color: #8cb274;
  color: var(--surface-color);

}

.contenedor-video {
  height: 330;
  width: 100%;
}

.contenedor-voluntarios {
  margin-top: 30px;
}

.container-elementos-voluntariado {
  overflow: hidden;
  margin-top: 10px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.container-elementos-voluntariado img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 5px 0 20px 0 rgba(0, 0, 0, 0.5);
}

.ver_voluntarios {
  padding: 10px;
  border-radius: 5px;
  background-color: #a4d487;
  color: #113157;
  width: 20%;
}

.ver_voluntarios:hover {
  background-color: #8cb274;
  color: var(--surface-color);

}

@media (max-width: 800px) {
  .ver_voluntarios {
    width: 30%;
  }
}

/*--------------------------------------------------------------
# Recent Posts Section
--------------------------------------------------------------*/
.noticias-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  overflow: hidden;
}

.noticia {
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 0.8s ease forwards;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.noticia img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: all ease-in .1s;
}

.noticia img:hover {
  transform: scale(1.1)
}

.noticia h3 {
  font-size: 18px;
  margin: 10px;
  color: #333;
}

.noticia p {
  font-size: 14px;
  margin: 0 10px 10px;
  color: #777;
}

/* Botón "Leer más" con animación de color y brillo */
.noticia a {
  display: block;
  padding: 10px;
  text-align: center;
  background: transparent;
  color: var(--azul-primario, #005B99);
  text-decoration: none;
  font-weight: bold;
  border-top: 1px solid #ddd;
  border: 2px solid var(--color-secundario);
  border-radius: 30px;
  margin: 10px;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

.noticia a:hover {
  background: var(--color-primario);
  color: #fff;
}

/* Destello diagonal */
.noticia a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.6),
      transparent);
  transform: skewX(-25deg);
}

.noticia a:hover::before {
  animation: shine 1s ease;
}

/* Animaciones */
@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes shine {
  0% {
    left: -75%;
  }

  100% {
    left: 125%;
  }
}


/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  background: linear-gradient(to right, #0c243dd4, #059652c5), url("/assets/img/DIseño\ Global.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.contact .section-title h2 {
  color: var(--nav-color);
}

.contact .section-title p {
  color: var(--color-secundario2);
}

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

.contact .info-item i {
  color: var(--color-secundario2);
  background: color-mix(in srgb, var(--color-secundario2), transparent 92%);
  font-size: 20px;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--surface-color);
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
  color: var(--verde-secundario);
}

.contact .info-item:hover i {
  background: var(--verde-secundario);
  color: var(--color-primario);
}

.contact .php-email-form {
  height: 100%;
}

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--surface-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(--verde-secundario);
}

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

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--color-primario);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

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

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

.portfolio-details .swiper-wrapper {
  height: auto;
}

.portfolio-details .swiper-button-prev,
.portfolio-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.portfolio-details .swiper-button-prev:after,
.portfolio-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.15);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.portfolio-details .swiper-button-prev:hover:after,
.portfolio-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.3);
}

@media (max-width: 575px) {

  .portfolio-details .swiper-button-prev,
  .portfolio-details .swiper-button-next {
    display: none;
  }
}

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

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

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

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.portfolio-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

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

.portfolio-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.portfolio-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.portfolio-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 50px;
  transition: 0.3s;
}

.portfolio-details .portfolio-info .btn-visit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

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

.portfolio-details .portfolio-description p {
  padding: 0;
}

.portfolio-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  margin-bottom: 50px;
}

.portfolio-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid var(--background-color);
  float: left;
  margin: 0 10px 0 0;
}

.portfolio-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.portfolio-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left,
.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 50%);
  font-size: 26px;
  line-height: 0;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.portfolio-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.portfolio-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .service-box {
  background-color: var(--surface-color);
  padding: 20px;
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.1);
}

.service-details .service-box+.service-box {
  margin-top: 30px;
}

.service-details .service-box h4 {
  font-size: 20px;
  font-weight: 700;
  border-bottom: 2px solid color-mix(in srgb, var(--default-color), transparent 92%);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.service-details .services-list {
  background-color: var(--surface-color);
}

.service-details .services-list a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-top: 15px;
  transition: 0.3s;
}

.service-details .services-list a:first-child {
  margin-top: 0;
}

.service-details .services-list a i {
  font-size: 16px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .services-list a.active {
  color: var(--contrast-color);
  background-color: var(--accent-color);
}

.service-details .services-list a.active i {
  color: var(--contrast-color);
}

.service-details .services-list a:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
  color: var(--accent-color);
}

.service-details .download-catalog a {
  color: var(--default-color);
  display: flex;
  align-items: center;
  padding: 10px 0;
  transition: 0.3s;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.service-details .download-catalog a:first-child {
  border-top: 0;
  padding-top: 0;
}

.service-details .download-catalog a:last-child {
  padding-bottom: 0;
}

.service-details .download-catalog a i {
  font-size: 24px;
  margin-right: 8px;
  color: var(--accent-color);
}

.service-details .download-catalog a:hover {
  color: var(--accent-color);
}

.service-details .help-box {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  margin-top: 30px;
  padding: 30px 15px;
}

.service-details .help-box .help-icon {
  font-size: 48px;
}

.service-details .help-box h4,
.service-details .help-box a {
  color: var(--contrast-color);
}

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

.service-details h3 {
  font-size: 26px;
  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);
}


/*--------------------------------------------------------------
# Comment Form Section
--------------------------------------------------------------*/
.comment-form {
  padding-top: 10px;
}

.comment-form form {
  background-color: var(--surface-color);
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.comment-form form h4 {
  font-weight: bold;
  font-size: 22px;
}

.comment-form form p {
  font-size: 14px;
}

.comment-form form input {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  font-size: 14px;
  border-radius: 4px;
  padding: 10px 10px;
}

.comment-form form input:focus {
  color: var(--default-color);
  background-color: var(--surface-color);
  box-shadow: none;
  border-color: var(--accent-color);
}

.comment-form form input::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form textarea {
  background-color: var(--surface-color);
  color: var(--default-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
  height: 120px;
}

.comment-form form textarea:focus {
  color: var(--default-color);
  box-shadow: none;
  border-color: var(--accent-color);
  background-color: var(--surface-color);
}

.comment-form form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.comment-form form .form-group {
  margin-bottom: 25px;
}

.comment-form form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.comment-form form .btn-primary:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

/*--------------------------------------------------------------

/*--------------------------------------------------------------
# Modal de Bienvenida
--------------------------------------------------------------*/
.modal-welcome {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.modal-welcome.show {
  opacity: 1;
  visibility: visible;
}

.modal-welcome-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  max-width: 600px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.7) translateY(50px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border: 2px solid var(--color-secundario);
}

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

.modal-welcome-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px 20px;
  border-bottom: 2px solid #e9ecef;
  background: linear-gradient(135deg, var(--background-color) 0%, var(--color-secundario2) 100%);
  border-radius: 18px 18px 0 0;
}

.modal-welcome-logo img {
  height: 50px;
  width: auto;
  /*filter: brightness(0) invert(1);*/
}

.modal-welcome-close {
  background: none;
  border: none;
  font-size: 24px;
  color: #ffffff;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: all 0.3s ease;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-welcome-close:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: rotate(90deg);
}

.modal-welcome-body {
  padding: 30px;
}

.modal-welcome-body h2 {
  color: var(--azul-primario);
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.welcome-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding: 20px;
  background: #ffffff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-left: 4px solid var(--color-secundario);
  opacity: 1;
  transform: translateY(0);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  background: linear-gradient(135deg, var(--color-secundario) 0%, var(--color-secundario2) 100%);
  color: #ffffff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.feature-content h4 {
  color: var(--azul-primario);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.feature-content p {
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.welcome-cta {
  text-align: center;
  margin-bottom: 25px;
}

.welcome-message {
  color: var(--azul-primario);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.6;
  margin: 0;
  padding: 20px;
  background: linear-gradient(135deg, rgba(131, 221, 100, 0.1) 0%, rgba(164, 212, 135, 0.1) 100%);
  border-radius: 15px;
  border: 1px solid rgba(131, 221, 100, 0.2);
}

.modal-welcome-footer {
  padding: 20px 30px 30px;
  text-align: center;
  border-top: 1px solid #e9ecef;
}

.btn-explore {
  background: linear-gradient(135deg, var(--azul-primario) 0%, var(--gris-oscuro) 100%);
  color: #ffffff;
  border: none;
  padding: 15px 30px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(12, 38, 67, 0.3);
}

.btn-explore:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(12, 38, 67, 0.4);
  background: linear-gradient(135deg, var(--gris-oscuro) 0%, var(--azul-primario) 100%);
}

.btn-explore i {
  font-size: 18px;
}

.modal-options {
  display: flex;
  justify-content: center;
  align-items: center;
}

.checkbox-container {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  color: #666;
  gap: 8px;
}

.checkbox-container input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 18px;
  height: 18px;
  border: 2px solid #ddd;
  border-radius: 3px;
  position: relative;
  transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked+.checkmark {
  background-color: var(--color-secundario);
  border-color: var(--color-secundario);
}

.checkbox-container input[type="checkbox"]:checked+.checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #ffffff;
  font-size: 12px;
  font-weight: bold;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .modal-welcome-content {
    width: 95%;
    margin: 20px;
  }

  .modal-welcome-body {
    padding: 20px;
  }

  .modal-welcome-body h2 {
    font-size: 24px;
  }

  .welcome-features {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .feature-item {
    padding: 15px;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .feature-content h4 {
    font-size: 15px;
  }

  .feature-content p {
    font-size: 13px;
  }

  .btn-explore {
    padding: 12px 25px;
    font-size: 15px;
  }
}

/* Estilos para el botón de envío con animación */
.submit-button {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  min-width: 150px;
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.submit-button .btn-text,
.submit-button .btn-loading,
.submit-button .btn-success {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.submit-button .btn-loading i.spin {
  animation: spin 1s linear infinite;
}

.submit-button .btn-success {
  color: #28a745;
}

.submit-button.loading {
  background-color: #6c757d;
  border-color: #6c757d;
}

.submit-button.success {
  background-color: #28a745;
  border-color: #28a745;
}

.submit-button.error {
  background-color: #dc3545;
  border-color: #dc3545;
}

/* Animación de rotación */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

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

/* Efecto de pulso durante el envío */
.submit-button.loading::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 100%;
  }
}