/*================================================================================
  [ Custom Client CSS ]
================================================================================*/
body {
  background-color: #f9f9f9;
  padding: 0px 0;
  border-radius: 0 !important;
}

.feature-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #333;
}

.feature-text p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.hover-effect-img {
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
  width: 100%;  /* Ajusta según tu diseño */
  height: auto;
}

.hover-effect-img:hover {
  transform: scale(1.05);
}

.image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.image-wrapper img {
  width: 100%;
  height: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;  /* Unificada la transición */
}

.image-wrapper:hover img {
  filter: brightness(75%);
  transform: scale(1.02) translateY(-3px);  /* Escala + movimiento hacia arriba */
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);  /* Sombra más profunda al hacer hover */
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;  /* Unificada la transición */
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  opacity: 0;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}

.image-wrapper:hover .overlay {
  opacity: 1;
}

.zoom-icon {
  font-size: 40px;
  color: #fff;
  pointer-events: none;
}

.testimonial-card {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.star-rating {
  font-size: 1.2rem;
}

.review-btn {
  display: inline-block;
  background-color: #ff5e15 !important; /* Amarillo de las estrellas */
  color: #ffffff !important;
  font-weight: 600;
  font-size: 18px;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  border-color: #ff5e15 !important;
}

.review-btn i {
  margin-right: 8px;
  font-size: 20px;
}

.review-btn:hover {
  background-color: #e0a800 !important; /* Un poco más oscuro para el hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
  border-color: #e0a800 !important;
}

@media (max-width: 768px) {
  .review-btn {
    font-size: 16px;
    padding: 12px 20px;
    width: 100%;
    max-width: 320px;
  }
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: #333;
}

.section-subtitle {
  font-size: 18px;
  color: #555;
  line-height: 1.6;
}

.service-area-list li {
  font-size: 17px;
  color: #444;
  margin-bottom: 10px;
}

.map-hover-effect {
  border-radius: 8px;  /* Borde redondeado */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);  /* Sombra inicial */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  height: auto;
  display: block;
}

.map-hover-effect:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}      

.area-contact-link {
  color: #ff5e15;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.area-contact-link:hover {
  color: #e09e00;
  text-decoration: underline;
}

/* Estilo general para inputs, select y textarea */
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  background-color: #fff;
  color: #333;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hover y focus */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #ff5e15;
  outline: none;
  box-shadow: 0 0 5px rgba(248, 181, 0, 0.3);
}

/* Select específico */
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20fill%3D'%23666'%20height%3D'24'%20viewBox%3D'0%200%2024%2024'%20width%3D'24'%20xmlns%3D'http://www.w3.org/2000/svg'%3E%3Cpath%20d%3D'M7%2010l5%205%205-5H7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px 16px;
}

.footer-area {
  background-color: #0b2545; /* azul profundo elegante */
  color: #ffffff;
  padding-top: 60px;
  padding-bottom: 30px;
}

.footer-link {
  color: #ffffff;
  margin: 0 15px;
  font-weight: 500;
  font-size: 16px;
  text-decoration: none;
  display: inline-block;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #ff5e15;
}

.footer-copy {
  font-size: 14px;
  color: #d0d7e2; /* azul grisáceo claro para contraste */
  margin-top: 10px;
}

.footer-dev-link {
  color: #ff5e15;
  font-weight: 600;
  text-decoration: none;
}

.footer-dev-link:hover {
  text-decoration: underline;
}

.whatsapp-button-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.3s ease-in-out;
}

.whatsapp-button-container:hover {
  transform: scale(1.05);
}

/* Botón redondo con icono */
.whatsapp-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 65px;
  height: 65px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.whatsapp-icon svg {
  width: 40px;
  height: 40px;
}

/* Tooltip mejorado */
.whatsapp-tooltip {
  background-color: #bbf3d0;
  color: #000;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 15px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Asegúrate de que tu slider sea contenedor relativo */
.single-slider {
  position: relative;
  max-width: 1270px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
}

/* Estilos del switcher */
.language-switcher {
  color: #fff;
  background: transparent;
  border: 1px solid #fff;
  padding: 0.25em 0.75em;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
  display: inline-block;
}

/* Hover relleno blanco y texto negro */
.language-switcher:hover {
  background: #fff;
  color: #000;
  text-decoration: none;
}

.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1020;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 10px 0;
}

.sticky-header .navbar-brand img {
  max-height: 50px;
}

.sticky-header .nav-link {
  color: #003366 !important;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 10px;
}

.sticky-header .thm-btn {
  padding: 10px 20px;
  font-size: 14px;
}

.trust-bar-area .trust-item span {
  font-size: 2.5rem;
  color: #ff5e15;
  margin-bottom: 10px;
  display: inline-block;
}

.trust-bar-area .trust-item p {
  font-size: 1.1rem;
  color: #003366;
}

.material-form .form-group {
  position: relative;
}

.material-form .form-control {
  background-color: transparent;
  border: none;
  border-bottom: 2px solid #003366;
  border-radius: 0;
  box-shadow: none;
  font-size: 18px;
  color: #003366;
  padding-left: 0;
  padding-right: 0;
  margin-bottom: 30px;
  transition: all 0.3s;
}

.material-form .form-control:focus {
  box-shadow: none;
  border-bottom-color: #003366;
}

.material-form label {
  position: absolute;
  top: 12px;
  left: 0;
  font-size: 18px;
  color: #aaa;
  pointer-events: none;
  transition: all 0.3s;
}

.material-form .form-control:focus + label,
.material-form .form-control:valid + label {
  top: -18px;
  left: 0;
  font-size: 14px;
  color: #003366;
}

/* Remove previous border-radius overrides */
.about-right-thumb img,
.image-wrapper,
.overlay,
.review-btn,
.map-hover-effect {
  border-radius: 8px !important;
}

/* Estilo general para todos los box */
.custom-box, .services-box, .testimonial-card, .project-text-box, .s-details-box, .message-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  padding: 32px 24px;
  margin-bottom: 24px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.custom-box:hover, .services-box:hover, .testimonial-card:hover, .project-text-box:hover, .s-details-box:hover, .message-box:hover {
  box-shadow: 0 8px 32px rgba(161, 171, 220, 0.18);
  transform: translateY(-4px) scale(1.01);
}

/* Centrar el header principal */
.sticky-header, .sticky-header .container, .sticky-header .row {
  text-align: center;
  justify-content: center !important;
  align-items: center !important;
}
.sticky-header .navbar-brand, .sticky-header .nav {
  margin-left: auto;
  margin-right: auto;
  float: none;
}

/* h1 más pequeño */
h1, .section-title h2 {
  font-size: 50px !important;
  line-height: 1.1;
}

/* Centrar imagen principal del slider */
.slider-content > img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Border-radius para todas las cajas blancas adicionales */
.card, .card-body, .area-image, .gallery-popup .image-wrapper, .gallery-popup img, .footer-logo img {
  border-radius: 12px !important;
}

/* Centrar imágenes de la galería */
.gallery-popup .image-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Ajuste para imágenes dentro de .area-image */
.area-image img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Centrar la sección principal del slider y secciones principales */
.slider-area .container,
.services-area .container,
.cta-area .container,
.gallery-popup,
.section-title,
.area-image {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Centrar filas internas si es necesario */
.slider-area .row,
.services-area .row,
.cta-area .row {
  justify-content: center !important;
  align-items: center !important;
}

/* Unificar border-radius en todas las cajas blancas grandes */
section, .section-white, .section-bg-white, .section-title, .feature-single, .cta-area .container, .project-text-box, .gallery-popup .image-wrapper, .gallery-popup img, .footer-logo img {
  border-radius: 12px !important;
}

/* Ajuste para evitar que el border-radius afecte a todo el body o main */
body, main {
  border-radius: 0 !important;
}

/* Quitar fondo blanco y estilos de caja del hero */
.slider-content {
  background: none;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  text-align: left;
  position: relative;
  z-index: 2;
  opacity: 1;
  align-items: flex-start !important;
}

/* Restaurar color blanco para el texto del hero */
.slider-content h1, .slider-content p, .slider-content .thm-btn {
  color: #fff !important;
}

/* Centrar la columna del hero como el resto de las secciones */
.slider-area .row {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Centrar perfectamente la sección slider-area */
.slider-area, .slider-area .slider-active, .slider-area .single-slider, .slider-area .container, .slider-area .row, .slider-area .col-xl-8, .slider-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}

/* Ajuste para que el texto del hero siga siendo blanco */
.slider-content h1, .slider-content p, .slider-content .thm-btn {
  color: #fff !important;
}

/* Overlay oscuro para el hero */
.slider-area .single-slider::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.45); /* Ajusta la opacidad según necesidad */
  z-index: 1;
}

/* Asegurar que el contenido esté por encima del overlay */
.slider-content, .slider-content * {
  position: relative;
  z-index: 2;
}

/* Restaurar hero a full screen y quitar alineación forzada */
.slider-area .single-slider {
  max-width: 1400px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
}

/* Centrar el contenido del hero */
.slider-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-left: 0 !important;
}
.slider-content > img {
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Espacio de 5px encima del hero */
.slider-area {
  margin-top: 5px;
}

/* Hero tipo cover centrado, 1600px de ancho */
.slider-area .single-slider {
  max-width: 1600px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
}

/* Alinear el contenido del hero a la izquierda */
.slider-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding-left: 0 !important;
}
.slider-content > img {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (max-width: 767px) {
  .slider-content h1 {
    font-size: 2rem !important;
    line-height: 2.3rem !important;
    word-break: break-word;
  }
  .slider-content p {
    font-size: 1rem !important;
    line-height: 1.5rem !important;
  }
}

/* Custom Owl Carousel Navigation for .about-img-carousel */
.about-img-carousel .owl-nav {
  text-align: center !important;
  margin-top: 20px !important;
}

.about-img-carousel .owl-nav .owl-prev,
.about-img-carousel .owl-nav .owl-next {
  background: #ff5e15 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 6px !important;
  width: 120px !important;
  height: 45px !important;
  margin: 0 8px !important;
  font-size: 20px !important;
  line-height: 45px !important;
  text-align: center !important;
  display: inline-block !important;
  vertical-align: middle !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
  transition: background 0.3s !important;
  position: relative !important;
}

.about-img-carousel .owl-nav .owl-prev:hover,
.about-img-carousel .owl-nav .owl-next:hover {
  background: #003366 !important;
  color: #fff !important;
}

/* Por defecto en inglés */
.about-img-carousel .owl-nav .owl-prev::before {
  content: 'Prev';
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}

.about-img-carousel .owl-nav .owl-next::before {
  content: 'Next';
  color: #fff;
  font-size: 18px;
  font-weight: bold;
}

/* Para la versión en español */
body[lang="es"] .about-img-carousel .owl-nav .owl-prev::before {
  content: 'Anterior';
}
body[lang="es"] .about-img-carousel .owl-nav .owl-next::before {
  content: 'Siguiente';
}

/* Hide any icon inside the button */
.about-img-carousel .owl-nav .owl-prev i,
.about-img-carousel .owl-nav .owl-next i {
  display: none !important;
}

/* Media query para dispositivos móviles */
@media (max-width: 768px) {
  .whatsapp-tooltip {
    display: none; /* Oculta el tooltip en pantallas pequeñas */
  }
}

/* ==========================================================================
   Carousel Styles for About Section
   ========================================================================== */

/* Container for the navigation buttons */
.about-area .about-img-carousel .owl-nav {
  text-align: center;
  margin-top: 15px;
}

/* Hide the default dots */
.about-area .about-img-carousel .owl-dots {
  display: none !important;
}

/* Style for Previous and Next buttons */
.about-area .about-img-carousel .owl-nav button.owl-prev,
.about-area .about-img-carousel .owl-nav button.owl-next {
    background: #ff5e15 !important; /* Orange background */
    color: #ffffff !important;      /* White arrow icon */
    border: none !important;
    border-radius: 5px;             /* Rectangular with rounded corners */
    width: 120px;
    height: 45px;
    margin: 0 5px;
    font-size: 20px !important;     /* Arrow size */
    line-height: 45px !important;
    text-align: center;
    display: inline-block;
    vertical-align: middle;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Hover effect for buttons */
.about-area .about-img-carousel .owl-nav button.owl-prev:hover,
.about-area .about-img-carousel .owl-nav button.owl-next:hover {
    background: #003366 !important; /* Dark blue on hover */
}
