/* Fonts */
:root {
  --default-font: "Open Sans",  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;
}

/* 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: #f3f4f6; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #37423b; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #5fcf80; /* 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: #f3f4f6; /* 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: #f3f4f6; /* 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: #272828;  /* The default color of the main navmenu links */
  --nav-hover-color: #5fcf80; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #f3f4f6; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #f3f4f6; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #272828; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #5fcf80; /* 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: #f9f9f9;
  --surface-color: #f3f4f6;
}

.dark-background {
  --background-color: #060606;
  --default-color: #f3f4f6;
  --heading-color: #f3f4f6;
  --surface-color: #252525;
  --contrast-color: #f3f4f6;
}

/* 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: "Exo 2", sans-serif;
  font-optical-sizing: auto;
  font-weight: 100;
  font-style: normal;
}

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

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

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

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

.header .logo img {
  max-height: 100px;
}


.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: var(--contrast-color);
  background: var(--accent-color);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  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 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

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

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
    background-image: url('assets/img/relleno de iconos.png');
  }

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

  .navmenu li {
    position: relative;
  }

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

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

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

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

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

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

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

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

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

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

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

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

/* Navmenu - 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(--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 GENERAL ====== */
.footer {
  background: #1E4D6B; /* azul profundo */
  color: #fff;
  padding-top: 50px;
  font-size: 0.95rem;
}

/* Logo */
.footer .logo img {
  max-width: 250px;
  margin-bottom: 15px;
}

.footer .slogan {
  color: #BFD4D0;
  font-size: 0.9rem;
  margin-top: 5px;
  text-align: center;
}

/* ====== TITULOS ====== */
.footer h4 {
  color: #fff; /* amarillo suave */
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 600;
}

/* ====== LINKS ====== */
.footer-links ul {
  list-style: none;
  padding: 0;
}

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

.footer-links ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #25E961; /* verde */
}

.footer-links i {
  color: #25E961;
  margin-right: 6px;
}

/* ====== CONTACTO ====== */
.footer-contact a {
  color: #fff;
  font-weight: 500;
  text-decoration: none;
}

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

/* ====== REDES ====== */
.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: #fff;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #1E4D6B;
  color: #25E961;
  transform: scale(1.1);
}

.cta-section {
  position: relative;
  text-align: center;
  padding: 140px 20px;
  color: #fff;
}

/* Contenedor del texto */
.cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

/* Título */
.cta-section  h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 15px;
  color: #1E4D6B; /* azul profundo */
}

/* Texto descriptivo */
.cta-section  p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #0d0d0d; /* gris oscuro/neutro para contraste */
}

/* Botón principal */
.btn-cta {
  display: inline-block;
  padding: 14px 36px;
  background: #25E961;  /* verde principal */
  color: #1E4D6B;       /* texto azul profundo */
  font-weight: bold;
  border-radius: 30px;
  text-decoration: none;
  border: 2px solid #1E4D6B; /* refuerzo corporativo */
  transition: all 0.3s ease;
}

.btn-cta:hover {
  background: #FFE066; /* amarillo suave en hover */
  color: #1E4D6B;
}


/* ====== COPYRIGHT ====== */
.footer .copyright {
  margin-top: 30px;
  padding: 15px 0;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 0.85rem;
  opacity: 0.85;
}


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

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

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

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

/*--------------------------------------------------------------
# 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 {
  --default-color: var(--contrast-color);
  --background-color: var(--accent-color);
  --heading-color: var(--contrast-color);
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}


/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 80px;
  overflow: clip;
}
#nosotros,
#propuesta,
#pilares,
#testimonials {
  padding: 100px 0 !important;  /* antes 60px */
}

@media (max-width: 1199px) {

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

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

.section-title h2 {
  font-size: 25px;
  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(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 36px;
  font-weight: 700;
  font-family: var(--nav-font);
  text-transform: uppercase;
}
/* ===============================
   🎠 CARRUSEL SELVIA LABS
   =============================== */

/* Imagen del carrusel */
.carousel-item {
  position: relative;
  overflow: hidden; /* para el zoom */
}
.carousel-item img {
  height: 80vh;         
  object-fit: cover;    
  transition: transform 5s ease; /* zoom suave */
}
.carousel-item.active img {
  transform: scale(1.08); /* zoom al estar activo */
}

/* Overlay oscuro */
.carousel-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* capa oscura */
  z-index: 1;
}

/* Texto del carrusel */
.carousel-caption {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2; /* sobre el overlay */
  text-align: center;
}
.carousel-caption h2 {
  font-size: 2rem;
  font-weight: bold;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
}
.carousel-caption p {
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
}

/* Alineaciones opcionales */
.caption-left  { left: 10%; right: auto; text-align: left; }
.caption-right { right: 10%; left: auto; text-align: right; }

/* Botones dentro del carrusel */
.carousel-caption .btn {
  display: inline-block;
  padding: 12px 35px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease-in-out;
  border: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.carousel-caption .btn:hover {
  animation: pulse 0.6s ease;
}
@keyframes pulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.12); }
  100% { transform: scale(1.08); }
}

/* Estilos únicos por slide */
.btn-slide1 { background: linear-gradient(45deg, #28a745, #34d058); color: #fff; }
.btn-slide1:hover { background: linear-gradient(45deg, #34d058, #28a745); box-shadow: 0 6px 18px rgba(40,167,69,0.6); }

/* Indicadores (puntitos) */
.carousel-indicators [data-bs-target] {
  background-color: #fff;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  opacity: 0.7;
}
.carousel-indicators .active { opacity: 1; }

/* Botones de control */
.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background-color: #fff;
  opacity: 0.9;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1) grayscale(100); /* flechas negras */
  width: 20px;
  height: 20px;
}
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: #28a745;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  opacity: 1;
}
.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  filter: invert(0); /* flechas blancas */
}
.carousel-caption h2 {
  color: #fff; /* blanco */
}
/* Texto alineado a la izquierda */
.caption-left {
  right: auto;
  left: 10%;
  text-align: left;
}

/* Texto alineado a la derecha */
.caption-right {
  left: auto;
  right: 10%;
  text-align: right;
}

/* Siempre centrado verticalmente */
.carousel-caption {
  top: 50%;
  transform: translateY(-50%);
}


/* Estilo para las tarjetas */
#propuesta-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  align-items: stretch;
}

/* Efecto hover */
#propuesta-card:hover {
  transform: scale(1.07);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}


/* ====== Pilares Académicos ====== */
  .pa-section{ background:#F3F4F6; }
  .pa-title{ color:var(--pv-green); font-weight:800; }
  .pa-card{
    position:relative; background:#fff; border:1px solid #eee; border-radius:14px; padding:18px 16px;
    transition:box-shadow .2s ease, transform .2s ease;
  }
  .pa-card:hover{ box-shadow:0 12px 28px rgba(46,125,50,.12); transform:translateY(-2px); }
  .pa-card-head{ display:flex; align-items:center; gap:10px; margin-bottom:6px; }
  .pa-subtitle{ margin:0; color:#333; font-weight:700; font-size:1.05rem; }
  .pa-text{ color:var(--pa-gray); margin:0; }
  .pa-icon{
    width:40px;height:40px;border-radius:10px;display:grid;place-items:center;flex:0 0 40px;
    background:rgba(var(--acc-r),var(--acc-g),var(--acc-b),.12);
    color:rgb(var(--acc-r),var(--acc-g),var(--acc-b));
  }
  .pa-accent-bar{
    position:absolute; left:0; right:auto; bottom:-1px; height:4px; width:64px;
    background:rgb(var(--acc-r),var(--acc-g),var(--acc-b)); border-bottom-left-radius:14px; border-bottom-right-radius:6px;
  }

  /* ====== Accesibilidad / Motion ====== */
  @media (prefers-reduced-motion: reduce){
    .pv-card,.pa-card{ transition:none; }
  }
  @media (max-width:575.98px){
    .pv-art{ aspect-ratio:16/12; }
  }

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

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

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

.about .content ul i {
  font-size: 1.25rem;
  margin-right: 4px;
  color: var(--accent-color);
}

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

.about .content .read-more {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 1px;
  padding: 10px 24px 12px 24px;
  border-radius: 50px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.about .content .read-more:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  padding-right: 19px;
}

.about .content .read-more:hover i {
  margin-left: 10px;
}

.hero-section {
  background-image: url('tu-imagen.jpg'); /* Reemplaza con la ruta de tu imagen */
  background-size: cover;
  background-position: center;
  height: 100vh;
  position: relative;
}

.overlay {
  height: 100%;
  width: 100%;
  background-color: rgba(10, 11, 10, 0.2); /* Oscurece la imagen para mejor contraste */
  position: absolute;
  margin-bottom: 50px;
  top: 0;
  left: 0;
}

.content {
  z-index: 1;
}

/* Contenedor con esquinas redondeadas y recorte */
.card-mv{
  border-radius: 22px;
  overflow: hidden;              /* redondea también la imagen */
  background: transparent;
}

/* Imagen con relación 16:9 y cover */

.mv-img img{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}

/* Franja inferior */
.mv-label{
  color: #fff;
  text-align: center;
  font-weight: 600;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  padding: 18px 24px;
  border-bottom-left-radius: 22px;
  border-bottom-right-radius: 22px;
}

/* Colores (ajústalos si quieres) */
.bg-mision{
  background: linear-gradient(90deg, #c7e3d2, #c7e3d2);  /* azul oscuro degradado */
}
.bg-vision{
  background:linear-gradient(90deg, #c7e3d2, #c7e3d2); /* celeste intenso */
}

.mv-flip{
    perspective:1200px;
    height: 360px;                 /* ajusta alto de la tarjeta */
    border-radius:18px;
    outline:none;
  }
  .mv-inner{
    position:relative;
    width:100%; height:100%;
    transform-style:preserve-3d;
    transition:transform .7s ease;
    border-radius:18px;
  }
  /* Activadores del giro: hover, focus (teclado) y clase JS */
  .mv-flip:hover .mv-inner,
  .mv-flip:focus-within .mv-inner,
  .mv-flip.is-flipped .mv-inner{
    transform:rotateY(180deg);
  }

  .mv-face{
    position:absolute;
    inset:0;
    border-radius:18px;
    overflow:hidden;
    backface-visibility:hidden;
  }
  .mv-front img{
    width:100%; height:100%;
    object-fit:cover;
    display:block; 
  }
.titulo-mision {
  color: #2E7D32;
  text-transform: uppercase;
  font-family: 'Segoe UI', sans-serif;
  font-weight:800; 
  letter-spacing:.2px;
}
.titulo-vision {
  color: #2E7D32;
  text-transform: uppercase;
  font-family: 'Segoe UI', sans-serif;
  font-weight:800; 
  letter-spacing:.2px;
}
  /* Etiqueta frontal */
  .mv-label{
    position:absolute;
    left:0; right:0; bottom:0;
    padding:18px 24px;
    text-align:center;
    color:#2E7D32; font-weight:700; font-size:1.6rem;
    border: 2px solid #2E7D32;
  }
  .mv-dark{ background:#ffffff; }
  .mv-blue{ background: #00bf63; }

  /* Cara trasera */
  .mv-back{
    color:black;
    display:flex; align-items:center; justify-content:center;
    padding:28px;
    transform:rotateY(180deg);
    background:linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.15));
  }
  .mv-back.mv-dark{ background:#f2f2f2; }
  .mv-back.mv-blue{ background:#f2f2f2; }

  .mv-back-content{
    max-width:520px; text-align:center;
  }

  /* Responsivo */
  @media (max-width: 575.98px){
    .mv-flip{ height:320px; }
    .mv-label{ font-size:1.3rem; padding:14px 16px; }
  }
  /* ====== Paleta & switches ====== */
  :root{
    --pv-bg:#F5F5F5;      /* fondo Propuesta */
    --pv-green:#2E7D32;   /* verde principal */
    --pv-gray:#333;       /* texto oscuro */
    --pa-gray:#555;       /* texto medio */
    /* secundario por defecto: azul petróleo #1565C0 */
    --acc-r:21; --acc-g:101; --acc-b:192;
  }
  /* Cambia a mostaza agregando .accent-mostaza a la sección */
  .accent-mostaza{ --acc-r:249; --acc-g:168; --acc-b:37; }

  /* ====== Propuesta de Valor ====== */
  .pv-section{ background:var(--pv-bg); }
  .pv-title{ color:var(--pv-green); font-weight:800; letter-spacing:.2px; }
  .pv-desc{ color:var(--pv-gray); }

  .pv-card{
    display:flex; gap:14px; align-items:flex-start;
    background:#fff; border:1.5px solid rgba(46,125,50,.35);
    border-radius:14px; padding:14px 16px;
    transition:transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .pv-card:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(0,0,0,.06);
    border-color:rgba(46,125,50,.55);
  }
  .pv-card-title{ margin:0 0 4px; font-size:1.05rem; font-weight:700; color:#1b1b1b; }
  .pv-card-text{ margin:0; color:var(--pv-gray); }

  /* ====== Pilares Académicos ====== */
.pilares-section {
  padding: 60px 20px;
  background: #F5F5F5;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  color: #2E7D32; /* verde principal */
  margin-bottom: 40px;
}

.pilares-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* Contenedor de la tarjeta */
.pilar-card {
  perspective: 1000px; /* Necesario para el efecto 3D */
}

.pilar-inner {
  position: relative;
  width: 100%;
  height: 220px;
  text-align: center;
  transition: transform 0.8s;
  transform-style: preserve-3d;
}

.pilar-card:hover .pilar-inner {
  transform: rotateY(180deg);
}

/* Frente y reverso */
.pilar-front, .pilar-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 2px solid #2E7D32;
}

/* Frente */
.pilar-front {
  background: #fff;
  color: #2E7D32;
}

.pilar-front .pilar-icon {
  font-size: 2.5rem;
  color: #1565C0; /* secundario */
  margin-bottom: 15px;
}

/* Reverso */
.pilar-back {
  background: #2E7D32;
  color: #fff;
  transform: rotateY(180deg);
}

/*--------------------------------------------------------------
# Counts Section
--------------------------------------------------------------*/
.counts {
  padding: 25px 0;
}

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

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

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

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

.why-us .why-box h3 {
  color: var(--contrast-color);
  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: 40px 30px;
  width: 100%;
  height: 100%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.why-us .icon-box i {
  color: var(--accent-color);
  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: 700;
  margin: 0 0 30px 0;
}

.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: var(--accent-color);
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features {
  padding: 10px 0;
}

.features .features-item {
  background-color: var(--surface-color);
  display: flex;
  align-items: center;
  padding: 20px;
  transition: 0.3s;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  position: relative;
}

.features .features-item i {
  font-size: 32px;
  padding-right: 10px;
  line-height: 0;
}

.features .features-item h3 {
  font-weight: 700;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 16px;
}

.features .features-item h3 a {
  color: var(--heading-color);
  transition: 0.3s;
}

.features .features-item:hover {
  border-color: var(--accent-color);
}

.features .features-item:hover h3 a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Courses Section
--------------------------------------------------------------*/
.curso-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  height: auto;
  cursor: pointer;
  background: #fff;
  display: flex;
  flex-direction: column;
}



.curso-img {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  filter: brightness(0.9);
  transition: transform 0.4s ease;
}
.curso-card:hover .curso-img {
  transform: scale(1.05);
  filter: brightness(0.8);
}

.curso-content {
  position: static; 
  width: 100%;
  padding: 20px;
  color: #484947;
  background: linear-gradient(to top, rgba(255,255,255,0.95), rgba(177,255,149,0.3));
  opacity: 1;
  transform: none;
  transition: none;
  z-index: 1;
}

/* Titulos y texto */
.curso-content h5 {
  color: black; 

  padding: 4px 8px;
  display: inline-block;
  border-radius: 6px;
}
.curso-content p { font-size: 0.95rem; }

/* Info precio y duración */
.curso-info {
  margin-top: 10px;
  font-size: 0.9rem;
}
.curso-info .titulos,
.curso-info .datos {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-weight: bold;
}
.curso-info .titulos {
  color: black; 
}
.curso-info .datos {
  color: #08622e; 
  margin-top: 4px;
}

/* Separador | */
.curso-info .divider {
  color: #08622e; 
  font-weight: bold;
}

/* Línea divisoria */
.curso-info hr {
  border: none;
  border-top: 2px solid #BFD4D0; /* Azul profundo */
  margin: 8px auto 10px auto;
  width: 80%;
}

/* Contenedor de logos */
.cert-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px; /* más espacio entre logos */
  margin-top: 10px;
  flex-wrap: wrap;
  color: #08622e;
}

/* Estilo de cada logo */
.cert-logos img {
  height: 60px;           /* 🔑 más grandes */
  width: 60px;            /* cuadrado para que el borde circular funcione bien */
  border-radius: 50%;     /* 🔑 círculo */
  object-fit: contain;
  background: #fff;       /* fondo blanco para que siempre resalten */
  padding: 6px;           /* espacio interno */
  border: 2px solid #1E4D6B; /* azul profundo como marco */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

/* Hover con zoom más notorio */
.cert-logos img:hover {
  transform: scale(1.1);  /* 🔑 ahora crece un 40% */
  box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  z-index: 5; /* se pone encima de los demás */
}

/* Tooltip */
.cert-logos img[title] {
  position: relative;
}

.cert-logos img[title]:hover::after {
  content: attr(title);
  position: absolute;
  bottom: -35px; /* aparece debajo */
  left: 50%;
  transform: translateX(-50%);
  background: #1E4D6B; /* azul profundo */
  color: #fff;
  padding: 4px 8px;
  font-size: 0.8rem;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 10;
  opacity: 0;
  animation: fadeIn 0.3s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -5px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}

/* Botón */
.btn-curso {
  display: block;        /* 🔑 hace que ocupe toda la línea */
  margin: 15px auto 0;   /* 🔑 centra horizontalmente */
     /* Verde */
  color: #25E961;           /* Texto blanco */
  font-weight: bold;
  padding: 8px 18px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  width: fit-content;    /* 🔑 el botón se ajusta al texto */
}
.btn-curso:hover {
  background: #FFE066;   /* Amarillo */
  color: #1E4D6B;        /* Azul profundo */
}


/*--------------------------------------------------------------
# About Us Section
--------------------------------------------------------------*/
.about-us .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

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

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

.about-us .content ul i {
  font-size: 1.25rem;
  margin-right: 4px;
  color: var(--accent-color);
}

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

/*--------------------------------------------------------------
# Courses Course Details Section
--------------------------------------------------------------*/
.courses-course-details {
  padding-bottom: 20px;
}

.courses-course-details h3 {
  font-size: 24px;
  margin: 30px 0 15px 0;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.courses-course-details h3:before {
  content: "";
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  bottom: 0;
  left: 0;
}

.courses-course-details h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 1px;
  background: var(--accent-color);
  bottom: 0;
  left: 0;
}

.courses-course-details .course-info {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 10px 15px;
  margin-bottom: 15px;
}

.courses-course-details .course-info h5 {
  font-weight: 400;
  font-size: 16px;
  margin: 0;
  font-family: var(--nav-font);
}

.courses-course-details .course-info p {
  margin: 0;
  font-weight: 600;
}

.courses-course-details .course-info a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Tabs Section
--------------------------------------------------------------*/
.tabs {
  padding-top: 30;
}

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

.tabs .nav-link {
  background-color: var(--background-color);
  border: 0;
  padding: 12px 15px;
  transition: 0.3s;
  color: var(--default-color);
  border-radius: 0;
  border-right: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  font-weight: 600;
  font-size: 15px;
}

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

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

.tabs .tab-pane.active {
  animation: fadeIn 0.5s ease-out;
}

.tabs .details h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 20px;
}

.tabs .details p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.tabs .details p:last-child {
  margin-bottom: 0;
}

@media (max-width: 992px) {
  .tabs .nav-link {
    border: 0;
    padding: 15px;
  }

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

/*--------------------------------------------------------------
# Events Section
--------------------------------------------------------------*/
.events .card {
  background-color: var(--background-color);
  border: 0;
  padding: 0 30px;
  margin-bottom: 60px;
  position: relative;
}

.events .card-img {
  width: calc(100% + 60px);
  margin-left: -30px;
  overflow: hidden;
  z-index: 9;
  border-radius: 0;
}

.events .card-img img {
  max-width: 100%;
  transition: all 0.3s ease-in-out;
}

.events .card-body {
  z-index: 10;
  background: var(--surface-color);
  border-top: 4px solid var(--surface-color);
  padding: 30px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  margin-top: -60px;
  transition: 0.3s;
}

.events .card-title {
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.events .card-title a {
  color: var(--default-color);
  transition: 0.3s;
}

.events .card-text {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.events .card:hover img {
  transform: scale(1.1);
}

.events .card:hover .card-body {
  border-color: var(--accent-color);
}

.events .card:hover .card-body .card-title a {
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Pricing Section
--------------------------------------------------------------*/
.pricing .pricing-item {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  border-radius: 5px;
  position: relative;
  overflow: hidden;
}

.pricing .pricing-item h3 {
  margin: -20px -20px 20px -20px;
  padding: 20px 15px;
  font-size: 16px;
  font-weight: 600;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  background: color-mix(in srgb, var(--default-color), transparent 95%);
}

.pricing .pricing-item h4 {
  font-size: 36px;
  font-weight: 600;
  font-family: var(--heading-font);
}

.pricing .pricing-item h4 sup {
  font-size: 20px;
  top: -15px;
  left: -3px;
}

.pricing .pricing-item h4 span {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 16px;
  font-weight: 300;
}

.pricing .pricing-item ul {
  padding: 15px 0;
  list-style: none;
  text-align: center;
  line-height: 20px;
  font-size: 14px;
}

.pricing .pricing-item ul li {
  padding-bottom: 16px;
}

.pricing .pricing-item ul i {
  color: var(--accent-color);
  font-size: 18px;
  padding-right: 4px;
}

.pricing .pricing-item ul .na {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-decoration: line-through;
}

.pricing .btn-wrap {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  margin: 0 -20px -20px -20px;
  padding: 20px 15px;
  text-align: center;
}

.pricing .btn-buy {
  background: var(--accent-color);
  color: var(--contrast-color);
  display: inline-block;
  padding: 8px 35px 10px 35px;
  border-radius: 4px;
  transition: none;
  font-size: 14px;
  font-weight: 400;
  font-family: var(--heading-font);
  font-weight: 600;
  transition: 0.3s;
}

.pricing .btn-buy:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

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

.pricing .advanced {
  background: var(--accent-color);
  color: var(--contrast-color);
  width: 200px;
  position: absolute;
  top: 18px;
  right: -68px;
  transform: rotate(45deg);
  z-index: 1;
  font-size: 14px;
  padding: 1px 0 3px 0;
}
/*--------------------------------------------------------------
# metodo Section
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact {
  padding-top: 100px;
  padding-bottom: 75px;
}

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

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

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

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

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

.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: color-mix(in srgb, var(--background-color), transparent 50%);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px 12px 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%);
}

/*--------------------------------------------------------------
# Mejora visual para nosotros.php
--------------------------------------------------------------*/
#nosotros, #propuesta, #pilares {
  padding-top: 60px;
  padding-bottom: 60px;
}
#nosotros .page-title, #propuesta .page-title, #pilares .page-title {
  background: linear-gradient(90deg, #5fcf80 0%, #38a3a5 100%);
  color: #fff;
  border-radius: 1rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 24px rgba(56,163,165,0.08);
}
#nosotros .page-title h1, #propuesta .page-title h1, #pilares .page-title h1 {
  color: #fff;
  font-weight: 800;
  letter-spacing: 1px;
}
#nosotros ul li, #propuesta ul li {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
#nosotros .bi-check-circle, #propuesta .bi-check-circle {
  color: #5fcf80;
  font-size: 1.3em;
  margin-right: 8px;
}
#identidad-estrategica .card {
  border: none;
  border-radius: 1.5rem;
  box-shadow: 0 2px 16px rgba(56,163,165,0.10);
  background: #fff;
  transition: transform 0.2s;
}
#identidad-estrategica .card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(56,163,165,0.15);
}
#identidad-estrategica .testimonial-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 1rem;
}
#trainers .member-img img {
  border-radius: 1rem;
  border: 3px solid #5fcf80;
}
#trainers .member-info h4 {
  color: #38a3a5;
  font-weight: 700;
}
#pilares .card {
  border-radius: 1.5rem;
  box-shadow: 0 2px 16px rgba(56,163,165,0.10);
  border: none;
  margin-bottom: 2rem;
  background: #f9f9f9;
}
#pilares .card-img img {
  border-radius: 1.5rem 1.5rem 0 0;
  object-fit: cover;
  height: 180px;
  width: 100%;
}
#pilares .card-title a {
  color: #5fcf80;
  font-weight: 700;
  font-size: 1.2rem;
}
#pilares .card-text {
  font-size: 1.05rem;
  color: #444;
}
@media (max-width: 991px) {
  #nosotros .page-title, #propuesta .page-title, #pilares .page-title {
    border-radius: 0.5rem;
  }
  #pilares .card-img img {
    height: 120px;
  }
}
/* Efecto hover en Pilares */
#pilares .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#pilares .card:hover {
  transform: translateY(-8px); /* levanta la tarjeta */
  box-shadow: 0 8px 20px rgb(255, 0, 0);
}

#pilares .card img {
  transition: transform 0.4s ease;
}

#pilares .card:hover img {
  transform: scale(1.08); /* zoom en la imagen */
}

#pilares .card-title,
#pilares .card-text {
  transition: color 0.3s ease;
}

#pilares .card:hover .card-title,
#pilares .card:hover .card-text {
  color: #25f025 !important; /* azul Bootstrap, cámbialo si quieres */
}
#pilares .card-img-top {
  height: 200px;           /* todas las imágenes tendrán la misma altura */
  object-fit: cover;       /* recorta y centra la imagen */
  object-position: center; /* asegura que quede centrada */
  border-radius: 8px;      /* opcional: esquinas suaves */
}
/*--------------------------------------------------------------
#talleres
--------------------------------------------------------------*/
/* estilos actuales */
.programa-card {
      border-radius: 15px;
      overflow: hidden;
      background: #EBF3F1;
      box-shadow: 0 6px 15px rgba(0,0,0,0.15);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      height: 100%; /* Para igualar alturas */
    }

    .programa-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    }

    .programa-card img {
      width: 100%;
      height: 180px;
      object-fit: cover;
    }

  .programa-info {
      padding: 20px;
    }
.programa-info h5{
  color: #000;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
}
.programa-info p{
  color: #1E4D6B;
}

  /*porque elegir selvia labs*/
    /* Contenedor con fondo suave */
  .section-box {
    background: linear-gradient(135deg, #f8fbff, #f0f4ff);
    border-radius: 15px;
    padding: 40px;
  }

  /* Tarjetas */
  .card-propuesta {
    background: #fff;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding: 30px 20px;
    text-align: center;
    height: 100%;
    cursor: pointer;
    position: relative;
  overflow: hidden;
  }

  /* Hover */
  .card-propuesta:hover {
    transform: rotateX(5deg) rotateY(5deg) scale(1.05);
    background: linear-gradient(135deg, #e6f7f1, #ffffff);
    box-shadow: 0 10px 25px rgba(25, 135, 84, 0.4); /* sombra verde */
    z-index: 2;
  }

  /* Íconos */
  .card-propuesta i {
    font-size: 2.5rem;
    color: #198754;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
  }

  .card-propuesta:hover i {
   transform: scale(1.2) translateY(-5px);
  }
  .card-propuesta::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: 12px;
  transition: border-color 0.3s ease;
}
.card-propuesta:hover::after {
  border-color: #198754; /* Verde */
}
.card-propuesta h5 {
  position: relative;
  display: inline-block;
}
.card-propuesta h5::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 3px;
  background: #198754;
  transition: width 0.3s ease;
}
.card-propuesta:hover h5::after {
  width: 100%;
}
.taller-card {
  transition: box-shadow 0.3s, transform 0.3s;
}
.taller-card:hover {
  box-shadow: 0 8px 24px rgba(40,167,69,0.15), 0 1.5px 6px rgba(0,0,0,0.08);
  transform: translateY(-8px) scale(1.03);
  z-index: 2;
}
/*--------------------------------------------------------------
#metodologia
--------------------------------------------------------------*/

/* ---------- NOTAS ---------- */
.nota {
  width: 100%;
  min-height: 200px;
  padding: 20px;
  border-radius: 8px 8px 20px 8px;
  text-align: center;
  font-family: "exo 2";
  font-weight: 600;
  font-size: 1.1rem;
  line-height: 1.4;
  position: relative;
  background: #fff9b1;
  background-image: repeating-linear-gradient(to bottom, transparent 0, transparent 28px, rgba(0,0,0,0.03) 29px);
  box-shadow: 6px 8px 14px rgba(0,0,0,0.25), inset 0 -3px 8px rgba(0,0,0,0.1);
  transition: transform 0.4s cubic-bezier(.25,.8,.25,1), box-shadow 0.4s ease, background 0.4s ease;
  opacity: 0;
  transform: scale(0.3) rotate(-180deg);
  animation: aparecer 0.7s forwards;
}

/* Animación progresiva de las notas */
.nota-1 { animation-delay: 0s; }
.nota-2 { animation-delay: 0.3s; }
.nota-3 { animation-delay: 0.6s; }
.nota-4 { animation-delay: 0.9s; }
.nota-5 { animation-delay: 1.2s; }
.nota-6 { animation-delay: 1.5s; }

/* Alfiler que aparece después de la nota */
.nota::before {
  content: "📌";
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%) scale(0);
  font-size: 28px;
  opacity: 0;
  animation: clavar 0.3s forwards;
}


/* Retraso del alfiler: un poco después de la nota */
.nota-1::before { animation-delay: 0.7s; }
.nota-2::before { animation-delay: 1s; }
.nota-3::before { animation-delay: 1.3s; }
.nota-4::before { animation-delay: 1.6s; }
.nota-5::before { animation-delay: 1.9s; }
.nota-6::before { animation-delay: 2.2s; }

/* Punta inferior de la nota */
.nota::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: 0;
  border-bottom: 25px solid rgba(0,0,0,0.1);
  border-left: 25px solid transparent;
  border-radius: 2px;
}

/* Hover dinámico */
.nota:hover {
  transform: scale(1.1) rotate(3deg) translateY(-5px);
  box-shadow: 12px 16px 26px rgba(0,0,0,0.45);
  z-index: 5;
}

/* Animación aparición de la nota */
@keyframes aparecer {
  from { opacity: 0; transform: scale(0.3) rotate(-180deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* Animación del alfiler */
@keyframes clavar {
  from { transform: translateX(-50%) scale(0); opacity: 0; }
  to { transform: translateX(-50%) scale(1); opacity: 1; }
}

/* Texto dentro de la nota */
.nota p {
  font-size: 0.9rem;
  font-weight: 400;
  margin-top: 12px;
  color: #000;
}

/* Colores por nota */
.nota-1 { background: linear-gradient(135deg, #25E961, #D0D0D0); }
.nota-2 { background: linear-gradient(135deg, #25E961, #D0D0D0); }
.nota-3 { background: linear-gradient(135deg, #25E961, #D0D0D0); }
.nota-4 { background: linear-gradient(135deg, #25E961, #D0D0D0); }
.nota-5 { background: linear-gradient(135deg, #25E961, #D0D0D0); }
.nota-6 { background: linear-gradient(135deg, #25E961, #D0D0D0); }

.hero-notes {
  position: relative;
}

.persona-img {
  position: absolute;
  bottom: 0px;   /* la baja un poco hacia el footer */
  left: 120px;
  width: 350px;    /* agrandada */
  max-width: none; /* evita que se limite */
  z-index: 2;      /* encima de fondo pero debajo de notas si quieres */
}

/* ====== FORMULARIO DE CONTACTO (SELVIA LABS) ====== */
.contact-section {
  padding: 80px 20px;
  background: #f5f9f7;
}

.contact-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch; /* 🔑 hace que ambas columnas tengan la misma altura */
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

/* Imagen izquierda */
.contact-img {
  flex: 1 1 45%;
  display: flex;              /* 🔑 */
  align-items: stretch;       /* 🔑 */
}

.contact-img img {
  width: 100%;
  height: 100%;               /* 🔑 se ajusta al alto del contenedor (formulario) */
  object-fit: cover;          /* mantiene proporción sin deformar */
}

/* Formulario derecha */
.contact-form {
  flex: 1 1 55%;
  padding: 50px 40px;
  background: #EBF3F1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form h2 {
  color: #1E4D6B;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-form p {
  color: #2E7D32;
  margin-bottom: 25px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #1E4D6B;
}

.contact-form input,
.contact-form select {
  width: 100%;
  padding: 10px 12px;
  border: 2px solid #BFD4D0;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus {
  border-color: #25E961;
  outline: none;
}

.btn-enviar {
  background: #25E961;
  color: #1E4D6B;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 25px;
  border: 2px solid #1E4D6B;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-enviar:hover {
  background: #FFE066;
  color: #1E4D6B;
}

/* Adaptación móvil */
@media (max-width: 768px) {
  .contact-wrapper {
    flex-direction: column;
  }

  .contact-img {
    height: 250px; /* 🔑 altura razonable en móviles */
  }

  .contact-form {
    padding: 30px 20px;
  }
}

/* ====== LÍNEA DECORATIVA ANTES DEL TÍTULO ====== */
.section-divider {
  width: 120px;
  height: 4px;
  background: #25E961;
  margin: 0 auto 25px auto;
  border-radius: 10px;
}
.inicio-clases{
  background-color: #198754;text-align:center;padding:10px;color:white;font-weight:bold;font-size:22pt
}

/* ===== BOTONES DE FILTRO ===== */
.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.btn-filter {
  border: 2px solid #1E4D6B;
  color: #1E4D6B;
  background: #fff;
  border-radius: 25px;
  padding: 8px 18px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}
.btn-filter.active,
.btn-filter:hover {
  background: #25E961;
  color: #1E4D6B;
}

/* ===== BOTÓN SOLICITAR INFO ===== */
.btn-info-selvia {
  display: inline-block;
  background: #25E961;
  color: #1E4D6B;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 25px;
  border: 2px solid #1E4D6B;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}
.btn-info-selvia:hover {
  background: #FFE066;
  color: #1E4D6B;
}

/* ===== HOVER TARJETAS ===== */
.programa-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}
.programa-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(37,233,97,0.25);
}
.programa-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-right: 3px solid #25E961;
}
/* ===== PROCESO METODOLÓGICO ===== */
.circle-step {
  width: 45px;
  height: 45px;
  background: #25E961;
  color: #1E4D6B;
  font-weight: 700;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(37,233,97,0.3);
}

.step-box {
  transition: all 0.3s ease;
}
.step-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(37,233,97,0.25);
}
/* ======== BOTÓN PRINCIPAL ======== */
.btn-enviar {
  background: #25E961;
  color: #1E4D6B;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 25px;
  border: 2px solid #1E4D6B;
  transition: all .3s ease;
}
.btn-enviar:hover {
  background: #FFE066;
  color: #1E4D6B;
}

/* ======== CAMPOS DE FORMULARIO ======== */
.php-email-form .form-control {
  border-radius: 12px;
  border: 1px solid #ddd;
  transition: 0.3s ease;
}
.php-email-form .form-control:focus {
  border-color: #25E961;
  box-shadow: 0 0 0 0.2rem rgba(37,233,97,0.25);
}

/* ======== ICONOS DE INFO ======== */
section i {
  transition: transform .3s ease;
}
section i:hover {
  transform: scale(1.2);
}


/* ====== BOTÓN FLOTANTE DE WHATSAPP ====== */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  background-color: #20be5a;
  transform: scale(1.1);
  color: #fff;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 26px;
    bottom: 20px;
    right: 20px;
  }
}

.accordion-button {
  background-color: #f8f9fa;
  font-weight: 600;
  color: #1E4D6B;
}
.accordion-button:not(.collapsed) {
  background-color: #25E961;
  color: #1E4D6B;
}
.accordion-button:focus {
  box-shadow: none;
}
.accordion-body ul {
  padding-left: 1.2rem;
}
.accordion-body li {
  margin-bottom: 5px;
}
