/*-----------------------------------------------------------------------------------
Theme Name: Edification
Author: Jsoft
Version: 1.0
Description: Responsive Education HTML5 Template
-----------------------------------------------------------------------------------
 CSS INDEX===================
    ##== Default Css
    1. Home One 
    1.1 Header Top 
    1.2 Header Bottom 
    1.3 Slider Area 
    1.4 About Area 
    1.5 Course Area 
    1.6 Take Toure Area 
    1.7 Teacher Area 
    1.8 Event Area 
    1.9 Testimonial Area 
    1.10 Feature Blog 
    1.11 Call to Action 
    1.12 Footer Area 
    2. Home Two 
    3. Home Three 
    4. Courses
    5. Courses Details
    6. Teacher Details
    7. About
    8. Contact
    9. Blog Details
   10. 404
   11. Color Switcher
   12. HERO PREMIUM
   13. CURSOS ÉLITE
   14. DOCENTES ÉLITE
   15. EVENTOS ÉLITE
   16. TESTIMONIALES ÉLITE
   17. BLOG ÉLITE
   18. CTA ÉLITE
   19. FOOTER ÉLITE
   20. ANIMACIONES ÉLITE
   21. BOTONES ÉLITE
   22. HEADER COMPACTO Y ELEGANTE
-----------------------------------------------------------------------------------*/

/* ===== IMPORTACIÓN DE POPPINS (MODERNA Y LEGIBLE) ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

/*============================================
    VARIABLES DE COLOR - PALETA INSTITUCIONAL
=============================================*/
:root {
    --azul-principal: #252855;
    --gris: #5d5d5c;
    --blanco: #ffffff;
    --degradado-interno: #182e4e;
    --degradado-externo: #141b28;
    --color-linea: #141d33;
    --acento: #252855; /* Color para acentos (antes era naranja) */
}

/*============================================
    ##== Default Css
*=============================================*/

/* Keyframes for animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

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

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-180deg);
  }
  to {
    opacity: 1;
    transform: rotate(0deg);
  }
}

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

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

/* Animation classes */
.animate-fadeInUp {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.animate-fadeInLeft {
  animation: fadeInLeft 0.8s ease-out forwards;
  opacity: 0;
}

.animate-fadeInRight {
  animation: fadeInRight 0.8s ease-out forwards;
  opacity: 0;
}

.animate-zoomIn {
  animation: zoomIn 0.8s ease-out forwards;
  opacity: 0;
}

.animate-bounceIn {
  animation: bounceIn 1s ease-out forwards;
  opacity: 0;
}

.animate-slideInUp {
  animation: slideInUp 0.8s ease-out forwards;
  opacity: 0;
}

.animate-slideInDown {
  animation: slideInDown 0.8s ease-out forwards;
  opacity: 0;
}

.animate-rotateIn {
  animation: rotateIn 0.8s ease-out forwards;
  opacity: 0;
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* Hover effects for cards */
.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(37, 40, 85, 0.15);
  transition: all 0.3s ease;
}

.card img {
  transition: transform 0.3s ease;
}

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

/* Hover effects for buttons */
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(37, 40, 85, 0.2);
}

.btn-primary:hover {
  animation: pulse 0.6s ease-in-out;
}

.btn-light:hover {
  transform: translateY(-2px) scale(1.05);
}

/* Hover effects for links and icons */
a:hover {
  transform: none;
}

.social li a:hover {
  transform: rotate(360deg) scale(1.2);
  transition: all 0.5s ease;
}

/* Parallax effect for backgrounds */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

.float {
  animation: float 3s ease-in-out infinite;
}

/* Glow effect - AHORA CON AZUL */
.glow {
  box-shadow: 0 0 20px rgba(37, 40, 85, 0.3);
  transition: box-shadow 0.3s ease;
}

.glow:hover {
  box-shadow: 0 0 30px rgba(37, 40, 85, 0.5);
}

/* Shake animation */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake:hover {
  animation: shake 0.5s ease-in-out;
}

/* Flip effect for cards */
.flip-card {
  background-color: transparent;
  perspective: 1000px;
}

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

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

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-back {
  transform: rotateY(180deg);
}

/* Typing effect */
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: var(--azul-principal); }
}

.typing {
  overflow: hidden;
  border-right: 2px solid var(--azul-principal);
  white-space: nowrap;
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

/* Gradient animation - AHORA CON AZULES */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gradient-bg {
  background: linear-gradient(-45deg, var(--azul-principal), var(--degradado-interno), var(--color-linea), var(--azul-principal));
  background-size: 400% 400%;
  animation: gradientShift 4s ease infinite;
}

/* Styles for highlight phrase */
@keyframes colorCycle {
  0% { color: var(--azul-principal); }
  25% { color: var(--degradado-interno); }
  50% { color: var(--color-linea); }
  75% { color: var(--azul-principal); }
  100% { color: var(--azul-principal); }
}

.highlight-phrase {
  position: relative;
  display: inline-block;
  animation: colorCycle 3s infinite;
  font-weight: 900;
  text-shadow: 0 0 10px rgba(37, 40, 85, 0.3);
}

/* Enhanced hover effects for cards */
.card:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 20px 40px rgba(37, 40, 85, 0.2);
  transition: all 0.4s ease;
}

.card img {
  transition: transform 0.4s ease, filter 0.4s ease;
}

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

/* ===== TIPOGRAFÍA PRINCIPAL: POPPINS ===== */
body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: var(--gris);
  line-height: 26px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
  font-weight: 700;
  color: #5d5d5c !important;
  font-family: 'Poppins', sans-serif;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  font-weight: inherit;
  font-size: inherit;
}

h1 {
  font-size: 40px;
  line-height: 70px;
  letter-spacing: 1px;
  margin-bottom: 0px;
}

h2 {
  font-size: 42px;
  line-height: 52px;
  margin-bottom: 0px;
}

h3 {
  font-size: 28px;
  line-height: 38px;
  margin-bottom: 0px;
}

h4 {
  font-size: 20px;
  line-height: 30px;
}

h5 {
  font-size: 18px;
  line-height: 28px;
}

h6 {
  font-size: 16px;
  line-height: 26px;
}

p {
  font-weight: normal;
  letter-spacing: 0;
  font-size: 16px;
  line-height: 28px;
  margin-bottom: 30px;
}

ul.list-inline {
  display: block;
}

ul.list-inline li {
  display: inline-block;
}

/*Animation*/
.btn,
a {
  -webkit-transition: all 0.5s ease-out 0s;
  -moz-transition: all 0.5s ease-out 0s;
  -ms-transition: all 0.5s ease-out 0s;
  -o-transition: all 0.5s ease-out 0s;
  transition: all 0.5s ease-out 0s;
  color: #333;
}

a:focus,
a:hover {
  color: var(--azul-principal) !important;
}

*::-moz-selection {
  background: var(--azul-principal);
  color: var(--blanco);
  text-shadow: none;
}

::-moz-selection {
  background: var(--azul-principal);
  color: var(--blanco);
  text-shadow: none;
}

::selection {
  background: var(--azul-principal);
  color: var(--blanco);
  text-shadow: none;
}

.btn-lg {
  padding: 22px 40px !important;
}

.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 12px;
  padding: 18px 40px;
  border-radius: 3px;
  border: none;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
}

.btn-sm {
  padding: 12px 20px;
}

.btn-primary {
  background: var(--azul-principal) !important;
  color: var(--blanco);
  border: 1px solid var(--azul-principal) !important;
  transform: scale(1);
  transition: all 0.3s ease;
}

.btn-primary:focus,
.btn-primary:hover {
  background-color: var(--degradado-interno) !important;
  color: var(--blanco) !important;
  border-color: var(--degradado-externo) !important;
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(37, 40, 85, 0.3);
}

.btn-light {
  background-color: var(--blanco) !important;
  color: var(--azul-principal) !important;
  border-color: var(--blanco) !important;
}

.btn-light:focus,
.btn-light:hover {
  background-color: var(--azul-principal) !important;
  color: var(--blanco) !important;
  border-color: var(--degradado-interno) !important;
}

.btn-round {
  border-radius: 50px;
}

.primary-bg {
  background-color: var(--azul-principal);
}

/*============================================
    1. Home One / 1.1 Header Top
*=============================================*/

#header {
  position: relative;
}

.header-top {
  background-color: var(--azul-principal);
  padding: 10px 0;
}

.ht-address ul li {
  display: inline-block;
  color: var(--blanco);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  margin-right: 17px;
}

.ht-address ul li i {
  font-size: 21px;
  margin-right: 7px;
  vertical-align: middle;
}

.ht-social {
  text-align: right;
}

.ht-social ul li {
  display: inline-block;
}

.ht-social ul li a {
  display: block;
  color: var(--blanco);
  font-size: 16px;
  margin-left: 10px;
}

/*============================================
    END Header Top
*=============================================*/

/*============================================
    1.2 Header Bottom
*=============================================*/

.header-bottom {
  position: absolute;
  left: 0;
  z-index: 998;
  width: 100%;
  -webkit-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.sticky-header {
  position: fixed;
  top: 0;
  background: var(--color-linea);
}

.header-bottom-inner {
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  -webkit-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.sticky-header .header-bottom-inner {
  border-color: var(--color-linea);
}

.logo a {
  display: inline-block;
}

.main-menu nav ul li {
  display: inline-block;
  position: relative;
}

.main-menu {
  text-align: right;
}

.main-menu nav ul li a {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #252855;
  text-transform: uppercase;
  padding: 43px 17px;
  font-family: 'Poppins', sans-serif;
}

.sticky-header .main-menu nav > ul > li > a {
  padding: 38px 17px;
}

.main-menu nav ul li > a:hover,
.main-menu nav ul li.active > a {
  color: var(--blanco);
  opacity: 0.9;
}

/*submenu*/
.main-menu nav .submenu {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 99;
  width: 160px;
  background-color: var(--blanco);
  text-align: left;
  -webkit-transform: scaley(0);
  -ms-transform: scaley(0);
  -o-transform: scaley(0);
  transform: scaley(0);
  transform-origin: top;
  -webkit-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.main-menu nav ul li:hover > .submenu {
  -webkit-transform: scaley(1);
  -ms-transform: scaley(1);
  -o-transform: scaley(1);
  transform: scaley(1);
}

.main-menu nav .submenu li {
  display: block;
}

.main-menu nav .submenu li a {
  color: var(--color-linea);
  padding: 16px 15px;
  border-bottom: 1px solid #f1ebeb;
  font-family: 'Poppins', sans-serif;
}

/* mobile menu slicknav*/
.slicknav_menu .slicknav_menutxt {
  display: none;
}

.slicknav_menu {
  background: transparent;
  margin-top: 21px;
}

.slicknav_menu .slicknav_icon-bar {
  background-color: var(--blanco);
  height: 2px;
  width: 19px;
  margin: 3px 0px;
  -webkit-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.slicknav_btn {
  background-color: transparent;
  position: relative;
  margin-top: -42px;
  cursor: pointer;
}

.slicknav_menu .slicknav_open .slicknav_icon-bar:nth-child(2) {
  opacity: 0;
}

.slicknav_menu .slicknav_open .slicknav_icon-bar:nth-child(1) {
  -webkit-transform: rotate(45deg) translate(1px, 7px);
  transform: rotate(45deg) translate(1px, 7px);
}

.slicknav_menu .slicknav_open .slicknav_icon-bar:nth-child(3) {
  -webkit-transform: rotate(-45deg) translateY(-6px);
  transform: rotate(-45deg) translateY(-6px);
}

.slicknav_menu {
  margin: 10px 0;
  padding: 0;
}

.slicknav_nav {
  background: var(--color-linea);
  margin: 0;
  padding: 0;
}

.slicknav_nav a:hover {
  background: var(--azul-principal);
  border-radius: 0;
}

.slicknav_nav a {
  font-size: 14px;
  letter-spacing: 0.01em;
  font-family: 'Poppins', sans-serif;
}

.slicknav_nav .slicknav_arrow {
  float: right;
}

.slicknav_nav .slicknav_row:hover,
.slicknav_nav .slicknav_row:hover .slicknav_arrow {
  border-radius: 0;
  background-color: var(--azul-principal);
}

/*mobile menu end*/
.hb-right {
  margin-left: -18px;
}

.hb-right ul li {
  font-size: 18px;
  color: var(--blanco);
  cursor: pointer;
  text-align: right;
}

/*search form*/
.offset-search {
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 999;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
}

.offset-search form {
  position: relative;
}

.offset-search input {
  height: 50px;
  width: 500px;
  max-width: 100%;
  padding-right: 50px;
  padding-left: 20px;
  letter-spacing: 0;
  color: var(--color-linea);
  border: none;
  border-radius: 2px;
  font-family: 'Poppins', sans-serif;
}

.offset-search button {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 50px;
  border: none;
  background: var(--azul-principal);
  color: var(--blanco);
  font-size: 18px;
  cursor: pointer;
  border-radius: 0 2px 2px 0;
}

/*offset area*/
.body_overlay {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 998;
  height: 100vh;
  width: 100%;
  cursor: pointer;
  background-color: var(--azul-principal);
  visibility: hidden;
  opacity: 0;
  -webkit-transition: all 0.3s ease 0s;
  -o-transition: all 0.3s ease 0s;
  transition: all 0.3s ease 0s;
  cursor: url(../images/icon/cross-cursor.png), auto;
}

.show_hide {
  opacity: 1;
  visibility: visible;
}

/*============================================
    END Header Bottom
*=============================================*/

/*============================================
    1.3 Slider Area
*=============================================*/

.slider_item {
  min-height: 825px;
  display: flex;
  align-items: center;
  padding-top: 120px;
  background: linear-gradient(135deg, rgba(37, 40, 85, 0.1) 0%, rgba(37, 40, 85, 0.05) 100%);
  position: relative;
  overflow: hidden;
}

.slider_item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/bg/slider.webp') center/cover no-repeat;
  z-index: -1;
  animation: parallax 20s linear infinite;
}

.slider-content h3 {
  font-size: 30px;
  text-transform: uppercase;
  position: relative;
  padding-left: 70px;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}

.slider-content h3:before {
  content: "";
  height: 2px;
  width: 50px;
  background: var(--azul-principal);
  position: absolute;
  left: 0;
  top: 12px;
}

.slider-content h1 {
  font-size: 52px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 70px;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
}

.slider-content h1 span {
  display: block;
}

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

.text-color {
  color: var(--azul-principal);
}

.slider-content p {
  font-size: 16px;
  font-weight: 400;
  font-style: italic;
}

/*============================================
    END Slider Area
*=============================================*/

/*============================================
    1.4 About Area
*=============================================*/

.section-title {
  position: relative;
  margin-bottom: 50px;
}

.section-title > span {
  display: block;
  font-weight: 700;
  color: #5d5d5c !important;
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}

.section-title-style2 span {
    display: block;
    font-weight: 700;
    color: #5d5d5c !important;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

.line-break {
  display: block;
}

.about-left-content p {
  font-weight: 400;
}

.abt-right-thumb {
  height: 100%;
  padding: 20px;
  background: #f9f9f9;
  box-shadow: 0px 0px 21px 11px rgba(37, 40, 85, 0.1);
}

.abt-rt-inner {
  height: 100%;
  display: flex;
  background: url(../images/about/abt-right-thumb.webp) center/cover no-repeat;
}

a.expand-video {
  margin: auto;
  height: 78px;
  width: 78px;
  background: var(--azul-principal);
  text-align: center;
  line-height: 78px;
  border-radius: 50%;
  color: var(--blanco);
  font-size: 24px;
}

a.expand-video i {
  position: relative;
  right: -2px;
}

a.expand-video:focus,
a.expand-video:hover {
  background-color: var(--degradado-interno);
  color: var(--blanco);
}

/*============================================
    END About Area
*=============================================*/

/*============================================
    1.5 Course Area
*=============================================*/

/* ESTOS ESTILOS ESTÁN EN default-css.css - NO DUPLICAR */
/* Solo mantenemos lo específico de courses */

.cs-price {
  position: absolute;
  right: -10px;
  top: 23px;
  color: var(--blanco);
  padding: 6px 12px;
  background: var(--azul-principal);
}

.cs-price:before {
  content: "";
  position: absolute;
  right: 0;
  top: -9px;
  border-left: 10px solid var(--azul-principal);
  border-top: 9px solid transparent;
}

.course-meta-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.course-meta-text {
  flex-basis: calc(100% - 41px);
}

.course-meta-text h4 a {
  color: var(--blanco);
  display: block;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 28px;
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}

.course-meta-text h4 a:hover {
  color: var(--blanco);
  opacity: 0.9;
}

ul.course-meta-stats li {
  display: inline-block;
  margin-right: 15px;
}

ul.course-meta-stats li:last-child {
  margin-right: 0;
}

ul.course-meta-stats li i {
  color: #ffc107;
}

.course-meta-thumbnail {
  height: auto;
  width: 40px !important;
}

.course-meta-details span {
  font-size: 14px;
  color: var(--blanco);
  font-family: 'Poppins', sans-serif;
}

.course-meta-details p {
  font-size: 15px;
  margin-bottom: 0;
  margin-top: 0;
  color: rgba(255,255,255,0.7);
  font-family: 'Poppins', sans-serif;
}

.course-meta-details li {
  border-right: 1px solid rgba(255,255,255,0.2);
  display: table-cell !important;
  flex: 1 1 0 !important;
  text-align: center;
}

.course-meta-details {
  display: table !important;
  flex-flow: row wrap;
  justify-content: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 20px;
}

.course-meta-details li:last-child {
  border-right: 0 none;
}

.blog-carousel .owl-nav,
.course-carousel .owl-nav,
.teacher-carousel .owl-nav {
  position: absolute;
  right: 0;
  top: -78px;
}

.blog-carousel .owl-nav div,
.course-carousel .owl-nav div,
.teacher-carousel .owl-nav div {
  height: 43px;
  width: 43px;
  background: var(--azul-principal);
  display: inline-block;
  margin-left: 5px;
  border-radius: 50%;
  color: var(--blanco);
  text-align: center;
  line-height: 42px;
  font-size: 24px;
  transition: all 0.3s ease 0s;
}

.blog-carousel .owl-nav div:hover,
.course-carousel .owl-nav div:hover,
.teacher-carousel .owl-nav div:hover {
  background: var(--degradado-interno);
}

/*============================================
    END Course Area
*=============================================*/

/*============================================
    1.6 Take Toure Area
*=============================================*/

.take-toure-area {
  background: var(--degradado-externo);
  position: relative;
  z-index: 1;
}

.take-toure-area:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  height: 386px;
  width: 100%;
  background: var(--blanco);
}

.sec-style-two {
  text-align: center;
}

img.title-top-shape {
  margin-bottom: 20px;
}

.sec-style-two h2 {
  color: var(--blanco);
}

.sec-style-two > span {
  color: var(--blanco);
}

.video-area {
  position: relative;
  z-index: 1;
  height: 570px;
  display: flex;
  border-radius: 10px;
  overflow: hidden;
  background: url(../images/bg/take-toure-bg.webp) center/cover no-repeat;
}

.video-area:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
  background: var(--color-linea);
  opacity: 0.7;
}

/*============================================
    END Take Toure Area
*=============================================*/

/*============================================
    1.7 Teacher Area
*=============================================*/

.teacher-area {
  position: relative;
  z-index: 1;
}

.teacher-area .card-title.mb-4 {
  margin-bottom: 0 !important;
}

.teacher-area:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  height: 400px;
  width: 100%;
  background: var(--degradado-externo);
}

.teacher-content ul li a {
  font-size: 16px;
}

/*============================================
    END Teacher Area
*=============================================*/

/*============================================
    1.8 Event Area
*=============================================*/

.media {
  border: 1px solid #efefef;
  transition: all 0.5s ease;
  background: var(--blanco);
}

.media:hover {
  box-shadow: 0px 2px 18.9px 8.1px rgba(37, 40, 85, 0.15);
  transform: translateY(-5px);
}

.media-head {
  padding: 25px;
  text-align: center;
  width: 165px;
}

.media-head span {
  font-size: 24px;
  font-weight: 600;
  color: var(--blanco);
  letter-spacing: 0;
  font-family: 'Poppins', sans-serif;
}

.media-head span sub {
  font-size: 14px;
  text-transform: uppercase;
  margin-right: 7px;
}

.media-head p {
  font-size: 48px;
  font-weight: 700;
  color: var(--blanco);
  letter-spacing: 0;
  line-height: 50px;
  margin-top: 5px;
  margin-bottom: 0;
  font-family: 'Poppins', sans-serif;
}

.media-body {
  flex: 1;
  padding-left: 50px;
}

.media-body h4 a {
  font-size: 24px;
  font-weight: 700;
  color: var(--azul-principal);
  letter-spacing: 0;
  margin-bottom: 10px;
  display: block;
  font-family: 'Poppins', sans-serif;
}

.media-body p {
  font-weight: 400;
  margin-bottom: 0;
  font-family: 'Poppins', sans-serif;
}

.media-body p i {
  color: var(--azul-principal);
  margin-right: 8px;
}

/*============================================
    END Event Area
*=============================================*/

/*============================================
    1.9 Testimonial Area
*=============================================*/

.testimonial-area {
  background: linear-gradient(135deg, var(--degradado-externo), var(--color-linea));
  position: relative;
  z-index: 1;
}

img.tst-bg {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: -1;
  transform: translate(-50%, -50%);
  opacity: 0.1;
}

.testimonial-content h3 {
  font-weight: 700;
  color: var(--blanco);
  letter-spacing: 0;
  font-style: italic;
  line-height: 46px;
  margin-bottom: 35px;
  font-family: 'Poppins', sans-serif;
}

.testimonial-content h4 {
  font-weight: 400;
  color: var(--blanco);
  font-family: 'Poppins', sans-serif;
}

.testimonial-content > span {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0;
  font-style: italic;
  font-family: 'Poppins', sans-serif;
}

/*============================================
    END Testimonial Area
*=============================================*/

/*============================================
    1.10 Feature Blog
*=============================================*/

.card-body ul li {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  padding-right: 10px;
  font-family: 'Poppins', sans-serif;
}

.card-body ul li i {
  margin-right: 5px;
}

.blog-content h4 a {
  display: block;
  font-size: 22px;
  font-family: 'Poppins', sans-serif;
}

/*============================================
    END Feature Blog
*=============================================*/

/*============================================
    1.11 Call to Action
*=============================================*/

.cta-content span {
  font-weight: 400;
  letter-spacing: 0;
  font-family: 'Poppins', sans-serif;
}

.cta-content h2 {
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
  font-size: 36px;
  font-family: 'Poppins', sans-serif;
}

.cta-btn {
  text-align: right;
}

.cta-btn .btn-light:hover {
  border-color: var(--blanco) !important;
}

.cta-area {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/*============================================
    END Call to Action
*=============================================*/

/*============================================
    1.12 Footer Area
*=============================================*/

.footer-top {
  background: linear-gradient(135deg, var(--degradado-externo), var(--color-linea));
}

.widget-company > a {
  display: inline-block;
  margin-bottom: 40px;
}

.widget-company > p {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255,255,255,0.9);
  margin-bottom: 24px;
  font-family: 'Poppins', sans-serif;
}

.address {
  margin-bottom: 15px;
}

.address h6 {
  font-weight: 400;
  color: var(--blanco);
  text-transform: capitalize;
  margin-bottom: 5px;
  font-family: 'Poppins', sans-serif;
}

.address p {
  margin-bottom: 20px;
  color: rgba(255,255,255,0.8);
  font-family: 'Poppins', sans-serif;
}

.widget-company .social li {
  display: inline-block;
}

.widget-company .social li a {
  display: block;
  font-size: 19px;
  color: var(--blanco);
  margin-right: 10px;
}

.widget-company .social li a:hover {
  color: var(--azul-principal);
}

.fwidget-title {
  position: relative;
  color: var(--blanco);
  font-family: 'Poppins', sans-serif;
}

.fwidget-title:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 35px;
  background: var(--blanco);
}

.footer-link a {
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Poppins', sans-serif;
}

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

span.post-date {
  display: block;
  font-size: 13px;
  font-weight: 400;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0;
  margin-top: 8px;
  font-family: 'Poppins', sans-serif;
}

span.post-date i {
  color: var(--azul-principal);
  margin-right: 5px;
}

.widget-opening ul li {
  display: block;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.8);
  font-family: 'Poppins', sans-serif;
}

.widget-opening ul li span {
  color: var(--blanco);
  width: 130px;
  display: inline-block;
  letter-spacing: 2px;
}

.footer-bottom {
  text-align: center;
  margin-top: 106px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
}

.footer-bottom p {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(255,255,255,0.7);
  font-family: 'Poppins', sans-serif;
}

.footer-link li i {
  font-size: 14px;
  margin-right: 12px;
  color: var(--azul-principal);
}

.footer-link li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 0;
}

.footer-link li:last-child { }

/*============================================
    END Footer Area
*=============================================*/

/*============================================
    2. Home Two
*=============================================*/

.header-two {
  position: fixed;
  left: 0;
  top: 0;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  z-index: 9998;
  width: 100%;
  background: transparent;
}

.menu-style2 {
  text-align: center;
}

.menu-style2.main-menu nav > ul > li > a {
  color: var(--blanco);
  padding: 54px 17px;
  position: relative;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  font-family: 'Poppins', sans-serif;
}

.menu-style2.main-menu nav > ul > li > a:before {
  content: "";
  position: absolute;
  left: -6px;
  top: calc(50% - 1px);
  height: 2px;
  width: 10px;
  background: var(--blanco);
  opacity: 0;
  transition: all 0.3s ease 0s;
}

.menu-style2.main-menu nav ul li.active a:before,
.menu-style2.main-menu nav ul li a:hover:before {
  opacity: 1;
  width: 19px;
}

.menu-style2.main-menu nav ul li.middle-logo a {
  padding: 0;
  transform: translateY(5px);
}

.menu-style2.main-menu nav ul li.middle-logo a:before {
  display: none;
}

.menu-style2.main-menu nav ul li.middle-logo a img.hb-bottom-shape {
  position: absolute;
  left: 50%;
  min-width: 157px;
  transform: translateX(-50%);
  filter: brightness(0) invert(1);
  opacity: 0.3;
}

.header-bottom-right-style-2 {
  margin-left: -41px;
  text-align: right;
}

.header-bottom-right-style-2 li {
  display: inline-block;
}

.header-bottom-right-style-2 li a.btn {
  padding: 12px 20px;
}

.header-bottom-right-style-2 li a.btn-light {
  border: 1px solid var(--blanco) !important;
  background: transparent !important;
  color: var(--blanco) !important;
}

.header-bottom-right-style-2 li a.btn-light:hover {
  background: var(--azul-principal) !important;
  border-color: var(--azul-principal) !important;
  color: var(--blanco) !important;
}

.header-bottom-right-style-2 li:first-child a {
  margin-left: 0;
}

/*hero area - ESTE ES EL ORIGINAL DEL TEMPLATE - NO MODIFICAR*/
.hero-area {
  margin-top: 104px;
  position: relative;
  z-index: 1;
  padding: 170px 0;
  background: url(../images/bg/slider.webp) center/cover no-repeat;
}

.hero-area:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
 background: #ffffff;
  opacity: 0.7;
}

.hero-content {
  text-align: center;
}

.hero-content h3 {
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-family: 'Poppins', sans-serif;
}

.hero-content h1 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 69px;
  font-family: 'Poppins', sans-serif;
}

.hero-content p {
  font-size: 24px;
  font-weight: 300;
  font-family: 'Poppins', sans-serif;
}

/*============================================
    END Home Two
*=============================================*/

/*============================================
    3. Home Three
*=============================================*/

.header-three {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 99;
  width: 100%;
  background-color: var(--blanco);
  padding: 0 60px;
  box-shadow: 0 2px 17px rgba(37, 40, 85, 0.1);
}

.hb-s3-right li {
  display: inline-block;
  cursor: pointer;
}

.hb-s3-right li a.btn {
  display: block;
  margin-right: 15px;
  padding: 12px 20px;
}

.hb-s3-right {
  text-align: right;
}

/*============================================
    END Home Three
*=============================================*/

/*============================================
    4. Courses
*=============================================*/

.crumbs-area {
  position: relative;
  z-index: 1;
  background: url(../images/bg/bg1.webp);
  padding: 213px 0 114px;
  background-size: cover;
}

.crumbs-area:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
  opacity: 0.7;
  background: var(--color-linea);
}

.crumb-content h4 {
  font-size: 55px;
  color: var(--blanco);
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  line-height: 59px;
  margin-bottom: 18px;
  font-family: 'Poppins', sans-serif;
}

.crumb-content h4 span {
  color: var(--azul-principal);
}

.crumb-title {
  font-size: 30px;
  font-weight: 500;
  color: var(--blanco);
  text-transform: uppercase;
  letter-spacing: 0;
  padding-left: 80px;
  position: relative;
  font-family: 'Poppins', sans-serif;
}

.crumb-title:before {
  content: "";
  position: absolute;
  left: 0;
  top: 25px;
  height: 2px;
  width: 50px;
  background: var(--azul-principal);
}

/*============================================
    END Courses
*=============================================*/

/*============================================
    5. Courses Details
*=============================================*/

.course-details .course-thumb {
  margin-bottom: 25px;
}

.csd-hv-info {
  position: absolute;
  left: 0;
  bottom: 0;
  background: rgba(20, 29, 51, 0.95);
  width: 100%;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.cs-thumb {
  position: relative;
}

/*============================================
    END Courses Details
*=============================================*/

/*============================================
    6. Teacher Details
*=============================================*/

.tchd-content {
  text-align: left;
}

.tch-left-thumb {
  position: relative;
  margin-bottom: 13px;
}

.tch-left-thumb:before {
  content: "";
  position: absolute;
  right: -10px;
  bottom: -10px;
  border: none;
  border-right: 5px solid var(--azul-principal);
  border-bottom: 5px solid var(--azul-principal);
  height: 86%;
  width: 100%;
}

/*============================================
    END Teacher Details
*=============================================*/

/*============================================
    7. About
*=============================================*/

.ftch-two {
  margin: 0;
}

/*============================================
    END About
*=============================================*/

/*============================================
    8. Contact
*=============================================*/

.contact-info {
  z-index: 1;
  position: relative;
}

.contact-info:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 50%;
  width: 100%;
  z-index: -1;
  background: var(--azul-principal);
}

.contact-info .cnt-info {
  box-shadow: 0 0 15px rgba(37, 40, 85, 0.1);
}

.cnt-title {
  text-align: center;
  padding-top: 30px;
  margin-bottom: 60px;
}

.cnt-title h4 {
  display: inline-block;
  font-size: 36px;
  font-weight: 700;
  color: var(--azul-principal);
  letter-spacing: 0;
  margin-bottom: 34px;
  position: relative;
  font-family: 'Poppins', sans-serif;
}

.cnt-title h4 span {
  font-weight: 500;
}

.cnt-title p {
  font-size: 16px;
  color: var(--gris);
  max-width: 600px;
  margin: auto;
  font-family: 'Poppins', sans-serif;
}

/*============================================
    END Contact
*=============================================*/

/*============================================
    9. Blog Details
*=============================================*/

.blog-top-meta {
  margin-bottom: 20px;
}

.blog-top-meta ul li {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  color: var(--gris);
  letter-spacing: 0;
  margin-right: 18px;
  font-family: 'Poppins', sans-serif;
}

.blog-top-meta ul li span {
  letter-spacing: 0;
  color: var(--azul-principal);
}

.blog-top-meta ul li i {
  color: var(--azul-principal);
  margin-right: 10px;
  font-size: 18px;
}

/*============================================
    END Blog Details
*=============================================*/

/*============================================
    10. 404
*=============================================*/

.error-content {
  text-align: center;
}

.error-content img {
  max-width: 900px;
  width: 90%;
  margin: auto;
  margin-bottom: 50px;
}

.error-content h2 {
  font-size: 48px;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--azul-principal);
  letter-spacing: 0;
  margin-bottom: 25px;
  font-family: 'Poppins', sans-serif;
}

.error-content p {
  padding: 0 5%;
  font-size: 17px;
  font-weight: 500;
  color: var(--color-linea);
  letter-spacing: 0;
  text-transform: uppercase;
  font-family: 'Poppins', sans-serif;
}

/*============================================
    END 404
*=============================================*/

.modal-body input {
  border: 1px solid #efefef;
  margin-bottom: 20px;
  padding: 10px 15px;
  width: 100%;
}

.checkbox-inline input[type="checkbox"] {
  margin-right: 8px;
  width: auto;
}

/*============================================
    11. HERO PREMIUM - VERSIÓN ÉLITE
*=============================================*/

.hero-area.premium-hero {
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
    margin-top: 104px !important;
    padding: 170px 0 !important;
    background: linear-gradient(135deg, var(--degradado-externo) 0%, var(--color-linea) 100%) !important;
}

.hero-area.premium-hero:before {
    display: none !important;
}

.hero-area.premium-hero::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: url('../images/bg/slider.webp') center/cover no-repeat !important;
    opacity: 0.15 !important;
    animation: slowZoom 25s ease-in-out infinite alternate !important;
    z-index: 0 !important;
}

@keyframes slowZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

.hero-particles {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.particle {
    position: absolute !important;
    border-radius: 50% !important;
    pointer-events: none !important;
}

.particle-1 {
    width: 350px !important;
    height: 350px !important;
    top: -120px !important;
    left: -120px !important;
    background: radial-gradient(circle, rgba(37,40,85,0.12) 0%, rgba(37,40,85,0) 70%) !important;
    animation: particleFloat1 28s ease-in-out infinite !important;
}

.particle-2 {
    width: 450px !important;
    height: 450px !important;
    bottom: -180px !important;
    right: -120px !important;
    background: radial-gradient(circle, rgba(37,40,85,0.08) 0%, rgba(37,40,85,0) 70%) !important;
    animation: particleFloat2 32s ease-in-out infinite !important;
}

.particle-3 {
    width: 250px !important;
    height: 250px !important;
    top: 15% !important;
    right: 15% !important;
    background: radial-gradient(circle, rgba(37,40,85,0.06) 0%, rgba(37,40,85,0) 70%) !important;
    animation: particleFloat3 22s ease-in-out infinite !important;
}

.particle-4 {
    width: 200px !important;
    height: 200px !important;
    bottom: 25% !important;
    left: 10% !important;
    background: radial-gradient(circle, rgba(37,40,85,0.1) 0%, rgba(37,40,85,0) 70%) !important;
    animation: particleFloat4 26s ease-in-out infinite !important;
}

@keyframes particleFloat1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, 35px) scale(1.1); }
    66% { transform: translate(25px, 70px) scale(0.95); }
}

@keyframes particleFloat2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(-70px, -45px) scale(1.15); }
    66% { transform: translate(-35px, -90px) scale(0.9); }
}

@keyframes particleFloat3 {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(45px, -35px) rotate(15deg); }
}

@keyframes particleFloat4 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-35px, 45px) scale(1.25); }
}

.hero-badge {
    margin-bottom: 30px !important;
    display: inline-block !important;
    position: relative !important;
    z-index: 15 !important;
}

.badge-premium {
    display: inline-block !important;
    padding: 14px 35px !important;
    background: rgba(37,40,85,0.25) !important;
    backdrop-filter: blur(12px) !important;
    border: 1.5px solid rgba(37,40,85,0.6) !important;
    border-radius: 50px !important;
    color: var(--blanco) !important;
    font-weight: 800 !important;
    letter-spacing: 4px !important;
    font-size: 15px !important;
    text-transform: uppercase !important;
    animation: neonPulse 2.5s ease-in-out infinite !important;
    box-shadow: 0 0 25px rgba(37,40,85,0.3) !important;
    font-family: 'Poppins', sans-serif;
}

@keyframes neonPulse {
    0%, 100% { 
        box-shadow: 0 0 25px rgba(37,40,85,0.3);
        border-color: rgba(37,40,85,0.6);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 45px rgba(37,40,85,0.5);
        border-color: rgba(37,40,85,1);
        transform: scale(1.02);
    }
}

.hero-title-wrapper {
    position: relative !important;
    z-index: 15 !important;
    margin-bottom: 20px !important;
}

.hero-title {
    font-size: 86px !important;
    font-weight: 900 !important;
    line-height: 1.1 !important;
    margin-bottom: 15px !important;
    color: var(--blanco) !important;
    text-shadow: 0 5px 20px rgba(0,0,0,0.4), 0 0 30px rgba(37,40,85,0.3) !important;
    letter-spacing: -0.5px !important;
    font-family: 'Poppins', sans-serif;
}

.hero-title .primary-color {
    color: #252855 !important;
    display: inline-block !important;
    animation: titleGlow 5s ease-in-out infinite !important;
    text-shadow: 0 0 30px rgb(93, 93, 92), 0 0 60px rgba(37,40,85,0.3) !important;
}

@keyframes titleGlow {
    0%, 100% { text-shadow: 0 0 30px rgba(37,40,85,0.5), 0 0 60px rgba(37,40,85,0.3); }
    50% { text-shadow: 0 0 50px rgba(37,40,85,0.7), 0 0 90px rgba(37,40,85,0.5); }
}

.typing-container {
    display: inline-block !important;
    background: rgba(0,0,0,0.45) !important;
    padding: 12px 30px !important;
    border-radius: 60px !important;
    backdrop-filter: blur(8px) !important;
    margin-top: 15px !important;
    box-shadow: 0 5px 25px rgba(0,0,0,0.3) !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
}

.hero-subtitle {
    display: block !important;
    font-size: 56px !important;
    color: var(--blanco) !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    font-family: 'Poppins', sans-serif;
}

.typing-premium {
    overflow: hidden !important;
    white-space: nowrap !important;
    border-right: 4px solid var(--azul-principal) !important;
    animation: typing 4.5s steps(35, end), blink-caret 0.75s step-end infinite !important;
    font-size: 56px !important;
    color: var(--blanco) !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    text-shadow: 0 0 15px rgba(255,255,255,0.3) !important;
    font-family: 'Poppins', sans-serif;
}

.hero-description {
    font-size: 22px !important;
    color: #5d5d5c !important;
    max-width: 750px !important;
    margin: 30px auto 35px !important;
    line-height: 1.7 !important;
    font-weight: 400 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
    letter-spacing: 0.3px !important;
    font-family: 'Poppins', sans-serif;
}

.highlight-dots {
    color:rgb(255, 255, 255) !important;
    font-size: 28px !important;
    animation: bounce 2s ease infinite !important;
    display: inline-block !important;
    margin-left: 5px !important;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.hero-stats-card-3d {
    background: rgba(20, 29, 51, 0.65) !important;
    backdrop-filter: blur(16px) !important;
    border: 1.5px solid rgba(37,40,85,0.35) !important;
    border-radius: 40px !important;
    padding: 45px 50px !important;
    margin-bottom: 45px !important;
    display: inline-block !important;
    width: 100% !important;
    max-width: 900px !important;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5) !important;
}

.hero-stats-card-3d:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow: 0 35px 70px rgba(37,40,85,0.3) !important;
    border-color: rgba(37,40,85,0.7) !important;
    background: rgba(20, 29, 51, 0.75) !important;
}

.stats-grid-premium {
    display: flex !important;
    justify-content: space-around !important;
    align-items: center !important;
    gap: 30px !important;
}

.stat-item-premium {
    text-align: center !important;
    padding: 25px 20px !important;
    border-radius: 25px !important;
    background: rgba(255,255,255,0.06) !important;
    transition: all 0.4s ease !important;
    flex: 1 !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    backdrop-filter: blur(5px) !important;
}

.stat-item-premium:hover {
    background: rgba(37,40,85,0.18) !important;
    transform: scale(1.08) !important;
    border-color: rgba(37,40,85,0.6) !important;
    box-shadow: 0 10px 30px rgba(37,40,85,0.2) !important;
}

.stat-number-premium {
    display: block !important;
    font-size: 68px !important;
    font-weight: 900 !important;
    color:rgb(255 255 255) !important;
    line-height: 1 !important;
    margin-bottom: 12px !important;
    text-shadow: 0 0 35px rgb(255, 255, 255), 0 0 70px rgba(37,40,85,0.3) !important;
    letter-spacing: 2px !important;
    font-family: 'Poppins', sans-serif;
}

.stat-label-premium {
    display: block !important;
    font-size: 18px !important;
    color: var(--blanco) !important;
    text-transform: uppercase !important;
    letter-spacing: 2.5px !important;
    font-weight: 700 !important;
    opacity: 1 !important;
    text-shadow: 0 2px 5px rgba(0,0,0,0.4) !important;
    font-family: 'Poppins', sans-serif;
}

.hero-buttons-wrapper-premium {
    display: flex !important;
    justify-content: center !important;
    gap: 35px !important;
    margin-bottom: 45px !important;
    position: relative !important;
    z-index: 25 !important;
}

.hero-btn-3d {
    position: relative !important;
    overflow: hidden !important;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1) !important;
    padding: 20px 45px !important;
    font-size: 19px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 15px !important;
    border: none !important;
    border-radius: 60px !important;
    font-weight: 800 !important;
    letter-spacing: 1.8px !important;
    text-transform: uppercase !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4) !important;
    font-family: 'Poppins', sans-serif;
}

.btn-shine-premium {
    background: linear-gradient(145deg, var(--azul-principal), var(--degradado-interno)) !important;
    color: var(--blanco) !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
}

.btn-shine-premium:hover {
    background: linear-gradient(145deg, var(--degradado-interno), var(--color-linea)) !important;
    color: var(--blanco) !important;
    transform: translateY(-7px) scale(1.06) !important;
    box-shadow: 0 22px 45px rgba(37,40,85,0.4) !important;
    border-color: rgba(255,255,255,0.5) !important;
}

.btn-shine-premium .btn-icon,
.btn-shine-premium:hover .btn-icon {
    color: var(--blanco) !important;
}

.btn-pulse-premium {
    background: rgba(20,29,51,0.4) !important;
    backdrop-filter: blur(12px) !important;
    border: 2.5px solid var(--blanco) !important;
    color: var(--blanco) !important;
    box-shadow: 0 0 30px rgba(255,255,255,0.15) !important;
}

.btn-pulse-premium:hover {
    background: var(--azul-principal) !important;
    color: var(--blanco) !important;
    border-color: var(--azul-principal) !important;
    transform: translateY(-7px) !important;
    box-shadow: 0 20px 40px rgba(37,40,85,0.3) !important;
}

.btn-pulse-premium .btn-icon {
    color: var(--blanco) !important;
}

.btn-pulse-premium:hover .btn-icon {
    color: var(--blanco) !important;
}

.btn-icon {
    font-size: 24px !important;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1) !important;
    display: inline-block !important;
}

.hero-btn-3d:hover .btn-icon {
    transform: translateX(8px) scale(1.2) !important;
}

.flip-card-3d {
    width: 360px !important;
    height: 100px !important;
    margin: 45px auto 0 !important;
    perspective: 2500px !important;
    cursor: pointer !important;
    z-index: 30 !important;
    position: relative !important;
}

.flip-card-inner-premium {
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    text-align: center !important;
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1) !important;
    transform-style: preserve-3d !important;
    border-radius: 60px !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4) !important;
}

.flip-card-3d:hover .flip-card-inner-premium {
    transform: rotateY(180deg) scale(1.05) !important;
}

.flip-card-front-premium {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    backface-visibility: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 18px !important;
    background: rgba(37,40,85,0.25) !important;
    backdrop-filter: blur(16px) !important;
    border: 1.5px solid rgba(37,40,85,0.6) !important;
    border-radius: 60px !important;
    color: var(--blanco) !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    padding: 20px 35px !important;
    box-shadow: 0 0 30px rgba(37,40,85,0.2) !important;
    font-family: 'Poppins', sans-serif;
}

.flip-card-front-premium i {
    font-size: 32px !important;
    color: var(--azul-principal) !important;
    text-shadow: 0 0 20px rgba(37,40,85,0.6) !important;
    animation: bounce 3s ease infinite !important;
}

.flip-card-back-premium {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    backface-visibility: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(145deg, var(--azul-principal), var(--degradado-interno)) !important;
    color: var(--blanco) !important;
    transform: rotateY(180deg) !important;
    border-radius: 60px !important;
    font-weight: 700 !important;
    font-size: 18px !important;
    padding: 20px 30px !important;
    border: 1px solid rgba(255,255,255,0.3) !important;
    box-shadow: 0 0 30px rgba(37,40,85,0.4) !important;
    font-family: 'Poppins', sans-serif;
}

.flip-card-back-premium p {
    margin: 0 !important;
    color: var(--blanco) !important;
    line-height: 1.5 !important;
    font-size: 18px !important;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
    font-family: 'Poppins', sans-serif;
}

.scroll-indicator-premium {
    position: absolute !important;
    bottom: 30px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 50 !important;
}

.scroll-link-premium {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    color: var(--blanco) !important;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1) !important;
    gap: 12px !important;
}

.scroll-link-premium:hover {
    transform: translateY(-8px) scale(1.1) !important;
    color: var(--azul-principal) !important;
}

.mouse-3d {
    width: 40px !important;
    height: 65px !important;
    border: 2.5px solid rgba(255,255,255,0.9) !important;
    border-radius: 25px !important;
    position: relative !important;
    box-shadow: 0 0 30px rgba(37,40,85,0.3) !important;
    animation: floatMouse 3s ease-in-out infinite !important;
}

@keyframes floatMouse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.wheel-premium {
    width: 4px !important;
    height: 14px !important;
    background: var(--azul-principal) !important;
    border-radius: 3px !important;
    position: absolute !important;
    top: 12px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    animation: scrollWheelPremium 1.8s ease-in-out infinite !important;
    box-shadow: 0 0 15px rgba(37,40,85,0.7) !important;
}

@keyframes scrollWheelPremium {
    0% { 
        opacity: 1; 
        transform: translateX(-50%) translateY(0);
        height: 14px;
    }
    100% { 
        opacity: 0; 
        transform: translateX(-50%) translateY(28px);
        height: 18px;
    }
}

.scroll-text-premium {
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 5px !important;
    opacity: 0.95 !important;
    font-weight: 700 !important;
    background: rgba(0,0,0,0.4) !important;
    padding: 8px 20px !important;
    border-radius: 30px !important;
    backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    font-family: 'Poppins', sans-serif;
}

@media (max-width: 1200px) {
    .hero-title { font-size: 76px !important; }
    .hero-subtitle, .typing-premium { font-size: 50px !important; }
}

@media (max-width: 992px) {
    .hero-title { font-size: 64px !important; }
    .hero-subtitle, .typing-premium { font-size: 44px !important; }
    .hero-stats-card-3d { padding: 35px 30px !important; max-width: 750px !important; }
    .stat-number-premium { font-size: 58px !important; }
    .stat-label-premium { font-size: 16px !important; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 52px !important; }
    .hero-subtitle, .typing-premium { 
        font-size: 36px !important; 
        white-space: normal !important; 
        border-right: none !important; 
        animation: none !important;
    }
    .typing-container { 
        padding: 10px 20px !important; 
        border-radius: 40px !important;
    }
    .hero-buttons-wrapper-premium { 
        flex-direction: column !important; 
        align-items: center !important; 
        gap: 20px !important; 
        width: 100% !important;
    }
    .hero-btn-3d { 
        width: 100% !important; 
        justify-content: center !important;
        padding: 18px 30px !important;
    }
    .hero-stats-card-3d { 
        padding: 30px 20px !important; 
        max-width: 100% !important;
    }
    .stats-grid-premium { 
        flex-direction: column !important; 
        gap: 20px !important;
    }
    .stat-item-premium { 
        width: 100% !important; 
        padding: 20px !important;
    }
    .flip-card-3d { 
        width: 300px !important; 
        height: 90px !important;
    }
    .flip-card-front-premium,
    .flip-card-back-premium {
        font-size: 17px !important;
        padding: 15px 25px !important;
    }
}

@media (max-width: 576px) {
    .hero-title { font-size: 42px !important; }
    .hero-subtitle, .typing-premium { font-size: 30px !important; }
    .badge-premium { 
        font-size: 13px !important; 
        padding: 10px 22px !important; 
        letter-spacing: 2px !important;
    }
    .hero-description { 
        font-size: 18px !important; 
        padding: 0 15px !important;
    }
    .stat-number-premium { font-size: 48px !important; }
    .stat-label-premium { font-size: 15px !important; letter-spacing: 1.5px !important; }
    .flip-card-3d { width: 280px !important; height: 85px !important; }
    .scroll-text-premium { 
        font-size: 12px !important; 
        letter-spacing: 3px !important;
        padding: 6px 16px !important;
    }
}

@media (max-width: 400px) {
    .hero-title { font-size: 36px !important; }
    .hero-subtitle, .typing-premium { font-size: 26px !important; }
    .hero-btn-3d { 
        font-size: 16px !important; 
        padding: 15px 25px !important;
    }
    .flip-card-3d { width: 260px !important; height: 80px !important; }
}

/*============================================
    12. CURSOS ÉLITE - VERSIÓN CORREGIDA
*=============================================*/

.course-area .card {
    border: none !important;
    border-radius: 25px !important;
    overflow: hidden !important;
    box-shadow: 0 15px 35px rgba(37, 40, 85, 0.2) !important;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    background: rgba(37, 40, 85, 0.7) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.course-area .card:hover {
    transform: translateY(-15px) scale(1.02) !important;
    box-shadow: 0 30px 60px rgba(37, 40, 85, 0.4) !important;
    background: rgba(37, 40, 85, 0.9) !important;
}

.course-area .card .card-body {
    background: transparent !important;
    padding: 20px !important;
}

.course-area .card .course-meta-text h4 a {
    color: var(--blanco) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    font-family: 'Poppins', sans-serif;
}

.course-area .card .course-meta-text h4 a:hover {
    color: var(--blanco) !important;
    opacity: 0.9;
    transform: translateX(5px) !important;
}

.course-area .card .card-body p {
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.7 !important;
    font-family: 'Poppins', sans-serif;
}

.course-area .card .course-meta-details {
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 15px !important;
    padding: 15px !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.course-meta-stats li i {
    color: #ffc107 !important;
}

.course-meta-stats li {
    color: rgba(255, 255, 255, 0.7) !important;
    font-family: 'Poppins', sans-serif;
}

.course-meta-thumbnail {
    border: 2px solid var(--azul-principal) !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3) !important;
}

.cs-price {
    background: var(--azul-principal) !important;
    border-radius: 30px 0 0 30px !important;
    padding: 8px 20px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3) !important;
    color: var(--blanco) !important;
    z-index: 10 !important;
    font-family: 'Poppins', sans-serif;
}

.course-thumb {
    border-radius: 25px 25px 0 0 !important;
    overflow: hidden !important;
}

.course-thumb img {
    border-radius: 25px 25px 0 0 !important;
    transition: transform 0.6s ease !important;
}

.course-area .card:hover .course-thumb img {
    transform: scale(1.1) !important;
}

/*============================================
    13. DOCENTES ÉLITE - VERSIÓN CORREGIDA
*=============================================*/

.teacher-area .card {
    border: none !important;
    border-radius: 25px !important;
    overflow: hidden !important;
    background: rgba(37, 40, 85, 0.7) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 15px 35px rgba(37, 40, 85, 0.2) !important;
    transition: all 0.5s ease !important;
}

.teacher-area .card:hover {
    transform: translateY(-20px) !important;
    box-shadow: 0 40px 70px rgba(37, 40, 85, 0.3) !important;
    background: rgba(37, 40, 85, 0.9) !important;
}

.teacher-area .card .card-body {
    background: transparent !important;
    padding: 25px !important;
}

.teacher-area .card img {
    border-radius: 25px 25px 0 0 !important;
    transition: all 0.6s ease !important;
}

.teacher-area .card:hover img {
    transform: scale(1.1) !important;
    filter: brightness(1.1) !important;
}

.teacher-area .card-title a {
    color: var(--blanco) !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    font-family: 'Poppins', sans-serif;
}

.teacher-area .card-title a:hover {
    color: var(--blanco) !important;
    opacity: 0.9;
}

.teacher-area .primary-color.d-block {
    color: rgb(255, 255, 255) !important; 
    background: rgba(255, 255, 255, 0.15) !important;
    padding: 5px 15px !important;
    border-radius: 50px !important;
    display: inline-block !important;
    font-size: 14px !important;
    font-family: 'Poppins', sans-serif;
}

.teacher-area .card-text {
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.8 !important;
    font-family: 'Poppins', sans-serif;
}

.teacher-area .list-inline {
    display: flex !important;
    justify-content: center !important;
    gap: 15px !important;
    padding-top: 20px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.teacher-area .list-inline li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 45px !important;
    height: 45px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 50% !important;
    color: var(--blanco) !important;
    font-size: 20px !important;
    transition: all 0.3s ease !important;
}

.teacher-area .list-inline li a:hover {
    background: var(--azul-principal) !important;
    color: var(--blanco) !important;
    transform: translateY(-5px) rotate(360deg) !important;
}

/*============================================
    14. EVENTOS ÉLITE
*=============================================*/

.event-area .media {
    border: none !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 30px rgba(37, 40, 85, 0.1) !important;
    transition: all 0.4s ease !important;
    background: var(--blanco) !important;
}

.event-area .media:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 30px 60px rgba(37, 40, 85, 0.2) !important;
}

.event-area .media-head {
    background: var(--azul-principal) !important;
    position: relative !important;
    overflow: hidden !important;
}

.event-area .media-head:after {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    right: -50% !important;
    width: 100% !important;
    height: 200% !important;
    background: rgba(255,255,255,0.1) !important;
    transform: rotate(45deg) !important;
}

.event-area .media-head span {
    font-size: 28px !important;
    position: relative !important;
    z-index: 2 !important;
    font-family: 'Poppins', sans-serif;
}

.event-area .media-head p {
    font-size: 52px !important;
    position: relative !important;
    z-index: 2 !important;
    font-family: 'Poppins', sans-serif;
}

.event-area .media-body {
    padding: 20px 30px !important;
}

.event-area .media-body h4 a {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--azul-principal) !important;
    transition: all 0.3s ease !important;
    margin-bottom: 15px !important;
    font-family: 'Poppins', sans-serif;
}

.event-area .media-body h4 a:hover {
    color: var(--azul-principal) !important;
    opacity: 0.8;
    transform: translateX(5px) !important;
}

.event-area .media-body p i {
    color: var(--azul-principal) !important;
    font-size: 18px !important;
}

.event-area .media-body p {
    font-size: 16px !important;
    color: var(--gris) !important;
    font-family: 'Poppins', sans-serif;
}

/*============================================
    15. TESTIMONIALES ÉLITE
*=============================================*/

.testimonial-area {
    background: linear-gradient(135deg, var(--degradado-externo), var(--color-linea)) !important;
    position: relative !important;
}

.testimonial-content {
    background: rgba(255,255,255,0.05) !important;
    backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    border-radius: 40px !important;
    padding: 60px 40px !important;
    margin: 20px !important;
}

.testimonial-content h3 {
    font-size: 28px !important;
    line-height: 1.6 !important;
    color: var(--blanco) !important;
    font-style: italic !important;
    position: relative !important;
    padding: 0 20px !important;
    font-family: 'Poppins', sans-serif;
}

.testimonial-content h3:before,
.testimonial-content h3:after {
    content: '"' !important;
    font-size: 60px !important;
    color: var(--azul-principal) !important;
    opacity: 0.5 !important;
    position: absolute !important;
}

.testimonial-content h3:before {
    top: -20px !important;
    left: -20px !important;
}

.testimonial-content h3:after {
    bottom: -40px !important;
    right: -20px !important;
}

.testimonial-content h4 {
    font-size: 24px !important;
    color: var(--blanco) !important;
    font-weight: 700 !important;
    margin-top: 30px !important;
    font-family: 'Poppins', sans-serif;
}

.testimonial-content > span {
    font-size: 16px !important;
    color: rgba(255,255,255,0.7) !important;
    display: block !important;
    font-family: 'Poppins', sans-serif;
}

.tst-carousel .owl-dots .owl-dot {
    background: rgba(255,255,255,0.2) !important;
}

.tst-carousel .owl-dots .active {
    background: var(--azul-principal) !important;
}

/*============================================
    16. BLOG ÉLITE - VERSIÓN CORREGIDA
*=============================================*/

.feature-blog .card {
    border: none !important;
    border-radius: 25px !important;
    overflow: hidden !important;
    background: rgba(37, 40, 85, 0.7) !important;
    backdrop-filter: blur(5px) !important;
    -webkit-backdrop-filter: blur(5px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 15px 35px rgba(37, 40, 85, 0.2) !important;
    transition: all 0.4s ease !important;
}

.feature-blog .card:hover {
    transform: translateY(-15px) !important;
    box-shadow: 0 40px 70px rgba(37, 40, 85, 0.3) !important;
    background: rgba(37, 40, 85, 0.9) !important;
}

.feature-blog .card .card-body {
    background: transparent !important;
    padding: 25px !important;
}

.feature-blog .card-img-top {
    border-radius: 25px 25px 0 0 !important;
    transition: transform 0.6s ease !important;
}

.feature-blog .card:hover .card-img-top {
    transform: scale(1.1) !important;
}

.feature-blog .card-body ul li {
    font-size: 14px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-family: 'Poppins', sans-serif;
}

.feature-blog .card-body ul li i {
    color: var(--azul-principal) !important;
    margin-right: 8px !important;
}

.feature-blog .card-title a {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--blanco) !important;
    line-height: 1.4 !important;
    transition: all 0.3s ease !important;
    font-family: 'Poppins', sans-serif;
}

.feature-blog .card-title a:hover {
    color: var(--blanco) !important;
    opacity: 0.9;
}

.feature-blog .card-text {
    color: rgba(255, 255, 255, 0.8) !important;
    line-height: 1.8 !important;
    margin-bottom: 25px !important;
    font-family: 'Poppins', sans-serif;
}

.feature-blog .btn {
    padding: 12px 30px !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    background: transparent !important;
    border: 2px solid var(--blanco) !important;
    color: var(--blanco) !important;
    font-family: 'Poppins', sans-serif;
}

.feature-blog .btn:hover {
    background: var(--azul-principal) !important;
    color: var(--blanco) !important;
    transform: translateX(5px) !important;
}

/*============================================
    17. CTA ÉLITE - VERSIÓN CORREGIDA
*=============================================*/

.cta-area.secondary-bg {
    background: linear-gradient(45deg, var(--azul-principal), var(--degradado-interno), var(--color-linea), var(--azul-principal)) !important;
    background-size: 300% 300% !important;
    animation: gradientShift 6s ease infinite !important;
    position: relative !important;
    overflow: hidden !important;
}

.cta-area.secondary-bg:before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    right: -50% !important;
    width: 100% !important;
    height: 200% !important;
    background: rgba(255,255,255,0.05) !important;
    transform: rotate(45deg) !important;
}

.cta-content h2 {
    font-size: 42px !important;
    color: var(--blanco) !important;
    text-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
    position: relative !important;
    z-index: 2 !important;
    font-family: 'Poppins', sans-serif;
}

.cta-content p {
    font-size: 18px !important;
    color: rgba(255,255,255,0.9) !important;
    position: relative !important;
    z-index: 2 !important;
    font-family: 'Poppins', sans-serif;
}

.cta-btn .btn-light {
    background: var(--blanco) !important;
    color: var(--azul-principal) !important;
    border: none !important;
    padding: 16px 40px !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2) !important;
    position: relative !important;
    z-index: 2 !important;
    font-family: 'Poppins', sans-serif;
}

.cta-btn .btn-light:hover {
    transform: translateY(-5px) scale(1.05) !important;
    box-shadow: 0 20px 40px rgba(37,40,85,0.3) !important;
}

/*============================================
    18. FOOTER ÉLITE - VERSIÓN CORREGIDA
*=============================================*/

.footer-top {
    background: linear-gradient(135deg, var(--degradado-externo), var(--color-linea)) !important;
    position: relative !important;
}

.footer-top:before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 1px !important;
    background: linear-gradient(90deg, transparent, var(--azul-principal), transparent) !important;
}

.widget-company > a {
    margin-bottom: 30px !important;
}

.widget-company .address h6 {
    color:rgb(255, 255, 255) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    font-family: 'Poppins', sans-serif;
}

.widget-company .address p {
    color: rgba(255,255,255,0.8) !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    font-family: 'Poppins', sans-serif;
}

.widget-company .social {
    display: flex !important;
    gap: 15px !important;
    margin-top: 30px !important;
}

.widget-company .social li a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 45px !important;
    height: 45px !important;
    background: rgba(255,255,255,0.05) !important;
    border-radius: 50% !important;
    color: var(--blanco) !important;
    font-size: 20px !important;
    transition: all 0.3s ease !important;
}

.widget-company .social li a:hover {
    background: var(--azul-principal) !important;
    color: var(--blanco) !important;
    transform: translateY(-5px) rotate(360deg) !important;
}

.fwidget-title {
    color: var(--blanco) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    margin-bottom: 30px !important;
    position: relative !important;
    padding-bottom: 15px !important;
    font-family: 'Poppins', sans-serif;
}

.fwidget-title:before {
    content: '' !important;
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 50px !important;
    height: 3px !important;
    background: var(--azul-principal) !important;
}

.footer-link li {
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    padding: 12px 0 !important;
}

.footer-link li a {
    color: rgba(255,255,255,0.7) !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    font-family: 'Poppins', sans-serif;
}

.footer-link li a i {
    color: var(--azul-principal) !important;
    margin-right: 12px !important;
    font-size: 14px !important;
}

.footer-link li a:hover {
    color: var(--azul-principal) !important;
    transform: translateX(8px) !important;
}

.widget-opening p {
    color: rgba(255,255,255,0.7) !important;
    font-size: 16px !important;
    line-height: 1.8 !important;
    margin-bottom: 25px !important;
    font-family: 'Poppins', sans-serif;
}

.widget-opening ul li {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid rgba(255,255,255,0.05) !important;
    color: rgba(255,255,255,0.7) !important;
    font-family: 'Poppins', sans-serif;
}

.widget-opening ul li span {
    color: var(--blanco) !important;
    font-weight: 600 !important;
}

.footer-bottom {
    margin-top: 60px !important;
    padding-top: 30px !important;
    border-top: 1px solid rgba(255,255,255,0.05) !important;
}

.footer-bottom p {
    color: rgba(255,255,255,0.6) !important;
    font-size: 15px !important;
    font-family: 'Poppins', sans-serif;
}

.footer-bottom a {
    color:rgb(255, 255, 255) !important;
    font-weight: 700 !important;
    transition: all 0.3s ease !important;
    font-family: 'Poppins', sans-serif;
}

.footer-bottom a:hover {
    color: var(--blanco) !important;
    text-decoration: underline !important;
}

/*============================================
    19. ANIMACIONES ÉLITE
*=============================================*/

.course-area,
.teacher-area,
.event-area,
.testimonial-area,
.feature-blog,
.cta-area,
.footer-top {
    animation: fadeInUp 1s ease-out !important;
}

.card {
    animation: cardFadeIn 0.8s ease-out !important;
}

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/*============================================
    20. BOTONES ÉLITE
*=============================================*/

.btn {
    position: relative !important;
    overflow: hidden !important;
    z-index: 1 !important;
}

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

.btn:hover:after {
    width: 300px !important;
    height: 300px !important;
}

.card {
    position: relative !important;
}

.card:before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -100% !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent) !important;
    transition: left 0.6s ease !important;
    z-index: 2 !important;
    pointer-events: none !important;
}

.card:hover:before {
    left: 100% !important;
}

::-webkit-scrollbar {
    width: 10px !important;
}

::-webkit-scrollbar-track {
    background: #f1f1f1 !important;
}

::-webkit-scrollbar-thumb {
    background: var(--azul-principal) !important;
    border-radius: 5px !important;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--degradado-interno) !important;
}

/*============================================
    21. HEADER COMPACTO Y ELEGANTE - VERSIÓN TRANSPARENTE
*=============================================*/

.header-two {
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    padding: 0 !important;
    transition: all 0.3s ease !important;
}

.header-two .container {
    min-height: 70px !important;
}

.header-two .row {
    min-height: 70px !important;
}

.menu-style2.main-menu nav > ul > li > a {
    padding: 23px 15px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #252855 !important;
    letter-spacing: 0.3px !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3) !important;
    font-family: 'Poppins', sans-serif;
}

.menu-style2.main-menu nav > ul > li > a:after {
    content: '' !important;
    position: absolute !important;
    bottom: 18px !important;
    left: 50% !important;
    width: 0 !important;
    height: 2px !important;
    background: var(--blanco) !important;
    transition: width 0.3s ease !important;
    transform: translateX(-50%) !important;
}

.menu-style2.main-menu nav > ul > li > a:hover:after,
.menu-style2.main-menu nav > ul > li.active > a:after {
    width: 20px !important;
}

.menu-style2.main-menu nav ul li.middle-logo a img {
    max-width: 115px !important;
    height: auto !important;
}

.menu-style2.main-menu nav ul li.middle-logo a img.hb-bottom-shape {
    display: none !important;
}

.header-bottom-right-style-2 {
    margin-left: 0 !important;
    text-align: right !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.header-bottom-right-style-2 li {
    display: inline-block !important;
    margin: 0 !important;
}

.header-bottom-right-style-2 li a.btn {
    padding: 8px 18px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: 30px !important;
    transition: all 0.3s ease !important;
}

.header-bottom-right-style-2 .btn-primary {
    background: #252855 !important;
    border: 1.5px solid #252855 !important;
    color: #ffffff !important;
    box-shadow: none !important;
}

.header-bottom-right-style-2 .btn-primary:hover {
    background: var(--azul-principal) !important;
    border-color: var(--azul-principal) !important;
    color: var(--blanco) !important;
    transform: translateY(-2px) !important;
}

.main-menu nav .submenu {
    position: absolute !important;
    left: 0 !important;
    top: 100% !important;
    z-index: 9999 !important;
    width: 200px !important;
    background: rgba(20, 29, 51, 0.95) !important;
    backdrop-filter: blur(5px) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2) !important;
    border: 1px solid rgba(255,255,255,0.1) !important;
    padding: 8px 0 !important;
    transform: translateY(15px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
}

.main-menu nav ul li:hover > .submenu {
    transform: translateY(5px) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.main-menu nav .submenu li a {
    padding: 10px 20px !important;
    font-size: 13px !important;
    color: var(--blanco) !important;
    border-bottom: none !important;
    transition: all 0.3s ease !important;
    font-family: 'Poppins', sans-serif;
}

.main-menu nav .submenu li a:hover {
    background: rgba(37,40,85,0.3) !important;
    color: var(--blanco) !important;
    padding-left: 25px !important;
}

.header-two.scrolled {
    background: rgba(255, 255, 255, 0) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 5px 20px rgba(37,40,85,0.1) !important;
    border-bottom: 1px solid rgba(37,40,85,0.1) !important;
}

.header-two.scrolled .menu-style2.main-menu nav > ul > li > a {
  color: #5d5d5c !important;
  text-shadow: none !important;
}

.header-two.scrolled .menu-style2.main-menu nav > ul > li > a:after {
    background: var(--azul-principal) !important;
}

.header-two.scrolled .menu-style2.main-menu nav ul li.middle-logo a img {
    filter: none !important;
}

.header-two.scrolled .header-bottom-right-style-2 .btn-primary {
    background: var(--azul-principal) !important;
    border-color: var(--azul-principal) !important;
    color: var(--blanco) !important;
}

.header-two.scrolled .main-menu nav .submenu {
    background: rgba(255, 255, 255, 0) !important;
    border: 1px solid rgba(37,40,85,0.1) !important;
}

.header-two.scrolled .main-menu nav .submenu li a {
    color: var(--azul-principal) !important;
}

.header-two.scrolled .main-menu nav .submenu li a:hover {
    background: rgba(37,40,85,0.1) !important;
    color: var(--azul-principal) !important;
}

@media (max-width: 991px) {
    .header-two {
        background: rgba(20, 29, 51, 0.5) !important;
        padding: 10px 0 !important;
    }
    
    .header-two .container {
        min-height: 60px !important;
    }
    
    .menu-style2.main-menu nav > ul > li > a {
        padding: 15px 20px !important;
        color: var(--blanco) !important;
    }
    
    .menu-style2.main-menu nav > ul > li > a:after {
        bottom: 12px !important;
        background: var(--blanco) !important;
    }
    
    .middle-logo {
        display: none !important;
    }
    
    .header-two.scrolled {
        background: rgba(255, 255, 255, 0) !important;
    }
    
    .header-two.scrolled .menu-style2.main-menu nav > ul > li > a {
        color: var(--azul-principal) !important;
    }
}

/*============================================
    22. SLIDER CON VIDEO
*=============================================*/

.hero-area.image-slider-hero {
    position: relative !important;
    width: 100% !important;
    min-height: 800px !important;
    margin-top: 0px !important;
    padding-top: 0px !important;
    overflow: hidden !important;
    background: transparent !important;
}

.image-slide-item {
    position: relative !important;
    min-height: 800px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.video-slide {
    position: relative !important;
    overflow: hidden !important;
}

.slide-background-video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    width: auto !important;
    height: auto !important;
    transform: translateX(-50%) translateY(-50%) !important;
    object-fit: cover !important;
    z-index: 0 !important;
}

.slide-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(20, 29, 51, 0.8), rgba(37, 40, 85, 0.8)) !important;
    z-index: 1 !important;
}

.image-slide-item .hero-content {
    position: relative !important;
    z-index: 10 !important;
    width: 100% !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 70px 20px 0 !important;
}

.image-slider-hero .owl-nav,
.image-slider-hero .owl-dots {
    display: none !important;
}

@media (max-width: 768px) {
    .hero-area.image-slider-hero,
    .image-slide-item {
        min-height: 600px !important;
    }
}

/*============================================
    23. Estilos para el fondo de la sección de cursos
*=============================================*/

.course-area-background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: relative;
    padding: 60px 0;
    z-index: 1;
}

.course-area-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 29, 51, 0.7);
    z-index: -1;
}
/*============================================
    24. Convenios
*=============================================*/
/* SECCIÓN CONVENIOS - BLOQUE COMPLETO CON IMAGEN DE FONDO */
.convenios-area {
    position: relative;
    width: 100%;
    min-height: 500px; /* Ajusta esta altura según tu imagen */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

/* Overlay oscuro para que el texto se lea bien */
.convenios-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(20, 29, 51, 0.6); /* Azul oscuro semitransparente */
    z-index: -1;
}

.convenios-content {
    padding: 60px 20px;
    color: var(--blanco);
    max-width: 900px;
    margin: 0 auto;
}

.convenios-subtitle {
    display: block;
    font-size: 20px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    font-family: 'Poppins', sans-serif;
}

.convenios-title {
    font-size: 80px;
    font-weight: 900;
    color: rgb(255, 255, 255) !important;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-shadow: 0 5px 20px rgba(0,0,0,0.5);
    letter-spacing: 2px;
    font-family: 'Poppins', sans-serif;
}

.convenios-btn {
    padding: 15px 45px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    border: 2px solid var(--blanco) !important;
    background: transparent !important;
    color: var(--blanco) !important;
    transition: all 0.3s ease !important;
    font-family: 'Poppins', sans-serif;
}

.convenios-btn:hover {
    background: var(--azul-principal) !important;
    border-color: var(--azul-principal) !important;
    color: var(--blanco) !important;
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
    .convenios-area {
        min-height: 400px;
    }
    .convenios-title {
        font-size: 60px;
    }
    .convenios-subtitle {
        font-size: 18px;
        letter-spacing: 3px;
    }
}

@media (max-width: 576px) {
    .convenios-area {
        min-height: 350px;
    }
    .convenios-title {
        font-size: 48px;
    }
    .convenios-subtitle {
        font-size: 16px;
        letter-spacing: 2px;
    }
}
/* ============================================
   CARRUSEL DE PANTALLA COMPLETA
============================================= */
.fullscreen-carousel-area {
    position: relative;
    width: 100%;
    height: 100vh; /* Ocupa el alto completo de la pantalla */
    overflow: hidden;
}

.fullscreen-carousel,
.fullscreen-carousel .owl-stage-outer,
.fullscreen-carousel .owl-stage,
.fullscreen-carousel .owl-item {
    height: 100%;
}

.fullscreen-slide {
    position: relative;
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay para mejorar la legibilidad del texto */
.fullscreen-slide .slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 29, 51, 0.7), rgba(37, 40, 85, 0.7));
    z-index: 1;
}

.fullscreen-slide-content {
    position: relative;
    z-index: 2;
    color: var(--blanco);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    animation: fadeInUp 1s ease;
}

.slide-subtitle {
    display: block;
    font-size: 18px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    font-family: 'Poppins', sans-serif;
}

.slide-title {
    font-size: 80px;
    font-weight: 900;
    color: rgb(255, 255, 255) !important;
    text-transform: uppercase;
    margin-bottom: 20px;
    text-shadow: 0 5px 20px rgba(0,0,0,0.5);
    letter-spacing: 2px;
    font-family: 'Poppins', sans-serif;
}

.slide-description {
    font-size: 20px;
    line-height: 1.8;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    color: var(--blanco);
    font-family: 'Poppins', sans-serif;
}

.slide-btn {
    padding: 15px 45px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    border: 2px solid var(--blanco) !important;
    background: transparent !important;
    color: var(--blanco) !important;
    transition: all 0.3s ease !important;
    font-family: 'Poppins', sans-serif;
}

.slide-btn:hover {
    background: var(--azul-principal) !important;
    border-color: var(--azul-principal) !important;
    color: var(--blanco) !important;
    transform: translateY(-5px);
}

/* Estilos para los botones de navegación */
.fullscreen-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 10;
}

.fullscreen-carousel .owl-nav button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    color: white !important;
    font-size: 30px !important;
    transition: all 0.3s ease !important;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.fullscreen-carousel .owl-nav button:hover {
    background: var(--azul-principal) !important;
    transform: scale(1.1);
}

/* Puntos de navegación */
.fullscreen-carousel .owl-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: row; /* ← Esto los pone en HORIZONTAL */
    gap: 10px;
}


.fullscreen-carousel .owl-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5) !important;
    border-radius: 50%;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.fullscreen-carousel .owl-dot.active {
    background: #252855  !important;
    width: 30px;
    border-radius: 10px;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .slide-title {
        font-size: 60px;
    }
    .slide-description {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .slide-title {
        font-size: 48px;
    }
    .slide-subtitle {
        font-size: 16px;
        letter-spacing: 3px;
    }
    .slide-description {
        font-size: 16px;
    }
    .fullscreen-carousel .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 20px !important;
    }
}

@media (max-width: 576px) {
    .slide-title {
        font-size: 36px;
    }
    .fullscreen-carousel .owl-nav {
        padding: 0 15px;
    }
}
/* ============================================
   SECCIÓN DE PROPUESTA DE VALOR (INTEGRACIÓN)
   ============================================ */
.value-proposal-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 100%);
    position: relative;
    overflow: hidden;
}

.value-proposal-section:before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37,40,85,0.03) 0%, rgba(37,40,85,0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.value-content {
    position: relative;
    z-index: 2;
    padding-right: 40px;
}

.value-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(37, 40, 85, 0.05);
    padding: 8px 22px;
    border-radius: 60px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 30px;
    border: 1px solid rgba(37, 40, 85, 0.1);
    color: #252855;
    letter-spacing: 0.5px;
    animation: fadeInDown 1s ease;
    font-family: 'Poppins', sans-serif;
    text-transform: uppercase;
}

.value-badge i {
    color: #5d5d5c;
    margin-right: 8px;
    font-size: 14px;
    opacity: 0.7;
}

.value-title {
    font-size: clamp(42px, 5vw, 58px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #252855;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.5px;
}

.value-title span {
    display: block;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 300;
    color: #5d5d5c;
    font-family: 'Poppins', sans-serif;
    margin-top: 10px;
    letter-spacing: 0;
}

.value-text {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
    color: #5d5d5c;
    font-weight: 400;
    font-family: 'Poppins', sans-serif;
}

.value-stats {
    display: flex;
    gap: 50px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.stat-block {
    text-align: left;
    position: relative;
}

.stat-block:not(:last-child):after {
    content: '';
    position: absolute;
    right: -25px;
    top: 15px;
    height: 40px;
    width: 1px;
    background: rgba(37, 40, 85, 0.1);
    transform: rotate(15deg);
}

.stat-block .stat-number {
    font-size: 48px;
    font-weight: 800;
    color: #252855;
    line-height: 1;
    margin-bottom: 5px;
    font-family: 'Poppins', sans-serif;
}

.stat-block .stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #5d5d5c;
    opacity: 0.8;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
}

.value-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-value-primary {
    background: #252855;
    color: #ffffff;
    padding: 16px 38px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: none;
    box-shadow: 0 5px 20px rgba(37,40,85,0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.btn-value-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.6s ease;
}

.btn-value-primary:hover:before {
    left: 100%;
}

.btn-value-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37,40,85,0.25);
    background: #5d5d5c;
    color: #ffffff;
    text-decoration: none;
}

.btn-value-secondary {
    background: transparent;
    color: #252855;
    padding: 16px 38px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid rgba(37, 40, 85, 0.15);
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Poppins', sans-serif;
}

.btn-value-secondary:hover {
    background: #252855;
    color: #ffffff;
    transform: translateY(-3px);
    border-color: #252855;
    text-decoration: none;
}

/* Grid de imágenes */
.value-image-wrapper {
    position: relative;
    padding: 30px;
    z-index: 2;
}

.value-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    position: relative;
}

.grid-item {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(37,40,85,0.1);
    transition: all 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(37,40,85,0.2);
}

.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.grid-item:hover img {
    transform: scale(1.1);
}

.grid-item-1 {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
    height: 200px;
}

.grid-item-2 {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
    height: 420px;
}

.grid-item-3 {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    height: 200px;
}

.grid-item-4 {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
    height: 180px;
}

.experience-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #252855;
    color: white;
    padding: 25px;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 10px 30px rgba(37,40,85,0.3);
    z-index: 3;
    animation: pulse 2s infinite;
}

.experience-badge .years {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}

.experience-badge .text {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    font-family: 'Poppins', sans-serif;
}

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

/* Responsive */
@media (max-width: 991px) {
    .value-content {
        padding-right: 0;
        text-align: center;
        margin-bottom: 50px;
    }
    
    .value-stats {
        justify-content: center;
    }
    
    .stat-block {
        text-align: center;
    }
    
    .stat-block:not(:last-child):after {
        display: none;
    }
    
    .value-buttons {
        justify-content: center;
    }
    
    .value-text {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 768px) {
    .value-proposal-section {
        padding: 60px 0;
    }
    
    .value-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-value-primary,
    .btn-value-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .value-stats {
        gap: 30px;
    }
    
    .stat-block .stat-number {
        font-size: 36px;
    }
    
    .value-image-grid {
        gap: 15px;
    }
    
    .grid-item-1 { height: 150px; }
    .grid-item-2 { height: 315px; }
    .grid-item-3 { height: 150px; }
    .grid-item-4 { height: 140px; }
    
    .experience-badge {
        width: 100px;
        height: 100px;
        padding: 20px;
    }
    
    .experience-badge .years {
        font-size: 28px;
    }
    
    .experience-badge .text {
        font-size: 10px;
    }
}

@media (max-width: 576px) {
    .value-title {
        font-size: 32px;
    }
    
    .value-title span {
        font-size: 24px;
    }
    
    .value-text {
        font-size: 16px;
    }
    
    .value-image-grid {
        gap: 10px;
    }
    
    .grid-item-1 { height: 120px; }
    .grid-item-2 { height: 250px; }
    .grid-item-3 { height: 120px; }
    .grid-item-4 { height: 120px; }
    
    .experience-badge {
        width: 80px;
        height: 80px;
    }
    
    .experience-badge .years {
        font-size: 22px;
    }
}

/* Botón de acceso al portal institucional */
.header-bottom-right-style-2 li a.portal-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    min-height: 46px !important;
    min-width: 126px !important;
    padding: 12px 24px !important;
    border-radius: 999px !important;
    background: #f59e0b !important;
    border: 2px solid #f59e0b !important;
    color: #111827 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 0 !important;
    line-height: 1 !important;
    box-shadow: 0 12px 26px rgba(245, 158, 11, 0.28) !important;
    text-transform: none !important;
}

.header-bottom-right-style-2 li a.portal-btn .portal-icon {
    width: 26px !important;
    height: 26px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: #111827 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    flex: 0 0 26px !important;
}

.header-bottom-right-style-2 li a.portal-btn:hover {
    background: #ffffff !important;
    border-color: #f59e0b !important;
    color: #111827 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 16px 30px rgba(17, 24, 39, 0.18) !important;
}

.header-two.scrolled .header-bottom-right-style-2 li a.portal-btn {
    background: #f59e0b !important;
    border-color: #f59e0b !important;
    color: #111827 !important;
}

@media (max-width: 991px) {
    .header-bottom-right-style-2 li a.portal-btn {
        min-width: 112px !important;
        min-height: 42px !important;
        padding: 10px 18px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 575px) {
    .header-bottom-right-style-2 li a.portal-btn {
        min-width: 104px !important;
        min-height: 40px !important;
        padding: 9px 14px !important;
        font-size: 13px !important;
    }

    .header-bottom-right-style-2 li a.portal-btn .portal-icon {
        width: 23px !important;
        height: 23px !important;
        flex-basis: 23px !important;
        font-size: 12px !important;
    }
}
