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

:root {
  --red: #ea0029;
  --gray: #4a4f54;
  --white: #F3F4F5;
  --gray-light: #7b7a7a;
  --border: rgba(0,0,0,0.08);
  --shadow: 0px 6px 30px rgba(0, 0, 0, 0.08);
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #5f687b; /* Color for headings, subheadings and title throughout the website */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

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

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


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

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

h1, h2, h3, h4, h5, h6 ,
.display-1,.display-2,.display-3,.display-4 {
  font-weight: 700;
  color: var(--gray);
  font-family: "Raleway",  sans-serif;
}

.bg-red {background-color: var(--red);}
.text-justify{text-align: justify !important}
a {transition: all 0.4s ease;font-weight: 500;}
a:hover {color: var(--red);}
section {padding-top: 80px;padding-bottom: 80px;}
.text-red {color: var(--red) !important;}
.text-gray{color: var(--gray) !important;}
.btn-red {border-color: var(--red);background-color: var(--red);color: #fff;}
.btn-red:hover {background-color: #C10022;border-color: #C10022;color: #fff;}
.btn-gray {border-color: var(--gray);background-color: var(--gray);color: #fff;}
.btn-gray:hover {background-color: #2e3134;border-color: #2e3134;color: #fff;}
.btn-outline-red {color: var(--red);border: 2px solid var(--red);background-color: transparent;}
.btn-outline-red:hover,
.btn-outline-red:focus {color: #fff !important;background-color: var(--red);border-color: var(--red);text-decoration: none;}
.btn-outline-gray {color: var(--gray);border: 2px solid var(--gray);background-color: transparent;}
.btn-outline-gray:hover,
.btn-outline-gray:focus {color: #fff !important;background-color: var(--gray);border-color: var(--gray);text-decoration: none;}
button.btn-red:disabled,
button.btn-red.disabled,
.btn.btn-red:disabled {
  background-color: #ea002980 !important;
  border-color: #ea002980 !important;
  color: #ffffffc7 !important;
  cursor: not-allowed !important;
  opacity: 0.7 !important;
}
button.btn-gray:disabled,
button.btn-gray.disabled,
.btn.btn-gray:disabled {
  background-color: #6c757d80 !important;
  border-color: #6c757d80 !important;
  color: #ffffffc7 !important;
  cursor: not-allowed !important;
  opacity: 0.7 !important;
}
.header .btn-getstarted,
.header .btn-getstarted:focus {
  color: #ffffff;
  background: var(--red);
  font-size: 14px;
  padding: 8px 25px;
  margin: 0 0 0 30px;
  border-radius: 50px;
  transition: 0.3s;
}
.header .btn-getstarted:hover,
.header .btn-getstarted:focus:hover {
  color: #ffffff;
  background: color-mix(in srgb, var(--red), transparent 15%);
}

/* navbar */
.navbar .navbar-nav .nav-link {
  color: var(--gray);
  padding: 18px 15px;
  font-size: 16px;
  font-weight: 400;
  font-family: var(--nav-font);
}
.navbar .navbar-nav .nav-link:hover {color: var(--red);}
.navbar .navbar-nav .nav-link.active {color: var(--red);}
.navbar-brand {font-size: 28px;font-weight: 700;}
.navbar-brand .dot {color: var(--red);}
.navbar-brand img{max-height: 55px;}
.menuactivo{color: var(--red) !important;}
.navbar .navbar-toggler{border-color: transparent;}
.navbar.bg-transparent .navbar-toggler-icon {background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");}
.navbar.bg-white .navbar-toggler-icon {background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(34,34,34,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");}
@media (max-width: 991px) {
  #navmenu.nav-top {background: transparent !important;backdrop-filter: none !important;}
  #navmenu.nav-scrolled {background: #fff !important;backdrop-filter: none !important;}
  #navmenu.nav-open-blur {background: rgba(255, 255, 255, 0.12) !important;backdrop-filter: blur(12px) !important;}
  #navmenu.nav-open-white {background: #fff !important;backdrop-filter: none !important;}
}

/*footer*/
.footer{background: var(--gray-light);}
.footer a{text-decoration: none;color: white; font-weight: 400}
.footer p{color: white}
.footer i{font-size: 17px}
.footer a:hover{color: var(--red)}
.footer .social-icons a {
  width: 43px;
  height: 43px;
  margin-left: 2px;
  margin-right: 2px;
  border-radius: 50%;
  display: inline-flex;
  background-color: rgba(255, 255, 255, 0.25);
  text-decoration: none;
  align-items: center;
  justify-content: center;
}
.footer .social-icons i{font-size: 20px;}
.footer .list-group a.btn-link:hover .icon-before {transform: translateX(3px);}
.cajamapa{
  margin-top:15px;
  text-align: center;
  color: var(--gray) !important;
  background:#b3b3b3;
  padding:10px 20px;
  border:1px solid #ececec;
}
.footer .copyright {padding: 25px 0;border-top: 1px solid rgba(256, 256, 256, .1);}
@media(min-width:1301px){
  #trengif{left:70px;top:226px;position:relative;}
  .img-footer{
    min-height:500px;
    background: url("../img/plantilla/footer2000.png") no-repeat;
    background-size:cover;
    margin-bottom:0;
    width:100%;
  }
}
@media(max-width:1300px){
  #trengif{left:50px;top:136px;position:relative;}
  .img-footer{
    min-height:400px;
    background: url("../img/plantilla/footer2000.png") no-repeat;
    background-size: cover;
    margin-bottom:0;
    width: 100%;
  }
}
@media(max-width:1200px){
  #trengif{left:60px;top:100px;position:relative;}
  .img-footer{
    min-height:360px;
    background: url("../img/plantilla/footer1300.png") no-repeat;
    background-size: cover;
    margin-bottom:0;
    width: 100%;
  }
}
@media(max-width:990px){
  #trengif{left:60px;top:52px;position:relative;scale:0.8;}
  .img-footer{
    min-height:270px;
    background: url("../img/plantilla/footer1300.png") no-repeat;
    background-size: cover;
    margin-bottom:0;
    width: 100%;
  }
}
@media (max-width:600px){
  #trengif{scale:0.4;left:-34px;top:0;position:relative;}
  .img-footer{
    min-height:50px;
    background: url("../img/plantilla/footer500.png") no-repeat;
    background-size: cover;
    margin-bottom:-20px;
    width: 100%;
  }
  .megamenu .row .col-md-3{min-height:200px;}
}
@media (max-width:450px) {
  #trengif {scale: 0.4;left: -34px;top: 0;position: relative;}
  .img-footer {
    min-height: 50px;
    background: url("../img/plantilla/footer500.png") no-repeat;
    background-size: cover;
    margin-bottom: -10px;
    width: 100%;
  }
}

/* scroll top */
.scroll-top {
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  width: 40px;
  height: 40px;
  border-radius: 50px;
  background-color: var(--red);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  text-decoration: none;
  transform: scale(0.7);
  transition: all 0.4s ease;
}
.scroll-top i {font-size: 24px;line-height: 0;}
.scroll-top:hover {background-color: color-mix(in srgb, var(--red), transparent 20%);}
.scroll-top:hover i{color: white;}

/* spinner */
#spinner i{font-size: 55px;color: var(--red);}
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s ease-out, visibility 0s linear .5s;
  background-color: #f6f6f6;
  z-index: 99999;
}
#spinner.show {
  transition: opacity .5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}



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

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

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

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

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

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

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

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

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

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

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

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

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




/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

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

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

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

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}


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

.section-title h2 {
  font-size: 32px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

.section-title span {
  position: absolute;
  top: 4px;
  color: color-mix(in srgb, var(--heading-color), transparent 95%);
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 700;
  font-size: 52px;
  text-transform: uppercase;
  line-height: 1;
}

.section-title p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 575px) {
  .section-title h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .section-title span {
    font-size: 38px;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/


/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services {
  --surface-color: color-mix(in srgb, var(--default-color), transparent 96%);
  padding-top: 0;
}

.featured-services .service-item {
  background-color: var(--surface-color);
  padding: 50px 30px;
  transition: all ease-in-out 0.4s;
  height: 100%;
}

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

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

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

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

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

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

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

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

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

.about .content ul li {
  padding: 10px 0 0 0;
  display: flex;
}

.about .content ul i {
  color: var(--red);
  margin-right: 0.5rem;
  line-height: 1.2;
  font-size: 1.25rem;
}

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

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

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats {
  padding-top: 0;
}

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

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

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

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  background-color: var(--surface-color);
  text-align: center;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 80px 20px;
  transition: border ease-in-out 0.3s;
  height: 100%;
}

.services .service-item .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: var(--red);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transition: 0.3s;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 28px;
  transition: ease-in-out 0.3s;
}

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

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

.services .service-item:hover {
  border-color: var(--red);
}

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

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

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 16px;
  font-weight: 600;
  margin: 0 10px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: -40px 0 0 40px;
  position: relative;
  z-index: 2;
  border: 6px solid var(--background-color);
}

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

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

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

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

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

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 0 15px;
  padding: 20px 20px 60px 20px;
  background: color-mix(in srgb, var(--default-color), transparent 97%);
  position: relative;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

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

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

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--red);
}

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

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .member {
  position: relative;
}

.team .member .pic {
  overflow: hidden;
  margin-bottom: 50px;
}

.team .member .member-info {
  background-color: var(--surface-color);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: absolute;
  bottom: -50px;
  left: 20px;
  right: 20px;
  padding: 20px 15px;
  overflow: hidden;
  transition: 0.5s;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
  position: relative;
  padding-bottom: 10px;
}

.team .member h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  bottom: 0;
  left: 0;
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.team .member .social {
  position: absolute;
  right: 15px;
  bottom: 15px;
}

.team .member .social a {
  transition: color 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

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

.team .member .social i {
  font-size: 16px;
  margin: 0 2px;
}

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

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

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

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

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

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

.contact .info-item:hover i {
  background: var(--red);
  color: var(--contrast-color);
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}
/*--------------------------------------------------------------
# Footer Styles - Novatadasube
--------------------------------------------------------------*/
.footer{background: var(--gray-light);}
.footer a{text-decoration: none;color: white; font-weight: 400}
.footer p{color: white}
.footer i{font-size: 17px}
.footer a:hover{color: var(--red)}
.footer .social-icons a {
    width: 43px;
    height: 43px;
    margin-left: 2px;
    margin-right: 2px;
    border-radius: 50%;
    display: inline-flex;
    background-color: rgba(255, 255, 255, 0.25);
    text-decoration: none;
    align-items: center;
    justify-content: center;
}
.footer .social-icons i{font-size: 20px;}
.footer .list-group a.btn-link:hover .icon-before {transform: translateX(3px);}
.cajamapa{
    margin-top:15px;
    text-align: center;
    color: var(--gray) !important;
    background:#b3b3b3;
    padding:10px 20px;
    border:1px solid #ececec;
}
.footer .copyright {padding: 25px 0;border-top: 1px solid rgba(256, 256, 256, .1);}
@media(min-width:1301px){
    #trengif{left:70px;top:226px;position:relative;}
    .img-footer{
        min-height:500px;
        background: url("../img/plantilla/footer2000.png") no-repeat;
        background-size:cover;
        margin-bottom:0;
        width:100%;
    }
}
@media(max-width:1300px){
    #trengif{left:50px;top:136px;position:relative;}
    .img-footer{
        min-height:400px;
        background: url("../img/plantilla/footer2000.png") no-repeat;
        background-size: cover;
        margin-bottom:0;
        width: 100%;
    }
}
@media(max-width:1200px){
    #trengif{left:60px;top:100px;position:relative;}
    .img-footer{
        min-height:360px;
        background: url("../img/plantilla/footer1300.png") no-repeat;
        background-size: cover;
        margin-bottom:0;
        width: 100%;
    }
}
@media(max-width:990px){
    #trengif{left:60px;top:52px;position:relative;scale:0.8;}
    .img-footer{
        min-height:270px;
        background: url("../img/plantilla/footer1300.png") no-repeat;
        background-size: cover;
        margin-bottom:0;
        width: 100%;
    }
}
@media (max-width:600px){
    #trengif{scale:0.4;left:-34px;top:0;position:relative;}
    .img-footer{
        min-height:50px;
        background: url("../img/plantilla/footer500.png") no-repeat;
        background-size: cover;
        margin-bottom:-20px;
        width: 100%;
    }
}
@media (max-width:450px) {
    #trengif {scale: 0.4;left: -34px;top: 0;position: relative;}
    .img-footer {
        min-height: 50px;
        background: url("../img/plantilla/footer500.png") no-repeat;
        background-size: cover;
        margin-bottom: -10px;
        width: 100%;
    }
}
/*--------------------------------------------------------------
# About Section - Genios Bolivarianos Enhanced
--------------------------------------------------------------*/
#about .highlight-text {
  color: var(--red);
  font-size: 1.1rem;
  font-weight: 600;
}


#about .about-genios h4 {
  color: var(--red);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

#about .text-red {
  color: var(--red);
}

#about .areas-conocimiento {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1rem;
}

#about .badge-area {
  background: var(--red);
  color: white;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
  display: inline-block;
  transition: all 0.3s ease;
}

#about .badge-area:hover {
  background: color-mix(in srgb, var(--red), black 15%);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(234, 0, 41, 0.3);
}

@media (max-width: 768px) {
  #about .about-genios {
    padding: 1rem;
  }

  #about .about-genios h4 {
    font-size: 1.2rem;
  }

  #about .badge-area {
    font-size: 0.85rem;
    padding: 6px 12px;
  }
}
/*--------------------------------------------------------------
# Fases del Concurso Section
--------------------------------------------------------------*/
.fase-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  height: 100%;
  transition: all 0.4s ease;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.fase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(234, 0, 41, 0.15);
  border-color: var(--red);
}

.fase-full {
  padding: 2.5rem;
}

.fase-destacada {
  background: linear-gradient(135deg, #fff 0%, #fff5f7 100%);
  border: 2px solid var(--red);
}

/* Tabbed Interface Styles */
.fase-tabs-card {
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
  height: fit-content;
}

.fase-tabs-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 1.5rem;
  text-align: center;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}

.fase-tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.fase-tab {
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  width: 100%;
}

.fase-tab:hover {
  border-color: var(--red);
  background: color-mix(in srgb, var(--red), transparent 97%);
  transform: translateX(5px);
}

.fase-tab.active {
  background: var(--red);
  border-color: var(--red);
  box-shadow: 0 4px 15px rgba(234, 0, 41, 0.3);
}

.fase-tab-number {
  width: 45px;
  height: 45px;
  background: var(--red);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.fase-tab.active .fase-tab-number {
  background: white;
  color: var(--red);
}

.fase-tab-content {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex: 1;
}

.fase-tab-content i {
  font-size: 1.5rem;
  color: var(--red);
  transition: all 0.3s ease;
}

.fase-tab.active .fase-tab-content i {
  color: white;
}

.fase-tab-content span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray);
  transition: all 0.3s ease;
}

.fase-tab.active .fase-tab-content span {
  color: white;
}

/* Content Wrapper */
.fase-content-wrapper {
  position: relative;
  min-height: 400px;
}

.fase-content {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  animation: fadeIn 0.5s ease;
}

.fase-content.active {
  display: block;
  position: relative;
}

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

/* Updated Header Styles for Tabbed Layout */
.fase-header {
  border-bottom: 2px solid var(--border);
  padding-bottom: 1rem;
}

.fase-number-large {
  width: 60px;
  height: 60px;
  background: var(--red);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(234, 0, 41, 0.4);
  flex-shrink: 0;
}

.fase-header h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--red);
}

.fase-body {
  margin-top: 1.5rem;
}

.fase-section-title {
  color: var(--gray);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fase-section-title i {
  color: var(--red);
  font-size: 1.3rem;
}

.fase-subtitle {
  color: var(--red);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.fase-description {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  padding: 0.8rem;
  background: color-mix(in srgb, var(--red), transparent 95%);
  border-left: 3px solid var(--red);
  border-radius: 4px;
}

.fase-details {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.fase-details li {
  padding: 8px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--gray);
}

.fase-details li i {
  color: var(--red);
  font-size: 1.2rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.fase-email,
.fase-location,
.fase-time {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}

.fase-email i,
.fase-location i,
.fase-time i {
  font-size: 1.3rem;
  color: var(--red);
}

.fase-email a {
  color: var(--gray);
  font-size: 0.9rem;
  word-break: break-all;
}

.fase-email a:hover {
  color: var(--red);
}

.fase-location span,
.fase-time span {
  color: var(--gray);
  font-weight: 500;
}

/* Nuevos elementos de fase */
.fase-highlight {
  margin: 1.5rem 0;
  padding: 1rem;
  background: color-mix(in srgb, var(--gray), transparent 97%);
  border-radius: 8px;
  border: 1px solid var(--border);
}

.fase-highlight h5 {
  color: var(--gray);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fase-highlight h5 i {
  color: var(--red);
  font-size: 1.2rem;
}

.fase-highlight .fase-details {
  margin: 0.5rem 0 0 0;
}

.fase-live {
  margin-top: 1.5rem;
  padding: 1rem;
  background: linear-gradient(135deg, #FF0000 0%, #CC0000 100%);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  text-align: center;
  justify-content: center;
}

.fase-live i {
  font-size: 1.5rem;
}

.fase-link-box {
  padding: 1rem;
  background: color-mix(in srgb, var(--red), transparent 95%);
  border: 2px dashed var(--red);
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.fase-link-box i {
  font-size: 1.8rem;
  color: var(--red);
  margin-top: 4px;
  flex-shrink: 0;
}

.fase-link-box strong {
  display: block;
  color: var(--gray);
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.fase-link-box a {
  color: var(--red);
  font-weight: 600;
  word-break: break-all;
  font-size: 0.9rem;
}

.fase-link-box a:hover {
  text-decoration: underline;
}

.fase-note {
  padding: 1.2rem;
  background: color-mix(in srgb, #2196F3, transparent 95%);
  border-left: 4px solid #2196F3;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.fase-note i {
  font-size: 1.5rem;
  color: #2196F3;
  margin-top: 2px;
  flex-shrink: 0;
}

.fase-note p {
  margin: 0;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Niveles de Dificultad */
.niveles-info {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.niveles-info h4 {
  color: var(--gray);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.niveles-info h4 i {
  color: var(--red);
  font-size: 2rem;
}

.nivel-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
}

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

.nivel-badge {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: white;
}

.nivel-badge.conocimiento {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.nivel-badge.comprension {
  background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.nivel-badge.aplicacion {
  background: linear-gradient(135deg, var(--red) 0%, #C10022 100%);
}

.nivel-card p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Styles for Fase Tabs */
@media (max-width: 768px) {
  .fase-tabs-card {
    padding: 1rem;
  }

  .fase-tab {
    padding: 0.75rem;
    gap: 0.6rem;
  }

  .fase-tab-number {
    width: 35px;
    height: 35px;
    font-size: 1.2rem;
  }

  .fase-tab-content span {
    font-size: 0.85rem;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
}

@media (max-width: 450px) {
  .fase-tab {
    padding: 0.6rem;
    gap: 0.5rem;
  }

  .fase-tab-number {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }

  .fase-tab-content span {
    font-size: 0.8rem;
  }
}

/*--------------------------------------------------------------
# Premios Section
--------------------------------------------------------------*/
.premios-trophy-icon {
  font-size: 2rem;
}

.premios-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.premios-card-destacada {
  background: linear-gradient(135deg, #fff 0%, #fff5f7 100%);
  border: 2px solid var(--red);
}

.premios-texto-gris {
  color: var(--gray);
  font-size: 0.95rem;
}

/*--------------------------------------------------------------
# Banco de Preguntas Section
--------------------------------------------------------------*/
.banco-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.banco-table thead {
  background: var(--red);
  color: white;
}

.banco-table thead th {
  padding: 1rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-align: center;
  border-bottom: 2px solid var(--red);
}

.banco-table tbody td {
  padding: 0.9rem;
  border-bottom: 1px solid var(--border);
  color: var(--gray);
  font-size: 0.9rem;
  text-align: center;
}

.banco-table tbody tr:last-child td {
  border-bottom: none;
}

.banco-table tbody tr:hover {
  background: color-mix(in srgb, var(--red), transparent 97%);
}

.banco-nivel-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.85rem;
  color: white;
}

.banco-nivel-badge.conocimiento {
  background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
}

.banco-nivel-badge.comprension {
  background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
}

.banco-nivel-badge.aplicacion {
  background: linear-gradient(135deg, var(--red) 0%, #C10022 100%);
}

.banco-table tfoot {
  background: color-mix(in srgb, var(--gray), transparent 95%);
  font-weight: 700;
}

.banco-table tfoot td {
  padding: 1rem;
  border-top: 2px solid var(--border);
  color: var(--gray);
  font-size: 1rem;
}

@media (max-width: 768px) {
  .banco-table {
    font-size: 0.85rem;
  }

  .banco-table thead th,
  .banco-table tbody td,
  .banco-table tfoot td {
    padding: 0.6rem 0.4rem;
  }

  .banco-nivel-badge {
    font-size: 0.75rem;
    padding: 4px 10px;
  }
}

/*--------------------------------------------------------------
# Auspiciantes Section
--------------------------------------------------------------*/
.auspiciante-card {
  position: relative;
  background: #ffffff;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 0;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: var(--shadow);
  margin: 0 auto;
}

.auspiciante-card:hover {
  box-shadow: 0 15px 40px rgba(234, 0, 41, 0.2);
  border-color: var(--red);
}

.auspiciante-img {
  width: 300px;
  height: 300px;
  object-fit: contain;
  transition: all 0.4s ease;
  filter: grayscale(0%);
}

.auspiciante-card:hover .auspiciante-img {
  opacity: 0.3;
  transform: scale(1.1);
}

.auspiciante-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
}

.auspiciante-card:hover .auspiciante-overlay {
  opacity: 1;
}

.auspiciante-btn {
  background: #ffffff;
  color: var(--red);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.auspiciante-card:hover .auspiciante-btn {
  transform: translateY(0);
  opacity: 1;
}

.auspiciante-btn:hover {
  background: var(--red);
  color: #ffffff;
  transform: scale(1.05);
}

.auspiciantesSwiper {
  padding-bottom: 50px;
  margin: 0 auto;
  width: 100%;
}

/* Móvil: contenedor ajustado al ancho de la card */
@media (max-width: 767px) {
  .auspiciantesSwiper {
    max-width: 340px;
  }
}

/* Desktop: contenedor para 2 cards con separación */
@media (min-width: 768px) {
  .auspiciantesSwiper {
    max-width: 680px;
  }
}

.auspiciantesSwiper .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
}

.auspiciantesSwiper .swiper-wrapper {
  align-items: center;
}

.auspiciantesSwiper .swiper-pagination {
  bottom: 0 !important;
  position: relative;
  margin-top: 30px;
  display: flex;
  justify-content: center;
}

.auspiciantesSwiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--border);
  opacity: 1;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.auspiciantesSwiper .swiper-pagination-bullet-active {
  background-color: var(--red);
  width: 30px;
  border-radius: 15px;
}

.auspiciantesSwiper .swiper-pagination-bullet:hover {
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .auspiciante-card {
    width: 250px;
    height: 250px;
    padding: 0;
  }

  .auspiciante-img {
    width: 250px;
    height: 250px;
  }

  .auspiciante-btn {
    padding: 10px 24px;
    font-size: 0.85rem;
  }
}

/*modal Video*/

#videoModal .modal-dialog {
  max-width: 800px;
}

#videoModal .modal-content {
  background: rgba(0, 0, 0, 0.95);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

#videoModal .video-modal-header-red {
  background: var(--red);
  padding: 15px 20px;
  text-align: center;
  position: relative;
}

#videoModal .video-modal-header-red h5 {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

#videoModal .video-modal-header-red h5 i {
  font-size: 1.6rem;
}

#videoModal .video-modal-close-x {
  position: absolute;
  top: 50%;
  right: 15px;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 1.8rem;
  cursor: pointer;
  opacity: 0.8;
  transition: all 0.3s ease;
  line-height: 1;
}

#videoModal .video-modal-close-x:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.2);
}

#videoModal .video-modal-close-x i {
  pointer-events: none;
}

#videoModal .modal-body {
  padding: 0;
}

#videoModal .video-modal-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

#videoModal .video-modal-container .modal-content {
  width: 100%;
}

#videoModal .video-modal-footer-white {
  background: #ffffff;
  padding: 15px 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  border-radius: 0 0 12px 12px;
}

#videoModal .video-modal-footer-white .form-check {
  margin: 0;
}

#videoModal .video-modal-footer-white .form-check-input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  border: 2px solid var(--gray-light);
}

#videoModal .video-modal-footer-white .form-check-input:checked {
  background-color: var(--red);
  border-color: var(--red);
}

#videoModal .video-modal-footer-white .form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(234, 0, 41, 0.25);
  border-color: var(--red);
}

#videoModal .video-modal-footer-white .form-check-label {
  color: var(--gray);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
}

#videoModal.fade .modal-dialog {
  transform: scale(0.8) translateY(-50px);
  transition: transform 0.4s ease-out;
}

#videoModal.show .modal-dialog {
  transform: scale(1) translateY(0);
}

@media (max-width: 576px) {
  #videoModal .modal-dialog {
    margin: 1rem;
  }

  #videoModal .video-modal-header-red {
    padding: 12px 15px;
  }

  #videoModal .video-modal-header-red h5 {
    font-size: 1.1rem;
  }

  #videoModal .video-modal-header-red h5 i {
    font-size: 1.3rem;
  }

  #videoModal .video-modal-close-x {
    font-size: 1.5rem;
    right: 10px;
  }

  #videoModal .video-modal-footer-white {
    padding: 12px 15px;
  }

  #videoModal .video-modal-footer-white .form-check-label {
    font-size: 0.85rem;
  }
}
