body,h1,h2,h3,h4,h5,h6 {  font-family: 'Open Sans', sans-serif;}

body, html {
  height: 100%;
  line-height: 1.8;
}

.dt-top{
  z-index: 9999 !important;
}
#mySidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  background-color: black;
  z-index: 10000;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.dt-sidebar{
    z-index: 9999 !important;
}
.dt-text-nexus{
  color: #f9824c;
  font-weight: bold;
}

/* Full height image header */
.bgimg-1 {
  background-position: center;
  background-size: cover;
  background-image: url("http://assets.nexuspanish.com/imagenes/hero/home_herod.png");
  background-attachment: fixed;
  min-height: 100%;
}

@media (max-width: 768px) {
  .bgimg-1 {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("https://assets.nexuspanish.com/imagenes/hero/home_herom.jpg");
    background-attachment: scroll; 
    background-attachment: fixed;
  }
}

.dt-bar .dt-button {
  padding: 16px;
}

.dt-call-nexus{
    background-color: #f9824c !important;
}
.dt-call-nexus:hover{
    background-color: #f9824c !important;
}
.dt-tag{
    background-color: #f9824c !important;
}

.telegram-button{
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 9999;
}
.telegram-button img{
    width: 50px;
    height: 50px;
}
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
}

.whatsapp-button img {
  width: 50px;
  height: 50px;
}
details {
  margin-top: 50px;
  width: 75%;
  min-height: 5px;
  max-width: 700px;
  padding: 45px 70px 45px 45px;
  margin: 0 auto;
  position: relative;
  font-size: 22px;
  border: 1px solid rgba(0,0,0,.1);
  background-color: #f9824c;
  color: #fff;
  border-radius: 15px;
  box-sizing: border-box;
  transition: all .3s ease; 
}

details + details {
  margin-top: 20px;
}

details[open] {
  min-height: 50px;
  background-color: #f6f7f8;
  box-shadow: 2px 2px 20px rgba(0,0,0,.2);
  color: #f9824c;
}

details p {
  color: #96999d;
  font-weight: 300;
}
details:hover{
  box-shadow: 2px 2px 20px rgba(0,0,0,.2);
  cursor: pointer;
}

summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
  cursor: pointer;
}

summary:focus {
  outline: none;
  
}

summary:focus::after {
  content: "";
  height: 100%;
  width: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  box-shadow: 0px 0px 10px 5px rgba(249, 130, 76, 0.5);
}

summary::-webkit-details-marker {
  display: none
}

.control-icon {
  fill: #f9824c;
  transition: .3s ease;
  pointer-events: none;
}

.control-icon-close {
  display: none;
}

details[open] .control-icon-close {
  display: initial;
  transition: .3s ease;
}

details[open] .control-icon-expand {
  display: none;
}

h2.text-center-price {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

.pricing-box-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.pricing-box {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  margin: 10px;
  min-width: 250px;
  max-width: 350px;
  flex: 1;
  transition: all 0.3s ease-in-out;
  text-align: center;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}

.pricing-box:hover {
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
}

.pricing-box h5 {
  font-size: 1.2rem;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 700;
  color: #333;
}

.price {
  margin: 24px 0;
  font-size: 2.5rem;
  font-weight: 900;
}

.price sub, .price sup {
  font-size: 1rem;
  font-weight: 400;
}

.features-list {
  padding: 0;
  list-style-type: none;
  margin-bottom: 20px;
}

.features-list li {
  font-weight: 300;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.features-list li:last-of-type {
  border-bottom: none;
}

.btn-pricing {
  border-radius: 25px;
  border: none;
  background-color: #F9824C;
  color: #ffffff;
  cursor: pointer;
  padding: 12px 20px;
  margin-top: 20px;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.2s ease-in-out;
}

.btn-pricing:hover {
  box-shadow: 0px 6px 20px rgba(0, 0, 0, 0.3);
  transform: translateY(-5px);
}

  .carousel-container {
    max-width: 900px;
    margin: auto;
    position: relative;
  }
  .mySlides {
    display: none;
  }
  .testimonial-container {
    padding: 16px;
  }
  .carousel-button-left {
      position: absolute;
      top: 50%;
      left: -90px; /* Alejar el botón de la izquierda */
      transform: translateY(-50%);
    }
    .carousel-button-right {
      position: absolute;
      top: 50%;
      right: -90px; /* Alejar el botón de la derecha */
      transform: translateY(-50%);
    }

    @media (max-width: 768px) {
      .carousel-button-left {
        left: -30px;
      }
      .carousel-button-right {
        right: -30px;
      }
    }

.bgimg-2{
  background-position: center;
  background-size: cover;
  background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("https://assets.nexuspanish.com/imagenes/backgrounds/cabildo.jpg");
  background-attachment: fixed;
  min-height: 50%;
  color: white;
}

.bgimg-private {
  background-position: center;
  background-size: cover;
  background-image: url("https://assets.nexuspanish.com/imagenes/hero/private_herod.jpg");
  max-width: 100%;
  min-height: auto; /* <- NUEVO: asegurás que se vea la imagen */

}

@media (max-width: 768px) {
  .bgimg-private {
    background-image: url("https://assets.nexuspanish.com/imagenes/hero/private_herom.jpg");
    background-attachment: fixed;
    height: 100vh;
  }
}

.title{
  font-family: "Quicksand", sans-serif;
}

.containerForm {
  margin-top: 100px;
  display: flex;
  flex-wrap: wrap;
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
}

.contact-infoForm {
  background-color: #2F2F2F;
  color: #F8F4EF;
  padding: 40px;
  flex: 1;
  min-width: 300px;
  text-align: center; 
}

.contact-infoForm h2 {
  margin-bottom: 20px;
  font-size: 24px;
}

.contact-infoForm p {
  margin-bottom: 20px;
}

.contact-infoForm .infoForm {
  list-style: none;
  padding: 0; 
}

.contact-infoForm .infoForm li {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  justify-content: center; 
}

.contact-infoForm .infoForm li i {
  margin-right: 10px;
  font-size: 18px;
}

.juancuenca-image-form{
     width: auto;
    height: 300px;
    border-radius: 15px; 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); 
    border: 5px solid white; 
    transition: transform 0.3s, box-shadow 0.3s; 
}
.juancuenca-image-form:hover{
    transform: scale(1.05); 
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.contact-form {
  padding: 40px;
  flex: 2;
  min-width: 300px;
}

.contact-form h2 {
  margin-bottom: 20px;
  font-size: 24px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form .form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

.contact-form .form-group input,
.contact-form .form-group textarea,
.contact-form .form-group select {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f1f1f1;
  transition: border-color 0.3s;
}

.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus {
  border-color: #f9824c;
  outline: none;
}

.contact-form .btnForm {
  display: inline-block;
  background-color: #f9824c;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form .btnForm:hover {
  background-color: #a55d3c;
}

@media (max-width: 768px) {
  .containerForm {
      flex-direction: column;
  }

  .contact-infoForm, .contact-form {
      padding: 20px;
      text-align: center; 
  }

  .contact-infoForm .infoForm li {
      justify-content: center; 
  }
}
.header-link {
  text-decoration: none;
  color: #fff;

}
.cssbuttons-io-button {
background: #f9824c;
color: white;
font-family: inherit;
padding: 0.35em;
padding-left: 1.2em;
font-size: 17px;
font-weight: 500;
border-radius: 0.9em;
border: none;
letter-spacing: 0.05em;
display: flex;
align-items: center;
box-shadow: inset 0 0 1.6em -0.6em #cc693b;
overflow: hidden;
position: relative;
height: 2.8em;
padding-right: 3.3em;
cursor: pointer;
}

.cssbuttons-io-button .icon-btn-header {
background: white;
margin-left: 1em;
position: absolute;
display: flex;
align-items: center;
justify-content: center;
height: 2.2em;
width: 2.2em;
border-radius: 0.7em;
box-shadow: 0.1em 0.1em 0.6em 0.2em #f9824c;
right: 0.3em;
transition: all 0.3s;
}

.cssbuttons-io-button:hover .icon-btn-header {
width: calc(100% - 0.6em);
}

.cssbuttons-io-button .icon-btn-header svg {
width: 1.1em;
transition: transform 0.3s;
color: #f9824c;
}

.cssbuttons-io-button:hover .icon-btn-header svg {
transform: translateX(0.1em);
}

.cssbuttons-io-button:active .icon-btn-header {
transform: scale(0.95);
}

.dt-bg-nexus{
  background-color: #f9824c;
}

.bgimg-skills {
  background-position: center;
  background-size: cover;
  background-image: url("https://assets.nexuspanish.com/imagenes/backgrounds/background-skills.png");
  background-attachment: fixed;
  
}

.dt-hover-nexus:hover{
  background-color: #F9824C !important;
}

.bgimg-blog{
  position: relative;
  height: 100vh;
  background: url("http://assets.nexuspanish.com/imagenes/hero/blog_herod.jpg");
  background-size: cover;
  background-attachment: fixed;

}
@media (max-width: 768px) {
  .bgimg-blog {
    background-image: url("https://assets.nexuspanish.com/imagenes/hero/blog_herom.jpg");
    background-attachment: scroll; 
    background-attachment: fixed;
  }
}

.blog-title {
  font-size: clamp(2rem, 5vw, 4rem); /* Escala responsiva */
  text-align: center;
}
.description-program{
  position: absolute;
  bottom: 20%;
  left: 5%;
}

.category-btn {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 20px;
  border: 2px solid black;
  text-decoration: none;
  color: black;
  font-weight: bold;
  margin: 5px;
}

.category-btn:hover {
  background-color: #f1f1f1;
}

.active-category-btn {
  background-color: black;
  color: white;
}
.active-category-btn:hover{
color: black;
}
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* Ajuste del video */
#loading-video {
  max-width: 100%;
  max-height: 100%;
}


.dt-card{
  margin-bottom: 20px;
}
.blog-header{
height: 70vh;
background-image: url("http://assets.nexuspanish.com/imagenes/hero/about_herod.jpg");
background-repeat: no-repeat;
background-attachment: fixed;

}
@media (max-width: 768px) {
  .blog-header {
    height: 100vh;
    background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.1)), url("https://assets.nexuspanish.com/imagenes/hero/about_herom.jpg");
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

.hero-group{
  background-image: url("https://assets.nexuspanish.com/imagenes/hero/home_herod_empty.jpg");
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  height: 60vh;
}

@media (max-width: 768px) {
  .hero-group {
    height: 100vh;
    background-image: url("https://assets.nexuspanish.com/imagenes/hero/home_herod_empty.jpg");
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

.blog-title{
position: absolute;
bottom: 50%;
left: 5%;
color: white;
}



.blog-title {
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 20px;
}

.categories-container {
  text-align: center;
}

/* Estilos del pop-up */
#popup {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 250px;
  background-color: transparent;
  border-radius: 10px;
  padding: 10px;
  z-index: 1000;
  display: none;
}

/* Botón de cierre */
#close-btn {
  position: absolute;
  top: 5px;
  right: 10px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  background: none;
  font-weight: bold;
}

/* Ajuste de imagen */
#popup img {
  width: 100%;
  border-radius: 5px;
}

    .thankyou-card {
      max-width: 600px;
      margin: auto;
      margin-top: 10%;
      background-color: white;
      border-radius: 20px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      padding: 40px;
      text-align: center;
    }
    .thankyou-card h1 {
      color: #8A2B25;
    }
    .thankyou-card p {
      font-size: 18px;
      margin-top: 20px;
      color: #2F2F2F;
    }
    .thankyou-logo {
      margin-bottom: 20px;
    }
    .back-confirmation-button {
      margin-top: 30px;
      background-color: #8A2B25;
      color: white;
      border: none;
      padding: 12px 24px;
      font-size: 16px;
      border-radius: 8px;
      cursor: pointer;
      transition: background-color 0.3s;
    }
    .back-confirmation-button:hover {
      background-color: #70221c;
    }
