/* =============================
   PALETA CORPORATIVA
==============================*/
:root {
  --thb-rojo: #e53935;
  --thb-rojo-dark: #b71c1c;
  --thb-negro: #111111;
  --thb-verde: #43a047;
}

/*======================================
//--//-->   STYLES GENERALES
======================================*/

body {
  font-family: "Poppins", sans-serif;
  color: #555555;
  /* =============================
   ESTILOS PERSONALIZADOS LOGIN
==============================*/
  .login-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    padding: 2.5rem 2rem 2rem 2rem;
    margin-top: 60px;
    margin-bottom: 60px;
    transition: box-shadow 0.3s;
  }
  .login-card:hover {
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.22);
  }
  .login-card .card-header {
    border-radius: 18px 18px 0 0;
    background: linear-gradient(
      90deg,
      var(--thb-rojo) 0%,
      var(--thb-negro) 100%
    );
    color: #fff;
    padding: 2rem 1rem 1rem 1rem;
    border-bottom: 4px solid var(--thb-verde);
  }
  .login-card .form-control {
    border-radius: 10px;
    border: 1px solid #d1d5db;
    font-size: 1.1rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.2rem;
    background: #f8f9fa;
    transition: border-color 0.2s;
  }
  .login-card .form-control:focus {
    border-color: #007bff;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.08);
  }
  .login-card .btn-primary {
    background: linear-gradient(135deg, var(--thb-rojo), var(--thb-rojo-dark));
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(229, 57, 53, 0.08);
    transition: background 0.2s, box-shadow 0.2s;
    color: #fff;
  }
  .login-card .btn-primary:hover {
    background: linear-gradient(135deg, var(--thb-rojo-dark), var(--thb-rojo));
    box-shadow: 0 4px 16px rgba(229, 57, 53, 0.15);
    color: #fff;
  }
  .login-card .alert {
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1.2rem;
  }
  .login-card .card-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--thb-negro);
    letter-spacing: 1px;
  }
  .login-card .card-header p {
    font-size: 1.1rem;
    margin-bottom: 0;
    color: var(--thb-negro);
  }
  .login-card .form-label,
  .login-card label {
    color: var(--thb-negro);
    font-weight: 600;
  }
  .login-card .form-control {
    color: var(--thb-negro);
  }
  .login-card .input-group-text,
  .login-card .fa {
    color: var(--thb-verde);
  }
  .login-card .btn-success {
    background: linear-gradient(135deg, var(--thb-verde), #388e3c);
    border: none;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    transition: background 0.2s;
  }
  .login-card .btn-success:hover {
    background: linear-gradient(135deg, #388e3c, var(--thb-verde));
    color: #fff;
  }
  .login-card .btn-warning {
    background: #fffde7;
    color: #e53935;
    border: 1px solid #ffe082;
    font-weight: 600;
    border-radius: 10px;
    transition: background 0.2s, color 0.2s;
  }
  .login-card .btn-warning:hover {
    background: #fff9c4;
    color: #b71c1c;
  }
  .login-card .input-group {
    margin-bottom: 1.2rem;
  }
  .login-card .form-text {
    font-size: 0.95rem;
    color: #6c757d;
  }
  .login-card .btn-link {
    color: #007bff;
    text-decoration: underline;
    font-size: 1rem;
  }
  .login-card .btn-link:hover {
    color: #0056b3;
  }
  .login-card .text-center {
    text-align: center;
  }
  .login-card .mb-0 {
    margin-bottom: 0 !important;
  }
  .login-card .mt-2 {
    margin-top: 0.5rem !important;
  }
  .login-card .me-2 {
    margin-right: 0.5rem !important;
  }
  .login-card .py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  .login-card .p-5 {
    padding: 2rem !important;
  }
}

/* THB Box Styles */
.thb-box {
  display: inline-block;
  padding: 25px 40px;
  border: 4px solid #2eca6a;
  background-color: transparent;
  color: #000000;
  font-size: 48px;
  font-weight: bold;
  text-align: center;
  border-radius: 0;
  min-width: 160px;
  margin: 15px 0;
  font-family: "Poppins", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #000000;
}

a {
  color: #000000;
  transition: all 0.5s ease;
}

a:hover {
  color: #ff0000;
  text-decoration: none;
}

.link-two {
  color: #000000;
  transition: all 0.5s ease;
}

.whatsapp-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background-color: #25d366;
  color: #fff;
  border: none;
  border-radius: 50%;
  padding: 25px;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
}

.link-two:hover {
  text-decoration: underline;
  color: #000000;
}

.link-one {
  color: #000000;
  transition: all 0.5s ease;
}

.link-one:hover {
  color: #000000;
  text-decoration: none;
}

.link-icon {
  color: #000000;
  font-weight: 500;
}

.link-icon span {
  font-size: 14px;
  padding-left: 4px;
  vertical-align: middle;
}

.link-a {
  color: #ffffff;
  text-decoration: none;
}

.link-a:hover {
  color: #ffffff;
  text-decoration: none;
}

.link-a span {
  font-size: 18px;
  vertical-align: middle;
  margin-left: 5px;
}

.text-brand {
  color: #000000;
  font-size: 2rem;
  font-weight: 600;
}

.color-a {
  color: #000000;
}

.color-b {
  color: #ff0000;
}

.color-text-a {
  color: #555555;
}

.no-margin {
  margin: 0;
}

/*------/ Nav Pills  /------*/

.nav-pills-a.nav-pills .nav-link {
  color: #000000;
  position: relative;
  font-weight: 600;
}

.nav-pills-a.nav-pills .nav-link.active {
  background-color: transparent;
}

.nav-pills-a.nav-pills .nav-link.active:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 2px;
  background-color: #2eca6a;
  z-index: 2;
}

/*------/ Bg Image /------*/

.bg-image {
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  background-position: center center;
}

/*------/ List a /------*/

.list-a {
  display: inline-block;
  line-height: 2;
  padding: 0;
  list-style: none;
}

.list-a li {
  position: relative;
  width: 50%;
  float: left;
  padding-left: 25px;
  padding-right: 5px;
}

.list-a li:before {
  content: "";
  width: 10px;
  height: 2px;
  position: absolute;
  background-color: #313131;
  top: 15px;
  left: 0;
}

/*------/ Icon Box /------*/

.icon-box .icon-box-icon {
  display: table-cell;
  vertical-align: top;
  font-size: 36px;
  color: #000000;
  width: 50px;
  padding-top: 8px;
}

.icon-box .icon-box-content {
  padding-top: 18px;
}

/*------/ Space Padding /------*/

.section-t8 {
  padding-top: 8rem;
}

.section-t4 {
  padding-top: 4rem;
}

.section-t3 {
  padding-top: 3rem;
}

.section-b2 {
  padding-bottom: 2rem;
}

/*------/ Title /------*/

.title-wrap {
  padding-bottom: 4rem;
}

.title-a {
  font-size: 2.6rem;
  font-weight: 600;
}

.title-link {
  font-size: 1.2rem;
  font-weight: 300;
  padding-top: 1.2rem;
}

.title-link a {
  color: #313131;
}

.title-link span {
  font-size: 20px;
  padding-left: 4px;
  vertical-align: middle;
}

.title-box-d {
  padding-bottom: 1.8rem;
  margin-bottom: 1rem;
  position: relative;
}

.title-box-d .title-d {
  font-weight: 600;
  font-size: 2rem;
}

.title-box-d .title-d:after {
  content: "";
  position: absolute;
  width: 70px;
  height: 4px;
  background-color: #2eca6a;
  bottom: 20px;
  left: 0;
}

/*------/ Display Table & Table Cell /------*/

.display-table {
  width: 100%;
  height: 100%;
  display: table;
}

.table-cell {
  display: table-cell;
  vertical-align: middle;
}

/*------/ List Reset /------*/

.list-a ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

/*------/ Overlay /------*/

.overlay-a {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.2) 27%,
    rgba(0, 0, 0, 0.65) 90%
  );
}

.overlay {
  position: absolute;
  top: 0;
  left: 0px;
  padding: 0;
  height: 100%;
  width: 100%;
}

/*------/ Owl carousel /------*/

/* Dots deshabilitados globalmente - solo carousels específicos tendrán dots */

.owl-arrow .owl-nav {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.8rem;
}

.owl-arrow .owl-nav .owl-prev,
.owl-arrow .owl-nav .owl-next {
  display: inline-block;
  transition: all 0.6s ease-in-out;
  color: #000000;
}

.owl-arrow .owl-nav .owl-prev.disabled,
.owl-arrow .owl-nav .owl-next.disabled {
  transition: all 0.6s ease-in-out;
  color: #adadad;
}

.owl-arrow .owl-nav .owl-next {
  margin-left: 15px;
}

.nav-arrow-a .owl-arrow .owl-nav {
  font-size: 1.8rem;
  margin-top: -110px;
}

.nav-arrow-a .owl-arrow .owl-nav .owl-next {
  margin-left: 15px;
}

.nav-arrow-b .owl-arrow .owl-nav {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 1.2rem;
}

.nav-arrow-b .owl-arrow .owl-nav .owl-prev,
.nav-arrow-b .owl-arrow .owl-nav .owl-next {
  padding: 0.7rem 1.5rem !important;
  display: inline-block;
  transition: all 0.6s ease-in-out;
  color: #ffffff;
  background-color: #2eca6a;
  opacity: 0.9;
}

.nav-arrow-b .owl-arrow .owl-nav .owl-prev.disabled,
.nav-arrow-b .owl-arrow .owl-nav .owl-next.disabled {
  transition: all 0.6s ease-in-out;
  color: #ffffff;
}

.nav-arrow-b .owl-arrow .owl-nav .owl-prev:hover,
.nav-arrow-b .owl-arrow .owl-nav .owl-next:hover {
  background-color: #26a356;
}

.nav-arrow-b .owl-arrow .owl-nav .owl-next {
  margin-left: 0px;
}

/* Mejoras específicas para el carousel de libros */
#property-carousel.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  margin: 0;
  padding: 0 15px;
  pointer-events: none;
}

#property-carousel.owl-carousel .owl-nav .owl-prev,
#property-carousel.owl-carousel .owl-nav .owl-next {
  position: absolute;
  background: rgba(46, 202, 106, 0.9) !important;
  color: #fff !important;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  pointer-events: all;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(46, 202, 106, 0.3);
  z-index: 10;
  border: none;
  outline: none;
}

#property-carousel.owl-carousel .owl-nav .owl-prev {
  left: -25px;
}

#property-carousel.owl-carousel .owl-nav .owl-next {
  right: -25px;
}

#property-carousel.owl-carousel .owl-nav .owl-prev:hover,
#property-carousel.owl-carousel .owl-nav .owl-next:hover {
  background: rgba(46, 202, 106, 1) !important;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(46, 202, 106, 0.5);
}

/* Property carousel dots - REMOVED */

/* Animación suave al cambiar de slide */
#property-carousel .carousel-item-b {
  transition: transform 0.3s ease;
}

#property-carousel:hover .carousel-item-b:not(:hover) {
  transform: scale(0.95);
  opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #property-carousel.owl-carousel .owl-nav .owl-prev,
  #property-carousel.owl-carousel .owl-nav .owl-next {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  #property-carousel.owl-carousel .owl-nav .owl-prev {
    left: -20px;
  }

  #property-carousel.owl-carousel .owl-nav .owl-next {
    right: -20px;
  }
}

/* 
======================================
  ESTILOS ESPECÍFICOS PARA EL CARRUSEL TECHHOMEBOT 2025
======================================
*/

/* Contenedor principal del carrusel optimizado para tarjetas grandes y legibles */
#techhome-2025-carousel.owl-carousel {
  margin: 30px 0;
  position: relative;
  padding: 0 30px;
}

/* Contenedor de cada item del carrusel */
#techhome-2025-carousel .carousel-item-single {
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  margin: 0 5px;
  transition: all 0.3s ease;
}

#techhome-2025-carousel .carousel-item-single:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transform: translateY(-2px);
}

/* Ajustes para las imágenes del carrusel - TAMAÑO AUMENTADO SIGNIFICATIVAMENTE */
#techhome-2025-carousel .carousel-item-single img {
  width: 100% !important;
  height: auto !important;
  max-height: 900px !important;
  min-height: 600px !important;
  object-fit: contain !important;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#techhome-2025-carousel .carousel-item-single:hover img {
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Navegación específica para el carrusel TECHHOMEBOT 2025 */
#techhome-2025-carousel.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  margin: 0;
  padding: 0 10px;
  pointer-events: none;
  z-index: 15;
}

#techhome-2025-carousel.owl-carousel .owl-nav .owl-prev,
#techhome-2025-carousel.owl-carousel .owl-nav .owl-next {
  position: absolute;
  background: rgba(220, 53, 69, 0.9) !important;
  color: #fff !important;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  pointer-events: all;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
  z-index: 20;
  border: none;
  outline: none;
  font-weight: bold;
}

#techhome-2025-carousel.owl-carousel .owl-nav .owl-prev {
  left: -22px;
}

#techhome-2025-carousel.owl-carousel .owl-nav .owl-next {
  right: -22px;
}

#techhome-2025-carousel.owl-carousel .owl-nav .owl-prev:hover,
#techhome-2025-carousel.owl-carousel .owl-nav .owl-next:hover {
  background: rgba(220, 53, 69, 1) !important;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(220, 53, 69, 0.5);
}

/* Puntos de navegación (dots) personalizados */
#techhome-2025-carousel.owl-carousel .owl-dots {
  text-align: center;
  margin-top: 20px;
  padding: 0;
}

#techhome-2025-carousel.owl-carousel .owl-dots .owl-dot {
  display: inline-block;
  margin: 0 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

#techhome-2025-carousel.owl-carousel .owl-dots .owl-dot.active {
  background: #dc3545;
  transform: scale(1.2);
}

#techhome-2025-carousel.owl-carousel .owl-dots .owl-dot:hover {
  background: #dc3545;
  opacity: 0.8;
}

/* Responsive para el carrusel TECHHOMEBOT */
@media (max-width: 768px) {
  #techhome-2025-carousel.owl-carousel {
    padding: 0 20px;
    margin: 25px 0;
  }

  #techhome-2025-carousel .carousel-item-single img {
    max-height: 750px !important;
    min-height: 500px !important;
  }

  #techhome-2025-carousel.owl-carousel .owl-nav .owl-prev,
  #techhome-2025-carousel.owl-carousel .owl-nav .owl-next {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  #techhome-2025-carousel.owl-carousel .owl-nav .owl-prev {
    left: -20px;
  }

  #techhome-2025-carousel.owl-carousel .owl-nav .owl-next {
    right: -20px;
  }
}

@media (max-width: 576px) {
  #techhome-2025-carousel.owl-carousel {
    padding: 0 15px;
    margin: 20px 0;
  }

  #techhome-2025-carousel .carousel-item-single {
    padding: 8px;
    margin: 0 3px;
  }

  #techhome-2025-carousel .carousel-item-single img {
    max-height: 650px !important;
    min-height: 400px !important;
    border-radius: 5px;
  }

  #techhome-2025-carousel.owl-carousel .owl-nav .owl-prev,
  #techhome-2025-carousel.owl-carousel .owl-nav .owl-next {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  #techhome-2025-carousel.owl-carousel .owl-nav .owl-prev {
    left: -18px;
  }

  #techhome-2025-carousel.owl-carousel .owl-nav .owl-next {
    right: -18px;
  }

  #techhome-2025-carousel.owl-carousel .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    margin: 0 4px;
  }
}

/* ESTILOS ULTRA ESPECÍFICOS PARA FORZAR EL TAMAÑO - MÚLTIPLES SELECTORES */
body
  section.property-single
  div.container
  div.row
  div.col-sm-12
  div#techhome-2025-carousel.owl-carousel.owl-theme
  .carousel-item-single
  img,
div#techhome-2025-carousel.owl-carousel.owl-theme div.carousel-item-single img,
.owl-carousel#techhome-2025-carousel .owl-item .carousel-item-single img,
section .container #techhome-2025-carousel img,
#techhome-2025-carousel img {
  max-height: 900px !important;
  min-height: 600px !important;
  width: 100% !important;
  height: 800px !important;
  object-fit: contain !important;
  display: block !important;
}

/* Responsive con máxima especificidad */
@media (max-width: 768px) {
  body
    section.property-single
    div#techhome-2025-carousel.owl-carousel.owl-theme
    .carousel-item-single
    img,
  div#techhome-2025-carousel.owl-carousel.owl-theme .carousel-item-single img,
  .owl-carousel#techhome-2025-carousel .carousel-item-single img {
    max-height: 750px !important;
    min-height: 500px !important;
    height: 600px !important;
  }
}

@media (max-width: 576px) {
  body
    section.property-single
    div#techhome-2025-carousel.owl-carousel.owl-theme
    .carousel-item-single
    img,
  div#techhome-2025-carousel.owl-carousel.owl-theme .carousel-item-single img,
  .owl-carousel#techhome-2025-carousel .carousel-item-single img {
    max-height: 650px !important;
    min-height: 400px !important;
    height: 500px !important;
  }
}

/* FORZAR EL CONTENEDOR DEL CARRUSEL TAMBIÉN */
div#techhome-2025-carousel.owl-carousel,
#techhome-2025-carousel.owl-carousel,
section div#techhome-2025-carousel {
  min-height: 600px !important;
  height: auto !important;
}

div#techhome-2025-carousel .owl-item,
#techhome-2025-carousel .owl-item {
  min-height: 600px !important;
  height: auto !important;
}

div#techhome-2025-carousel .carousel-item-single,
#techhome-2025-carousel .carousel-item-single {
  min-height: 600px !important;
  height: auto !important;
  display: flex !important;
  align-items: center !important;
}

/* Responsive para contenedores */
@media (max-width: 768px) {
  div#techhome-2025-carousel.owl-carousel,
  #techhome-2025-carousel .owl-item,
  #techhome-2025-carousel .carousel-item-single {
    min-height: 500px !important;
  }
}

@media (max-width: 576px) {
  div#techhome-2025-carousel.owl-carousel,
  #techhome-2025-carousel .owl-item,
  #techhome-2025-carousel .carousel-item-single {
    min-height: 400px !important;
  }
}

/* Indicador visual de carga para autoplay */
.section-property {
  position: relative;
}

.section-property::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #2eca6a 0%, #26a356 100%);
  animation: loading-bar 4s linear infinite;
  z-index: 1;
}

@keyframes loading-bar {
  0% {
    width: 0%;
  }
  95% {
    width: 100%;
  }
  100% {
    width: 0%;
  }
}

/* Efecto hover para las tarjetas de libros */
.card-box-a.hover-zoom {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Indicador de autoplay activo */
.section-property.autoplay-active::before {
  animation-play-state: running;
}

.section-property:not(.autoplay-active)::before {
  animation-play-state: paused;
  opacity: 0.3;
}

/* Mejora en la visibilidad de botones en dispositivos táctiles */
@media (max-width: 991px) {
  #property-carousel.owl-carousel .owl-nav .owl-prev,
  #property-carousel.owl-carousel .owl-nav .owl-next {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

/* Mejoras específicas para el carousel de cursos */
#courses-carousel.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  margin: 0;
  padding: 0 15px;
  pointer-events: none;
}

#courses-carousel.owl-carousel .owl-nav .owl-prev,
#courses-carousel.owl-carousel .owl-nav .owl-next {
  position: absolute;
  background: rgba(46, 202, 106, 0.9) !important;
  color: #fff !important;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  pointer-events: all;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(46, 202, 106, 0.3);
  z-index: 10;
  border: none;
  outline: none;
}

#courses-carousel.owl-carousel .owl-nav .owl-prev {
  left: -25px;
}

#courses-carousel.owl-carousel .owl-nav .owl-next {
  right: -25px;
}

#courses-carousel.owl-carousel .owl-nav .owl-prev:hover,
#courses-carousel.owl-carousel .owl-nav .owl-next:hover {
  background: rgba(46, 202, 106, 1) !important;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(46, 202, 106, 0.5);
}

/* Courses carousel dots - REMOVED */

/* Animación suave para cursos */
#courses-carousel .carousel-item-c {
  transition: transform 0.3s ease;
}

#courses-carousel:hover .carousel-item-c:not(:hover) {
  transform: scale(0.95);
  opacity: 0.7;
}

/* Responsive para carousel de cursos */
@media (max-width: 991px) {
  #courses-carousel.owl-carousel .owl-nav .owl-prev,
  #courses-carousel.owl-carousel .owl-nav .owl-next {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

@media (max-width: 768px) {
  #courses-carousel.owl-carousel .owl-nav .owl-prev,
  #courses-carousel.owl-carousel .owl-nav .owl-next {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  #courses-carousel.owl-carousel .owl-nav .owl-prev {
    left: -20px;
  }

  #courses-carousel.owl-carousel .owl-nav .owl-next {
    right: -20px;
  }
}

/* Efecto hover para las tarjetas de cursos */
.card-box-d.hover-zoom {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Mejoras específicas para el carousel de noticias (usa las mismas clases que cursos) */
#news-carousel.owl-carousel .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  margin: 0;
  padding: 0 15px;
  pointer-events: none;
}

#news-carousel.owl-carousel .owl-nav .owl-prev,
#news-carousel.owl-carousel .owl-nav .owl-next {
  position: absolute;
  background: rgba(46, 202, 106, 0.9) !important;
  color: #fff !important;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  pointer-events: all;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(46, 202, 106, 0.3);
  z-index: 10;
  border: none;
  outline: none;
}

#news-carousel.owl-carousel .owl-nav .owl-prev {
  left: -25px;
}

#news-carousel.owl-carousel .owl-nav .owl-next {
  right: -25px;
}

#news-carousel.owl-carousel .owl-nav .owl-prev:hover,
#news-carousel.owl-carousel .owl-nav .owl-next:hover {
  background: rgba(46, 202, 106, 1) !important;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(46, 202, 106, 0.5);
}

/* News carousel dots - REMOVED */

/* Animación suave para noticias (idéntica a cursos) */
#news-carousel .carousel-item-n {
  transition: transform 0.3s ease;
}

#news-carousel:hover .carousel-item-n:not(:hover) {
  transform: scale(0.95);
  opacity: 0.7;
}

/* Efectos completos de hover para noticias (idénticos a cursos) */
#news-carousel .card-box-d {
  cursor: pointer;
  transition: all 0.3s ease;
}

#news-carousel .card-box-d:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(46, 202, 106, 0.2);
}

/* Efecto hover-zoom para noticias (igual que cursos) */
#news-carousel .card-box-d.hover-zoom {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(46, 202, 106, 0.2);
}

/* Asegurar que ambos carouseles (cursos y noticias) tengan el mismo tamaño de tarjetas */
#courses-carousel .card-box-d,
#news-carousel .card-box-d {
  min-height: 520px !important;
  height: 520px !important;
}

/* Responsive para carousel de noticias */
@media (max-width: 991px) {
  #news-carousel.owl-carousel .owl-nav .owl-prev,
  #news-carousel.owl-carousel .owl-nav .owl-next {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

@media (max-width: 768px) {
  #news-carousel.owl-carousel .owl-nav .owl-prev,
  #news-carousel.owl-carousel .owl-nav .owl-next {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  #news-carousel.owl-carousel .owl-nav .owl-prev {
    left: -20px;
  }

  #news-carousel.owl-carousel .owl-nav .owl-next {
    right: -20px;
  }
}

/*------/ Socials /------*/

.socials-a .list-inline-item:not(:last-child) {
  margin-right: 25px;
}

/* Back to top button */

.back-to-top {
  position: fixed;
  display: none;
  background: #2eca6a;
  color: #fff;
  width: 44px;
  height: 44px;
  text-align: center;
  line-height: 1;
  font-size: 16px;
  border-radius: 50%;
  right: 15px;
  bottom: 15px;
  transition: background 0.5s;
  z-index: 11;
}

.back-to-top i {
  padding-top: 12px;
  color: #fff;
}

/* Prelaoder */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  overflow: hidden;
  background: #fff;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #f2f2f2;
  border-top: 6px solid #2eca6a;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}

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

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

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

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

/*======================================
//--//-->   NAVBAR (REMOVIDO - USANDO header.css)
======================================*/

/* Estilos del navbar movidos a header.css para mejor organización */

/*======================================
//--//-->   BOX COLAPSE
======================================*/

.box-collapse {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  z-index: 1040;
  background-color: #ffffff;
  -webkit-transform: translateX(100%);
  transform: translateX(100%);
  transition: all 0.6s ease;
}

.box-collapse .title-box-d {
  top: 30px;
  left: 60px;
  opacity: 0;
  transition: all 1s ease;
  transition-delay: 0.3s;
}

.box-collapse-wrap {
  opacity: 0;
  position: absolute;
  left: 0;
  top: 6.5rem;
  bottom: 5rem;
  padding-left: 10%;
  padding-right: 10%;
  overflow-x: hidden;
  overflow-y: auto;
  margin: 0;
  -webkit-transform: translateY(3rem);
  transform: translateY(3rem);
  transition: opacity 0.5s 0.5s ease, -webkit-transform 0.5s 0.5s ease;
  transition: transform 0.5s 0.5s ease, opacity 0.5s 0.5s ease;
  transition: transform 0.5s 0.5s ease, opacity 0.5s 0.5s ease,
    -webkit-transform 0.5s 0.5s ease;
}

.box-collapse-open .click-closed {
  visibility: visible;
}

.box-collapse-open .box-collapse {
  -webkit-transform: translateX(0);
  transform: translateX(0);
  box-shadow: 0 0 65px rgba(0, 0, 0, 0.07);
  opacity: 1;
}

.box-collapse-open .box-collapse .title-box-d {
  -webkit-transform: translate(0);
  transform: translate(0);
  opacity: 1;
}

.box-collapse-open .box-collapse-wrap {
  -webkit-transform: translate(0);
  transform: translate(0);
  opacity: 1;
}

.box-collapse-closed .box-collapse {
  opacity: 0.7;
  transition-delay: 0s;
}

.box-collapse-closed .box-collapse .title-box-d {
  opacity: 0;
  transition-delay: 0s;
}

.box-collapse-closed .box-collapse .form-a {
  opacity: 0;
  transition-delay: 0s;
}

.click-closed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  visibility: hidden;
  z-index: 1035;
  background-color: #000000;
  opacity: 0.4;
}

.close-box-collapse {
  position: absolute;
  z-index: 1050;
  top: 2rem;
  font-size: 3.5rem;
  line-height: 1;
  color: #000000;
  cursor: pointer;
  transition: all 0.3s ease;
}

.right-boxed {
  right: 4.2857rem;
}

/*======================================
//--//-->   INTRO
======================================*/

.intro {
  height: 100vh;
  position: relative;
  color: #ffffff;
}

/* Dots del carousel principal */
.intro-carousel .owl-dots,
.intro .owl-theme .owl-dots,
#carousel.owl-theme .owl-dots {
  position: absolute !important;
  bottom: 70px !important;
  right: 50px !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  z-index: 1000 !important;
}

.intro-carousel .owl-dots .owl-dot,
.intro .owl-theme .owl-dots .owl-dot,
#carousel.owl-theme .owl-dots .owl-dot {
  display: inline-block !important;
  margin: 0 2px !important;
  cursor: pointer !important;
  opacity: 1 !important;
  visibility: visible !important;
}

.intro-carousel .owl-dots .owl-dot span,
.intro .owl-theme .owl-dots .owl-dot span,
#carousel.owl-theme .owl-dots .owl-dot span {
  width: 45px !important;
  height: 10px !important;
  background: rgba(255, 255, 255, 0.5) !important;
  border: 1px solid rgba(255, 255, 255, 0.8) !important;
  border-radius: 5px !important;
  display: block !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

.intro-carousel .owl-dots .owl-dot:hover span,
.intro .owl-theme .owl-dots .owl-dot:hover span,
#carousel.owl-theme .owl-dots .owl-dot:hover span {
  background-color: rgba(46, 202, 106, 0.8) !important;
  border-color: #2eca6a !important;
  transform: scaleX(1.1) !important;
}

.intro-carousel .owl-dots .owl-dot.active span,
.intro .owl-theme .owl-dots .owl-dot.active span,
#carousel.owl-theme .owl-dots .owl-dot.active span {
  background-color: #2eca6a !important;
  border-color: #ffffff !important;
  transform: scaleX(1.2) !important;
  box-shadow: 0 3px 12px rgba(46, 202, 106, 0.6) !important;
}

/* Responsive para dots del carousel principal */
@media (max-width: 768px) {
  .intro-carousel .owl-dots,
  .intro .owl-theme .owl-dots,
  #carousel.owl-theme .owl-dots {
    bottom: 30px !important;
    right: 50% !important;
    transform: translateX(50%) !important;
    justify-content: center !important;
  }

  .intro-carousel .owl-dots .owl-dot span,
  .intro .owl-theme .owl-dots .owl-dot span,
  #carousel.owl-theme .owl-dots .owl-dot span {
    width: 35px !important;
    height: 8px !important;
    border-radius: 4px !important;
  }
}

.intro .intro-item {
  padding-top: 2rem;
}

.intro .carousel-item-a {
  position: relative;
  height: 100vh;
}

.intro .carousel-item-a.bg-image {
  background-attachment: scroll;
}

.intro .intro-content {
  position: absolute;
}

.intro .intro-body {
  padding-left: 1rem;
}

.intro .intro-body .price-a {
  color: #ffffff;
  padding: 1rem 1.5rem;
  border: 2px solid #2eca6a;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.intro .spacial {
  -webkit-animation-delay: 0.2s;
  animation-delay: 0.2s;
  color: #ffffff;
}

.intro .intro-title-top {
  -webkit-animation-delay: 0.6s;
  animation-delay: 0.6s;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.intro .intro-title {
  transition-duration: 9s !important;
  color: #ffffff;
  font-weight: 700;
  font-size: 2.8rem;
  text-transform: uppercase;
}

.intro .intro-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
}

.intro .intro-subtitle.intro-price {
  padding-top: 1rem;
  font-size: 1.2rem;
}

/*------/ Intro Single /------*/

.intro-single {
  padding: 12rem 0 3rem;
}

.intro-single .title-single-box {
  padding: 1rem 0 1rem 2rem;
}

.intro-single .title-single-box {
  border-left: 3px solid #2eca6a;
}

.intro-single .title-single-box .title-single {
  font-weight: 600;
  font-size: 2.2rem;
}

.intro-single .breadcrumb-box {
  padding: 1rem 0 0 0.5rem;
}

.intro-single .breadcrumb {
  background-color: transparent;
  padding-right: 0;
  padding-left: 0;
}

/*======================================
//--//-->   CARD GENERAL
======================================*/

.card-box-a,
.card-box-b,
.card-box-d {
  position: relative;
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.card-box-a .img-a,
.card-box-a .img-b,
.card-box-b .img-a,
.card-box-b .img-b {
  transition: 0.8s all ease-in-out;
}

.card-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.card-shadow {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.card-shadow:before {
  content: " ";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.2) 27%,
    rgba(0, 0, 0, 0.65) 90%
  );
}

/*======================================
//--//-->   PROPERTY - CARD-A
======================================*/

.card-overlay-a-content {
  transition: all 0.5s ease-in;
  position: absolute;
  width: 100%;
  bottom: 0px;
  z-index: 2;
}

.card-header-a {
  padding: 0 1rem;
}

.card-header-a .card-title-a {
  color: #ffffff;
  margin-bottom: 0;
  padding-bottom: 0.7rem;
}

.card-header-a .card-title-a a {
  color: #ffffff;
  text-decoration: none;
}

.card-body-a {
  z-index: 2;
  transition: all 0.5s ease-in;
  padding: 0rem 1rem 2rem 1rem;
}

.card-body-a .price-box {
  padding-bottom: 0.5rem;
}

.price-a {
  color: #ffffff;
  padding: 0.6rem 0.8rem;
  border: 2px solid #2eca6a;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.card-footer-a {
  width: 100%;
  position: absolute;
  z-index: 2;
  background-color: #2eca6a;
}

.card-info {
  list-style: none;
  margin-bottom: 0;
  padding: 0.5rem 0;
}

.card-info .card-info-title {
  font-size: 1rem;
  color: #313131;
}

.card-info li span {
  color: #ffffff;
  font-size: 0.9rem;
}

/*------/ Property Grid /-----*/

.property-grid .grid-option {
  text-align: right;
  margin-bottom: 2rem;
}

.property-grid .grid-option .custom-select {
  border-radius: 0;
  width: 200px;
  border-color: #313131;
}

.property-grid .grid-option .custom-select:hover,
.property-grid .grid-option .custom-select:active,
.property-grid .grid-option .custom-select:focus {
  border-color: #313131;
}

.property-grid .grid-option .custom-select option {
  border-color: #313131;
}

/*------/ Property Single /-----*/

.gallery-property {
  margin-bottom: 3rem;
}

.property-price {
  margin: 0 auto;
}

.property-price .card-header-c {
  padding: 0;
}

.summary-list {
  padding-right: 1rem;
  color: #000000;
}

.summary-list .list {
  padding: 0;
  line-height: 2;
}

.summary-list .list span {
  color: #555555;
}

.property-agent .title-agent {
  font-weight: 600;
}

.property-agent ul {
  line-height: 2;
  color: #000000;
}

.property-agent .socials-a {
  text-align: center;
}

/*======================================
//--//-->   NEWS - CARD-B
======================================*/

.card-header-b {
  padding: 1rem;
  color: #ffffff;
  position: absolute;
  bottom: 20px;
  z-index: 2;
}

.card-header-b .category-b {
  font-size: 0.9rem;
  background-color: #2eca6a;
  padding: 0.3rem 0.7rem;
  color: #313131;
  letter-spacing: 0.03em;
  border-radius: 50px;
  text-decoration: none;
}

.card-header-b .title-2 {
  margin-bottom: 0;
  padding: 0.6rem 0;
  font-size: 1.5rem;
}

.card-header-b .title-2 a {
  color: #ffffff;
  text-decoration: none;
}

.card-header-b .date-b {
  color: #d8d8d8;
  font-size: 1rem;
}

/*------/ News Single /------*/

.post-information {
  padding: 3rem 0;
}

.post-content {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
}

.post-content .post-intro {
  font-size: 1.7rem;
  font-weight: 300;
  margin-bottom: 4rem;
  line-height: 1.6;
  color: #000000;
  font-weight: 400;
}

.post-content p {
  margin-bottom: 1.7rem;
}

.post-content .blockquote {
  padding: 1rem 3rem 1.7rem 3rem;
  border-left: 3px solid #2eca6a;
  color: #000000;
}

.post-content .blockquote footer {
  text-align: left;
  padding: 0;
}

.post-footer {
  padding: 3rem 0 4rem;
}

.post-share .socials {
  display: inline-block;
}

.post-share .socials li {
  margin-left: 0.6rem;
}

/*======================================
//--//-->   AGENTS - CARD-D
======================================*/

.card-box-d .card-overlay-hover {
  transition: all 0.3s ease-in-out;
  padding: 40px 25px 25px 25px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  min-height: 300px;
}

.card-box-d .title-d {
  transition: 0.4s ease-in-out;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  -webkit-transform: translateY(-15px);
  transform: translateY(-15px);
  opacity: 0;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
  text-align: center;
}

.card-box-d .content-d {
  opacity: 0;
  transition: 0.4s ease-in-out;
  -webkit-transform: translateY(-20px);
  transform: translateY(-20px);
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  line-height: 1.6;
  margin-bottom: 2rem;
  text-align: center;
  max-width: 90%;
}

.card-box-d .info-agents {
  opacity: 0;
  transition: 0.4s ease-in-out;
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  text-align: center;
  margin-bottom: 1.5rem;
}

.card-box-d .card-footer-d {
  transition: 0.4s ease-in-out;
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
  opacity: 0;
  position: absolute;
  width: 100%;
  bottom: 15px;
  left: 0;
  padding: 0 30px;
}

.card-box-d .list-inline-item:not(:last-child) {
  margin-right: 20px;
}

.card-box-d .socials-footer .link-one {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.card-box-d .socials-footer .link-one:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.card-box-d:hover .card-overlay-hover {
  background: linear-gradient(
    135deg,
    rgba(46, 202, 106, 0.95) 0%,
    rgba(38, 163, 86, 0.95) 50%,
    rgba(46, 202, 106, 0.95) 100%
  );
  opacity: 1;
  box-shadow: 0 8px 32px rgba(46, 202, 106, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.card-box-d:hover .title-d,
.card-box-d:hover .content-d,
.card-box-d:hover .info-agents,
.card-box-d:hover .card-footer-d {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

/* Mejoras adicionales para la información de contacto */
.card-box-d .info-agents p {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  text-align: center;
}

.card-box-d .info-agents strong {
  color: rgba(255, 255, 255, 1);
  font-weight: 700;
  display: inline-block;
  min-width: 60px;
}

/*======================================
//--//-->   ABOUT
======================================*/

.section-about .title-vertical {
  position: absolute;
  letter-spacing: 0;
  -webkit-transform: rotate(-90deg);
  transform: rotate(-90deg);
  top: 50px;
  text-align: left;
  font-size: 1.8rem;
  width: 300px;
  font-weight: 700;
  text-align: right;
}

.about-img-box {
  padding-left: 1rem;
  position: relative;
}

.sinse-box {
  background-color: #2eca6a;
  padding: 1rem 2rem;
  position: absolute;
  left: 15px;
  bottom: 10px;
}

.sinse-box .sinse-title {
  font-weight: 700;
  letter-spacing: 0.043em;
  font-size: 1rem;
}

.sinse-box .sinse-title span {
  position: absolute;
}

.sinse-box .sinse-title span:after {
  content: " ";
  width: 35px;
  height: 2px;
  background-color: #000000;
  position: absolute;
  bottom: -15px;
}

.sinse-box p {
  margin-bottom: 0;
  font-size: 0.7rem;
}

/*======================================
//--//-->   FOOTER
======================================*/

.section-footer {
  padding-top: 40px;
  padding-bottom: 20px;
  margin-top: 60px;
  background: #f3f3f3;
}

.section-footer .container {
  /* Forzar que use el mismo ancho que el resto del contenido */
  max-width: 1320px !important;
  width: 100% !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}

.section-footer .row {
  margin-left: -15px;
  margin-right: -15px;
}

.section-footer .footer-column {
  padding-left: 15px;
  padding-right: 15px;
  margin-bottom: 30px;
}

.section-footer .footer-column-left {
  border-right: 1px solid #e0e0e0;
}

.section-footer .footer-column-center {
  border-right: none;
}

/* Columna derecha sin border derecho */

.section-footer .widget-a {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 15px;
}

.section-footer .w-body-a,
.section-footer .w-footer-a {
  flex-grow: 1;
}

@media (min-width: 1200px) {
  .section-footer .widget-a {
    padding: 0 20px;
  }

  .section-footer .container {
    max-width: 1320px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (min-width: 1400px) {
  .section-footer .container {
    max-width: 1450px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

@media (max-width: 767px) {
  .section-footer .footer-column-left,
  .section-footer .footer-column-center {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 25px;
    padding-bottom: 25px;
  }

  .section-footer .footer-column {
    padding-left: 15px;
    padding-right: 15px;
    margin-bottom: 20px;
  }

  .section-footer .widget-a {
    padding: 0 10px;
    text-align: center;
  }

  /* Mejorar colegios en móvil */
  .colegio-item {
    justify-content: center !important;
  }
}

.section-footer ul {
  line-height: 2;
}

.section-footer .item-list-a i {
  font-size: 18px;
  padding-right: 4px;
  color: #2eca6a;
}

.section-footer .widget-a .w-title-a {
  margin-bottom: 1rem;
}

/* Estilos para la sección de colegios asociados */
.colegio-item {
  transition: transform 0.3s ease;
  cursor: pointer;
  padding: 15px;
}

.colegio-item:hover {
  transform: translateY(-5px);
}

.colegio-item img {
  transition: transform 0.3s ease;
}

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

/* Estilos para los enlaces de colegios */
.colegio-link {
  display: block;
  text-decoration: none !important;
  color: inherit !important;
}

.colegio-link:hover {
  text-decoration: none !important;
  color: inherit !important;
}

.colegio-link:visited {
  color: inherit !important;
}

.colegio-link:focus {
  outline: 2px solid #2eca6a;
  outline-offset: 2px;
  border-radius: 4px;
}

footer {
  background: #f3f3f3;
  text-align: center;
  padding: 20px 0 15px 0;
}

footer .copyright-footer {
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

footer .credits {
  font-size: 14px;
}

/*======================================
//--//-->   FORM INPUT
======================================*/

.form-a #sendmessage {
  color: #2eca6a;
  border: 1px solid #26a356;
  display: none;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

.form-a #errormessage {
  color: red;
  display: none;
  border: 1px solid red;
  text-align: center;
  padding: 15px;
  font-weight: 600;
  margin-bottom: 15px;
}

.form-a #sendmessage.show,
.form-a #errormessage.show,
.form-a .show {
  display: block;
}

.form-a .validation {
  color: red;
  display: none;
  margin: 4px 0 20px 0;
  font-weight: 400;
  font-size: 13px;
}

.form-a label {
  color: #000000;
  position: relative;
}

.form-a select.form-control-lg:not([size]):not([multiple]) {
  height: 3.5rem;
}

.form-a .form-control {
  border-radius: 0;
  font-size: 1.1rem;
  font-weight: 300;
}

.form-a .form-control.form-control-a {
  height: 3.5rem;
}

.form-a .form-control:focus {
  box-shadow: none;
  border-color: #2eca6a;
}

/*======================================
//--//-->   BUTTON
======================================*/

.btn {
  transition: 0.5s ease;
}

.btn.btn-a,
.btn.btn-b {
  border-radius: 0;
  padding: 1rem 3rem;
  letter-spacing: 0.05rem;
}

.btn.btn-a {
  background-color: #000000;
  color: #ffffff;
}

.btn.btn-a:hover {
  background-color: #2eca6a;
  color: #000000;
}

.btn.btn-b {
  background-color: #2eca6a;
  color: #000000;
}

.btn.btn-b:hover {
  background-color: #000000;
  color: #ffffff;
}

.btn.btn-b-n {
  background-color: #2eca6a;
  color: #ffffff;
  border-radius: 0;
}

.btn.btn-b-n:hover {
  background-color: #26a356;
  color: #ffffff;
}

@media (min-width: 576px) {
  .intro .intro-title {
    font-size: 3.5rem;
  }

  .intro .intro-subtitle.intro-price {
    font-size: 1.3rem;
  }

  .about-img-box {
    padding-left: 4rem;
  }

  .sinse-box {
    padding: 1.5rem 2.5rem;
    bottom: 20px;
  }

  .sinse-box .sinse-title {
    font-size: 1.3rem;
  }

  .sinse-box p {
    font-size: 0.8rem;
  }

  .sinse-box p {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .link-a {
    font-size: 0.9rem;
  }

  .link-a span {
    font-size: 1.5rem;
  }

  .navbar-default.navbar-trans .nav-item,
  .navbar-default.navbar-reduce .nav-item {
    margin-left: 15px;
  }

  .navbar-default .dropdown .dropdown-menu {
    border-top: 4px solid #2eca6a;
    border-left: 0;
    display: block;
    position: absolute;
    box-shadow: 0 2px rgba(17, 16, 15, 0.1), 0 2px 10px rgba(20, 19, 18, 0.1);
  }

  .box-collapse {
    width: 50%;
  }

  /* .intro .owl-theme .owl-dots {
    right: 200px;
  } */

  .intro .intro-body {
    padding-left: 2rem;
  }

  .intro .intro-title-top {
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .intro .intro-title {
    font-size: 4rem;
  }

  .intro .intro-subtitle {
    font-size: 2.5rem;
  }

  .intro .intro-subtitle.intro-price {
    padding-top: 2rem;
    font-size: 1.5rem;
  }

  .intro-single .title-single-box .title-single {
    font-size: 2.1rem;
  }

  .grid .card-box-a,
  .grid .card-box-b,
  .grid .card-box-c,
  .grid .card-box-d {
    margin-bottom: 2.5rem;
  }

  .card-box-a:hover .img-a,
  .card-box-a:hover .img-b,
  .card-box-b:hover .img-a,
  .card-box-b:hover .img-b {
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
  }

  .card-box-a .price-a,
  .card-box-b .price-a {
    font-size: 0.9rem;
  }

  .card-box-a:hover .card-overlay-a-content {
    bottom: 60px;
  }

  .card-box-a:hover .card-body-a {
    padding-bottom: 1rem;
  }

  .card-overlay-a-content {
    bottom: -20px;
  }

  .card-header-a .card-title-a {
    font-size: 1.3rem;
  }

  .card-info .card-info-title {
    font-size: 0.9rem;
  }

  .card-info li span {
    font-size: 0.8rem;
  }

  .card-header-b {
    bottom: 0px;
  }

  .card-header-b .title-2 {
    font-size: 1rem;
  }

  .card-header-b .date-b {
    font-size: 0.9rem;
  }

  .box-comments .list-comments .comment-author {
    font-size: 1.5rem;
  }

  .title-c {
    font-size: 1.8rem;
  }

  .card-box-d .card-overlay-hover {
    padding: 5px 15px 5px 10px;
  }

  .card-box-d .title-d {
    font-size: 1.1rem;
    margin: 0.5rem 0;
  }

  .card-box-d .content-d {
    font-size: 0.8rem;
    margin: 0.5rem 0;
  }

  .card-box-d .card-body-d p {
    margin-bottom: 8px;
    font-size: 0.8rem;
  }

  .about-img-box {
    padding-left: 5rem;
  }

  .sinse-box {
    padding: 1.5rem 3rem;
  }

  .sinse-box .sinse-title {
    font-size: 1.8rem;
  }
}

@media (min-width: 768px) and (min-width: 768px) {
  .card-box-a:hover .card-overlay-a-content {
    bottom: 60px;
  }
}

@media (min-width: 768px) and (min-width: 992px) {
  .card-box-a:hover .card-overlay-a-content {
    bottom: 64px;
  }
}

@media (min-width: 992px) {
  .link-a {
    font-size: 1rem;
  }

  .link-a span {
    font-size: 18px;
  }

  .list-a li {
    width: 33.333%;
  }

  .intro .intro-title-top {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .intro .intro-title {
    font-size: 4.5rem;
  }

  .intro .intro-subtitle.intro-price {
    padding-top: 3rem;
  }

  .intro-single .title-single-box .title-single {
    font-size: 2.5rem;
  }

  .card-box-a .price-a,
  .card-box-b .price-a {
    font-size: 1rem;
  }

  .card-overlay-a-content {
    bottom: 0px;
  }

  .card-header-a .card-title-a {
    font-size: 2rem;
  }

  .card-info .card-info-title {
    font-size: 1rem;
  }

  .card-info li span {
    font-size: 1rem;
  }

  .card-header-b {
    bottom: 20px;
  }

  .card-header-b .title-2 {
    font-size: 1.6rem;
  }

  .card-header-b .date-b {
    font-size: 1rem;
  }

  .title-c {
    font-size: 2.5rem;
  }

  .card-box-d .card-overlay-hover {
    padding: 5px 40px 5px 35px;
  }

  .card-box-d .title-d {
    font-size: 1.5rem;
    margin: 1rem 0;
  }

  .card-box-d .card-body-d p {
    margin-bottom: 12px;
    font-size: 1rem;
  }

  .sinse-box {
    padding: 3rem 4.5rem;
  }

  .sinse-box .sinse-title {
    font-size: 2.2rem;
  }
}

@media (min-width: 1200px) {
  .card-box-d .card-overlay-hover {
    padding: 15px 40px 5px 35px;
  }

  .card-box-d .title-d {
    font-size: 2rem;
    margin: 1rem 0;
  }
}

@media (max-width: 991px) {
  .property-contact {
    margin-top: 2.5rem;
  }
}

@media (max-width: 768px) {
  .back-to-top {
    bottom: 15px;
  }
}

@media (max-width: 767px) {
  .text-brand {
    font-size: 1.8rem;
  }

  .section-t8 {
    padding-top: 4rem;
  }

  .section-t4 {
    padding-top: 2rem;
  }

  .section-md-t3 {
    padding-top: 3rem;
  }

  .section-tb85 {
    padding: 4rem 0 2.5rem 0;
  }

  .intro-single {
    padding-top: 9rem;
  }

  .card-box-a,
  .card-box-b,
  .card-box-c,
  .card-box-d {
    margin-bottom: 2.5rem;
  }

  .card-box-a .card-overlay-a-content {
    bottom: 65px;
  }

  .card-box-a .card-body-a {
    padding-bottom: 1rem;
  }

  .property-agent {
    margin-top: 2.5rem;
  }

  .card-box-c {
    margin-bottom: 2rem;
  }

  .card-body-c {
    padding: 0;
  }
}

@media (max-width: 575px) {
  .box-collapse .title-box-d {
    left: 35px;
  }

  .box-collapse .title-box-d .title-d {
    font-size: 1.3rem;
  }
}

/* Aumentar ligeramente el ancho del container para aprovechar mejor el espacio */
@media (min-width: 1200px) {
  .container {
    max-width: 1320px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1450px;
  }
}

/* Estilos para carousel de imágenes TECHHOMEBOT-2023 */
#techhome-2023-carousel {
  margin-bottom: 30px;
}

#techhome-2023-carousel .carousel-item-single {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#techhome-2023-carousel .carousel-item-single img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  border-radius: 8px;
}

#techhome-2023-carousel .carousel-item-single:hover img {
  transform: scale(1.05);
}

/* Navegación del carousel */
#techhome-2023-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  z-index: 10;
}

#techhome-2023-carousel .owl-nav button.owl-prev,
#techhome-2023-carousel .owl-nav button.owl-next {
  position: absolute;
  background: rgba(46, 202, 106, 0.9) !important;
  color: white !important;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
  outline: none;
  cursor: pointer;
}

#techhome-2023-carousel .owl-nav button.owl-prev {
  left: 20px;
}

#techhome-2023-carousel .owl-nav button.owl-next {
  right: 20px;
}

#techhome-2023-carousel .owl-nav button:hover {
  background: rgba(46, 202, 106, 1) !important;
  transform: scale(1.1);
}

/* Dots del carousel */
#techhome-2023-carousel .owl-dots {
  text-align: center;
  margin-top: 20px;
}

#techhome-2023-carousel .owl-dots .owl-dot {
  display: inline-block;
  margin: 0 5px;
}

#techhome-2023-carousel .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  background: rgba(46, 202, 106, 0.3);
  border-radius: 50%;
  display: block;
  transition: all 0.3s ease;
}

#techhome-2023-carousel .owl-dots .owl-dot.active span,
#techhome-2023-carousel .owl-dots .owl-dot:hover span {
  background: #2eca6a;
  transform: scale(1.2);
}

/* Responsive para móviles */
@media (max-width: 768px) {
  #techhome-2023-carousel .owl-nav button.owl-prev,
  #techhome-2023-carousel .owl-nav button.owl-next {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  #techhome-2023-carousel .owl-nav button.owl-prev {
    left: 10px;
  }

  #techhome-2023-carousel .owl-nav button.owl-next {
    right: 10px;
  }
}

/* Estilos para carousel de modales de colegios */
#modal-colegio-carousel {
  margin-bottom: 20px;
}

#modal-colegio-carousel .carousel-item-single {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

#modal-colegio-carousel .carousel-item-single img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

#modal-colegio-carousel .carousel-item-single:hover img {
  transform: scale(1.05);
}

#modal-colegio-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  pointer-events: none;
  z-index: 10;
}

#modal-colegio-carousel .owl-nav button.owl-prev,
#modal-colegio-carousel .owl-nav button.owl-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(46, 202, 106, 0.8) !important;
  color: white !important;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 18px;
  pointer-events: all;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

#modal-colegio-carousel .owl-nav button.owl-prev {
  left: 15px;
}

#modal-colegio-carousel .owl-nav button.owl-next {
  right: 15px;
}

#modal-colegio-carousel .owl-nav button:hover {
  background: rgba(46, 202, 106, 1) !important;
  transform: translateY(-50%) scale(1.1);
}

#modal-colegio-carousel .owl-dots {
  text-align: center;
  margin-top: 15px;
}

#modal-colegio-carousel .owl-dots .owl-dot {
  margin: 0 5px;
}

#modal-colegio-carousel .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  background: #ccc;
  border-radius: 50%;
  display: block;
  transition: all 0.3s ease;
}

#modal-colegio-carousel .owl-dots .owl-dot.active span,
#modal-colegio-carousel .owl-dots .owl-dot:hover span {
  background: #2eca6a;
  transform: scale(1.2);
}

.modal-carousel-container {
  margin-bottom: 5px; /* Reducido de 10px a 5px */
  margin-top: 0; /* Sin margen superior */
}

.modal-colegio-container {
  max-width: 800px !important;
  width: 100% !important;
  height: calc(
    100vh - 30px
  ); /* Altura completa menos 30px (15px arriba + 15px abajo) */
  max-height: calc(100vh - 30px);
  margin: 0 auto;
  display: flex;
  align-items: center; /* Centrar verticalmente */
  justify-content: center;
  padding: 0; /* Sin padding interno */
}

.modal-colegio-card {
  height: 100%; /* Altura completa del contenedor */
  max-height: 100%;
  overflow-y: scroll !important; /* Forzar scroll siempre */
  overflow-x: hidden;
  position: relative;
  background: white;
  border-radius: 8px; /* Agregar border-radius sutil */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  width: 100%;

  /* Estilos de scrollbar visibles */
  scrollbar-width: auto !important;
  scrollbar-color: #2eca6a #f1f1f1 !important;
}

/* Estilos de scrollbar para Webkit (Chrome, Safari, etc.) */
.modal-colegio-card::-webkit-scrollbar {
  width: 14px !important;
  background: #f1f1f1 !important;
}

.modal-colegio-card::-webkit-scrollbar-track {
  background: #e9ecef !important;
  border-radius: 7px;
  margin: 5px 0;
  border: 1px solid #dee2e6;
}

.modal-colegio-card::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #2eca6a 0%, #27a35c 100%) !important;
  border-radius: 7px;
  border: 2px solid #e9ecef;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.2);
}

.modal-colegio-card::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #27a35c 0%, #229954 100%) !important;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3);
}

.modal-colegio-card::-webkit-scrollbar-corner {
  background: #f1f1f1 !important;
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  z-index: 20;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.9);
  transform: scale(1.1);
}

.modal-titulo-colegio {
  color: #2c3e50;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 3px; /* Reducido de 8px a 3px */
  margin-top: 0; /* Sin margen superior */
  text-align: center;
}

.modal-datos-basicos {
  background: #f8f9fa;
  padding: 18px; /* Reducido de 20px a 18px */
  border-radius: 8px;
  margin: 15px 0; /* Reducido de 20px a 15px */
  border-left: 4px solid #2eca6a;
}

.modal-datos-basicos h4 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.datos-lista {
  margin: 0;
}

.dato-item {
  margin-bottom: 10px;
  line-height: 1.6;
  color: #495057;
}

.dato-item strong {
  color: #2c3e50;
  margin-right: 8px;
}

.dato-item span {
  color: #495057;
}

.modal-colegio-info {
  margin: 20px 0;
}

.modal-colegio-info h4 {
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.modal-colegio-info ul {
  margin: 0;
  padding-left: 20px;
}

.modal-colegio-info li {
  margin-bottom: 8px;
  color: #495057;
  line-height: 1.5;
}

/* Padding del cuerpo del modal para forzar scroll */
.modal-colegio-body {
  padding: 10px; /* Reducido de 15px a 10px */
  padding-top: 5px; /* Padding superior muy reducido */
  padding-bottom: 100px; /* Más padding inferior para forzar scroll */
  min-height: 90vh; /* Altura mínima para garantizar scroll */
}

.modal-carousel-container {
  margin-bottom: 8px; /* Reducido de 15px a 8px */
  margin-top: 0; /* Sin margen superior */
  height: 350px; /* Altura del carrusel aumentada */
}

.modal-datos-basicos {
  background: #f8f9fa;
  padding: 20px; /* Reducido de 25px a 20px */
  border-radius: 8px;
  margin: 15px 0; /* Reducido de 25px a 15px */
  border-left: 4px solid #2eca6a;
  min-height: 300px; /* Altura mínima para la sección */
}

.modal-datos-basicos h4 {
  color: #2c3e50;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.datos-lista {
  margin: 0;
}

.dato-item {
  margin-bottom: 15px; /* Más espacio entre items */
  line-height: 1.8; /* Más altura de línea */
  color: #495057;
  padding: 8px 0; /* Padding adicional */
}

.dato-item strong {
  color: #2c3e50;
  margin-right: 10px;
}

.dato-item span {
  color: #495057;
}

.modal-titulo-colegio {
  color: #2c3e50;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 5px; /* Reducido de 12px a 5px */
  margin-top: 0; /* Sin margen superior */
  text-align: center;
  padding: 5px 0; /* Reducido de 8px a 5px */
}

.modal-colegio-description {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #495057;
  margin-bottom: 10px; /* Reducido de 15px a 10px */
  margin-top: 5px; /* Margen superior mínimo */
  padding: 8px; /* Reducido de 10px a 8px */
  background: #f8f9fa;
  border-radius: 6px;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  #modal-colegio-carousel .owl-nav button.owl-prev,
  #modal-colegio-carousel .owl-nav button.owl-next {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  #modal-colegio-carousel .owl-nav button.owl-prev {
    left: 10px;
  }

  #modal-colegio-carousel .owl-nav button.owl-next {
    right: 10px;
  }

  #modal-colegio-carousel .carousel-item-single img {
    height: 250px;
  }

  .modal-colegio-container {
    max-width: 95% !important;
    width: 95% !important;
    height: 100vh !important;
    padding: 10px 0 !important;
  }

  .modal-colegio-card {
    height: 85vh !important; /* Altura fija para forzar scroll en móviles */
    max-height: 85vh !important;
    border-radius: 8px;
    overflow-y: scroll !important;
  }

  .modal-colegio-card::-webkit-scrollbar {
    width: 12px !important;
  }

  .modal-colegio-body {
    min-height: 100vh !important; /* Forzar contenido alto en móviles */
    padding-bottom: 80px !important;
  }

  .modal-carousel-container {
    height: 280px !important;
  }

  .modal-titulo-colegio {
    font-size: 1.5rem;
  }

  .modal-datos-basicos {
    padding: 20px !important;
    margin: 20px 0 !important;
    min-height: 250px !important;
  }

  .modal-close-btn {
    width: 35px;
    height: 35px;
    font-size: 20px;
    top: 10px;
    right: 10px;
  }
}

/* Estilos para carousel de imágenes TECHHOMEBOT-2024 */
#techhome-2024-carousel {
  margin-bottom: 30px;
}

#techhome-2024-carousel .carousel-item-single {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#techhome-2024-carousel .carousel-item-single img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  border-radius: 8px;
}

#techhome-2024-carousel .carousel-item-single:hover img {
  transform: scale(1.05);
}

/* Navegación del carousel 2024 */
#techhome-2024-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  z-index: 10;
}

#techhome-2024-carousel .owl-nav button.owl-prev,
#techhome-2024-carousel .owl-nav button.owl-next {
  position: absolute;
  background: rgba(46, 202, 106, 0.9) !important;
  color: white !important;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
  outline: none;
  cursor: pointer;
}

#techhome-2024-carousel .owl-nav button.owl-prev {
  left: 20px;
}

#techhome-2024-carousel .owl-nav button.owl-next {
  right: 20px;
}

#techhome-2024-carousel .owl-nav button:hover {
  background: rgba(46, 202, 106, 1) !important;
  transform: scale(1.1);
}

/* Dots del carousel 2024 */
#techhome-2024-carousel .owl-dots {
  text-align: center;
  margin-top: 20px;
}

#techhome-2024-carousel .owl-dots .owl-dot {
  display: inline-block;
  margin: 0 5px;
}

#techhome-2024-carousel .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  background: rgba(46, 202, 106, 0.3);
  border-radius: 50%;
  display: block;
  transition: all 0.3s ease;
}

#techhome-2024-carousel .owl-dots .owl-dot.active span,
#techhome-2024-carousel .owl-dots .owl-dot:hover span {
  background: #2eca6a;
  transform: scale(1.2);
}

/* Estilos para carousel de imágenes TECHHOMEBOT-2025 */
#techhome-2025-carousel {
  margin-bottom: 30px;
}

#techhome-2025-carousel .carousel-item-single {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

#techhome-2025-carousel .carousel-item-single img {
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
  border-radius: 8px;
}

#techhome-2025-carousel .carousel-item-single:hover img {
  transform: scale(1.05);
}

/* Navegación del carousel 2025 */
#techhome-2025-carousel .owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  z-index: 10;
}

#techhome-2025-carousel .owl-nav button.owl-prev,
#techhome-2025-carousel .owl-nav button.owl-next {
  position: absolute;
  background: rgba(46, 202, 106, 0.9) !important;
  color: white !important;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.3s ease;
  outline: none;
  cursor: pointer;
}

#techhome-2025-carousel .owl-nav button.owl-prev {
  left: 20px;
}

#techhome-2025-carousel .owl-nav button.owl-next {
  right: 20px;
}

#techhome-2025-carousel .owl-nav button:hover {
  background: rgba(46, 202, 106, 1) !important;
  transform: scale(1.1);
}

/* Dots del carousel 2025 */
#techhome-2025-carousel .owl-dots {
  text-align: center;
  margin-top: 20px;
}

#techhome-2025-carousel .owl-dots .owl-dot {
  display: inline-block;
  margin: 0 5px;
}

#techhome-2025-carousel .owl-dots .owl-dot span {
  width: 12px;
  height: 12px;
  background: rgba(46, 202, 106, 0.3);
  border-radius: 50%;
  display: block;
  transition: all 0.3s ease;
}

#techhome-2025-carousel .owl-dots .owl-dot.active span,
#techhome-2025-carousel .owl-dots .owl-dot:hover span {
  background: #2eca6a;
  transform: scale(1.2);
}

/* Responsive para móviles - ambos carouseles 2024 y 2025 */
@media (max-width: 768px) {
  #techhome-2024-carousel .owl-nav button.owl-prev,
  #techhome-2024-carousel .owl-nav button.owl-next,
  #techhome-2025-carousel .owl-nav button.owl-prev,
  #techhome-2025-carousel .owl-nav button.owl-next {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  #techhome-2024-carousel .owl-nav button.owl-prev,
  #techhome-2025-carousel .owl-nav button.owl-prev {
    left: 10px;
  }

  #techhome-2024-carousel .owl-nav button.owl-next,
  #techhome-2025-carousel .owl-nav button.owl-next {
    right: 10px;
  }
}

/* Mejoras sutiles para el modal de bienvenida - RESPONSIVE FIRST */
#myModal .modal-dialog {
  transform: scale(0.8);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  margin: 10px;
  max-width: 95%;
}

#myModal.show .modal-dialog {
  transform: scale(1);
}

#myModal .modal-content {
  border: none;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

#myModal .modal-header {
  background: linear-gradient(135deg, #2eca6a 0%, #20a851 100%);
  color: white;
  border-bottom: none;
  padding: 15px 20px;
  position: relative;
}

#myModal .modal-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
}

#myModal .modal-title {
  font-size: 1.1rem;
  font-weight: 600;
  text-align: center;
  margin: 0 auto;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.3px;
  padding-right: 50px;
}

#myModal .close {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  opacity: 0.9;
  font-size: 1.4rem;
  text-shadow: none;
  transition: all 0.3s ease;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  padding: 0;
  line-height: 1;
}

#myModal .close:hover {
  opacity: 1;
  transform: translateY(-50%) scale(1.08);
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

#myModal .modal-body {
  padding: 20px;
  background: #fafafa;
  position: relative;
}

#myModal .modal-body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(46, 202, 106, 0.3),
    transparent
  );
}

#myModal .modal-body img {
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  width: 100%;
  height: auto;
}

#myModal .modal-body img:hover {
  transform: scale(1.02);
}

#myModal .welcome-image-container {
  text-align: center;
  margin-bottom: 15px;
}

#myModal .card-body {
  padding: 0;
}

#myModal .card-title {
  color: #2c3e50;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  line-height: 1.4;
  text-align: center;
}

#myModal .card-text {
  color: #5a6c7d;
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 10px;
  text-align: justify;
}

#myModal .modal-footer {
  background: #f8f9fa;
  border-top: 1px solid rgba(46, 202, 106, 0.1);
  padding: 15px 20px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

#myModal .modal-footer .btn {
  border-radius: 20px;
  font-weight: 500;
  padding: 8px 16px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.3px;
  min-width: 120px;
}

#myModal .modal-footer .btn i {
  font-size: 0.9rem;
  margin-right: 5px;
  transition: transform 0.3s ease;
}

#myModal .modal-footer .btn:hover i {
  transform: scale(1.2);
}

#myModal .modal-footer .btn::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;
}

#myModal .modal-footer .btn:hover::before {
  left: 100%;
}

#myModal .modal-footer .btn-success {
  background: linear-gradient(135deg, #2eca6a 0%, #20a851 100%);
  border-color: #2eca6a;
  box-shadow: 0 3px 12px rgba(46, 202, 106, 0.3);
}

#myModal .modal-footer .btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 202, 106, 0.4);
  background: linear-gradient(135deg, #20a851 0%, #1e8e47 100%);
}

#myModal .modal-footer .btn-primary {
  background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
  border-color: #3498db;
  box-shadow: 0 3px 12px rgba(52, 152, 219, 0.3);
}

#myModal .modal-footer .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
  background: linear-gradient(135deg, #2980b9 0%, #21618c 100%);
}

/* Estilos para elementos destacados */
#myModal .highlight-text {
  color: #2eca6a;
  font-weight: 700;
}

#myModal .year-highlight {
  background: linear-gradient(135deg, #2eca6a, #20a851);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-size: 1.05em;
}

#myModal .brand-highlight {
  color: #2c3e50;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#myModal .intro-highlight {
  color: #2eca6a;
  font-weight: 600;
}

/* Animación de entrada para el modal */
@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translate3d(0, -40px, 0) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

#myModal.show .modal-dialog {
  animation: modalSlideIn 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* RESPONSIVE BREAKPOINTS */

/* Tablets y pantallas medianas */
@media (min-width: 576px) {
  #myModal .modal-dialog {
    max-width: 500px;
    margin: 20px auto;
  }

  #myModal .modal-title {
    font-size: 1.3rem;
    padding-right: 55px;
  }

  #myModal .modal-body {
    padding: 25px;
  }

  #myModal .card-title {
    font-size: 1.2rem;
  }

  #myModal .card-text {
    font-size: 0.95rem;
  }

  #myModal .modal-footer .btn {
    font-size: 0.8rem;
    padding: 10px 18px;
    min-width: 130px;
  }
}

/* Pantallas grandes */
@media (min-width: 768px) {
  #myModal .modal-dialog {
    max-width: 600px;
  }

  #myModal .modal-title {
    font-size: 1.4rem;
  }

  #myModal .modal-body {
    padding: 30px;
  }

  #myModal .card-title {
    font-size: 1.3rem;
  }

  #myModal .card-text {
    font-size: 1rem;
  }

  #myModal .modal-footer {
    padding: 20px 30px;
    gap: 12px;
  }

  #myModal .modal-footer .btn {
    font-size: 0.85rem;
    padding: 12px 20px;
    min-width: 140px;
  }
}

/* Pantallas extra grandes */
@media (min-width: 992px) {
  #myModal .modal-dialog {
    max-width: 650px;
  }

  #myModal .modal-header {
    padding: 20px 30px;
  }

  #myModal .close {
    right: 20px;
    width: 36px;
    height: 36px;
    font-size: 1.6rem;
  }
}

/* Móviles pequeños */
@media (max-width: 575px) {
  #myModal .modal-dialog {
    margin: 5px;
    max-width: calc(100% - 10px);
  }

  #myModal .modal-title {
    font-size: 1rem;
    letter-spacing: 0.2px;
  }

  #myModal .modal-header {
    padding: 12px 15px;
  }

  #myModal .modal-body {
    padding: 15px;
  }

  #myModal .card-title {
    font-size: 1rem;
    margin-bottom: 10px;
  }

  #myModal .card-text {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  #myModal .modal-footer {
    padding: 12px 15px;
    flex-direction: column;
    gap: 6px;
  }

  #myModal .modal-footer .btn {
    width: 100%;
    font-size: 0.7rem;
    padding: 10px 15px;
    min-width: auto;
  }

  #myModal .close {
    width: 25px;
    height: 25px;
    font-size: 1.2rem;
    right: 10px;
  }
}

/* ======================================
//--//-->   ESTILOS PARA NOTICIAS - ESTILO MODERNO
====================================== */

/* Las noticias ahora usan el mismo estilo moderno que cursos, pero con prefijo específico para evitar conflictos */
#news-carousel .card-box-d .card-overlay-hover {
  transition: all 0.15s ease;
  padding: 40px 25px 25px 25px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  min-height: 300px;
  opacity: 0;
  visibility: hidden;
}

/* Centrar y ajustar imágenes para cubrir toda la tarjeta de noticias */
#news-carousel .card-box-d {
  position: relative;
  height: 100%;
  min-height: 400px;
  overflow: hidden;
  border-radius: 15px;
}

#news-carousel .card-img-d {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

#news-carousel .card-img-d img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

#news-carousel .card-box-d .title-d {
  transition: 0.15s ease;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  -webkit-transform: translateY(-15px);
  transform: translateY(-15px);
  opacity: 0;
  color: #ffffff;
  text-align: center;
}

#news-carousel .card-box-d .content-d {
  transition: 0.15s ease;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  -webkit-transform: translateY(-15px);
  transform: translateY(-15px);
  opacity: 0;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
}

#news-carousel .card-box-d .info-agents {
  transition: 0.15s ease;
  -webkit-transform: translateY(-15px);
  transform: translateY(-15px);
  opacity: 0;
  margin: 1rem 0;
  color: #ffffff;
  text-align: center;
}

#news-carousel .card-box-d .card-footer-d {
  transition: 0.15s ease;
  position: relative;
  -webkit-transform: translateY(-15px);
  transform: translateY(-15px);
  opacity: 0;
  margin-top: auto;
}

#news-carousel .card-box-d .socials-footer .link-one {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  transition: all 0.15s ease;
  backdrop-filter: blur(10px);
}

#news-carousel .card-box-d .socials-footer .link-one:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

#news-carousel .card-box-d:hover .card-overlay-hover {
  background: linear-gradient(
    135deg,
    rgba(46, 202, 106, 0.95) 0%,
    rgba(38, 163, 86, 0.95) 50%,
    rgba(46, 202, 106, 0.95) 100%
  );
  opacity: 1;
  visibility: visible;
  box-shadow: 0 8px 32px rgba(46, 202, 106, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

#news-carousel .card-box-d:hover .title-d,
#news-carousel .card-box-d:hover .content-d,
#news-carousel .card-box-d:hover .info-agents,
#news-carousel .card-box-d:hover .card-footer-d {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

/* Mejoras adicionales para la información de contacto */
#news-carousel .card-box-d .info-agents p {
  margin-bottom: 0.8rem;
  font-size: 1rem;
  text-align: center;
}

#news-carousel .card-box-d .info-agents strong {
  color: rgba(255, 255, 255, 1);
  font-weight: 700;
  display: inline-block;
  min-width: 60px;
}

/* Responsive para noticias */
@media (max-width: 768px) {
  #news-carousel .card-box-d .card-overlay-hover {
    padding: 30px 20px 20px 20px;
    min-height: 250px;
  }

  #news-carousel .card-box-d .title-d {
    font-size: 1.8rem;
    margin: 0 0 1rem 0;
  }

  #news-carousel .card-box-d .content-d {
    font-size: 0.95rem;
    margin: 0 0 1rem 0;
  }
}

@media (max-width: 576px) {
  #news-carousel .card-box-d .card-overlay-hover {
    padding: 25px 15px 15px 15px;
    min-height: 220px;
  }

  #news-carousel .card-box-d .title-d {
    font-size: 1.6rem;
  }

  #news-carousel .card-box-d .content-d {
    font-size: 0.9rem;
  }
}

/*======================================
//--//-->   MODALES COLEGIOS 
======================================*/

/* Modal overlay */
.modal-colegio-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  display: flex;
  align-items: center; /* Centrar verticalmente con espacio */
  justify-content: center;
  padding: 15px 0; /* 15px arriba y abajo */
  overflow: hidden;
}

.modal-colegio-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Contenedor principal */
.modal-colegio-container {
  position: relative;
  transform: scale(0.9);
  max-width: 100%; /* Ancho completo */
  width: 100%; /* Ancho completo */
  height: calc(
    100vh - 30px
  ); /* Altura completa menos 30px (15px arriba + 15px abajo) */
  max-height: calc(100vh - 30px);
  transition: all 0.4s ease;
}

.modal-colegio-overlay.active .modal-colegio-container {
  transform: scale(1);
}

/* Tarjeta principal */
.modal-colegio-card {
  background: #fff;
  border-radius: 8px; /* Agregar border-radius sutil */
  box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
  overflow: hidden;
  position: relative;
  height: 100%; /* Altura completa del contenedor */
}

/* Header con imagen */
.modal-colegio-header {
  position: relative;
  height: 180px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  color: #fff;
}

.modal-colegio-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.modal-header-title {
  position: relative;
  z-index: 2;
  padding: 20px;
  font-size: 1.8rem;
  font-weight: 600;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  color: #fff;
}

/* Cuerpo del modal */
.modal-colegio-body {
  padding: 30px;
}

.modal-colegio-description {
  color: #555555;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 1rem;
}

/* Info box */
.modal-colegio-info {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid #2eca6a;
}

.modal-colegio-info h4 {
  color: #000000;
  font-size: 1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.modal-colegio-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modal-colegio-info li {
  padding: 5px 0;
  color: #555555;
  position: relative;
  padding-left: 20px;
}

.modal-colegio-info li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #2eca6a;
  font-weight: bold;
}

/* Botones */
.modal-colegio-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Botón cerrar */
.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 35px;
  height: 35px;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

/* Hover para footer - SIN FONDO */
.colegio-link {
  transition: all 0.3s ease;
  display: block;
  border-radius: 10px;
}

.colegio-link:hover {
  transform: translateY(-3px);
  text-decoration: none;
  color: inherit;
}

.colegio-item {
  transition: all 0.3s ease;
  cursor: pointer;
  padding: 10px;
}

.colegio-item img {
  transition: all 0.3s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
  .modal-colegio-container {
    max-width: 95%;
    width: 95%;
    max-height: 85vh;
  }

  .modal-colegio-header {
    height: 140px;
  }

  .modal-header-title {
    font-size: 1.4rem;
    padding: 15px;
  }

  .modal-colegio-body {
    padding: 20px;
  }

  .modal-colegio-buttons {
    flex-direction: column;
  }

  .modal-colegio-buttons .btn {
    width: 100%;
    text-align: center;
  }
}

/* Prevenir scroll del body cuando modal está abierto */
body.modal-open {
  overflow: hidden;
}

/*======================================
//--//-->   RESPONSIVE IMPROVEMENTS
======================================*/

/* Mejoras responsivas para footer y contenido móvil */
@media (max-width: 768px) {
  /* Footer - Colegios Asociados */
  .section-footer .footer-column {
    margin-bottom: 25px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .colegio-item {
    flex-direction: column !important;
    text-align: center !important;
    gap: 10px !important;
    padding: 15px 10px !important;
  }

  .colegio-item img {
    width: 60px !important;
    height: 60px !important;
  }

  .colegio-item h3 {
    font-size: 1.1rem !important;
    text-align: center !important;
    line-height: 1.3 !important;
  }

  /* Footer - Secciones principales */
  .section-footer .footer-column-left,
  .section-footer .footer-column-center {
    text-align: center;
    margin-bottom: 30px;
  }

  .section-footer .widget-a {
    padding: 0 5px;
  }

  .section-footer .w-text-a {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  /* Footer - Navegación */
  footer .nav-footer ul {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  footer .nav-footer .list-inline-item {
    display: block;
    margin: 5px 0;
  }

  footer .nav-footer a {
    font-size: 1rem;
    padding: 8px 0;
    display: block;
  }

  /* Footer - Redes sociales */
  footer .socials-a ul {
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
  }

  footer .socials-a .list-inline-item {
    margin: 0 !important;
  }

  footer .socials-a a {
    font-size: 1.8rem;
    padding: 10px;
    display: block;
  }

  /* Footer - Copyright */
  footer .copyright-footer {
    text-align: center;
    padding: 15px 10px;
  }

  footer .copyright-footer p {
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
  }
}

@media (max-width: 576px) {
  /* Footer más compacto en móviles muy pequeños */
  .section-footer {
    padding-top: 30px;
    padding-bottom: 15px;
    margin-top: 40px;
  }

  .colegio-item {
    padding: 12px 5px !important;
  }

  .colegio-item img {
    width: 50px !important;
    height: 50px !important;
  }

  .colegio-item h3 {
    font-size: 1rem !important;
  }

  .section-footer .w-title-a {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
  }

  .section-footer .w-text-a {
    font-size: 0.85rem;
  }

  /* Contacto más legible */
  .section-footer ul li {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 8px;
  }

  /* WhatsApp button responsive */
  .whatsapp-btn {
    bottom: 15px;
    right: 15px;
    padding: 20px;
    font-size: 18px;
  }
}

/* Mejoras para tablets */
@media (min-width: 769px) and (max-width: 991px) {
  .colegio-item {
    flex-direction: column !important;
    text-align: center !important;
    gap: 15px !important;
  }

  .colegio-item img {
    width: 70px !important;
    height: 70px !important;
  }

  .colegio-item h3 {
    font-size: 1.2rem !important;
    text-align: center !important;
  }
}

/* Mejoras generales para contenido responsivo */
@media (max-width: 768px) {
  /* Textos más legibles */
  body {
    font-size: 14px;
    line-height: 1.5;
  }

  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    line-height: 1.3;
  }

  /* Contenedores con mejor espaciado */
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Links más accesibles en móvil */
  a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  /* Botones más grandes para touch */
  .btn {
    padding: 12px 20px;
    font-size: 16px;
    min-height: 44px;
  }
}

/* Mejoras para navegación móvil */
@media (max-width: 991px) {
  /* Asegurar que la navegación sea accesible */
  .navbar-nav .nav-link {
    padding: 12px 15px;
    font-size: 16px;
    text-align: center;
  }

  .navbar-toggler {
    padding: 8px 12px;
    font-size: 18px;
    border: 1px solid #ccc;
  }

  /* Dropdown menus más accesibles */
  .dropdown-menu {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  .dropdown-item {
    padding: 10px 20px;
    font-size: 15px;
    line-height: 1.4;
  }

  .dropdown-item:hover {
    background-color: #f8f9fa;
  }
}

/* Mejoras adicionales para móviles pequeños */
@media (max-width: 576px) {
  /* Navegación más compacta */
  .navbar-brand {
    font-size: 1.4rem !important;
  }

  .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 15px;
  }

  .dropdown-item {
    padding: 8px 15px;
    font-size: 14px;
  }

  /* Breadcrumb responsivo */
  .breadcrumb {
    font-size: 12px;
    padding: 8px 0;
  }

  .breadcrumb-item + .breadcrumb-item::before {
    padding-right: 0.3rem;
    padding-left: 0.3rem;
  }

  /* Títulos y contenido */
  .title-single-box h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }

  .title-single-box .icon-title {
    font-size: 1.1rem;
    margin-top: 15px;
    margin-bottom: 8px;
  }

  .intro-single {
    padding: 30px 0;
  }

  .intro-single .color-text-a {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
    display: block;
  }
}

/* Mejoras para forms y inputs */
@media (max-width: 768px) {
  .form-a .form-group {
    margin-bottom: 20px;
  }

  .form-a .form-control {
    padding: 12px 15px;
    font-size: 16px; /* Evita zoom en iOS */
    border-radius: 6px;
  }

  .form-a textarea.form-control {
    min-height: 120px;
  }

  .form-a .btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    margin-top: 10px;
  }
}

/* Mejoras para cards y secciones */
@media (max-width: 768px) {
  .section-property {
    padding: 30px 0;
  }

  .card-box-a {
    margin-bottom: 25px;
  }

  .card-box-a .card-header-a {
    padding: 15px;
  }

  .card-box-a .card-body-a {
    padding: 15px;
  }

  .card-box-a .card-title-a {
    font-size: 1.1rem;
    line-height: 1.3;
  }

  /* Mejora para imágenes */
  .card-img-a img,
  img {
    max-width: 100%;
    height: auto;
  }

  /* Espaciado general */
  .section {
    padding: 30px 0;
  }

  .mb-5 {
    margin-bottom: 2rem !important;
  }

  .mt-5 {
    margin-top: 2rem !important;
  }
}

/* Mejoras para tablas responsivas */
@media (max-width: 768px) {
  table {
    font-size: 14px;
  }

  .table-responsive {
    border: none;
  }

  .table th,
  .table td {
    padding: 8px;
    white-space: nowrap;
  }
}

/* Mejoras para videos y contenido multimedia */
@media (max-width: 768px) {
  .embed-responsive {
    margin-bottom: 20px;
  }

  iframe {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Ajuste para videos de YouTube */
  .embed-responsive-16by9::before {
    padding-top: 56.25%;
  }
}

/* Mejoras de accesibilidad */
@media (max-width: 768px) {
  /* Focus más visible */
  a:focus,
  button:focus,
  input:focus,
  textarea:focus,
  select:focus {
    outline: 2px solid #2eca6a;
    outline-offset: 2px;
  }

  /* Texto más legible */
  p,
  span,
  div {
    word-wrap: break-word;
    overflow-wrap: break-word;
  }

  /* Evitar scroll horizontal */
  html,
  body {
    overflow-x: hidden;
  }

  .container-fluid,
  .container {
    max-width: 100%;
    overflow-x: hidden;
  }
}

/*======================================
//--//-->   FOOTER RESPONSIVE IMPROVEMENTS
======================================*/

/* Footer mobile improvements */
@media (max-width: 768px) {
  .section-footer {
    padding: 40px 0 20px 0;
  }

  .section-footer .row [class*="col-"] {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    margin-bottom: 30px;
  }

  .section-footer h3 {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
  }

  .section-footer p,
  .section-footer li {
    font-size: 14px;
    line-height: 1.6;
    text-align: center;
  }

  .section-footer ul {
    padding-left: 0;
    text-align: center;
  }

  .section-footer .list-ico {
    justify-content: center;
    margin-bottom: 15px;
  }

  .socials {
    justify-content: center !important;
    margin-top: 20px;
  }

  .socials li {
    margin: 0 10px;
  }

  .copyright {
    text-align: center !important;
    font-size: 12px;
    padding: 20px 0;
  }
}

/* =============================
   Welcome modal - social icons (responsive)
   ============================= */
.welcome-socials {
  display: flex;
  flex-wrap: wrap; /* permite salto de línea en anchos muy pequeños */
  gap: clamp(
    64px,
    100vw,
    150px
  ); /* distancia adaptativa: mínimo 32px, escala con viewport, máximo 80px */
  justify-content: center; /* centrado horizontal */
  margin: clamp(12px, 3.2vw, 36px) 0; /* espacio vertical adaptativo */
  align-items: center;
  width: 100%;
}
.welcome-socials .social-icon {
  flex: 0 0 auto; /* evita estirado por flex */
  width: clamp(52px, 9.5vw, 96px); /* ancho adaptativo */
  height: clamp(52px, 9.5vw, 96px); /* alto adaptativo */
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
  font-size: clamp(18px, 4.2vw, 44px);
}
.welcome-socials .social-icon:focus {
  outline: 3px solid rgba(46, 202, 106, 0.18);
  outline-offset: 3px;
}
.welcome-socials .social-icon:hover {
  transform: translateY(-6px) scale(1.06);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}
/* brand backgrounds */
.welcome-socials .social-icon.tiktok {
  background: linear-gradient(180deg, #000000 0%, #161616 100%);
}
.welcome-socials .social-icon.facebook {
  background: #3b5998;
}
.welcome-socials .social-icon.instagram {
  background: radial-gradient(
    circle at 30% 35%,
    #fccc63 0%,
    #fb5f6d 30%,
    #833ab4 60%,
    #405de6 100%
  );
}
.welcome-socials .social-icon i {
  font-size: clamp(16px, 3.8vw, 40px) !important;
  line-height: 1;
}

/* Ajustes extra para pantallas muy pequeñas */
@media (max-width: 420px) {
  .welcome-socials {
    gap: 12px;
    margin: 12px 0;
  }
  .welcome-socials .social-icon {
    width: clamp(44px, 14vw, 64px);
    height: clamp(44px, 14vw, 64px);
    font-size: clamp(14px, 3.6vw, 26px);
  }
  .welcome-socials .social-icon i {
    font-size: clamp(12px, 3.2vw, 20px) !important;
  }
}

/* ===== TODOS LOS DOTS ELIMINADOS COMPLETAMENTE ===== */
/* Sin puntos de navegación en ningún carousel */

.welcome-socials {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 6px 0 10px 0 !important;
  padding: 3px 0 !important;
  flex-wrap: wrap;
}

.social-icon {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 6px 12px !important;
  width: auto !important;
  height: auto !important;
  border-radius: 18px !important;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  font-weight: 600;
  font-size: 12px;
  gap: 6px;
  min-width: 85px;
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
}

.social-icon i {
  font-size: 16px !important;
  color: white;
}

.social-icon span {
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 11px;
}

.social-icon.tiktok {
  background: linear-gradient(45deg, #ff0050, #00f2ea);
}

.social-icon.facebook {
  background: linear-gradient(45deg, #3b5998, #4267b2);
}

.social-icon.instagram {
  background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
}

.social-icon:hover.tiktok {
  background: linear-gradient(45deg, #ff0050, #00f2ea);
  filter: brightness(1.1);
}

.social-icon:hover.facebook {
  background: linear-gradient(45deg, #3b5998, #4267b2);
  filter: brightness(1.1);
}

.social-icon:hover.instagram {
  background: linear-gradient(45deg, #833ab4, #fd1d1d, #fcb045);
  filter: brightness(1.1);
}

/* Ajustar espaciado del modal footer */
.modal-footer {
  padding-top: 5px !important;
  padding-bottom: 8px !important;
  margin-top: 0px !important;
}

.card-body {
  padding-bottom: 5px !important;
  margin-bottom: 0px !important;
}

/* Hacer más compactos los botones principales del modal */
.modal-footer .btn {
  padding: 8px 16px !important;
  font-size: 13px !important;
  border-radius: 18px !important;
  font-weight: 600 !important;
  min-width: 110px !important;
}

.modal-footer .btn i {
  font-size: 14px !important;
  margin-right: 6px !important;
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .welcome-socials {
    gap: 6px;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .social-icon {
    padding: 5px 10px !important;
    min-width: 70px;
    font-size: 10px;
  }

  .social-icon i {
    font-size: 14px !important;
  }

  .social-icon span {
    font-size: 9px;
    letter-spacing: 0.3px;
  }

  .modal-footer .btn {
    padding: 6px 12px !important;
    font-size: 11px !important;
    min-width: 90px !important;
  }

  .modal-footer .btn i {
    font-size: 12px !important;
    margin-right: 4px !important;
  }
}

/* Asegurar visibilidad de la navbar */
.navbar {
  z-index: 1030 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.navbar-default {
  background-color: rgba(255, 255, 255, 0.9) !important;
  border-bottom: 1px solid #e7e7e7 !important;
}

.navbar-brand {
  display: block !important;
  visibility: visible !important;
}

.navbar-nav {
  display: flex !important;
  visibility: visible !important;
}

/* Asegurar que el modal esté por encima de todo */
.modal {
  z-index: 1055 !important;
}

.modal-backdrop {
  z-index: 1050 !important;
}

.modal-dialog {
  z-index: 1060 !important;
}

/* Asegurar que el botón de cerrar del modal funcione */
.modal-header .close,
.modal-header .btn-close {
  z-index: 1065 !important;
  position: relative;
  background: transparent !important;
  border: none !important;
  font-size: 24px !important;
  color: #333 !important;
  cursor: pointer !important;
  opacity: 1 !important;
}

.modal-header .close:hover {
  opacity: 0.7 !important;
  color: #000 !important;
}

/* Asegurar que el modal header esté bien posicionado */
.modal-header {
  z-index: 1065 !important;
  position: relative;
}

/* =============================
   DOTS RECTANGULARES PARA TODOS LOS CAROUSELS
   ============================= */

/* Dots para carousel de libros (property) */
#property-carousel .owl-dots {
  display: flex !important;
  justify-content: center !important;
  margin-top: 30px !important;
  gap: 6px !important;
  position: relative !important;
}

#property-carousel .owl-dot {
  display: inline-block !important;
  margin: 0 2px !important;
  cursor: pointer !important;
}

#property-carousel .owl-dot span {
  width: 45px !important;
  height: 10px !important;
  background: rgba(46, 202, 106, 0.3) !important;
  border: 1px solid rgba(46, 202, 106, 0.5) !important;
  border-radius: 5px !important;
  display: block !important;
  transition: all 0.3s ease !important;
}

#property-carousel .owl-dot:hover span {
  background-color: rgba(46, 202, 106, 0.7) !important;
  border-color: #2eca6a !important;
  transform: scaleX(1.1) !important;
}

#property-carousel .owl-dot.active span {
  background-color: #2eca6a !important;
  border-color: #2eca6a !important;
  transform: scaleX(1.2) !important;
}

/* Dots para carousel de cursos (courses) */
#courses-carousel .owl-dots {
  display: flex !important;
  justify-content: center !important;
  margin-top: 30px !important;
  gap: 6px !important;
  position: relative !important;
}

#courses-carousel .owl-dot {
  display: inline-block !important;
  margin: 0 2px !important;
  cursor: pointer !important;
}

#courses-carousel .owl-dot span {
  width: 45px !important;
  height: 10px !important;
  background: rgba(46, 202, 106, 0.3) !important;
  border: 1px solid rgba(46, 202, 106, 0.5) !important;
  border-radius: 5px !important;
  display: block !important;
  transition: all 0.3s ease !important;
}

#courses-carousel .owl-dot:hover span {
  background-color: rgba(46, 202, 106, 0.7) !important;
  border-color: #2eca6a !important;
  transform: scaleX(1.1) !important;
}

#courses-carousel .owl-dot.active span {
  background-color: #2eca6a !important;
  border-color: #2eca6a !important;
  transform: scaleX(1.2) !important;
}

/* Dots para carousel de noticias (news) */
#news-carousel .owl-dots {
  display: flex !important;
  justify-content: center !important;
  margin-top: 30px !important;
  gap: 6px !important;
  position: relative !important;
}

#news-carousel .owl-dot {
  display: inline-block !important;
  margin: 0 2px !important;
  cursor: pointer !important;
}

#news-carousel .owl-dot span {
  width: 45px !important;
  height: 10px !important;
  background: rgba(46, 202, 106, 0.3) !important;
  border: 1px solid rgba(46, 202, 106, 0.5) !important;
  border-radius: 5px !important;
  display: block !important;
  transition: all 0.3s ease !important;
}

#news-carousel .owl-dot:hover span {
  background-color: rgba(46, 202, 106, 0.7) !important;
  border-color: #2eca6a !important;
  transform: scaleX(1.1) !important;
}

#news-carousel .owl-dot.active span {
  background-color: #2eca6a !important;
  border-color: #2eca6a !important;
  transform: scaleX(1.2) !important;
}

/* Responsive para todos los carousel dots */
@media (max-width: 768px) {
  #property-carousel .owl-dots,
  #courses-carousel .owl-dots,
  #news-carousel .owl-dots {
    margin-top: 20px !important;
    gap: 4px !important;
  }

  #property-carousel .owl-dot span,
  #courses-carousel .owl-dot span,
  #news-carousel .owl-dot span {
    width: 35px !important;
    height: 8px !important;
    border-radius: 4px !important;
  }
}

/*======================================
//--//-->   IGUALAR TAMAÑO DE TARJETAS
======================================*/

/* Hacer que las tarjetas de noticias tengan el mismo tamaño que las de cursos */
#news-carousel .card-box-d {
  min-height: 520px !important;
}

/* Eliminar subrayados en títulos de tarjetas */
.card-box-d .title-d,
.card-box-d .title-d a,
#news-carousel .card-box-d .title-d,
#news-carousel .card-box-d .title-d a,
#courses-carousel .card-box-d .title-d,
#courses-carousel .card-box-d .title-d a {
  text-decoration: none !important;
}

/* Aplicar el mismo fondo verde y tamaño que tienen las tarjetas de cursos */
#news-carousel .card-box-d {
  background: #2eca6a !important;
  background-color: #2eca6a !important;
  min-height: 520px !important;
  height: 520px !important;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

/* Asegurar que el overlay también tenga el gradiente verde como las de cursos */
#news-carousel .card-box-d .card-overlay-hover {
  background: linear-gradient(
    135deg,
    rgba(46, 202, 106, 0.95) 0%,
    rgba(38, 163, 86, 0.95) 50%,
    rgba(46, 202, 106, 0.95) 100%
  ) !important;
  opacity: 1 !important;
  transition: all 0.3s ease-in-out;
  padding: 40px 25px 25px 25px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  min-height: 300px;
}

/* Copiar exactamente los estilos de texto de las tarjetas de cursos */
#news-carousel .card-box-d .title-d {
  transition: 0.4s ease-in-out;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  color: #ffffff !important;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  opacity: 1 !important;
  transform: translateY(0) !important;
}

#news-carousel .card-box-d .content-d {
  transition: 0.4s ease-in-out;
  font-size: 1.1rem;
  margin: 0 0 1.5rem 0;
  color: rgba(255, 255, 255, 0.95) !important;
  line-height: 1.6;
  opacity: 1 !important;
  transform: translateY(0) !important;
}

#news-carousel .card-box-d .info-agents {
  transition: 0.4s ease-in-out;
  margin: 1rem 0;
  opacity: 1 !important;
  transform: translateY(0) !important;
}
