/* Fonts */
:root {
  --default-font: "Roboto", sans-serif; /* Para cuerpo de texto */
  --heading-font: "Audiowide", cursive; /* Para títulos */
  --nav-font: "Roboto", sans-serif; /* Para navegación y subtítulos */
}

/* 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: #212529; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #37373f; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #00afef; /* 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: #7f7f90; /* The default color of the main navmenu links */
  --nav-hover-color: #ce1212; /* 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: #7f7f90; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ce1212; /* 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: #f2f2f2;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #1f1f24;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #37373f;
  --contrast-color: #ffffff;
}

/* 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);
}

/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(
    var(--accent-color) 50%,
    color-mix(in srgb, var(--accent-color), transparent 75%) 52%
  );
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

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

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

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

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

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

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

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

.header .logo img {
  /* max-height: 36px;
  margin-right: 8px; */
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
  font-family: var(--default-font);
}

.header .logo span {
  color: var(--accent-color);
  font-size: 36px;
}

.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 26px;
  margin: 0;
  border-radius: 50px;
  transition: 0.3s;
}

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

  .header .navmenu {
    order: 3;
  }
}

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

/*--------------------------------------------------------------
# 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 > ul > li {
    white-space: nowrap;
    padding: 15px 14px;
  }

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

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

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

  .navmenu > ul > li > a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover > a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover > a,
  .navmenu .active,
  .navmenu .active:focus {
    color: color-mix(in srgb, var(--nav-color) 80%, black 50%);
  }

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

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

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

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

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

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 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);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .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);
    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-links a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin: 4px 0;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: #00afef; /* Amarillo dorado */
}
.footer-links hr {
  border: 0;
  border-top: 2px solid #00afef;
  margin: 10px 0;
}
.footer {
  --heading-font: var(--default-font);
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 40px 0;
  position: relative;
}

.footer .icon {
  color: var(--accent-color);
  margin-right: 15px;
  font-size: 24px;
  line-height: 0;
}

.footer h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 15px;
}

.footer .address p {
  margin-bottom: 0px;
}

.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 50%);
  margin-right: 10px;
  transition: 0.3s;
  background-color: #fff;
}
.footer .social-links a i {
  color: #00afef;
}

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

.footer .copyright {
  padding-top: 20px;
  border-top: 1px solid
    color-mix(in srgb, var(--default-color), transparent 90%);
  background-color: #1f1f24;
}

.footer .copyright p {
  margin-bottom: 0;
}

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

/*--------------------------------------------------------------
# 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(--accent-color);
  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(--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: color-mix(in srgb, var(--default-color), transparent 96%);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 120px 0;
  text-align: center;
  position: relative;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 400;
  margin-bottom: 10px;
  font-family: var(--default-font);
}

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

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  /* background-color: var(--background-color); */
  --tw-bg-opacity: 1;
  background-color: rgb(246 250 255 / var(--tw-bg-opacity));
  padding: 60px 0;
  scroll-margin-top: 92px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 56px;
  }
}

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

.section-title h2 {
  font-size: 13px;
  letter-spacing: 1px;
  font-weight: 400;
  padding: 0;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  display: inline-block;
  text-transform: uppercase;
  font-family: var(--default-font);
}

.section-title p {
  color: var(--heading-color);
  margin: 10px 0 0 0;
  font-size: 3.2rem;
  font-weight: 500;
  font-family: var(--heading-font);
}

.section-title p .description-title {
  color: var(--accent-color);
}

@media (max-width: 478px) {
  .section-title p {
    color: var(--heading-color);
    margin: 10px 0 0 0;
    font-size: 1.5rem;
    font-weight: 500;
    font-family: var(--heading-font);
  }
}
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.section-hero {
  padding: 0px;
}
.text-hero-h1 {
  font-size: 3rem;
}
.text-hero-h1 span {
  color: #ed1b24;
}
.text-hero-p {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
.heroSwiper {
  width: 100%;
  height: 85vh;
  position: relative;
  overflow: hidden;
}
.swiper .swiper-wrapper .swiper-slide {
  height: 100%;
}
.heroSwiper .swiper-wrapper {
  height: 100%;
}
.swiper-button-next,
.swiper-button-prev {
  color: #00afef !important;
}
.heroSwiper .swiper-slide {
  display: flex;
  align-items: center;
  /* align-items: flex-start; */
  width: 100% !important;
  padding: 0px 45px;
  background: #fff;
  color: var(--contrast-color);
}

.heroSwiper .swiper-slide .container {
  z-index: 2;
}

.hero h1 {
  font-size: 64px;
  font-weight: 700;
  margin: 0 0 20px;
}

.hero h1 span {
  color: var(--accent-color);
}

.hero p {
  font-size: 20px;
  margin-bottom: 30px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.btn-get-started {
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 10px 28px;
  border-radius: 50px;
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 1px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  transition: background 0.5s ease;
  text-decoration: none;
}

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

.slide1 {
  background: url("../img/slider/slider1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 90vh; /* o 90vh si prefieres que no ocupe toda la pantalla */
}

.slide2 {
  background: url("../img/slider/slider2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 90vh; /* o 90vh si prefieres que no ocupe toda la pantalla */
}

.slide3 {
  background: url("../img/slider/slider3.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 90vh; /* o 90vh si prefieres que no ocupe toda la pantalla */
}

@media (max-width: 768px) {
  .swiper-slide .slide1 {
    background-image: url("../img/slider/slider1_movil.jpg");
    height: 70vh; /* ajusta si quieres que sea más compacta en móviles */
  }
  .swiper-slide .slide2 {
    background-image: url("../img/slider/slider2_movil.jpg");
    height: 70vh; /* ajusta si quieres que sea más compacta en móviles */
  }
  .swiper-slide .slide3 {
    background-image: url("../img/slider/slider3_movil.png");
    height: 70vh; /* ajusta si quieres que sea más compacta en móviles */
  }
}

/* Navegación Swiper */
.swiper-button-next,
.swiper-button-prev {
  color: var(--contrast-color);
}

.swiper-pagination-bullet {
  background: var(--contrast-color);
  opacity: 0.7;
}

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

/* Responsive */
@media (max-width: 640px) {
  .hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  .hero p {
    font-size: 18px;
  }
  .btn-get-started {
    font-size: 13px;
    padding: 8px 20px;
  }
}
/* Responsive ajustes para móviles */
@media (max-width: 768px) {
  /* Ajustar alto del slider */
  .heroSwiper {
    height: auto; /* que el alto sea dinámico según contenido */
    padding: 0;
  }

  /* Ajuste del slide */
  .heroSwiper .swiper-slide {
    flex-direction: column; /* apila texto e imagen */
    padding: 20px;
    text-align: center;
  }

  /* Títulos */
  .text-hero-h1 {
    font-size: 28px;
    line-height: 36px;
  }

  /* Párrafos */
  .text-hero-p {
    font-size: 16px;
    line-height: 22px;
    margin: 15px 0;
  }

  /* Botones */
  .btn-get-started {
    font-size: 14px;
    padding: 8px 18px;
    margin: 5px auto;
  }

  /* Imagen */
  .hero-img img {
    max-width: 80%;
    margin: 20px auto 0;
  }

  /* Navegación swiper más pequeña */
  .swiper-button-next,
  .swiper-button-prev {
    transform: scale(0.7);
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about h3 {
  font-weight: 700;
  font-size: 28px;
  margin-bottom: 20px;
}

.about .book-a-table {
  text-align: center;
  border: 4px solid color-mix(in srgb, var(--default-color), transparent 30%);
  padding: 22px;
}

.about .book-a-table h3 {
  font-family: var(--default-font);
  margin: 0 0 0 0;
  font-size: 24px;
}

.about .book-a-table p {
  color: var(--accent-color);
  font-weight: 500;
  font-size: 28px;
  margin: 0;
}

.about .fst-italic {
  color: color-mix(in srgb, var(--default-color), var(--contrast-color) 50%);
}

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

.about .content ul li {
  padding: 0 0 10px 30px;
  position: relative;
}

.about .content ul i {
  position: absolute;
  font-size: 20px;
  left: 0;
  top: -3px;
  color: var(--accent-color);
}

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

.about .pulsating-play-btn {
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
}

/*--------------------------------------------------------------
# Why Us Section
--------------------------------------------------------------*/
.why-us .why-box {
  color: var(--contrast-color);
  background: #3d7a3f;
  padding: 30px;
}

.why-us .why-box h3 {
  color: var(--contrast-color);
  font-family: var(--default-font);
  font-weight: 700;
  font-size: 34px;
  margin-bottom: 30px;
}

.why-us .why-box p {
  margin-bottom: 30px;
}

.why-us .why-box .more-btn {
  display: inline-block;
  background: color-mix(in srgb, var(--contrast-color), transparent 85%);
  padding: 8px 40px 10px 40px;
  color: var(--contrast-color);
  transition: all ease-in-out 0.4s;
  border-radius: 50px;
}

.why-us .why-box .more-btn i {
  font-size: 14px;
}

.why-us .why-box .more-btn:hover {
  color: var(--accent-color);
  background: var(--surface-color);
}

.why-us .icon-box {
  background-color: var(--surface-color);
  text-align: center;
  /* padding: 0px 30px 40px 30px; */
  padding: 40px 30px;
  width: 100%;
  height: 100%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.icon_img {
  margin-bottom: 20px;
}
.cintilla_cedulas {
  background-color: #fff;
  padding: 20px 0;
}

.why-us .icon-box i {
  color: #8fc74a;
  font-size: 32px;
  margin-bottom: 30px;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  transition: 0.3s;
}

.why-us .icon-box h4 {
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 30px 0;
  font-family: var(--default-font);
}

.why-us .icon-box p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.why-us .icon-box:hover i {
  color: var(--contrast-color);
  background: #21b354;
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats {
  position: relative;
  padding: 120px 0;
}

.stats img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.stats:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 40%);
  position: absolute;

  inset: 0;
  z-index: 2;

  background-size: cover; /* ocupa todo el ancho recortando si es necesario */
  background-repeat: no-repeat;
  background-position: bottom;
  bottom: 0px;
}

.stats .container {
  position: relative;
  z-index: 3;
}

.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item span {
  font-size: 48px;
  display: block;
  color: var(--default-color);
  font-weight: 700;
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

/*--------------------------------------------------------------
# Menu Section
--------------------------------------------------------------*/
.menu .nav-tabs {
  border: 0;
}

.menu .nav-link {
  background-color: var(--background-color);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0 15px;
  padding: 10px 5px;
  transition: 0.3s;
  border-radius: 0;
  cursor: pointer;
  height: 100%;
  border: 0;
  border-bottom: 2px solid
    color-mix(in srgb, var(--default-color), transparent 80%);
}

@media (max-width: 575px) {
  .menu .nav-link {
    margin: 0 10px;
    padding: 10px 0;
  }
}

.menu .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

.menu .nav-link h4 {
  font-size: 18px;
  font-weight: 400;
  margin: 0;
  font-family: var(--default-font);
}

@media (max-width: 575px) {
  .menu .nav-link h4 {
    font-size: 16px;
  }
}

.menu .nav-link:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.menu .nav-link.active {
  background-color: var(--background-color);
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.menu .tab-content .tab-header {
  padding: 30px 0;
}

.menu .tab-content .tab-header p {
  font-size: 14px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 0;
}

.menu .tab-content .tab-header h3 {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent-color);
}

.menu .tab-content .menu-item {
  text-align-last: center;
}

.menu .tab-content .menu-item .menu-img {
  padding: 0 60px;
  margin-bottom: 15px;
}

.menu .tab-content .menu-item h4 {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 5px;
  font-family: var(--default-font);
}

.menu .tab-content .menu-item .ingredients {
  font-family: var(--nav-font);
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin-bottom: 5px;
}

.menu .tab-content .menu-item .price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item .testimonial-content {
  border-left: 3px solid var(--accent-color);
  padding-left: 30px;
}

.testimonials .testimonial-item .testimonial-img {
  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 10px 0;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 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;
}

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

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

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

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

/*--------------------------------------------------------------
# Events Section
--------------------------------------------------------------*/
.events .container-fluid {
  padding: 0;
}

.events .event-item {
  background-size: cover;
  background-position: cente;
  min-height: 600px;
  padding: 30px;
}

@media (max-width: 575px) {
  .events .event-item {
    min-height: 500px;
  }
}

.events .event-item:before {
  content: "";
  background: rgba(0, 0, 0, 0.6);
  position: absolute;
  inset: 0;
}

.events .event-item h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #ffffff;
  position: relative;
}

.events .event-item .price {
  color: #ffffff;
  border-bottom: 2px solid var(--accent-color);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  position: relative;
}

.events .event-item .description {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
}

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

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

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

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

/*--------------------------------------------------------------
# Chefs Section
--------------------------------------------------------------*/
.chefs .team-member {
  background-color: var(--surface-color);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  border-radius: 5px;
  transition: 0.3s;
}

.chefs .team-member .member-img {
  position: relative;
  overflow: hidden;
}

.chefs .team-member .member-img:after {
  position: absolute;
  content: "";
  left: -1px;
  right: -1px;
  bottom: -1px;
  height: 100%;
  background-color: var(--surface-color);
  -webkit-mask: url("../img/team-shape.svg") no-repeat center bottom;
  mask: url("../img/team-shape.svg") no-repeat center bottom;
  -webkit-mask-size: contain;
  mask-size: contain;
  z-index: 1;
}

.chefs .team-member .social {
  position: absolute;
  right: -100%;
  top: 30px;
  opacity: 0;
  border-radius: 4px;
  transition: 0.5s;
  background: color-mix(in srgb, var(--background-color), transparent 60%);
  z-index: 2;
}

.chefs .team-member .social a {
  transition: color 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  margin: 15px 12px;
  display: block;
  line-height: 0;
  text-align: center;
}

.chefs .team-member .social a:hover {
  color: var(--default-color);
}

.chefs .team-member .social i {
  font-size: 18px;
}

.chefs .team-member .member-info {
  padding: 10px 15px 20px 15px;
}

.chefs .team-member .member-info h4 {
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 20px;
  font-family: var(--default-font);
}

.chefs .team-member .member-info span {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.chefs .team-member .member-info p {
  font-style: italic;
  font-size: 14px;
  padding-top: 15px;
  line-height: 26px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.chefs .team-member:hover {
  transform: scale(1.08);
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.chefs .team-member:hover .social {
  right: 8px;
  opacity: 1;
}

/*--------------------------------------------------------------
# Book A Table Section
--------------------------------------------------------------*/
.book-a-table .reservation-img {
  min-height: 500px;
  background-size: cover;
  background-position: center;
}

.book-a-table .reservation-form-bg {
  background: color-mix(in srgb, var(--default-color), transparent 97%);
}

.book-a-table .php-email-form {
  padding: 30px;
}

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

.book-a-table .php-email-form input[type="text"],
.book-a-table .php-email-form input[type="email"],
.book-a-table .php-email-form input[type="number"],
.book-a-table .php-email-form input[type="date"],
.book-a-table .php-email-form input[type="time"],
.book-a-table .php-email-form input[type="phone"],
.book-a-table .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  /* color: red !important; */
  background-color: color-mix(
    in srgb,
    var(--background-color),
    transparent 20%
  );
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.book-a-table .php-email-form input[type="text"]:focus,
.book-a-table .php-email-form input[type="email"]:focus,
.book-a-table .php-email-form input[type="number"]:focus,
.book-a-table .php-email-form input[type="date"]:focus,
.book-a-table .php-email-form input[type="time"]:focus,
.book-a-table .php-email-form input[type="phone"]:focus,
.book-a-table .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.book-a-table .php-email-form input[type="text"]::placeholder,
.book-a-table .php-email-form input[type="email"]::placeholder,
.book-a-table .php-email-form input[type="number"]::placeholder,
.book-a-table .php-email-form input[type="date"]::placeholder,
.book-a-table .php-email-form input[type="time"]::placeholder,
.book-a-table .php-email-form input[type="phone"]::placeholder,
.book-a-table .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 0%);
}

.book-a-table .php-email-form button[type="submit"] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 14px 60px;
  transition: 0.4s;
  border-radius: 4px;
}

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

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery {
  overflow: hidden;
}

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

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

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

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

.gallery .swiper-slide-active {
  text-align: center;
}

@media (min-width: 992px) {
  .gallery .swiper-wrapper {
    padding: 40px 0;
  }

  .gallery .swiper-slide-active {
    background: var(--background-color);
    border: 6px solid var(--accent-color);
    padding: 4px;
    z-index: 1;
    transform: scale(1.2);
    transition: none;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 20px 30px;
}

.contact .info-item .icon {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  width: 56px;
  height: 56px;
  font-size: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease-in-out;
  border-radius: 50%;
  margin-right: 15px;
}

.contact .info-item h3 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 5px 0;
  font-family: var(--default-font);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item .social-links a {
  font-size: 24px;
  display: inline-block;
  line-height: 1;
  margin: 4px 6px 0 0;
  transition: 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.contact .info-item .social-links a:hover {
  color: var(--accent-color);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  margin-top: 30px;
}

@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 {
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--surface-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
}

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

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

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/*--------------------------------------------------------------
Carrousel Logos
--------------------------------------------------------------*/
.logo-carousel {
  background-color: #f8f9fa;
  overflow: hidden;
  position: relative;
  margin-top: 0px;
  margin-bottom: 0px;
}

.logo-track {
  display: flex;
  width: calc(250px * 8); /* 4 logos * 2 veces */
  animation: scroll 30s linear infinite;
}

.logo-slide {
  width: 250px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.logo-slide img {
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.logo-slide img:hover {
  filter: grayscale(0%);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/*--------------------------------------------------------------
ACERCA DE NOSOTROS
--------------------------------------------------------------*/
/* Contenedor de la imagen */
/* Imagen */
.contact-img {
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-img:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
}

/* Tarjeta de contacto */
.contact-card {
  background: #ffffff;
  /*border-left: 6px solid #3d7a3f; /* Verde institucional */
  border-radius: 12px;
  padding: 20px 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  margin-top: -20px;
  position: relative;
  z-index: 1;
  transition: box-shadow 0.3s ease;
}

.contact-card:hover {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

/* Título */
.contact-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #154b7f; /* Azul institucional */
  margin-bottom: 8px;
}

/* Texto */
.contact-card p {
  color: #555;
  margin-bottom: 15px;
  font-size: 1rem;
}

/* Botón de llamada */
.btn-call {
  display: inline-block;
  background-color: #21b354; /* Verde vivo institucional */
  color: #fff;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 1.1rem;
  text-decoration: none;
  transition:
    background-color 0.3s ease,
    transform 0.2s ease;
}

.btn-call:hover {
  background-color: #1a9446;
  transform: translateY(-2px);
  color: #fff;
}

.btn-call i {
  font-size: 1.2rem;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-card {
    margin-top: 15px;
  }
}

/* Caja de contacto */
.book-a-table {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-left: 5px solid #3d7a3f; /* verde institucional */
  padding: 20px 25px;
  margin-top: -20px; /* para que visualmente quede cerca de la imagen */
  position: relative;
  z-index: 2;
  transition: box-shadow 0.3s ease;
}

.book-a-table:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* Título */
.book-a-table h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #154b7f; /* azul corporativo */
  margin-bottom: 5px;
}

/* Texto */
.book-a-table p {
  margin: 0;
  margin-top: 50px;
  font-size: 2.1rem;
  color: #555;
}

/* Teléfono */
.book-a-table a {
  font-weight: 700;
  font-size: 1.2rem;
  color: #3d7a3f;
  text-decoration: none;
  transition: color 0.3s ease;
}

.book-a-table a:hover {
  color: #2c5d2e;
}

/* Responsive ajustes */
@media (max-width: 768px) {
  .book-a-table {
    margin-top: 15px;
    padding: 15px 20px;
  }

  .book-a-table h3 {
    font-size: 1.2rem;
  }

  .book-a-table a {
    font-size: 1.1rem;
  }
}

/*--------------------------------------------------------------
Card Cursos
--------------------------------------------------------------*/
.card-curso {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.card-curso:hover {
  transform: translateY(-5px);
}

.imagen-top {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.imagen-top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.badge-top {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: #154b7f; /* Azul institucional */
  color: #fff;
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 30px;
  font-weight: bold;
}

.contenido {
  padding: 20px;
}

.contenido .titulo_capacitacion {
  font-family: var(--nav-font);
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 5px;
  letter-spacing: 3px;
}

.instructor {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 10px;
}

.calificacion-precio {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.rating {
  font-weight: bold;
  color: #21b354; /* Verde brillante */
}

.precio {
  font-weight: bold;
  color: #3d7a3f; /* Verde institucional oscuro */
}

.detalles {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #555;
}

.detalles i {
  margin-right: 5px;
  color: #00afef; /* Azul cielo */
}

/*--------------------------------------------------------------
Card Cursos
--------------------------------------------------------------*/

/*--------------------------------------------------------------
Banner Paginas
--------------------------------------------------------------*/
.banner-capacitacion {
  min-height: 200px;
  display: flex;
  align-items: center;
}
.titulo-banner {
  color: #00afef !important;
}
/*--------------------------------------------------------------
Banner Paginas
--------------------------------------------------------------*/
/*--------------------------------------------------------------
Beneficios
--------------------------------------------------------------*/
#beneficios_home {
  padding: 50px 0px !important;
  background: linear-gradient(135deg, #154b7f, #154b7f);
}
#beneficios_home .text-elegirnos {
  color: #00afef;
  font-size: 2.5rem !important;
}
#beneficios_home .counter {
  font-size: 2.5rem;
  color: #00afef;
}
#beneficios_home .card-beneficios {
  transition: all 0.4s ease;
  padding: 15px 10px;
}

#beneficios_home .card-beneficios:hover {
  background-color: #ffff;
  transform: translateY(5px);
  /* cursor: pointer; */
  padding: 15px 10px;
}

.card-beneficios:hover h5,
.card-beneficios:hover p {
  color: #3d7a3f !important; /* Cambia a un color oscuro o el que prefieras */
}

.text-beneficios {
  font-family: var(--nav-font) !important;
}
/*--------------------------------------------------------------
Beneficios
--------------------------------------------------------------*/
.text-verde {
  color: #3d7a3f;
}

.btn-cert {
  background-color: #3d7a3f; /* Verde principal */
  border: none;
  color: #fff;
  transition: all 0.3s ease;
}

.btn-get-started:hover {
  background-color: #21b354; /* Verde más vivo */
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/*--------------------------------------------------------------
Detalle certificaciones capacitaciones
--------------------------------------------------------------*/
.btn-outline-custom {
  background-color: white;
  color: black;
  border: 2px solid #21b354; /* contorno verde */
  font-weight: 600;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.btn-outline-custom:hover,
.btn-outline-custom:focus {
  background-color: #21b354; /* verde */
  color: white;
  border-color: #21b354;
  text-decoration: none;
  outline: none;
  box-shadow: 0 0 8px rgba(33, 179, 84, 0.6);
}

/* ====================== Botón flotante WhatsApp ===================== */
.btn-whatsapp-flotante {
  position: fixed;
  bottom: 100px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 9999;
}

/* Avatar WhatsApp */
.whatsapp-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #25d366;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.whatsapp-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Notificación (icono rojo arriba) */
.notification {
  position: absolute;
  top: -10px;
  right: -17px;
  background: #ff3b30;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse 1.5s infinite;
}

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

/* Indicador de escritura */
.typing-indicator {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}
.typing-indicator span {
  width: 8px;
  height: 8px;
  background: #25d366;
  border-radius: 50%;
  margin: 0 2px;
  animation: blink 1.4s infinite both;
}
.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes blink {
  0%,
  80%,
  100% {
    opacity: 0.2;
  }
  40% {
    opacity: 1;
  }
}

/* ====================== Burbuja de mensaje ===================== */
.msmw {
  background: #0a9ddd;
  color: white;
  padding: 6px 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  position: absolute;
  bottom: 80px; /* justo encima del botón */
  right: 0;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  animation: aparecer 0.6s ease forwards;
}

/* triangulito tipo burbuja */
.msmw::after {
  content: "";
  position: absolute;
  bottom: -6px;
  right: 15px;
  border-width: 6px;
  border-style: solid;
  border-color: #0a9ddd transparent transparent transparent;
}

/* efecto de entrada */
@keyframes aparecer {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.msmw:hover {
  background: #0889c3;
  transition: background 0.3s;
}

/*--------------------------------------------------------------
Pie de pagina
--------------------------------------------------------------*/

.footer-container {
  position: relative;
  padding-bottom: 0px;
  z-index: 1;
}

.footer-container::after {
  content: "";
  position: absolute;

  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/c3nm_pie_de_pagina2.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom;
  z-index: -1;
  filter: invert(70%);
}

/*--------------------------------------------------------------
Formulario
--------------------------------------------------------------*/
.formulario-container {
  position: relative;
  padding-bottom: 0px;
  z-index: 1;
}

.formulario-container::after {
  /* background-color: #154b7f; */
  content: "";
  position: absolute;

  bottom: 0;
  left: 0; /* para ocupar todo el ancho */
  width: 100%; /* ancho completo */
  height: 100%; /* ajusta al alto real o deseado */
  background-image: url("../img/fondo.jpg");
  background-size: contain; /* ocupa todo el ancho recortando si es necesario */
  background-repeat: no-repeat;
  background-position: bottom;
  z-index: -1;
  /* filter: invert(70%); */
}

/*--------------------------------------------------------------
# Home
--------------------------------------------------------------*/
/* Estilos generales para las tarjetas */
.card-quienes {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  background: #fff;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
}

.card-quienes:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Imagen superior */
.card-quienes img {
  width: 100%;
  /* height: 80px; */
  object-fit: contain;
  margin-bottom: 15px;
}

/* Título */
.card-quienes h6 {
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

/* Descripción */
.card-quienes p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.4;
  margin: 0;
}

.card-body .card-title span {
  font-family: var(--nav-font) !important;
}
.height-card {
  height: 220px;
}
.btn-card-cert {
  margin: 15px 30px;
  padding: 10px 1px !important;
}

.galeria-3x3 {
  padding: 40px 0;
  background: #f8f9fa;
}

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 900px;
  margin: 0 auto;
}

.galeria-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s;
}

.galeria-item img:hover {
  transform: scale(1.05);
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 1;
  filter: brightness(0.85); /* oscurece un poco para que el texto resalte */
}

/* Contenido encima del fondo */
.swiper-slide .container {
  position: relative;
  z-index: 2;
}

/* Texto hero */
.text-hero-h1 {
  font-size: 3.5rem;
  color: #fff;
}

.text-hero-p {
  color: #f0f0f0;
  font-size: 1.1rem;
}

/* Imagen hero */
.hero-img img {
  max-width: 100%;
}

/* Botón */
.btn-get-started {
  background: #21b354;
  color: #fff;
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-get-started:hover {
  background: #154b7f;
}

/* Responsivo */
@media (max-width: 992px) {
  .text-hero-h1 {
    font-size: 2rem;
  }
  .text-hero-p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .swiper-slide {
    min-height: 60vh;
  }
  .text-hero-h1 {
    /* font-size: 1.6rem; */
    font-size: 3rem;
    line-height: 0.9;
  }
  .text-hero-p {
    font-size: 0.95rem;
  }
  .btn-get-started {
    padding: 8px 20px;
    font-size: 0.95rem;
  }
}
.cedulas {
  background-color: #fff;
}
.cedulas .atendemos h3 {
  margin-top: 0px;
  margin-bottom: 50px !important;
  /* background-color: red; */
}

.texto-cedula {
  width: 80%; /* Ocupa el 80% del contenedor */
  max-width: 900px; /* Limita el ancho para pantallas grandes */
  text-align: center;
}
/*--------------------------------------------------------------
# Capacitacion
--------------------------------------------------------------*/
.why-box-background {
  background-color: #154b7f !important;
}

/*--------------------------------------------------------------
# Detalle de cada certificacion
--------------------------------------------------------------*/

/* Estilo general sección beneficios */
#beneficios {
  background: #f9fafb;
}

#beneficios h2 {
  font-size: 2rem;
  color: #222;
}

/* Tarjetas de beneficios */
.card-beneficio {
  background: #fff;
  border-radius: 15px;
  padding: 25px 20px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  height: 100%;
}

.card-beneficio:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.card-beneficio h5 {
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.card-beneficio p {
  font-size: 0.95rem;
  color: #555;
}

/* Imagen EC0301 */
#beneficios img {
  max-width: 100%;
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  #beneficios h2 {
    font-size: 1.6rem;
  }
  .card-beneficio {
    padding: 20px;
  }
}

/* Sección Temarios */
#temarios {
  background: #ffffff;
  margin-bottom: 30px;
}

#temarios h2 {
  font-size: 2rem;
  color: #154b7f;
}

/* Tarjetas */
.card-bloque {
  background: #ffffff !important;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.card-bloque:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.temario-card {
  /* background: #ffffff; */
  border-radius: 12px;
  padding: 25px;
  /* box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08); */
  height: 100%;
  /* transition: transform 0.3s ease, box-shadow 0.3s ease; */
}

/* .temario-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
} */

/* Colores de bordes superiores */
.border-top-tema1 {
  border-top: 6px solid #3d7a3f;
}
.border-top-tema2 {
  border-top: 6px solid #21b354;
}
.border-top-tema3 {
  border-top: 6px solid #00afef;
}

/* Colores de texto */
.text-tema1 {
  color: #3d7a3f;
}
.text-tema2 {
  color: #21b354;
}
.text-tema3 {
  color: #00afef;
}

/* Lista */
.temario-card ul li {
  font-size: 0.95rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.temario-card ul li i {
  margin-right: 8px;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
  #temarios h2 {
    font-size: 1.6rem;
  }
  .temario-card {
    padding: 20px;
  }
}

/* Desvanecer la tercera etiqueta <li> */
.temario-card ul li.fade-last {
  position: relative;
  color: rgba(0, 0, 0, 0.6);
}
.temario-card ul li.fade-last::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(249, 250, 251, 1) 70%
  );
  border-radius: 4px;
}

/* Desvanecer parte inferior de las tarjetas */
#temarios .col-md-4 {
  position: relative; /* Necesario para que el ::after se posicione relativo a la columna */
  overflow: hidden; /* Evita que el degradado sobresalga */
}

#temarios .col-md-4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px; /* Altura del degradado (ajusta a gusto) */
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(249, 250, 251, 1) 100%
  );
  pointer-events: none; /* No bloquea clics */
  border-radius: 0 0 12px 12px; /* sigue el borde de la tarjeta */
}

/* Sección Temarios */

/* Sección grupos */
#grupos h2 {
  color: #154b7f;
}

/* Tarjetas */
.grupo-card {
  border-radius: 15px;
  padding: 40px 30px;
  color: #fff;
  display: flex;
  align-items: center;
  height: 100%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.grupo-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

.grupo-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.grupo-card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Fondos personalizados */
.bg-capacitaciones {
  background: linear-gradient(135deg, #3d7a3f, #8fc74a);
}

.bg-certificaciones {
  background: linear-gradient(135deg, #154b7f, #00afef);
}

/* Botones */
.grupo-card .btn {
  font-weight: 600;
  border-radius: 25px;
  padding: 8px 20px;
  transition:
    background 0.3s ease,
    color 0.3s ease;
}

.bg-capacitaciones .btn:hover {
  background: #fff;
  color: #3d7a3f;
}

.bg-certificaciones .btn:hover {
  background: #fff;
  color: #154b7f;
}
#certificaciones {
  background-color: #ffff;
}

/* Responsive */
@media (max-width: 768px) {
  .grupo-card {
    padding: 30px 20px;
    text-align: center;
  }
}

/* Fondo */
#stats {
  position: relative;
  color: #fff;
  background: rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

#stats .stats-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

#stats .container {
  position: relative;
  z-index: 2;
}

/* Item */
.stats-item {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.stats-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.stats-item .count {
  font-size: 2.5rem;
  font-weight: 700;
  color: #8fc74a;
  min-width: 90px;
  text-align: center;
}

.stats-item h5 {
  font-weight: 600;
  margin-bottom: 5px;
}

.stats-item p {
  font-size: 0.95rem;
  margin: 0;
  color: #ddd;
}

/* Responsive */
@media (max-width: 768px) {
  .stats-item {
    flex-direction: column;
    text-align: center;
  }
  .stats-item .count {
    margin-bottom: 10px;
  }
}

/* Seccion preguntas frecuentes de cada certificacion */
.faq-section {
  background: linear-gradient(to bottom, #ffffff, #f9fafb);
}

.titulo-faq {
  color: #154b7f;
  font-size: 2rem;
}

.titulo-faq .subtitulo {
  color: #21b354;
  font-size: 1.2rem;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background: #ffffff;
  border-left: 6px solid #3d7a3f;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
}

.faq-item h5 {
  color: #154b7f;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.faq-item p {
  margin: 0;
  color: #333;
  line-height: 1.6;
}

/* Cintilla Contacto */
.padding-cintilla {
  padding: 80px 0px;
}
#cintilla-contacto {
  background: linear-gradient(135deg, #154b7f, #00afef);
  /*background: #f4f9f6; /* tono claro suave */
  border-top: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
}

#cintilla-contacto h5 {
  font-size: 3.2rem;
  color: #154b7f;
}

/* Botón */
.btn-llamada {
  background: #21b354;
  color: #fff;
  font-weight: 600;
  padding: 10px 25px;
  border-radius: 30px;
  text-decoration: none;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
}

.btn-llamada:hover {
  background: #154b7f;
  transform: scale(1.05);
  color: #fff;
}

/*--------------------------------------------------------------#
Contactar
--------------------------------------------------------------*/
/* Cintilla múltiple */
#cintilla-contacto-multiple {
  background: #f4f9f6; /* fondo claro */
  border-top: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
}

.contacto-item {
  display: block;
  padding: 20px;
  border-radius: 12px;
  text-decoration: none;
  color: #154b7f;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contacto-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  color: #154b7f;
}

.contacto-item i {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

/* Colores personalizados */
.contacto-item i.bi-whatsapp {
  color: #25d366;
}
.contacto-item i.bi-telephone-fill {
  color: #21b354;
}
.contacto-item i.bi-envelope-fill {
  color: #00afef;
}

/* Responsive */
@media (max-width: 768px) {
  .contacto-item {
    padding: 15px;
  }
}

/*--------------------------------------------------------------#
Cintilla Redes
--------------------------------------------------------------*/
/* Cintilla Redes Sociales */
#cintilla-redes {
  background: #f4f9f6; /* fondo suave */
  border-top: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
}

.redes-item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.8rem;
  color: #fff;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.redes-item:hover {
  transform: scale(1.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Colores de cada red */
.redes-item.facebook {
  background: #3b5998;
}
.redes-item.instagram {
  background: #e4405f;
}
.redes-item.linkedin {
  background: #0077b5;
}

/* Responsive */
@media (max-width: 768px) {
  .redes-item {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}

/*--------------------------------------------------------------#
Menu
--------------------------------------------------------------*/
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #21b354;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp i {
  font-size: 1.2em;
}

.btn-whatsapp:hover {
  background-color: #1ebe5d;
  box-shadow: 0 6px 14px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
  color: #154b7f;
}

@media (max-width: 1199px) {
  .navmenu .btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #25d366;
    color: white;
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    width: auto; /* 👈 se ajusta al contenido */
    margin: 10px auto; /* 👈 centrado */
  }

  .navmenu .btn-whatsapp i {
    margin-right: 6px;
    font-size: 1.2em;
  }

  .navmenu li {
    text-align: left; /* 👈 centra el botón dentro del <li> */
    margin-left: 10px;
  }
}
/* POPUP INICIO */
#popup-cenm {
  display: none;
}

/* Fondo general */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  animation: fadeIn 0.5s ease;
}

/* Contenedor del popup */
.popup-content {
  position: relative;
  background: #ffffff;
  border-radius: 15px;
  padding: 0px 0px 0px;
  text-align: center;
  width: 90%;
  max-width: 420px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  animation: popIn 0.4s ease;
  cursor: pointer;
  overflow: visible; /* ✅ permite que el botón sobresalga */
  z-index: 10000; /* ✅ asegura que el contenido esté sobre el fondo */
}

/* Imagen */
.popup-img {
  width: 100%;
  border-radius: 12px;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 1;
}
.popup-content:hover .popup-img {
  transform: scale(1.03);
  z-index: 1;
}

/* Texto */
.popup-text {
  margin-top: 15px;
  font-size: 1.1rem;
  color: #333;
  font-weight: 500;
}

/* Botón principal */
.popup-btn {
  margin-top: 15px;
  padding: 12px 18px;
  background: #25d366;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
  z-index: 2;
  position: relative;
}
.popup-btn:hover {
  background: #1ebe5d;
  transform: scale(1.05);
}

/* Botón cerrar */
.popup-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #ff5252;
  color: white;
  border: none;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  z-index: 10001; /* ✅ lo más importante: siempre arriba */
}
.popup-close:hover {
  background: #e04040;
  transform: scale(1.1);
}
/* Animaciones */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

/* ==============leyenda proximamente================== */
.text-proximamente {
  color: red;
  font-size: 1rem;
}
/* ===========================PRECIO=========================== */
.precio-curso {
  font-size: 1.4rem;
  font-weight: 700;
  color: #060aaa; /* azul institucional */
  margin-top: 10px;
  margin-bottom: 0px;
}
.descripcion-card {
  font-family: var(--nav-font) !important;
  color: var(--bs-card-title-color);
  font-weight: 500;
  color: #444;
}

/* =================PRECIO EN DETALLE DE PAGINA========================== */
.box-precio {
  background: #f0f8f5;
  border-radius: 12px;
  padding: 30px;
  display: inline-block;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.box-precio h3 {
  font-size: 2.2rem;
  font-weight: bold;
  color: #060aaa;
  margin-bottom: 10px;
}

.box-precio p {
  color: #555;
  margin: 0;
}

/* ===================================PROMOCION BAJO DE PRECIO=================================== */
.precio-anterior {
  text-decoration: line-through;
  color: #dc3545 !important;
  font-size: 0.9rem;
}

.precio-nuevo {
  color: #28a745; /* verde tipo éxito */
  font-weight: bold;
  font-size: 1.4rem;
}
.badge-descuento {
  background: #dc3545;
  color: #fff;
  padding: 5px 10px;
  font-size: 0.8rem;
  border-radius: 5px;
  position: absolute;
  top: 10px;
  right: 10px;
}
