/**
* Template Name: UpConstruction - v1.3.0
* 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: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-primary: "Roboto", sans-serif;
  --font-secondary: "Poppins", sans-serif;
}

/* Colors */
:root {
  --color-default: #364d59;
  --color-primary: #feb900;
  --color-secondary: #52565e;
}



/* Smooth scroll behavior */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: var(--font-default);
  color: var(--color-default);
  overflow-x: hidden;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  color: #ffc732;
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
}


/*--------------------------------------------------------------
# Favicon
--------------------------------------------------------------*/

.favicon {
    
}
img {
    image-rendering: -webkit-optimize-contrast; /* Para WebKit */
    image-rendering: -moz-crisp-edges; /* Para Firefox */
    image-rendering: crisp-edges; /* General */
}
img {
    filter: brightness(1.0) contrast(1.1); /* Ajusta según sea necesario */
}
img {
    width: 100%; /* Ajusta al contenedor */
    height: auto; /* Mantiene la proporción */
}


/*--------------------------------------------------------------
# Sections & Section Header
--------------------------------------------------------------*/
section {
  padding: 80px 0;
  overflow: hidden;
}

.section-bg {
  background-color: #f5f6f7;
}

.section-header {
  text-align: center;
  padding-bottom: 70px;
}

.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  position: relative;
  color: #2e3135;
}

.section-header h2:before,
.section-header h2:after {
  content: "";
  width: 50px;
  height: 2px;
  background: var(--color-primary);
  display: inline-block;
}

.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%;
  }
}

/*--------------------------------------------------------------
# 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: 500;
  color: #fff;
  font-family: var(--font-secondary);
}

.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: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: var(--color-primary);
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--color-secondary);
  line-height: 0;
}

.scroll-top:hover {
  background: #ffc732;
  color: #fff;
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/* Ajuste para móvil - evitar solapamiento con WhatsApp */
@media (max-width: 768px) {
  .scroll-top {
    right: 20px;
    bottom: 85px; /* Más arriba para dejar espacio al botón de WhatsApp (50px + 20px bottom + 15px espacio) */
    width: 45px;
    height: 45px;
  }
  
  .scroll-top i {
    font-size: 22px;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: #fff;
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #fff;
  border-color: var(--color-primary) transparent var(--color-primary) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1.5s linear infinite;
  animation: animate-preloader 1.5s linear infinite;
}

@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
.topbar {
  background-color: #1a1a1a;
  height: 45px;
  z-index: 998;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0;
  font-size: 13px;
  transition: all 0.3s ease;
}

.topbar .container-fluid {
  height: 100%;
  padding: 0 20px;
}

.topbar-right {
  gap: 0;
  align-items: center;
}

.topbar-contact {
  color: #fff;
  display: flex;
  align-items: center;
}

.topbar-contact i {
  font-size: 16px;
  margin-right: 8px;
}

.topbar-phone {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px; /* Números más grandes */
  transition: color 0.3s ease;
  white-space: nowrap;
}

.topbar-phone:hover {
  color: var(--color-primary);
}

.topbar-separator {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  margin: 0 8px;
}

.topbar-divider {
  width: 1px;
  height: 20px;
  background-color: rgba(255, 255, 255, 0.3);
  display: inline-block;
}

.topbar-social {
  gap: 12px;
}

.topbar-social-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
}

.topbar-social-link:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.topbar-social-link i {
  line-height: 1;
}

/* Responsive Top Bar */
@media (max-width: 768px) {
  .topbar {
    height: 40px;
    font-size: 11px;
  }
  
  .topbar .container-fluid {
    padding: 0 10px;
    flex-wrap: nowrap;
    justify-content: space-between; /* Distribuir espacio */
  }
  
  .topbar-right {
    gap: 0;
    flex-wrap: nowrap;
    width: 100%;
    justify-content: space-between;
  }
  
  .topbar-contact {
    flex-wrap: nowrap;
    gap: 2px;
    flex: 1;
    min-width: 0; /* Permite que se reduzca */
  }
  
  .topbar-contact i {
    font-size: 14px; /* Icono un poco más grande para móvil */
    margin-right: 3px;
    flex-shrink: 0;
  }
  
  .topbar-phone {
    font-size: 13px; /* Más grande para móvil */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .topbar-separator {
    display: inline;
    margin: 0 2px;
    font-size: 10px;
    flex-shrink: 0;
  }
  
  .topbar-divider {
    height: 16px;
    margin: 0 6px;
    flex-shrink: 0;
  }
  
  .topbar-social {
    gap: 5px;
    flex-shrink: 0;
  }
  
  .topbar-social-link {
    width: 24px;
    height: 24px;
    font-size: 13px;
  }
}

/* Pantallas muy pequeñas */
@media (max-width: 480px) {
  .topbar {
    height: 38px;
    font-size: 9px;
  }
  
  .topbar .container-fluid {
    padding: 0 8px;
  }
  
  .topbar-right {
    gap: 0;
    width: 100%;
    justify-content: space-between;
  }
  
  .topbar-contact {
    gap: 1px;
    flex: 1;
    min-width: 0;
  }
  
  .topbar-contact i {
    font-size: 13px; /* Icono más grande para móvil pequeño */
    margin-right: 2px;
    flex-shrink: 0;
  }
  
  .topbar-phone {
    font-size: 12px; /* Más grande para móvil pequeño */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .topbar-separator {
    margin: 0 2px;
    font-size: 9px;
    flex-shrink: 0;
  }
  
  .topbar-divider {
    height: 14px;
    margin: 0 4px;
    flex-shrink: 0;
  }
  
  .topbar-social {
    gap: 4px;
    flex-shrink: 0;
  }
  
  .topbar-social-link {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }
}

/* Pantallas extra pequeñas */
@media (max-width: 360px) {
  .topbar {
    height: 36px;
  }
  
  .topbar-phone {
    font-size: 11px; /* Más grande incluso en pantallas muy pequeñas */
  }
  
  .topbar-contact i {
    font-size: 12px; /* Icono más grande incluso en pantallas muy pequeñas */
  }
  
  .topbar-social-link {
    width: 20px;
    height: 20px;
    font-size: 11px;
  }
  
  /* Ocultar el segundo número en pantallas muy pequeñas */
  .topbar-contact a:nth-of-type(2),
  .topbar-separator {
    display: none !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.header { 
  z-index: 997;
  position: fixed; /* Fijar el navbar en la parte superior */
  width: 100%; /* Asegura que el header ocupe todo el ancho */
  top: 45px; /* Espacio para la top-bar */
  left: 0;
  background-color: rgba(255, 255, 255, 0.98) !important; /* Fondo blanco siempre */
  padding: 20px 0; /* Mantener el padding constante */
  transition: background-color 0.3s ease, transform 0.3s ease; /* Suaviza las transiciones */
  transform: translateY(0); /* Asegura que el navbar esté visible por defecto */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .header {
    top: 38px; /* Ajustar para móvil */
    padding: 15px 0; /* Reducir padding en móvil */
  }
}

@media (max-width: 480px) {
  .header {
    top: 36px; /* Ajustar para pantallas muy pequeñas */
    padding: 12px 0;
  }
  
  .header .logo img {
    max-height: 35px; /* Logo más pequeño en móvil */
  }
}

/* Ocultar el navbar */
.header.hidden {
  transform: translateY(-100%);
   /* Mueve el navbar fuera de la vista */
}


/* Cambiar fondo al desplazarse pero no el tamaño */
.header.scrolled {
  background-color: rgba(255, 255, 255, 0.98) !important; /* Fondo blanco siempre */
  /* No reducir el padding ni el tamaño del navbar */
}

/* Transiciones suaves para el logo */
.header .logo img {
  max-height: 50px; /* Mantener tamaño original */
  margin-right: 6px;
  transition: max-height 0.3s ease; /* Suaviza la transición del tamaño del logo */
}

.header.scrolled .logo img {
  max-height: 40px; /* Mantener tamaño del logo */
}

/* Transiciones suaves para el título del logo */
.header .logo h1 {
  font-size: 24px; /* Mantener tamaño original del texto */
  font-weight: 700;
  color: #fff;
  margin-bottom: 0;
  font-family: var(--font-primary);
  transition: font-size 0.3s ease; /* Suaviza la transición del tamaño de fuente */
}

.header.scrolled .logo h1 {
  font-size: 24px; /* Mantener tamaño del texto */
}

.header .logo h1 span {
  color: var(--color-primary);
}

.header.scrolled a {
  color: #3c3c3c; /* Color oscuro para texto al desplazarse */
}



/*--------------------------------------------------------------
# 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: #3c3c3c !important; /* Color oscuro para fondo blanco */
    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: var(--color-primary) !important; /* Color amarillo al hover */
  }

  .navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 28px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
  }

  .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) and (max-width: 1366px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }

  .navbar .dropdown .dropdown:hover>ul {
    left: -100%;
  }
}

@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;
    /* === MODIFICACIÓN PARA ASEGURAR ALTURA === */
    height: 100%; 
    box-sizing: border-box;
    /* === FIN DE MODIFICACIÓN === */
  }

  .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;
  }
}

/*--------------------------------------------------------------
# Get Started Section
--------------------------------------------------------------*/
.get-started .content {
  padding: 30px 0;
}

.loading, .error-message, .sent-message {
  display: none;
  font-size: 14px;
  margin-top: 10px;
}

.get-started .content h3 {
  font-size: 36px;
  color: var(--color-secondary);
  font-weight: 600;
  margin-bottom: 25px;
  padding-bottom: 25px;
  position: relative;
  text-align: center;
}

.get-started .content h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 4px;
  background: var(--color-primary);
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
}

.get-started .content p {
  font-size: 16px;
  color: #555;
  line-height: 1.8;
}

.get-started .form-wrapper {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.get-started .form-wrapper:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.get-started .php-email-form h3 {
  font-size: 24px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  color: var(--color-primary);
  text-align: center;
}

.get-started .php-email-form p {
  font-size: 15px;
  margin-bottom: 20px;
  color: #666;
  text-align: center;
}

.get-started .php-email-form .form-control {
  border-radius: 5px;
  box-shadow: none;
  font-size: 14px;
  padding: 12px 15px;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.get-started .php-email-form .form-control:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 8px rgba(0, 86, 179, 0.1);
}

.get-started .php-email-form button[type=submit] {
  background: var(--color-primary);
  border: 0;
  padding: 12px 30px;
  color: #fff;
  transition: all 0.4s ease;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
}

.get-started .php-email-form button[type=submit]:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

@media (max-width: 575px) {
  .get-started .php-email-form {
    padding: 20px;
  }
}



/*--------------------------------------------------------------
# Constructions Section
--------------------------------------------------------------*/
.constructions .card-item {
  border: 1px solid rgba(82, 86, 94, 0.2);
  background: #fff;
  position: relative;
  border-radius: 4px; /* Added border-radius for a modern look */
  display: flex;
  flex-direction: column;
  height: 100%; /* Ensure all card items have the same height */
}

.constructions .card-item .card-bg {
  min-height: 300px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.constructions .card-item .card-body {
  padding: 20px; /* Adjusted padding for better spacing */
  flex: 1; /* Make card-body take up remaining space */
}

.constructions .card-item h4 {
  font-weight: 700;
  font-size: 18px; /* Reduced font-size for better balance */
  margin-bottom: 10px; /* Adjusted margin for better spacing */
  color: var(--color-secondary);
}

.constructions .card-item p {
  color: var(--color-secondary);
  margin: 0;
  line-height: 1.5; /* Improved readability */
}
/*--------------------------------------------------------------
# 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);
}


/*--------------------------------------------------------------
#Financing Section
--------------------------------------------------------------*/
.financing-icon {
  width: 130px; /* Tamaño del ícono */
  height: 130px; /* Asegúrate de que las proporciones sean correctas */
  margin-right: 15px; /* Espacio entre la imagen y el texto */
  object-fit: contain; /* Asegura que la imagen no se deforme */
}

.financing-text {
  display: flex;
  flex-direction: column;
}

.financing-icon-box {
  flex-basis: calc(25% - 10px); /* Ajusta el tamaño del contenedor */
  margin-bottom: 20px; /* Espacio inferior entre los iconos */
}

@media (max-width: 768px) {
  .financing-icon-box {
    flex-basis: calc(50% - 10px); /* Ajusta el tamaño del contenedor para pantallas pequeñas */
  }
}



/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .nav-tabs {
  border: 0;
}

.features .nav-link {
  padding: 15px 0;
  transition: 0.3s;
  color: var(--color-secondary);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
  border: 0;
  border-bottom: 4px solid #e2e4e6;
}

.features .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

.features .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

@media (max-width: 575px) {
  .features .nav-link h4 {
    font-size: 16px;
  }
}

.features .nav-link:hover {
  color: var(--color-primary);
}

.features .nav-link.active {
  color: var(--color-primary);
  background-color: transparent;
  border-color: var(--color-primary);
}

.features .tab-content {
  margin-top: 30px;
}

.features .tab-pane h3 {
  font-weight: 700;
  font-size: 32px;
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.features .tab-pane h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-primary);
  left: 0;
  bottom: 0;
}

.features .tab-pane ul {
  list-style: none;
  padding: 0;
}

.features .tab-pane ul li {
  padding-top: 10px;
}

.features .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--color-primary);
}

.features .tab-pane p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Our Projects Section
--------------------------------------------------------------*/
.projects {
  padding: 60px 0;
}

.projects .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.projects .section-header h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 10px;
}

.projects .section-header p {
  font-size: 16px;
  color: #555;
}

.projects .portfolio-flters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.projects .portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.projects .portfolio-flters li:hover,
.projects .portfolio-flters li.filter-active {
  color: var(--color-primary);
}

.projects .portfolio-flters li:first-child {
  margin-left: 0;
}

.projects .portfolio-flters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .projects .portfolio-flters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

/* Ajusta los elementos para que tengan un tamaño consistente */
.projects .portfolio-item {
  margin-bottom: 30px; /* Espacio entre elementos */
}

.projects .portfolio-content {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  height: 300px; /* Altura fija para todas las imágenes */
  width: 100%; /* Asegura que ocupe el 100% del ancho del contenedor */
  background: #f5f5f5; /* Fondo para áreas vacías */
}

.projects .portfolio-content img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Asegura que las imágenes se ajusten correctamente */
  transition: 0.3s;
}

.projects .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Alinea el contenido al fondo del contenedor */
}

.projects .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #fff;
  background-color: var(--color-primary);
}

.projects .portfolio-content .portfolio-info p {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.projects .portfolio-content .portfolio-info .preview-link,
.projects .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
}

.projects .portfolio-content .portfolio-info .preview-link:hover,
.projects .portfolio-content .portfolio-info .details-link:hover {
  color: var(--color-primary);
}

.projects .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
}

.projects .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.projects .portfolio-content:hover img {
  transform: scale(1.1);
}


/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-wrap {
  padding-left: 50px;
}

.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  padding: 30px 30px 30px 60px;
  margin: 0 15px 30px 0;
  min-height: 200px;
  box-shadow: 0px 2px 20px rgba(82, 86, 94, 0.1);
  position: relative;
  background: #fff;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 10px;
  border: 6px solid #fff;
  position: absolute;
  left: -45px;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
  color: #000;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0;
}

.testimonials .testimonial-item .stars {
  margin: 10px 0;
}

.testimonials .testimonial-item .stars i {
  color: #ffc107;
  margin: 0 1px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: #ffd565;
  font-size: 26px;
  line-height: 0;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 15px auto 15px auto;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: #d5d7da;
  opacity: 1;
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
}

@media (max-width: 767px) {
  .testimonials .testimonial-wrap {
    padding-left: 0;
  }

  .testimonials .testimonials-carousel,
  .testimonials .testimonials-slider {
    overflow: hidden;
  }

  .testimonials .testimonial-item {
    padding: 30px;
    margin: 15px;
  }

  .testimonials .testimonial-item .testimonial-img {
    position: static;
    left: auto;
  }
}

/*--------------------------------------------------------------
# Roof Types Section
--------------------------------------------------------------*/
.roof-types {
  padding: 120px 0 60px 0; /* Más padding superior para no tapar el header */
}

.roof-types .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.roof-types .section-header h2 {
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 10px;
}

.roof-types .section-header p {
  font-size: 16px;
  color: #555;
}

.carousel-item img {
  object-fit: cover;
  height: 500px; /* Ajusta según sea necesario */
}

.carousel-caption {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 20px;
  border-radius: 10px;
}

.carousel-caption h5 {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
}

.carousel-caption p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.9);
}

.carousel-caption .btn {
  margin: 5px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 50%;
}


/*--------------------------------------------------------------
# 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: #f5f6f7;
}

@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-secondary);
}

.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;
  }
}

/*--------------------------------------------------------------
# Mission and Vision
--------------------------------------------------------------*/

.mission-vision {
  background-color: #f9f9f9;
  border-radius: 10px;
  padding: 30px;
}

blockquote {
  border-left: 5px solid #ffc019;
  padding-left: 20px;
  color: #2e3135;
}

.section-header {
  text-align: center; /* Centra el texto dentro del contenedor */
}

.blockquote {
  margin: 1.5rem 0; /* Espaciado vertical alrededor del blockquote */
}

ul {
  padding: 0; /* Elimina el padding por defecto */
  margin: 0; /* Elimina el margen por defecto */
  list-style-type: none; /* Elimina las viñetas de la lista */
}

li {
  margin: 0.5rem 0; /* Espaciado vertical entre los elementos de la lista */
}

/*--------------------------------------------------------------
# Stats Counter Section
--------------------------------------------------------------*/
.stats-counter .stats-item {
  background: #fff;
  box-shadow: 0px 0 30px rgba(82, 86, 94, 0.05);
  padding: 30px;
}

.stats-counter .stats-item i {
  font-size: 42px;
  line-height: 0;
  margin-right: 20px;
  color: var(--color-primary);
}

.stats-counter .stats-item span {
  font-size: 36px;
  display: block;
  font-weight: 600;
  color: var(--color-secondary);
}

.stats-counter .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--font-primary);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Our Team Section
--------------------------------------------------------------*/
.team .member {
  position: relative;
}

.team .member .member-img {
  margin: 0 80px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

@media (max-width: 1024px) {
  .team .member .member-img {
    margin: 0 60px;
  }
}

.team .member .member-img img {
  position: relative;
  z-index: 1;
}

.team .member .member-img .social {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding-bottom: 20px;
  transition: 0.3s;
  visibility: hidden;
  opacity: 0;
}

.team .member .member-img .social a {
  transition: 0.3s;
  color: #fff;
  font-size: 20px;
  margin: 0 8px;
}

.team .member .member-img .social a:hover {
  color: var(--color-primary);
}

.team .member .member-info {
  margin-top: 30px;
}

.team .member .member-info h4 {
  font-weight: 700;
  margin-bottom: 6px;
  font-size: 18px;
  color: var(--color-secondary);
}

.team .member .member-info span {
  font-style: italic;
  display: block;
  font-size: 15px;
  color: #838893;
  margin-bottom: 10px;
}

.team .member .member-info p {
  margin-bottom: 0;
  font-size: 14px;
}

.team .member:hover .member-img .social {
  padding-bottom: 0;
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Projet Details Section
--------------------------------------------------------------*/
.project-details .portfolio-details-slider img {
  width: 100%;
}

.project-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.7);
  opacity: 1;
}

.project-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--color-primary);
}

.project-details .swiper-button-prev,
.project-details .swiper-button-next {
  width: 48px;
  height: 48px;
}

.project-details .swiper-button-prev:after,
.project-details .swiper-button-next:after {
  color: rgba(255, 255, 255, 0.8);
  background-color: rgba(0, 0, 0, 0.2);
  font-size: 24px;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.project-details .swiper-button-prev:hover:after,
.project-details .swiper-button-next:hover:after {
  background-color: rgba(0, 0, 0, 0.6);
}

@media (max-width: 575px) {

  .project-details .swiper-button-prev,
  .project-details .swiper-button-next {
    display: none;
  }
}

.project-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.project-details .portfolio-info h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-primary);
  left: 0;
  bottom: 0;
}

.project-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.project-details .portfolio-info ul li {
  display: flex;
  flex-direction: column;
  padding-bottom: 15px;
}

.project-details .portfolio-info ul strong {
  text-transform: uppercase;
  font-weight: 400;
  color: #838893;
  font-size: 14px;
}

.project-details .portfolio-info .btn-visit {
  padding: 8px 40px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50px;
  transition: 0.3s;
}

.project-details .portfolio-info .btn-visit:hover {
  background: #ffc019;
}

.project-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--color-secondary);
}

.project-details .portfolio-description p {
  padding: 0;
}

.project-details .portfolio-description .testimonial-item {
  padding: 30px 30px 0 30px;
  position: relative;
  background: #f5f6f7;
  height: 100%;
  margin-bottom: 50px;
}

.project-details .portfolio-description .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50px;
  border: 6px solid #fff;
  float: left;
  margin: 0 10px 0 0;
}

.project-details .portfolio-description .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0 5px 0;
  padding-top: 20px;
}

.project-details .portfolio-description .testimonial-item h4 {
  font-size: 14px;
  color: #6c757d;
  margin: 0;
}

.project-details .portfolio-description .testimonial-item .quote-icon-left,
.project-details .portfolio-description .testimonial-item .quote-icon-right {
  color: #ffd565;
  font-size: 26px;
  line-height: 0;
}

.project-details .portfolio-description .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.project-details .portfolio-description .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
  transform: scale(-1, -1);
}

.project-details .portfolio-description .testimonial-item p {
  font-style: italic;
  margin: 0 0 15px 0 0 0;
  padding: 0;
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  padding: 10px 30px;
  border: 1px solid #d5d7da;
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid #d9e3e8;
  margin: 20px 0;
  color: var(--color-secondary);
  transition: 0.3s;
}

.service-details .services-list a.active {
  font-weight: 700;
  border-color: var(--color-primary);
}

.service-details .services-list a:hover {
  border-color: var(--color-primary);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 28px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--color-primary);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.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 #ffd565;
}

.contact .info-item h3 {
  font-size: 20px;
  color: #6c757d;
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-item p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  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;
  -webkit-animation: animate-loading 1s linear infinite;
  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: rgba(254, 185, 0, 0.8);
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Recent Blog Posts Section
--------------------------------------------------------------*/
.recent-blog-posts .post-item {
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
}

.recent-blog-posts .post-item .post-img img {
  transition: 0.5s;
}

.recent-blog-posts .post-item .post-date {
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: var(--color-primary);
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
  padding: 6px 12px;
  font-weight: 500;
}

.recent-blog-posts .post-item .post-content {
  padding: 30px;
}

.recent-blog-posts .post-item .post-title {
  font-size: 24px;
  color: var(--color-secondary);
  font-weight: 700;
  transition: 0.3s;
  margin-bottom: 15px;
}

.recent-blog-posts .post-item .meta i {
  font-size: 16px;
  color: var(--color-primary);
}

.recent-blog-posts .post-item .meta span {
  font-size: 15px;
  color: #838893;
}

.recent-blog-posts .post-item hr {
  color: #888;
  margin: 20px 0;
}

.recent-blog-posts .post-item .readmore {
  display: flex;
  align-items: center;
  font-weight: 600;
  line-height: 1;
  transition: 0.3s;
  color: #838893;
}

.recent-blog-posts .post-item .readmore i {
  line-height: 0;
  margin-left: 6px;
  font-size: 16px;
}
.equal-height {
  height: 400px; /* Ajusta la altura según sea necesario */
  object-fit: cover; /* Esto asegura que la imagen se recorte de manera apropiada */
  width: 100%; /* Asegura que la imagen use todo el ancho del contenedor */
}

.recent-blog-posts .post-item:hover .post-title,
.recent-blog-posts .post-item:hover .readmore {
  color: var(--color-primary);
}

.recent-blog-posts .post-item:hover .post-img img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 45px - 80px); /* Altura mínima menos top-bar (45px) y header (80px) */
  height: auto;
  max-height: 900px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  overflow: visible;
  padding: 20px; /* Márgenes generales */
  padding-top: calc(45px + 80px + 20px); /* Espacio para top-bar (45px) + header (80px) + margen superior (20px) */
  box-sizing: border-box;
  background-color: #f8f8f8; /* Fondo claro para que se vean los márgenes */
}

/* Video de fondo con márgenes */
.video-wrapper {
  position: absolute;
  top: 20px; /* Margen superior */
  left: 20px; /* Margen izquierdo */
  right: 20px; /* Margen derecho */
  bottom: 20px; /* Margen inferior */
  overflow: hidden; /* Cambiado para evitar que el video se salga */
  z-index: 1;
  border-radius: 8px; /* Bordes redondeados sutiles */
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center; /* Centrar el video para mejor visualización */
  filter: brightness(0.6);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  border-radius: 8px; /* Bordes redondeados para coincidir con el wrapper */
}

.hero-poster-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/hero-carousel/hero-carousel-4.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.6);
  z-index: 0;
}

/* Contenedor del contenido - Dentro del video */
.info {
  position: absolute;
  z-index: 10;
  top: 20px; /* Mismo margen que el video */
  left: 20px; /* Mismo margen que el video */
  right: 20px; /* Mismo margen que el video */
  bottom: 20px; /* Mismo margen que el video */
  width: auto;
  height: auto;
  padding-top: 20px; /* Muy reducido para que quede justo debajo del navbar */
  padding-bottom: 20px; /* Reducido para que no sobresalga */
  padding-left: 20px; /* Ajustado */
  padding-right: 20px; /* Restaurado para tener espacio del borde */
  box-sizing: border-box;
  pointer-events: none; /* Permite que el video sea clickeable */
  overflow: hidden; /* Evita que el contenido sobresalga */
}

.hero .info .container {
  max-width: 100%;
  margin: 0;
  height: 100%;
  max-height: 100%;
  pointer-events: auto; /* Permite interacción con el formulario */
  overflow: visible;
}

.hero .info .container .row {
  margin: 0;
  height: 100%;
  align-items: flex-start;
  max-height: 100%;
}

.hero .info .container .row > div {
  padding-right: 10px; /* Reducido */
  padding-left: 10px; /* Reducido */
  pointer-events: auto;
  max-height: calc(100vh - 200px); /* Limita la altura */
  overflow-y: auto; /* Scroll si es necesario */
}

/* Formulario en Hero - Diseño Moderno */
.hero .form-wrapper {
  background: #ffffff !important;
  padding: 20px !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2) !important;
  transition: all 0.3s ease;
  margin: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box;
  width: 100% !important;
  border: 2px solid #ffc107 !important;
  max-height: calc(100vh - 240px) !important; /* Limita altura para que no sobresalga */
  overflow-y: auto !important; /* Scroll si es necesario */
}

/* Ajustar ancho del formulario en diferentes tamaños de pantalla */
@media (min-width: 992px) {
  .hero .info .container .row {
    justify-content: flex-end; /* Alinear a la derecha */
  }
  
  .hero .info .container .row > div.col-lg-4 {
    max-width: 450px; /* Aumentado para hacer el formulario más grande */
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-right: 15px; /* Espacio del borde del video */
  }
  
  .hero .form-wrapper {
    max-height: calc(100vh - 200px) !important;
    margin-right: 0 !important;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .hero .info {
    padding-top: 20px; /* Reducido para que quede debajo del navbar */
    padding-left: 15px;
    padding-right: 15px; /* Restaurado para tener espacio */
  }
  
  .hero .info .container .row {
    justify-content: flex-end; /* Alinear a la derecha */
  }
  
  .hero .info .container .row > div.col-md-5 {
    max-width: 480px; /* Aumentado para hacer el formulario más grande */
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding-right: 15px; /* Espacio del borde */
  }
  
  .hero .form-wrapper {
    max-height: calc(100vh - 200px) !important;
    margin-right: 0 !important;
  }
}

@media (max-width: 767px) {
  .hero .info {
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    padding-top: 15px; /* Muy reducido para que quede debajo del navbar en móvil */
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .hero .info .container .row > div {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    max-height: calc(100vh - 180px);
  }
  
  .hero .form-wrapper {
    max-width: 100% !important;
    max-height: calc(100vh - 200px) !important;
    padding: 18px !important;
  }
}

@media (max-width: 480px) {
  .hero {
    height: calc(100vh - 36px - 65px); /* Altura menos top-bar pequeña (36px) y header (65px) */
    min-height: 500px;
    max-height: 650px;
    padding-top: calc(36px + 65px + 15px); /* Espacio para top-bar + header + margen */
  }
  
  .hero .info {
    padding-top: 10px !important; /* Muy reducido para que quede debajo del navbar en móvil pequeño */
    padding-left: 8px !important;
    padding-right: 8px !important;
  }
  
  .hero .form-wrapper {
    padding: 15px 12px !important; /* Padding más compacto */
  }
  
  .hero .php-email-form .form-title {
    font-size: 16px !important; /* Título aún más pequeño */
    letter-spacing: 0.3px !important;
    padding-bottom: 10px !important;
    margin-bottom: 8px !important;
  }
  
  .hero .php-email-form .form-description {
    font-size: 11px !important;
    margin-bottom: 12px !important;
  }
  
  .hero .php-email-form .form-control,
  .hero .php-email-form input[type="text"],
  .hero .php-email-form input[type="email"],
  .hero .php-email-form input[type="tel"],
  .hero .php-email-form select,
  .hero .php-email-form textarea {
    padding: 9px 10px !important;
    font-size: 13px !important;
    margin-bottom: 10px !important;
  }
  
  .hero .php-email-form button[type="submit"],
  .hero .php-email-form .btn-primary {
    padding: 11px 18px !important;
    font-size: 13px !important;
  }
  
  .hero .php-email-form .form-check-label {
    font-size: 10px !important;
  }
}

.hero .form-wrapper:hover {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.hero .php-email-form .form-title {
  font-size: 22px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1.2px !important;
  margin-bottom: 8px !important;
  color: #ffc107 !important;
  text-align: left;
  line-height: 1.3;
  position: relative;
  padding-bottom: 15px !important;
  border-bottom: 3px solid #ffc107 !important;
}

.hero .php-email-form .form-title::after {
  display: none;
}

.hero .php-email-form .form-description {
  font-size: 13px;
  margin-bottom: 20px;
  margin-top: 8px;
  color: #555;
  text-align: left;
  line-height: 1.5;
  font-weight: 400;
}

/* Estilos para los inputs del formulario en Hero - Diseño Moderno */
.hero .php-email-form .form-control,
.hero .php-email-form input[type="text"],
.hero .php-email-form input[type="email"],
.hero .php-email-form input[type="tel"],
.hero .php-email-form select,
.hero .php-email-form textarea {
  width: 100% !important;
  padding: 12px 15px !important;
  font-size: 14px !important;
  line-height: 1.5;
  color: #333 !important;
  background-color: #f8f9fa !important;
  border: 2px solid #dee2e6 !important;
  border-radius: 6px !important;
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-family: inherit;
  font-weight: 400;
}

.hero .php-email-form .form-control:focus,
.hero .php-email-form input:focus,
.hero .php-email-form select:focus,
.hero .php-email-form textarea:focus {
  outline: none !important;
  border-color: #ffc107 !important;
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.25) !important;
  background-color: #ffffff !important;
}

.hero .php-email-form .form-control::placeholder,
.hero .php-email-form input::placeholder,
.hero .php-email-form textarea::placeholder {
  color: #95a5a6;
  opacity: 1;
  font-weight: 400;
}

.hero .php-email-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath fill='%232c3e50' d='M7 10L2 5h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px;
  padding-right: 40px;
  cursor: pointer;
  background-color: #ffffff;
}

.hero .php-email-form textarea {
  resize: vertical;
  min-height: 85px;
  max-height: 120px;
  font-family: inherit;
  overflow-y: auto;
  line-height: 1.6;
}

.hero .php-email-form .row.gy-3 {
  margin: 0;
}

.hero .php-email-form .row.gy-3 > div {
  margin-bottom: 16px;
  padding: 0;
}

.hero .php-email-form .row.gy-3 > div:last-child {
  margin-bottom: 0;
}

/* Estilos para el checkbox - Diseño Moderno */
.hero .php-email-form .form-check {
  margin-top: 8px;
  margin-bottom: 18px;
  padding: 12px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}

.hero .php-email-form .form-check-input {
  width: 18px;
  height: 18px;
  margin-top: 0.15em;
  margin-right: 10px;
  cursor: pointer;
  border: 2px solid #ced4da;
  border-radius: 4px;
  transition: all 0.3s ease;
  flex-shrink: 0;
  background-color: #ffffff;
}

.hero .php-email-form .form-check-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M10 3L4.5 8.5 2 6l1.5-1.5L4.5 6 8.5 2z'/%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

.hero .php-email-form .form-check-input:focus {
  box-shadow: 0 0 0 4px rgba(255, 193, 7, 0.15);
  border-color: var(--color-primary);
}

.hero .php-email-form .form-check-label {
  font-size: 12px;
  line-height: 1.5;
  color: #495057;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  font-weight: 400;
}

.hero .php-email-form .form-check-label a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 1px solid var(--color-primary);
  transition: all 0.2s ease;
}

.hero .php-email-form .form-check-label a:hover {
  color: #ffc107;
  border-bottom-color: #ffc107;
}

/* Estilos para el botón de envío - Diseño Moderno */
.hero .php-email-form button[type="submit"],
.hero .php-email-form .btn-primary {
  width: 100% !important;
  padding: 14px 24px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  background: #ffc107 !important;
  border: none !important;
  border-radius: 6px !important;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  margin-top: 8px !important;
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4) !important;
}

.hero .php-email-form button[type="submit"]::before,
.hero .php-email-form .btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.hero .php-email-form button[type="submit"]:hover::before,
.hero .php-email-form .btn-primary:hover::before {
  left: 100%;
}

.hero .php-email-form button[type="submit"]:hover,
.hero .php-email-form .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 193, 7, 0.5);
  background: linear-gradient(135deg, #ffc107 0%, var(--color-primary) 100%);
}

.hero .php-email-form button[type="submit"]:active,
.hero .php-email-form .btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

@media (max-width: 768px) {
  .hero {
    height: calc(100vh - 38px - 70px); /* Altura menos top-bar móvil (38px) y header (70px) */
    min-height: 550px;
    max-height: 700px;
    padding: 15px; /* Márgenes más pequeños en móvil */
    padding-top: calc(38px + 70px + 15px); /* Espacio para top-bar + header + margen */
  }
  
  .video-wrapper {
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
  }
  
  .info {
    padding-top: 15px !important; /* Reducido para móvil */
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .hero .form-wrapper {
    padding: 20px 15px !important; /* Padding más compacto */
    margin: 0 auto !important; /* Centrado */
  }
  
  .hero .php-email-form .form-title {
    font-size: 18px !important; /* Título más pequeño en móvil */
    letter-spacing: 0.5px !important; /* Menos espaciado */
    padding-bottom: 12px !important;
    margin-bottom: 10px !important;
    text-align: center !important;
    line-height: 1.4 !important;
  }
  
  .hero .php-email-form .form-description {
    font-size: 12px !important;
    text-align: center !important;
    margin-bottom: 15px !important;
    line-height: 1.4 !important;
  }
  
  .hero .php-email-form .form-control,
  .hero .php-email-form input[type="text"],
  .hero .php-email-form input[type="email"],
  .hero .php-email-form input[type="tel"],
  .hero .php-email-form select,
  .hero .php-email-form textarea {
    padding: 10px 12px !important; /* Padding más compacto */
    font-size: 14px !important;
    margin-bottom: 12px !important;
  }
  
  .hero .php-email-form button[type="submit"],
  .hero .php-email-form .btn-primary {
    padding: 12px 20px !important;
    font-size: 14px !important;
    margin-top: 10px !important;
  }
  
  .hero .php-email-form .form-check-label {
    font-size: 11px !important;
    line-height: 1.4 !important;
  }
}

/* Fondo translúcido para el contenido */
.hero-content {
  background: rgba(0, 0, 0, 0.3); /* Fondo oscuro translúcido */
  padding: 40px;
  border-radius: 15px;
  display: inline-block;
  max-width: 700px;
  text-align: center;
}

/* Estilo del título y párrafo para mejorar la legibilidad */
.hero h2 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 56px;
  font-weight: 700;
  position: relative;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* Añade sombra al texto */
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 36px;
  }
}

.hero h2 span {
  color: var(--color-primary); /* Mantener color principal */
}

.hero p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8); /* Añade sombra al texto */
}

/* Botón principal */
.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);
}

/* Estilos responsivos */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-content {
    padding: 20px;
    width: 90%;
  }
}
/*--------------------------------------------------------------
# Blog
--------------------------------------------------------------*/
.blog .blog-pagination {
  margin-top: 30px;
  color: #838893;
}

.blog .blog-pagination ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.blog .blog-pagination li {
  margin: 0 5px;
  transition: 0.3s;
}

.blog .blog-pagination li a {
  color: var(--color-secondary);
  padding: 7px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog .blog-pagination li.active,
.blog .blog-pagination li:hover {
  background: var(--color-primary);
  color: #fff;
}

.blog .blog-pagination li.active a,
.blog .blog-pagination li:hover a {
  color: var(--color-white);
}

/*--------------------------------------------------------------
# Blog Posts List
--------------------------------------------------------------*/
.blog .posts-list .post-item {
  box-shadow: 0px 2px 20px rgba(0, 0, 0, 0.06);
  transition: 0.3s;
}

.blog .posts-list .post-img img {
  transition: 0.5s;
}

.blog .posts-list .post-date {
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: var(--color-primary);
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
  padding: 6px 12px;
  font-weight: 500;
}

.blog .posts-list .post-content {
  padding: 30px;
}

.blog .posts-list .post-title {
  font-size: 24px;
  color: var(--color-secondary);
  font-weight: 700;
  transition: 0.3s;
  margin-bottom: 15px;
}

.blog .posts-list .meta i {
  font-size: 16px;
  color: var(--color-primary);
}

.blog .posts-list .meta span {
  font-size: 15px;
  color: #838893;
}

.blog .posts-list p {
  margin-top: 20px;
}

.blog .posts-list hr {
  color: #888;
  margin-bottom: 20px;
}

.blog .posts-list .readmore {
  display: flex;
  align-items: center;
  font-weight: 600;
  line-height: 1;
  transition: 0.3s;
  color: #838893;
}

.blog .posts-list .readmore i {
  line-height: 0;
  margin-left: 6px;
  font-size: 16px;
}

.blog .posts-list .post-item:hover .post-title,
.blog .posts-list .post-item:hover .readmore {
  color: var(--color-primary);
}

.blog .posts-list .post-item:hover .post-img img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Blog Details
--------------------------------------------------------------*/
.blog .blog-details {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
}

.blog .blog-details .post-img {
  margin: -30px -30px 20px -30px;
  overflow: hidden;
}

.blog .blog-details .title {
  font-size: 28px;
  font-weight: 700;
  padding: 0;
  margin: 20px 0 0 0;
  color: var(--color-secondary);
}

.blog .blog-details .content {
  margin-top: 20px;
}

.blog .blog-details .content h3 {
  font-size: 22px;
  margin-top: 30px;
  font-weight: bold;
}

.blog .blog-details .content blockquote {
  overflow: hidden;
  background-color: rgba(82, 86, 94, 0.06);
  padding: 60px;
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.blog .blog-details .content blockquote p {
  color: var(--color-default);
  line-height: 1.6;
  margin-bottom: 0;
  font-style: italic;
  font-weight: 500;
  font-size: 22px;
}

.blog .blog-details .content blockquote:after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--color-primary);
  margin-top: 20px;
  margin-bottom: 20px;
}

.blog .blog-details .meta-top {
  margin-top: 20px;
  color: #6c757d;
}

.blog .blog-details .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.blog .blog-details .meta-top ul li+li {
  padding-left: 20px;
}

.blog .blog-details .meta-top i {
  font-size: 16px;
  margin-right: 8px;
  line-height: 0;
  color: var(--color-primary);
}

.blog .blog-details .meta-top a {
  color: #6c757d;
  font-size: 14px;
  display: inline-block;
  line-height: 1;
  transition: 0.3s;
}

.blog .blog-details .meta-top a:hover {
  color: var(--color-primary);
}

.blog .blog-details .meta-bottom {
  padding-top: 10px;
  border-top: 1px solid rgba(82, 86, 94, 0.15);
}

.blog .blog-details .meta-bottom i {
  color: #838893;
  display: inline;
}

.blog .blog-details .meta-bottom a {
  color: rgba(82, 86, 94, 0.8);
  transition: 0.3s;
}

.blog .blog-details .meta-bottom a:hover {
  color: var(--color-primary);
}

.blog .blog-details .meta-bottom .cats {
  list-style: none;
  display: inline;
  padding: 0 20px 0 0;
  font-size: 14px;
}

.blog .blog-details .meta-bottom .cats li {
  display: inline-block;
}

.blog .blog-details .meta-bottom .tags {
  list-style: none;
  display: inline;
  padding: 0;
  font-size: 14px;
}

.blog .blog-details .meta-bottom .tags li {
  display: inline-block;
}

.blog .blog-details .meta-bottom .tags li+li::before {
  padding-right: 6px;
  color: var(--color-default);
  content: ",";
}

.blog .blog-details .meta-bottom .share {
  font-size: 16px;
}

.blog .blog-details .meta-bottom .share i {
  padding-left: 5px;
}

.blog .post-author {
  padding: 20px;
  margin-top: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .post-author img {
  max-width: 120px;
  margin-right: 20px;
}

.blog .post-author h4 {
  font-weight: 600;
  font-size: 22px;
  margin-bottom: 0px;
  padding: 0;
  color: var(--color-secondary);
}

.blog .post-author .social-links {
  margin: 0 10px 10px 0;
}

.blog .post-author .social-links a {
  color: rgba(82, 86, 94, 0.5);
  margin-right: 5px;
}

.blog .post-author p {
  font-style: italic;
  color: rgba(108, 117, 125, 0.8);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Blog Sidebar
--------------------------------------------------------------*/
.blog .sidebar {
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .sidebar .sidebar-title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0;
  color: var(--color-secondary);
}

.blog .sidebar .sidebar-item+.sidebar-item {
  margin-top: 40px;
}

.blog .sidebar .search-form form {
  background: #fff;
  border: 1px solid rgba(82, 86, 94, 0.3);
  padding: 3px 10px;
  position: relative;
}

.blog .sidebar .search-form form input[type=text] {
  border: 0;
  padding: 4px;
  border-radius: 4px;
  width: calc(100% - 40px);
}

.blog .sidebar .search-form form input[type=text]:focus {
  outline: none;
}

.blog .sidebar .search-form form button {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 15px;
  margin: -1px;
  background: var(--color-primary);
  color: var(--color-secondary);
  transition: 0.3s;
  border-radius: 0 4px 4px 0;
  line-height: 0;
}

.blog .sidebar .search-form form button i {
  line-height: 0;
}

.blog .sidebar .search-form form button:hover {
  background: rgba(254, 185, 0, 0.8);
}

.blog .sidebar .categories ul {
  list-style: none;
  padding: 0;
}

.blog .sidebar .categories ul li+li {
  padding-top: 10px;
}

.blog .sidebar .categories ul a {
  color: var(--color-secondary);
  transition: 0.3s;
}

.blog .sidebar .categories ul a:hover {
  color: var(--color-default);
}

.blog .sidebar .categories ul a span {
  padding-left: 5px;
  color: rgba(54, 77, 89, 0.4);
  font-size: 14px;
}

.blog .sidebar .recent-posts .post-item {
  display: flex;
}

.blog .sidebar .recent-posts .post-item+.post-item {
  margin-top: 15px;
}

.blog .sidebar .recent-posts img {
  max-width: 80px;
  margin-right: 15px;
}

.blog .sidebar .recent-posts h4 {
  font-size: 15px;
  font-weight: bold;
}

.blog .sidebar .recent-posts h4 a {
  color: var(--color-secondary);
  transition: 0.3s;
}

.blog .sidebar .recent-posts h4 a:hover {
  color: var(--color-primary);
}

.blog .sidebar .recent-posts time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: rgba(54, 77, 89, 0.4);
}

.blog .sidebar .tags {
  margin-bottom: -10px;
}

.blog .sidebar .tags ul {
  list-style: none;
  padding: 0;
}

.blog .sidebar .tags ul li {
  display: inline-block;
}

.blog .sidebar .tags ul a {
  color: #838893;
  font-size: 14px;
  padding: 6px 14px;
  margin: 0 6px 8px 0;
  border: 1px solid rgba(131, 136, 147, 0.4);
  display: inline-block;
  transition: 0.3s;
}

.blog .sidebar .tags ul a:hover {
  color: var(--color-secondary);
  border: 1px solid var(--color-primary);
  background: var(--color-primary);
}

.blog .sidebar .tags ul a span {
  padding-left: 5px;
  color: rgba(131, 136, 147, 0.8);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Blog Comments
--------------------------------------------------------------*/
.blog .comments {
  margin-top: 30px;
}

.blog .comments .comments-count {
  font-weight: bold;
}

.blog .comments .comment {
  margin-top: 30px;
  position: relative;
}

.blog .comments .comment .comment-img {
  margin-right: 14px;
}

.blog .comments .comment .comment-img img {
  width: 60px;
}

.blog .comments .comment h5 {
  font-size: 16px;
  margin-bottom: 2px;
}

.blog .comments .comment h5 a {
  font-weight: bold;
  color: var(--color-default);
  transition: 0.3s;
}

.blog .comments .comment h5 a:hover {
  color: var(--color-primary);
}

.blog .comments .comment h5 .reply {
  padding-left: 10px;
  color: var(--color-secondary);
}

.blog .comments .comment h5 .reply i {
  font-size: 20px;
}

.blog .comments .comment time {
  display: block;
  font-size: 14px;
  color: rgba(82, 86, 94, 0.8);
  margin-bottom: 5px;
}

.blog .comments .comment.comment-reply {
  padding-left: 40px;
}

.blog .comments .reply-form {
  margin-top: 30px;
  padding: 30px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog .comments .reply-form h4 {
  font-weight: bold;
  font-size: 22px;
}

.blog .comments .reply-form p {
  font-size: 14px;
}

.blog .comments .reply-form input {
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
}

.blog .comments .reply-form input:focus {
  box-shadow: none;
  border-color: rgba(254, 185, 0, 0.8);
}

.blog .comments .reply-form textarea {
  border-radius: 4px;
  padding: 10px 10px;
  font-size: 14px;
}

.blog .comments .reply-form textarea:focus {
  box-shadow: none;
  border-color: rgba(254, 185, 0, 0.8);
}

.blog .comments .reply-form .form-group {
  margin-bottom: 25px;
}

.blog .comments .reply-form .btn-primary {
  border-radius: 4px;
  padding: 10px 20px;
  border: 0;
  background-color: var(--color-secondary);
}

.blog .comments .reply-form .btn-primary:hover {
  color: var(--color-secondary);
  background-color: var(--color-primary);
}

/*--------------------------------------------------------------
# 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;
  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);
}

/* ======= Estilos duplicados eliminados - usar los estilos de arriba ======= */

/* Contenedor del contenido */
.info {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
}

/* Fondo translúcido para el contenido */
.hero-content {
  background: rgba(0, 0, 0, 0.6); /* Fondo oscuro translúcido */
  padding: 40px;
  border-radius: 15px;
  display: inline-block;
  max-width: 700px;
  text-align: center;
}

/* Estilo del título y párrafo para mejorar la legibilidad */
.hero h2 {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.hero h2 span {
  color: var(--color-primary); /* Mantener color principal */
}

.hero p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}

/* Botón principal */
.btn-get-started {
  background-color: var(--color-primary);
  color: #fff;
  padding: 12px 24px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease-in-out;
}

.btn-get-started:hover {
  background-color: #ffc732;
  color: #fff;
}

/* Estilos responsivos */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .hero-content {
    padding: 20px;
    width: 90%;
  }
}

/*--------------------------------------------------------------
# WhatsApp Float Button Styles - Enhanced
--------------------------------------------------------------*/
.whatsapp-float {
  position: fixed;
  width: 60px; /* Ancho inicial (circular) */
  height: 60px; /* Alto inicial (circular) */
  bottom: 30px;
  right: 30px;
  background-color: #25D366; /* Verde WhatsApp */
  color: #FFF;
  border-radius: 50px; /* Circular inicialmente, se ajustará en hover */
  text-align: center;
  font-size: 28px; /* Tamaño del icono ligeramente ajustado */
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3); /* Sombra un poco más pronunciada */
  z-index: 1000;
  display: flex; /* Usamos flexbox para alinear icono y texto */
  align-items: center;
  justify-content: center; /* Centra el icono inicialmente */
  overflow: hidden; /* Oculta el texto que sobresale inicialmente */
  text-decoration: none; /* Quita subrayado del enlace */
  transition: width 0.4s ease, border-radius 0.4s ease, background-color 0.3s ease; /* Transiciones suaves */
}

.whatsapp-float .whatsapp-icon {
  margin-left: 0; /* Sin margen inicial */
  transition: margin-left 0.4s ease; /* Transición para el icono */
}

.whatsapp-float .whatsapp-text {
  font-size: 16px; /* Tamaño del texto */
  font-family: var(--font-primary), sans-serif; /* Usa la fuente primaria de tu tema */
  font-weight: 500;
  color: #FFF;
  margin-left: 8px; /* Espacio entre icono y texto */
  white-space: nowrap; /* Evita que el texto se divida en líneas */
  opacity: 0; /* Texto invisible inicialmente */
  visibility: hidden; /* Oculto inicialmente */
  transition: opacity 0.3s ease 0.1s, visibility 0.3s ease 0.1s; /* Transición para el texto con retraso */
  max-width: 0; /* Para ayudar a ocultar y transición */
  transition: opacity 0.3s ease, max-width 0.4s ease;
}

.whatsapp-float:hover {
  width: 200px; /* Ancho expandido para mostrar texto */
  border-radius: 30px; /* Bordes más rectos, forma de píldora */
  background-color: #1ebe5b; /* Un verde ligeramente más oscuro en hover */
  justify-content: flex-start; /* Alinea contenido a la izquierda en hover */
  padding-left: 16px; /* Espacio a la izquierda del icono en hover */
}

.whatsapp-float:hover .whatsapp-icon {
 /* Podrías ajustar el margen si es necesario, pero con padding en el contenedor puede ser suficiente */
}

.whatsapp-float:hover .whatsapp-text {
  opacity: 1; /* Texto visible en hover */
  visibility: visible;
  max-width: 150px; /* Asegura que haya espacio para mostrar el texto */
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 768px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
    font-size: 24px;
  }

  /* En móvil, quizás no queremos que se expanda tanto o nada */
  .whatsapp-float:hover {
    width: 50px; /* Mantiene el ancho circular en hover en móvil */
    border-radius: 50px; /* Mantiene la forma circular */
    padding-left: 0; /* Sin padding extra */
    justify-content: center; /* Mantiene centrado */
  }

  .whatsapp-float:hover .whatsapp-text {
    opacity: 0; /* Mantiene el texto oculto en hover en móvil */
    visibility: hidden;
    max-width: 0;
  }
}