/**
* Template Name: UpConstruction
* Updated: Sep 18 2023 with Bootstrap v5.3.2
* Template URL: https://bootstrapmade.com/upconstruction-bootstrap-construction-website-template/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Set main reusable colors and fonts using CSS variables
# Learn more about CSS variables at https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties
--------------------------------------------------------------*/
/* Fonts */
:root {
  --font-default: "Montserrat", sans-serif ;
  --font-primary: "Montserrat", sans-serif; 
  --font-secondary: "Montserrat", sans-serif; 
  --font-bold: 700; 
  --font-medium: 500; 
}

/* Colors */
:root {
  --color-default: #222a52;
  --color-primary: #1f4b9b;
  --color-secondary: #1eab71;
}

/* Smooth scroll behavior */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: var(--font-default);
  color: var(--color-default);
  overflow-x: hidden;
  margin: 0;
}
#main{
  margin-top: 1em;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color:  var(--color-primary);
  text-decoration: none;
}
.social-links {
  margin: 0 10px 10px 0;
}

.social-links :hover{
  color: white;
  background-color: var(--color-primary);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
}

/*--------------------------------------------------------------
# Breadcrumbs
--------------------------------------------------------------*/
.breadcrumbs {
  padding: 140px 0 60px 0;
  min-height: 30vh;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.breadcrumbs:before {
  content: "";
  background-color: rgba(0, 0, 0, 0.6);
  position: absolute;
  inset: 0;
}

.breadcrumbs h2 {
  font-size: 56px;
  font-weight: 700;
  color: #fff;
  font-family: var(--font-primary);
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 0;
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
}

.breadcrumbs ol a {
  color: rgba(255, 255, 255, 0.8);
  transition: 0.3s;
}

.breadcrumbs ol a:hover {
  text-decoration: underline;
}

.breadcrumbs ol li+li {
  padding-left: 10px;
}

.breadcrumbs ol li+li::before {
  display: inline-block;
  padding-right: 10px;
  color: #fff;
  content: "/";
}



/*--------------------------------------------------------------
# Scroll top button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: visible;
  opacity: 1;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: #25D366;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.4s;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.scroll-top i {
  font-size: 28px;
  color: white;
  line-height: 0;
}

.scroll-top:hover {
  background: #20BA5A;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}



/*--------------------------------------------------------------
# Desktop Navigation
--------------------------------------------------------------*/
@media (min-width: 1280px) {
  .navbar {
    padding: 0;
  }

  .navbar ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navbar li {
    position: relative;
  }

  .navbar>ul>li {
    white-space: nowrap;
    padding: 10px 0 10px 28px;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3px;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
  }

  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }

  .navbar>ul>li>a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--color-primary);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  

  .navbar a:hover:before,
  .navbar li:hover>a:before,
  .navbar .active:before {
    visibility: visible;
    width: 100%;
  }

  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover>a {
    color: #fff;
  }

  

  .navbar .dropdown ul li {
    min-width: 200px;
  }

  .navbar .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--color-default);
    font-weight: 400;
  }

  .navbar .dropdown ul a i {
    font-size: 12px;
  }

  .navbar .dropdown ul a:hover,
  .navbar .dropdown ul .active:hover,
  .navbar .dropdown ul li:hover>a {
    color: var(--color-primary);
  }

  .navbar .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navbar .dropdown .dropdown ul {
    top: 0;
    left: calc(100% - 30px);
    visibility: hidden;
  }

  .navbar .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: 100%;
    visibility: visible;
  }
}



@media (min-width: 1280px) {

  .mobile-nav-show,
  .mobile-nav-hide {
    display: none;
  }
}

/*--------------------------------------------------------------
# Mobile Navigation
--------------------------------------------------------------*/
@media (max-width: 1279px) {
  .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    bottom: 0;
    transition: 0.3s;
    z-index: 9997;
  }

  .navbar ul {
    position: absolute;
    inset: 0;
    padding: 50px 0 10px 0;
    margin: 0;
    background: rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navbar a,
  .navbar a:focus {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    font-family: var(--font-primary);
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    text-transform: uppercase;
    transition: 0.3s;
  }

  .navbar a i,
  .navbar a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
  }

  .navbar a:hover,
  .navbar .active,
  .navbar .active:focus,
  .navbar li:hover>a {
    color: #fff;
  }

  .navbar .dropdown ul,
  .navbar .dropdown .dropdown ul {
    position: static;
    display: none;
    padding: 10px 0;
    margin: 10px 20px;
    transition: all 0.5s ease-in-out;
    border: 1px solid #222428;
  }

  .navbar .dropdown>.dropdown-active,
  .navbar .dropdown .dropdown>.dropdown-active {
    display: block;
  }

  .mobile-nav-show {
    position: relative;
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    z-index: 9999;
    padding-right: 10px;
  }

  .mobile-nav-hide {
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    line-height: 0;
    transition: 0.5s;
    position: fixed;
    right: 20px;
    top: 20px;
    z-index: 9999;
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .navbar {
    right: 0;
  }

  .mobile-nav-active .navbar:before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9996;
  }
}


/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .service-item {
  padding: 40px;
  background: #fff;
  height: 100%;
}



.services .service-item .icon {
  width: 48px;
  height: 48px;
  position: relative;
  margin-bottom: 50px;
}

.services .service-item .icon i {
  color: var(--color-secondary);
  font-size: 40px;
  transition: ease-in-out 0.3s;
  z-index: 2;
  position: relative;
  line-height: 1.8;
}

.services .service-item .icon:before {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  background: #f0f1f2;
  border-radius: 50px;
  z-index: 1;
  top: 10px;
  right: -15px;
  transition: 0.3s;
}

.services .service-item h3 {
  color: var(--color-default);
  font-weight: 700;
  margin: 0 0 20px 0;
  padding-bottom: 8px;
  font-size: 22px;
  position: relative;
  display: inline-block;
  border-bottom: 4px solid #ebebed;
  transition: 0.3s;
}

.services .service-item p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item .readmore {
  margin-top: 15px;
  display: inline-block;
  color: var(--color-primary);
}

.services .service-item:hover .icon:before {
  background: var(--color-primary);
}

.services .service-item:hover h3 {
  border-color: var(--color-primary);
}


/* Ajuste de altura de las imágenes del carrusel */
.carousel-item img {
  width: 100vh; /* Establecer el ancho al 100% para ocupar todo el espacio disponible */
  height: 95vh; /* Permitir que la altura se ajuste automáticamente según la relación de aspecto */
  background-size: cover; /* Mantener la proporción de la imagen sin recortarla */
}

.carousel-control-prev-icon{
  background-color: var(--color-default);
  opacity: 50%;
}

.carousel-control-next-icon{
  background-color: var(--color-default);
  opacity: 50%;

}

@media (max-width: 768px) {
  .carousel-item img{
    width: 100%; 
    height: 100%;
  }
}

.icon-container {
  width: 3.2em; /* Tamaño deseado para el contenedor */
  height: 3.2em; /* Tamaño deseado para el contenedor */
  overflow: hidden; /* Evita que la imagen se desborde del contenedor */
  margin-left: 0.2em;
  margin-right: 1.2em;
  
}

.icon-container img {
  width: 100%; 
  height: auto; 
  display: block; 
}

.icon-container {
  position: relative;
  display: inline-block;
}










/*--------------------------------------------------------------
# Alt Services Section
--------------------------------------------------------------*/
.alt-services .img-bg {
  background-size: cover;
  background-position: center center;
  min-height: 400px;
}

.alt-services h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-default);
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.alt-services h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-primary);
  left: 0;
  bottom: 0;
}

.alt-services .icon-box {
  margin-top: 50px;
}

.alt-services .icon-box i {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-right: 25px;
  font-size: 28px;
  width: 56px;
  height: 56px;
  border-radius: 4px;
  line-height: 0;
  box-shadow: 0px 2px 30px rgba(0, 0, 0, 0.08);
  background-color: #fff;
  transition: 0.3s;
}

.alt-services .icon-box:hover i {
  background-color: var(--color-primary);
  color: #fff;
}

.alt-services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 18px;
}

.alt-services .icon-box h4 a {
  color: #000;
  transition: 0.3s;
}

.alt-services .icon-box h4 a:hover {
  color: var(--color-primary);
}

.alt-services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  overflow-x: hidden;
  padding: 0;
}

.hero .carousel {
  width: 100%;
  min-height: 100vh;
  padding: 80px 0;
  margin: 0;
  position: relative;
}

.hero .carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  z-index: 1;
  transition-duration: 0.4s;
}

.hero .carousel-item::before {
  content: "";
  background-color: rgba(0, 0, 0, 0.7);
  position: absolute;
  inset: 0;
}

.hero .info {
  position: absolute;
  inset: 0;
  z-index: 2;
}

@media (max-width: 768px) {
  .hero .info {
    padding: 0 50px;
  }

  #hero-carousel{
    height: 100vh;
  }
}

.hero .info h2 {
  color: #fff;
  margin-bottom: 30px;
  padding-bottom: 30px;
  font-size: 56px;
  font-weight: 700;
  position: relative;
}

.hero .info h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 80px;
  height: 4px;
  background: var(--color-primary);
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

@media (max-width: 768px) {
  .hero .info h2 {
    font-size: 36px;
  }
}

.hero .info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.hero .info .btn-get-started {
  font-family: var(--font-primary);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  color: #fff;
  border: 2px solid var(--color-primary);
}

.hero .info .btn-get-started:hover {
  background: var(--color-primary);
}

.hero .carousel-control-prev {
  justify-content: start;
}

@media (min-width: 640px) {
  .hero .carousel-control-prev {
    padding-left: 15px;
  }
}

.hero .carousel-control-next {
  justify-content: end;
}

@media (min-width: 640px) {
  .hero .carousel-control-next {
    padding-right: 15px;
  }
}

.hero .carousel-control-next-icon,
.hero .carousel-control-prev-icon {
  background: none;
  font-size: 26px;
  line-height: 0;
  background: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  border-radius: 50px;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
  z-index: 3;
  transition: 0.3s;
}

.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
  opacity: 0.5;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover {
  opacity: 0.9;
}

.info {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left; /* Alinear el texto a la izquierda */
  padding-left: calc((100% - 1140px) / 2 + 15px); /* Alineado con container-xl + padding */
}

@media (min-width: 1400px) {
  .info {
    padding-left: calc((100% - 1320px) / 2 + 15px); /* Alineado con container-xxl */
  }
}

@media (max-width: 1399px) and (min-width: 1200px) {
  .info {
    padding-left: calc((100% - 1140px) / 2 + 15px); /* Alineado con container-xl */
  }
}

@media (max-width: 1199px) and (min-width: 992px) {
  .info {
    padding-left: calc((100% - 960px) / 2 + 15px); /* Alineado con container-lg */
  }
}

@media (max-width: 991px) and (min-width: 768px) {
  .info {
    padding-left: calc((100% - 720px) / 2 + 15px); /* Alineado con container-md */
  }
}

.new-text {
  color: #fff;
  font-size: 4.5em;
  font-weight: 700;
  font-family: var(--font-primary);
  margin-right: 6em;
  margin-top: 0.6em; 
  line-height: 1.3;
}

.new-subtext {
  color: #fff;
  font-size: 4.4em;
  margin-bottom: 0;
  font-weight: 400;
  line-height: 1.2;
  
}

@media (max-width: 768px) {
  .new-text {
    color: #fff;
    font-size: 1.8em;
    font-weight: 700;
    font-family: var(--font-primary);
    margin-right: 0;
    margin-left: 0;
    line-height: 1.3;
    padding-right: 20px;
  }

  .new-subtext {
    font-size: 1.3em;
    margin-right: 0;
    margin-left: 0;
    line-height: 1.2;
    padding-right: 20px;
  }

  .info {
    padding-left: 20px;
    padding-right: 20px;
    margin-bottom: 0;
    justify-content: flex-start;
  }

  .new-content {
    width: 100%;
  }
}

/* Ajustes para pantallas pequeñas (480px y menos) */
@media (max-width: 480px) {
  .new-text {
    font-size: 3.2em;
    padding-right: 15px;
    line-height: 1.25;
  }

  .new-subtext {
    font-size: 1.6rem;
    padding-right: 15px;
    line-height: 1.2;
  }

  .info {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Ajustes para pantallas muy pequeñas (375px y menos) */
@media (max-width: 375px) {
  .new-text {
    font-size: 1.2em;
    padding-right: 12px;
    line-height: 1.2;
  }

  .new-subtext {
    font-size: 1em;
    padding-right: 12px;
    line-height: 1.15;
  }

  .info {
    padding-left: 12px;
    padding-right: 12px;
  }
}

/* Ajustes para pantallas extra pequeñas (360px y menos) */
@media (max-width: 360px) {
  .new-text {
    font-size: 1.1em;
    padding-right: 10px;
    line-height: 1.15;
  }

  .new-subtext {
    font-size: 0.95em;
    padding-right: 10px;
    line-height: 1.1;
  }

  .info {
    padding-left: 10px;
    padding-right: 10px;
  }
}

/* Ajustes para pantallas muy extra pequeñas (320px y menos) */
@media (max-width: 320px) {
  .new-text {
    font-size: 1em;
    padding-right: 8px;
    line-height: 1.1;
  }

  .new-subtext {
    font-size: 0.9em;
    padding-right: 8px;
    line-height: 1.05;
  }

  .info {
    padding-left: 8px;
    padding-right: 8px;
  }
}



/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.footer {
  color: #fff;
  background: url("../img/footer-bg.jpg") top center no-repeat;
  background-size: cover;
  font-size: 14px;
  padding: 80px 0 60px 0; /* Aquí está el padding-top */
  position: relative;
}

.footer:before {
  content: "";
  background: rgba(0, 0, 0, 0.8);
  position: absolute;
  inset: 0;
}

.footer .footer-content .footer-info {
  margin-bottom: 30px;
}

.footer .footer-content .footer-info h3 {
  font-size: 28px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}

.footer .footer-content .footer-info h3 span {
  color: var(--color-primary);
}

.footer .footer-content .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: var(--font-primary);
  color: #fff;
}

.footer .footer-content .social-links a {
  font-size: 18px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  line-height: 1;
  margin-right: 8px;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

.footer .footer-content .social-links a:hover {
  background: var(--color-primary);
  text-decoration: none;
}

.footer .footer-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-content .footer-links {
  margin-bottom: 30px;
}

.footer .footer-content .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-content .footer-links ul li {
  padding: 8px 0;
}

.footer .footer-content .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-content .footer-links ul a {
  color: rgba(255, 255, 255, 0.6);
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

.footer .footer-content .footer-links ul a:hover {
  color: #fff;
}

.footer .footer-legal .copyright {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer .footer-legal .credits {
  padding-top: 4px;
  font-size: 13px;
  color: #fff;
}

.footer .footer-legal .credits a {
  color: var(--color-primary);
}

.interview-question {
  font-size: 24px; /* Tamaño de fuente deseado */
  font-weight: bold; /* Puedes ajustar el peso de la fuente según tus preferencias */
  color: #333; /* Cambia el color del texto según tu diseño */
  margin-bottom: 20px; /* Ajusta el margen inferior según sea necesario */
}

.interview-question2{
  text-align: right;
  font-size: 24px; /* Tamaño de fuente deseado */
  font-weight: bold; /* Puedes ajustar el peso de la fuente según tus preferencias */
  color: #333; /* Cambia el color del texto según tu diseño */
  margin-bottom: 20px; /* Ajusta el margen inferior según sea necesario */
}

.img-fluid{
  opacity: 0.8;
  margin-left: 4em;
}

@media (max-width: 768px) {
  .img-fluid {
      max-width: 40vw;
      margin-bottom: 2vh;
      margin-right: 6.8em; /* Ajusta el tamaño según sea necesario */
  }

  .scroll-top{
    margin-right: 2px;
  }

  .mobile-nav-toggle{
    margin-right: 0.6em;
  }

  .breadcrumbs h2{
    margin-left: 1em;
    margin-right: 1em;
    font-size: 3em;
  }
}



/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header {
  z-index: 997;
  position: fixed;
  padding: 30px 0;
  top: 0;
  left: 0;
  right: 0;
  background-color: white;
  transition: background-color 0.3s ease-in-out;
}
.header #nav-link1 a{
  color: white;
}
.header .nav-link  ul{
  color: white;
}
.header .logo img {
  max-height: 3.5em;
  margin-right: 6px;
}

.header .logo h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 0;
  font-family: var(--font-primary);
  color: var(--color-primary); /* Color del texto primario */
}

.header .logo h1 span {
  color: var(--color-primary);
}

.header.blue {
  background-color: var(--color-primary);
}

.header.blue .nav-link {
  color: white;
}

.header.blue .nav-link.active {
  color: white;
}

.header .nav-link {
  color: var(--color-primary); 
  position: relative;
}



.header .nav-link.active::after {
  width: 100%;
  background-color: var(--color-primary);
}


.header .nav-link.active::before {
  width: 100%;
  background-color: white;
}


.header.blue .nav-link.active::before {
  background-color: var(--color-primary);
}



.header .nav-link.active::before{
  width: 100%;
  background-color: var(--color-default);
}

.header .nav-link.active::before {
  width: 100%;
  background-color: transparent;
}

.header.blue .logo h1 {
  color: white; /* Color del texto del encabezado cuando está en estado "blue" */
}

.header .nav-link:hover {
  color: var(--color-primary); /* Mantener el color del texto principal durante el hover */
}


.header .nav-link.active{
  color: var(--color-primary);
}

.header.blue .nav-link{
color: white;
}

.header.blue .nav-link.active::after {
  width: 100%;
  background-color: white;
}

.header #nav-icon{
  color: var(--color-primary);
}
.header.blue #nav-icon{
  color: white
}




.header .nav-link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  color: var(--color-primary);
  position: absolute;
  bottom: -2px;
  left: 0;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.header #nav-link1{
  color: var(--color-primary);
}

.header.blue #nav-link1{
  color: white;
}

/* Header Social Links */
.header-social-links {
  margin-left: 20px;
  gap: 8px;
}

.header-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: rgba(31, 75, 155, 0.1);
  color: var(--color-primary);
  font-size: 18px;
  transition: all 0.3s;
  text-decoration: none;
}

.header-social-links a:hover {
  background: var(--color-primary);
  color: #fff;
  transform: translateY(-2px);
}

.header.blue .header-social-links a {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.header.blue .header-social-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

@media (max-width: 1279px) {
  .header-social-links {
    display: none;
  }
}



@media (max-width: 768px) {
  .header .nav-link{
    color: white
  }

  .header .nav-link:after{
    color: white
  }

  .header .nav-link.active{
    color: white
  }

  .header .nav-link.active::after {
    width: 100%;
    background-color: white;
  }
  .header #nav-link1{
    color: white;
  }
}









/*--------------------------------------------------------------
# Sections & Section Header
--------------------------------------------------------------*/
section {
  padding: 80px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #E3E3E3;
  padding-left: 0px;
}

.title {
  font-family: var(--font-primary);
  font-weight: 600;
}

.section-header {
  text-align: center;
  padding-bottom: 70px;
  background-color: #fff;
  z-index: 1000;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
  color: var(--color-primary);
}

.section-header h2:before,
.section-header h2:after {
  content: "";
  width: 50px;
  height: 2px;
  background: var(--color-primary);
  display: inline-block;
  font-weight: var(--font-bold);
}

.section-header h2:before {
  margin: 0 15px 10px 0;
}

.section-header h2:after {
  margin: 0 0 10px 15px;
}

.section-header p {
  margin: 0 auto 0 auto;
}

@media (min-width: 1199px) {
  .section-header p {
    max-width: 60%;
  }
  .img-bg {
    height: 200px; /* Ajusta la altura de la imagen de fondo en dispositivos móviles */
    background-size: cover; /* Ajusta el tamaño de la imagen de fondo para cubrir todo el contenedor */
    background-position: center; /* Centra la imagen de fondo */
  }

  
}


/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about h2 {
  font-size: 48px;
  font-weight: 700;
  font-family: var(--font-secondary);
  margin: 30px 0;
}

@media (min-width: 991px) {
  .about h2 {
    max-width: 65%;
    margin: 0 0 80px 0;
  }
}

.about .our-story {
  padding: 40px;
  background-color: #90D3EC;
  
}

@media (min-width: 991px) {
  .about .our-story {
    padding-right: 35%;
  }
}

.about .our-story h4 {
  text-transform: uppercase;
  font-size: 18px;
  color: #838893;
}

.about .our-story h3 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-default);
  font-family: var(--font-primary);
  
}

.about .our-story p:last-child {
  margin-bottom: 0;
}

.about ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.about ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.about ul i {
  font-size: 20px;
  margin-right: 4px;
  color: var(--color-primary);
}

.about .watch-video i {
  font-size: 32px;
  transition: 0.3s;
  color: var(--color-primary);
}

.about .watch-video a {
  font-weight: 600;
  color: var(--color-secondary);
  margin-left: 8px;
  transition: 0.3s;
}

.about .watch-video:hover a {
  color: var(--color-primary);
}

.about .about-img {
  min-height: 600px;
  background-size: cover;
  background-position: center;
}

@media (min-width: 992px) {
  .about .about-img {
    position: absolute;
    top: 0;
    right: 0;
  }
}


.contact .info-item {
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
  padding: 20px 0 30px 0;
}

.contact .info-item i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  font-size: 24px;
  line-height: 0;
  color: var(--color-primary);
  border-radius: 50%;
  border: 2px dotted var(--color-primary);
}

.contact .info-item h3 {
  font-size: 40px;
  color: #6c757d;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-item p {
  padding: 0;
  line-height: 1.6;
  font-size: large;
  margin-bottom: 0;
}

.contact .php-email-form {
  width: 100%;
  background: #fff;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
  padding: 30px;
}

.contact .php-email-form .form-group {
  padding-bottom: 20px;
}

.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #df1529;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br+br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #059652;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #059652;
  border-top-color: #fff;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--color-primary);
}

.contact .php-email-form input {
  height: 44px;
}

.contact .php-email-form textarea {
  padding: 10px 12px;
}

.contact .php-email-form button[type=submit] {
  background: var(--color-primary);
  border: 0;
  padding: 10px 35px;
  color: #fff;
  transition: 0.4s;
  border-radius: 5px;
}

.contact .php-email-form button[type=submit]:hover {
  background-color: var(--color-default);
  
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* GET STARTED */
#get-started{
  background-color: #fff;
}
.get-started .content {
  padding: 30px 0;
}

#projects{
  padding: 0px;
}
#projects .container-fluid {
  padding-right: 0; /* Elimina el relleno derecho del contenedor fluido */
  padding-left: 0; /* Elimina el relleno izquierdo del contenedor fluido */
}

#projects .row {
  margin-right: 0; /* Elimina el margen derecho de la fila */
  margin-left: 0; /* Elimina el margen izquierdo de la fila */
}

#projects .col-lg-6:first-child {
  padding-right: 0; /* Elimina el relleno derecho de la primera columna */
}

#projects .col-lg-6:last-child {
  padding-left: 0; /* Elimina el relleno izquierdo de la segunda columna */
}

.btn-get-started {
  font-family: var(--font-primary);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 12px 40px;
  border-radius: 50px;
  transition: 0.5s;
  margin: 10px;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  text-transform: uppercase;
}
.btn-get-started:hover {
  background: var(--color-primary);
  color: white;
  transition: 1s;
}

.get-started .content h3 {
  font-size: 40px;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 25px;
  position: relative;
}

.get-started .content h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  left: 0;
  bottom: 0;
}

.get-started .content p {
  font-size: large;
  line-height: 1.6;
}

/* Documentación Section - Fondo azul oscuro */
#documentation {
  background-color: #1f4b9b;
  padding: 60px 0;
}

#documentation .content h3 {
  color: #fff;
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 25px;
  padding-bottom: 25px;
  position: relative;
}

#documentation .content h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 4px;
  background: #fff;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
}

#documentation .content p {
  color: #fff;
  font-size: large;
  font-weight: 200;
  line-height: 1.6;
}

#documentation .btn-get-started {
  background: #fff;
  color: #1f4b9b;
  border: 2px solid #fff;
}

#documentation .btn-get-started:hover {
  background: rgba(255, 255, 255, 0.9);
  color: #1f4b9b;
}

.get-started .php-email-form {
  background: #fff;
  padding: 30px;
  height: 100%;
}

@media (max-width: 575px) {
  .get-started .php-email-form {
    padding: 20px;
  }
}

.get-started .php-email-form h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.get-started .php-email-form p {
  font-size: 14px;
  margin-bottom: 20px;
}

.get-started .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #df1529;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.get-started .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.get-started .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.get-started .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #059652;
  border-top-color: #fff;
  animation: animate-loading 1s linear infinite;
}

.get-started .php-email-form input,
.get-started .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  border-radius: 0;
}

.get-started .php-email-form input:focus,
.get-started .php-email-form textarea:focus {
  border-color: var(--color-primary);
}

.get-started .php-email-form input {
  padding: 12px 15px;
}

.get-started .php-email-form textarea {
  padding: 12px 15px;
}

.get-started .php-email-form button[type=submit] {
  background: var(--color-primary);
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.get-started .php-email-form button[type=submit]:hover {
  background: rgba(254, 185, 0, 0.8);
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.px-0 {
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.h-100 {
  height: 100% !important;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

@media (max-width: 991.98px) {
  .px-lg-0 {
    padding-right: 0 !important;
    padding-left: 0 !important;
  }
}



/* header */

@media (min-width: 1280px) and (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }

  .nav-link{
    color: white;
  }
  #nav-link1{
    color: white;
  }
  .header.blue #nav-link1{
    color: white;
  }
  .header.blue .nav-link{
    color: white;
  }
}



/*--------------------------------------------------------------
# Team
--------------------------------------------------------------*/
.team-member {
  background: rgba(0, 0, 0, 0.65) none repeat scroll 0 0;
  display: block;
  margin-right: -15px;
  padding: 10px;
  position: relative;
  overflow: hidden;
}

.team-member::before {
  
  content: "";
  display: block;
  height: 100%;
  left: 0;
  margin-right: -15px;
  padding: 10px;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: -1;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  transition: 5s;
  transform: scale(1);
}

.team-member:hover.team-member::before {
  transform: scale(1.2);
}
.sobre-nosotros-text{
font-size: large;
}


.single-team-member {
  border: 1px solid #ddd;
}

/* Separación adicional para las cards del team en mobile */
@media (max-width: 768px) {
  .single-team-member {
    margin-bottom: 40px;
  }
  
  .single-team-member:last-child {
    margin-bottom: 0;
  }
  
  /* Asegurar que las columnas tengan espacio */
  .our-team-area .row .col-xs-12,
  .our-team-area .row .col-sm-4 {
    margin-bottom: 30px;
  }
}

@media (max-width: 480px) {
  .single-team-member {
    margin-bottom: 50px;
  }
  
  .our-team-area .row .col-xs-12,
  .our-team-area .row .col-sm-4 {
    margin-bottom: 40px;
  }
}

.team-left-text h4 {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
}

.team-left-text p {
  color: #fff;
  font-size: 17px;
  line-height: 26px;
}

.email-news {
  display: block;
  margin: 30px 0;
  overflow: hidden;
  text-align: center;
  width: 100%;
}

.email-news .email_button input {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: 1px solid #fff;
  color: #fff;
  float: left;
  font-size: 13px;
  padding: 8px;
  width: 81%;
}

.email-news .email_button>button {
  background: rgba(0, 0, 0, 0) none repeat scroll 0 0;
  border: 1px solid #fff;
  color: #fff;
  float: left;
  font-size: 16px;
  padding: 8px 12px;
  text-align: center;
}

.email-news .email_button>button:hover {
  background: #3EC1D5;
  border: 1px solid #fff;
  color: #fff;
}

.team-left-icon ul li {
  display: inline-block;
}

.team-left-icon ul li a:hover {
  color: #3EC1D5;
  background: #fff;
  border: 2px solid #fff;
}

.team-left-icon ul li a {
  border: 2px solid #fff;
  color: #fff;
  display: block;
  font-size: 16px;
  height: 40px;
  line-height: 37px;
  margin: 0 3px;
  width: 40px;
}

.team-member-carousel .single-team-member {
  overflow: hidden;
  width: 100%;
}

.single-team-member:hover, 
.team-img img:hover{
background-color:#90D3EC ;
transition: 0.5s;
}
.team-social-icon {
  opacity: 0; 
  transition: opacity 0.3s ease; 
}

.team-img img {
  width: 100%;
  height: 100%;
  max-height: 60vh;
  max-width: 100vh;
  
}
.section-headline h2 {
  color: var(--color-primary);
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 70px;
  position: relative;
  text-transform: capitalize;
}

.section-headline h2::after {
  
  border: 1px solid var(--color-primary);
  bottom: -20px;
  content: "";
  left: 0;
  margin: 0 auto;
  position: absolute;
  right: 0;
  width: 40%;
  color: var(--color-primary);
  background-color: var(--color-primary);
}


.team-img>a {
  display: block;
}

.team-img>a::after {
  background: rgba(0, 0, 0, 0.7);
  bottom: 0;
  content: "";
  height: 100%;
  left: 0;
  position: absolute;
  transition: all 0.5s ease 0s;
  width: 100%;
  opacity: 0;
}

.team-social-icon {
  left: 50%;
  margin-left: -61px;
  opacity: 0;
  position: absolute;
  top: 30%;
  transition: 1.3s;
}

.team-social-icon ul li {
  display: inline-block;
}

.team-social-icon ul li a {
  border: 1px solid #fff;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  height: 34px;
  width: 34px;
  margin: 0 3px;
}

.team-social-icon ul li a i {
  line-height: 0;
}

.team-social-icon ul li a:hover {
  color: #fff;
  border: 1px solid #3EC1D5;
  background: #3EC1D5;
}

.team-content {
  padding: 10px 0px;
}

.team-content>h4,
.team-content>p {
  color: #444;
  margin-bottom: 5px;
}

.team-content.head-team p {
  margin-bottom: 0;
}

.team-left-icon.text-center {
  margin-bottom: 20px;
}

.head-team h4 {
  display: inline-block;
  font-size: 25px;
  font-weight: 600;
  padding-bottom: 10px;
  text-transform: uppercase;
}

/* Estilos para textos fuera del backoffice - Respetando relación de Team Section */
/* Títulos h2 principales en secciones fuera del backoffice */
main#main section .content h2,
main#main section h2:not(.section-headline h2) {
  font-size: 40px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
}

/* Títulos h3 en secciones fuera del backoffice - Proporcional a Team Section */
/* Excluir presupuestador (.budget-stepper-section) */
main#main section:not(.budget-stepper-section) .content h3,
main#main section:not(.budget-stepper-section) > h3,
.get-started .content h3,
#documentation .content h3,
.contact .info-item h3 {
  font-size: 40px;
  font-weight: 700;
}

/* Asegurar que el presupuestador mantenga sus estilos originales */
.budget-stepper-section .option-card h3,
.budget-stepper-section .step-panel h3,
.budget-stepper-section .value-input-section h3,
.budget-stepper-section .calculation-result h3 {
  font-size: 18px !important;
  font-weight: 500 !important;
}

.budget-stepper-section .step-panel h2 {
  font-size: 28px !important;
  font-weight: 600 !important;
}

/* Párrafos descriptivos fuera del backoffice */
main#main section .content p,
.get-started .content p,
#documentation .content p,
.contact .info-item p {
  font-size: large;
  line-height: 1.6;
}

/* Media queries para mobile - Mantener relación pero tamaños ligeramente menores */
@media (max-width: 768px) {
  /* Títulos h2 en mobile */
  main#main section .content h2,
  main#main section h2:not(.section-headline h2) {
    font-size: 32px;
  }

  /* Títulos h3 en mobile - Manteniendo proporción con Team Section */
  /* Excluir presupuestador (.budget-stepper-section) */
  main#main section:not(.budget-stepper-section) .content h3,
  main#main section:not(.budget-stepper-section) > h3,
  .get-started .content h3,
  #documentation .content h3,
  .contact .info-item h3 {
    font-size: 36px;
  }

  /* Párrafos en mobile */
  main#main section .content p,
  .get-started .content p,
  #documentation .content p,
  .contact .info-item p {
    font-size: 16px;
  }

  .img-fluid {
      max-width: 40vw;
      margin-bottom: 2vh;
      margin-right: 6.8em;
  }

  .scroll-top{
    margin-right: 2px;
  }

  .mobile-nav-toggle{
    margin-right: 0.2em;
  }
}

/* Media queries para pantallas muy pequeñas (480px y menos) */
@media (max-width: 480px) {
  /* Títulos h2 en pantallas muy pequeñas */
  main#main section .content h2,
  main#main section h2:not(.section-headline h2) {
    font-size: 28px;
  }

  /* Títulos h3 en pantallas muy pequeñas - Manteniendo proporción */
  /* Excluir presupuestador (.budget-stepper-section) */
  main#main section:not(.budget-stepper-section) .content h3,
  main#main section:not(.budget-stepper-section) > h3,
  .get-started .content h3,
  #documentation .content h3,
  .contact .info-item h3 {
    font-size: 32px;
  }

  /* Párrafos en pantallas muy pequeñas */
  main#main section .content p,
  .get-started .content p,
  #documentation .content p,
  .contact .info-item p {
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .breadcrumbs h2{
    margin-left: 1em;
    margin-right: 1em;
    font-size: 3em;
  }

  /* Ajustes de contenido en mobile */
  .get-started .content {
    padding: 20px 15px;
  }

  .get-started .content h3 {
    font-size: 36px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    line-height: 1.3;
  }

  .get-started .content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  #documentation .content h3 {
    font-size: 36px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    line-height: 1.3;
  }

  #documentation .content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
  }

  .btn-get-started {
    margin: 10px 0;
    width: 100%;
    max-width: 300px;
    display: block;
    text-align: center;
  }

  #explora .content {
    padding: 20px 15px;
  }

  #explora .content h3 {
    font-size: 36px;
    line-height: 1.3;
  }

  #explora .content p {
    font-size: 16px;
    line-height: 1.6;
  }

  #boton-contacto,
  #boton-proyectos,
  #boton-documentacion {
    margin-left: auto;
    margin-right: auto;
  }

  section {
    padding: 40px 0;
  }

  #documentation {
    padding: 40px 0;
  }

  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Ajustes para textos inline con font-size x-large */
  p[style*="font-size: x-large"],
  p[style*="font-size:x-large"] {
    font-size: 16px !important;
    line-height: 1.6;
  }

  /* Asegurar que las imágenes responsive no se desborden */
  .img {
    max-width: 100%;
    height: auto;
  }

  /* Ajustes para la sección de proyectos */
  #projects .col-lg-6 {
    padding-left: 0;
    padding-right: 0;
  }

  #projects .content {
    padding: 20px 15px;
  }
}

/* Ajustes adicionales para pantallas pequeñas (480px y menos) */
@media (max-width: 480px) {
  .get-started .content {
    padding: 15px 12px;
  }

  .get-started .content h3 {
    font-size: 32px;
    margin-bottom: 15px;
    padding-bottom: 12px;
  }

  .get-started .content p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
  }

  #documentation .content h3 {
    font-size: 32px;
    margin-bottom: 15px;
    padding-bottom: 12px;
  }

  #documentation .content p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
  }

  #explora .content h3 {
    font-size: 32px;
  }

  #explora .content p {
    font-size: 14px;
    line-height: 1.5;
  }

  .btn-get-started {
    font-size: 14px;
    padding: 10px 25px;
  }

  section {
    padding: 30px 0;
  }

  #documentation {
    padding: 30px 0;
  }

  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  p[style*="font-size: x-large"],
  p[style*="font-size:x-large"] {
    font-size: 14px !important;
  }
}

/* Ajustes para pantallas muy pequeñas (375px y menos) */
@media (max-width: 375px) {
  .get-started .content {
    padding: 12px 10px;
  }

  .get-started .content h3 {
    font-size: 28px;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  .get-started .content p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  #documentation .content h3 {
    font-size: 28px;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }

  #documentation .content p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  #explora .content h3 {
    font-size: 1.2em;
  }

  #explora .content p {
    font-size: 13px;
    line-height: 1.5;
  }

  .btn-get-started {
    font-size: 13px;
    padding: 9px 20px;
  }

  section {
    padding: 25px 0;
  }

  #documentation {
    padding: 25px 0;
  }

  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  p[style*="font-size: x-large"],
  p[style*="font-size:x-large"] {
    font-size: 13px !important;
  }
}

/* Modal de confirmación para descargar PDF */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  background: white;
  border-radius: 8px;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-header h3 {
  margin: 0;
  color: var(--color-primary);
  font-size: 1.5em;
  font-weight: 700;
}

.btn-close-modal {
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
  font-size: 1.5em;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}

.btn-close-modal:hover {
  color: #333;
}

.modal-body {
  margin-bottom: 25px;
}

.modal-body p {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 15px;
}

.btn-cancel,
.btn-confirm {
  padding: 12px 30px;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-cancel {
  background: #e3e3e3;
  color: #333;
}

.btn-cancel:hover {
  background: #d0d0d0;
}

.btn-confirm {
  background: var(--color-primary);
  color: white;
}

.btn-confirm:hover {
  background: #1a3d8a;
}

@media (max-width: 768px) {
  .modal-content {
    padding: 20px;
    max-width: 90%;
  }

  .modal-header h3 {
    font-size: 1.2em;
  }

  .modal-actions {
    flex-direction: column;
  }

  .btn-cancel,
  .btn-confirm {
    width: 100%;
  }
}

