/* Fonts */
:root {
  --default-font: "Roboto",  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";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #272829; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #050d18; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #6BD600; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
  --labels-color: #6BD600;
  --black: #000000;
  --white: #ffffff;
}


/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #a8a9b4;  /* The default color of the main navmenu links */
  --nav-hover-color: #ffffff; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #040b14; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #040b14; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #a8a9b4; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #ffffff; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f4fafd;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #032539;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #151f2b;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.sitename {
  text-align: center; /* Centra el texto dentro de su contenedor */
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

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

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  padding: 0 15px;
  width: 300px;
  transition: all ease-in-out 0.3s;
  overflow-y: auto;
  z-index: 997;
  border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.header .profile-img img {
  margin: 15px auto;
  display: block;
  width: 120px;
  border: 8px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.header .logo {
  line-height: 1;
  margin-bottom: 15px;
}

.header .logo img {
  max-height: 32px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 24px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .social-links {
  margin: 0 0 20px 0;
}

.header .social-links a {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  color: var(--default-color);
  margin: 0 2px;
  border-radius: 50%;
  text-align: center;
  width: 40px;
  height: 40px;
  transition: 0.3s;
}

.header .social-links a:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
}

@media (min-width: 1200px) {

  .header~main,
  .header~#footer {
    margin-left: 300px;
  }
}

@media (max-width: 1199px) {
  .header {
    left: -100%;
  }
}

.header.header-show {
  left: 0;
}

.header .header-toggle {
  color: var(--contrast-color);
  background-color: var(--accent-color);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  position: fixed;
  top: 15px;
  right: 15px;
  z-index: 9999;
  transition: background-color 0.3s;
}

.header .header-toggle:hover {
  color: var(--contrast-color);
  background-color: color-mix(in srgb, var(--accent-color) 90%, white 15%);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.mobile-nav-toggle {
  display: none;
}

.navmenu {
  padding: 0;
  z-index: 9997;
}

.navmenu ul {
  list-style: none;
  padding: 0 0 20px 0;
  margin: 0;
}

.navmenu a,
.navmenu a:focus {
  color: var(--nav-color);
  padding: 15px 10px;
  font-family: var(--nav-font);
  font-size: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: 0.3s;
  width: 100%;
}

.navmenu a .navicon,
.navmenu a:focus .navicon {
  font-size: 20px;
  margin-right: 10px;
}

.navmenu a .toggle-dropdown,
.navmenu a:focus .toggle-dropdown {
  font-size: 12px;
  line-height: 0;
  margin-left: auto;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: 0.3s;
  flex-shrink: 0;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.navmenu a .toggle-dropdown:hover,
.navmenu a:focus .toggle-dropdown:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.navmenu a:hover,
.navmenu .active,
.navmenu .active:focus {
  color: var(--nav-hover-color);
}

.navmenu a:hover .navicon,
.navmenu .active .navicon,
.navmenu .active:focus .navicon {
  color: var(--accent-color);
}

.navmenu .active .toggle-dropdown,
.navmenu .active:focus .toggle-dropdown {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: rotate(180deg);
}

.navmenu .dropdown {
  display: block;
}

.navmenu .dropdown a,
.navmenu .dropdown a:focus {
  color: --nav-dropdown-color;
}

.navmenu .dropdown a:hover,
.navmenu .dropdown .active,
.navmenu .dropdown .active:focus {
  color: var(--nav-dropdown-hover-color);
}

.navmenu .dropdown ul {
  position: static;
  display: none;
  z-index: 99;
  padding: 5px 10px;
  margin: 5px 10px;
  background-color: var(--nav-dropdown-background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  box-shadow: none;
  transition: all 0.5s ease-in-out;
}

.navmenu .dropdown ul ul {
  background-color: rgba(33, 37, 41, 0.1);
}

.navmenu .dropdown>.dropdown-active {
  display: block;
  background-color: rgba(33, 37, 41, 0.03);
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  padding: 40px 0;
  position: relative;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 4px;
  font-size: 13px;
  text-align: center;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

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

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

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 25px 0;
  position: relative;
}

.page-title h1 {
  font-size: 24px;
  font-weight: 700;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  overflow: clip;
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  position: relative;
}

.section-title h2:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.section-title p {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero .containera {
  position: absolute; /* Para mantenerla en una posición específica */
  top: 0; /* Posicionarla en la parte superior */
  left: 0;
  height: 10vh;
  width: 100%; /* Asegura que ocupe todo el ancho de la pantalla */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background-color: var(--background-color); /* Fondo oscuro */
  z-index: 10; /* Para que esté por encima de otros elementos */
  
}

.hero .containera t2 {
  margin: 0;
  font-size: clamp(16px, 2.5vw, 48px);
  text-align: left;
  font-weight: 700;
  color: var(--accent-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero t {
  margin: 0;
  font-size: 1.4vw;
  font-weight: 700;
  white-space: nowrap; /* Evita saltos de línea */
  overflow: hidden; /* Oculta texto extra */
  text-overflow: ellipsis; /* Agrega puntos suspensivos si el texto es demasiado largo */
}

.hero t span {
  letter-spacing: 1px;
  border-bottom: 2px solid var(--accent-color);
}

.hero .social-links {
  margin-top: 25px;
}

.hero .social-links a {
  font-size: 24px;
  display: inline-block;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  line-height: 1;
  margin-right: 20px;
  transition: 0.3s;
}

.hero .social-links a:hover {
  color: var(--accent-color);
}



/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .content h2 {
  font-weight: 700;
  font-size: 24px;
}

.about .content ul {
  list-style: none;
  padding: 0;
}

.about .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about .content ul strong {
  margin-right: 10px;
}

.about .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: var(--accent-color);
  line-height: 0;
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats .stats-item {
  padding: 30px;
  width: 100%;
}

.stats .stats-item i {
  color: var(--accent-color);
  display: block;
  font-size: 44px;
  float: left;
  line-height: 0;
}

.stats .stats-item .purecounter {
  color: var(--heading-color);
  font-size: 48px;
  line-height: 40px;
  display: block;
  font-weight: 700;
  margin-left: 60px;
}

.stats .stats-item p {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 15px 0 0 0;
  margin: 0 0 0 60px;
  font-family: var(--heading-font);
  font-size: 14px;
}

/*--------------------------------------------------------------
# Resume Section
--------------------------------------------------------------*/
.resume .resume-title {
  color: var(--heading-color);
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid var(--accent-color);
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: var(--background-color);
  border: 2px solid var(--accent-color);
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  margin: 0 10px;
  line-height: 1;
  text-transform: uppercase;
  margin-bottom: 10px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--labels-color); /* Mantén el color actual */
  font-weight: bold; /* Negrita */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); /* Sombra con desplazamiento y transparencia */
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}



.portfolio .portfolio-content .portfolio-info {
  opacity: 1; /* Hacer el contenedor visible */
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 15px;
  pointer-events: none; /* Asegura que otros elementos sigan siendo interactivos */
}

/* Hacer los títulos <h4> siempre visibles */
.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--labels-color);
  opacity: 1; /* Siempre visible */
  position: static; /* Mantener su posición normal */
  z-index: 3; /* Asegurar que esté por encima */
  transition: none; /* Quitar cualquier animación */
}

/* Mantener el comportamiento original para <p> */
.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0; /* Invisible por defecto */
  transition: opacity 0.3s ease-in-out; /* Transición al pasar el mouse */
}

/* Mostrar <p> solo al pasar el mouse */
.portfolio .portfolio-content:hover .portfolio-info p {
  opacity: 1;
}

.portfolio .portfolio-content .portfolio-info p,
.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  opacity: 0; /* Mantener el comportamiento original de estos elementos */
  transition: opacity 0.3s ease-in-out;
}

.portfolio .portfolio-content:hover .portfolio-info p,
.portfolio .portfolio-content:hover .portfolio-info .preview-link,
.portfolio .portfolio-content:hover .portfolio-info .details-link {
  opacity: 1; /* Solo visibles al pasar el mouse */
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}

/* Mantener el efecto de oscurecimiento en la imagen al pasar el mouse */
.portfolio .portfolio-content img {
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
  filter: brightness(1); /* Imagen normal */
}

/* Oscurecer la imagen al pasar el mouse */
.portfolio .portfolio-content:hover img {
  filter: brightness(0.8); /* Hacer la imagen más oscura */
  transform: scale(1.1); /* Ampliación ligera al pasar el mouse (opcional) */
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
  background: rgba(0, 0, 0, 0.308);
}


/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services{
  min-height: 100vh;
}
.services .service-item {
  position: relative;
}

.services .service-item .icon {
  background: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  transition: 0.5s;
  border: 1px solid var(--accent-color);
  margin-right: 20px;
}

.services .service-item .icon i {
  color: var(--contrast-color);
  font-size: 24px;
  line-height: 0;
}

.services .service-item:hover .icon {
  background: var(--surface-color);
}

.services .service-item:hover .icon i {
  color: var(--accent-color);
}

.services .service-item .title {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 18px;
}

.services .service-item .title a {
  color: var(--heading-color);
}

.services .service-item .title a:hover {
  color: var(--accent-color);
}

.services .service-item .description {
  line-height: 24px;
  font-size: 14px;
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  text-align: center;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: 0 auto;
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 0;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 0;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: color-mix(in srgb, var(--accent-color), transparent 40%);
  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: 0 15px 15px 15px;
  padding: 20px;
  background-color: var(--surface-color);
  position: relative;
  margin-bottom: 35px;
  border-radius: 6px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.testimonials .testimonial-item p::after {
  content: "";
  width: 0;
  height: 0;
  border-top: 20px solid var(--surface-color);
  border-right: 20px solid transparent;
  border-left: 20px solid transparent;
  position: absolute;
  bottom: -20px;
  left: calc(50% - 20px);
}

.testimonials .swiper-wrapper {
  height: auto;
}

.testimonials .swiper-pagination {
  margin-top: 40px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--background-color);
  opacity: 1;
  border: 1px solid var(--accent-color);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-wrap {
  background-color: var(--surface-color);
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
}



.contact .info-item {
  margin-bottom: 40px;
}

.contact .info-item i {
  font-size: 20px;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  transition: all 0.3s ease-in-out;
  margin-right: 15px;
}

.contact .info-item h3 {
  padding: 0;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 5px;
}

.contact .info-item p {
  padding: 0;
  margin-bottom: 0;
  font-size: 14px;
}

.contact .info-item:hover i {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.contact .php-email-form {
  background-color: var(--surface-color);
  height: 100%;
  padding: 30px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
}



.contact .php-email-form input[type=text],
.contact .php-email-form input[type=email],
.contact .php-email-form textarea {
  font-size: 14px;
  padding: 10px 15px;
  box-shadow: none;
  border-radius: 0;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.contact .php-email-form input[type=text]:focus,
.contact .php-email-form input[type=email]:focus,
.contact .php-email-form textarea:focus {
  border-color: var(--accent-color);
}

.contact .php-email-form input[type=text]::placeholder,
.contact .php-email-form input[type=email]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .php-email-form button[type=submit] {
  color: var(--contrast-color);
  background: var(--accent-color);
  border: 0;
  padding: 10px 30px;
  transition: 0.4s;
  border-radius: 50px;
}

.contact .php-email-form button[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.service-details .services-list {
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  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(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/* ======================= Cards ====================== */
.cardBox {
  display: grid; /* Utiliza grid para organizar las tarjetas */
  grid-template-columns: repeat(2, 1fr); /* Dos tarjetas por fila */
  grid-gap: 20px; /* Espaciado entre las tarjetas */
  width: 100%; /* Asegúrate de que ocupe todo el ancho */
  padding: 20px;
}

.cardBox .card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cardBox .card .numbers {
  position: relative;
  font-weight: 500;
  font-size: 2.5rem;
  color: var(--labels-color);
}

.cardBox .card .cardName {
  color: var(--black);
  font-size: 1.1rem;
  margin-top: 5px;
}

.cardBox .card .baseCard  {
  display: flex;
  flex-direction: row;  
  font-size: 3.5rem;
}


.cardBox .card .baseCard .iconBx {
  font-size: 3.5rem;
  color: var(--black);
  padding-right: 1.1rem; 
}

.cardBox .card .baseCard .dataType {
  font-family: 'Segoe UI Black', serif;
  position: relative;
  font-weight: 300;
  font-size: 1.3rem;
  color: var(--accent-color);
}

.cardBox .card .baseCard .dataTypeEn {
  position: relative;
  color: var(--black);
  font-weight: 500;
  font-size: 0.7rem;
  margin-top: 5px;
}

.folioData,
.fechaData,
.proyectoData,
.pruebaData,
.inspectorData,
.clienteData,
.estatusData{
  font-family: 'Segoe UI Black', serif;
  position: relative;
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--black);
}

.cardBox .card,
.cardBoxLarge .cardlg {
  border: var(--black);;
  border-style: dashed;
}

.cardBoxbt .card{
  border: var(--accent-color);;
  border-style: solid;
}


/* CardBoxLargo */
.cardBoxLarge {
  display: grid; /* Utiliza grid para organizar las tarjetas */
  grid-template-columns: 1fr; /* Una tarjeta por fila */
  grid-gap: 20px; /* Espaciado entre las tarjetas */
  width: 100%; /* Ocupa todo el ancho disponible */
  padding: 20px;
}


.cardBoxLarge .cardlg {
  position: relative;
  justify-content: space-between;
  cursor: default;
  width: 100%;  
  background: var(--white);
  border-radius: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cardBoxLarge .cardlg .numbers {
  position: relative;
  font-weight: 500;
  font-size: 2.5rem;
  color: var(--black);
}

.cardBoxLarge .cardlg .cardName {
  color: var(--black);
  font-size: 1.1rem;
  margin-top: 5px;
}

.cardBoxLarge .cardlg .baseCard  {
  display: flex;
  flex-direction: row;  
  font-size: 3.5rem;
  color: var(--black);
}


.cardBoxLarge .cardlg .baseCard .iconBx {
  font-size: 3.5rem;
  color: var(--black);
  padding-right: 1.1rem; 
}

.cardBoxLarge .cardlg .baseCard .dataType {
  font-family: 'Segoe UI Black', serif;
  position: relative;
  font-weight: 300;
  font-size: 1.3rem;
  color: var(--accent-color);
}

.cardBoxLarge .cardlg .baseCard .dataTypeEn {
  position: relative;
  color: var(--black);
  font-weight: 500;
  font-size: 0.7rem;
  margin-top: 5px;
}


.cardBoxbt {
  display: grid; /* Utiliza grid para organizar las tarjetas */
  grid-template-columns: repeat(1, 1fr); /* Dos tarjetas por fila */
  grid-gap: 20px; /* Espaciado entre las tarjetas */
  width: 100%; /* Asegúrate de que ocupe todo el ancho */
  padding: 20px;
  cursor: pointer;
}

.cardBoxbt .card {
  background: var(--accent-color);
  border-radius: 20px;
  box-shadow: 0 7px 25px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cardBoxbt .card:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 25%);
}

.cardBoxbt .card .numbers {
  position: relative;
  font-weight: 500;
  font-size: 2.5rem;
  color: var(--labels-color);
}

.cardBoxbt .card .cardName {
  color: var(--black);
  font-size: 1.1rem;
  margin-top: 5px;
}

.cardBoxbt .card .baseCard  {
  display: flex;
  flex-direction: row;  
  font-size: 3.5rem;
}


.cardBoxbt .card .baseCard .iconBx {
  font-size: 3.5rem;
  color: var(--black);
  padding-right: 1.1rem; 
}

.cardBoxbt .card .baseCard .dataType {
  font-family: 'Segoe UI Black', serif;
  position: relative;
  font-weight: 300;
  font-size: 1.5rem;
}

.cardBoxbt .card .baseCard .dataTypeEn {
  font-family: 'Segoe UI Black', serif;
  position: relative;
  font-weight: 500;
  font-size: 2rem;
  color: var(--white);
  position: absolute;
  top: 50%; /* Centrado vertical (opcional) */
  left: 50%; /* Centrado horizontal */
  transform: translate(-50%, -50%);
}

/*
Alert Box
*/


#noResultsMessage {
  font-size: 1.2rem;
  color: red;
  text-align: center;
  margin-top: 20px;
}
.alert-box {
  color: #555;
  border-radius: 10px;
  font-family: Tahoma, Geneva, Arial, sans-serif;
  font-size: 14px;
  padding: 15px 20px 15px 50px;
  margin: 20px 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alert-box span {
  font-weight: bold;
  text-transform: uppercase;
}

.alert-box.error {
  background: #ffecec url('assets/imgs/error.png') no-repeat 15px center;
  border: 1px solid #f5aca6;
}

.alert-box.success {
  background: #e9ffd9 url('assets/imgs/success.png') no-repeat 15px center;
  border: 1px solid #a6ca8a;
}

.alert-box.warning {
  background: #fff8c4 url('assets/imgs/warning.png') no-repeat 15px center;
  border: 1px solid #f2c779;
}

.alert-box.notice {
  background: #e3f7fc url('assets/imgs/notice.png') no-repeat 15px center;
  border: 1px solid #8ed9f6;
}

/* Estilos para el fondo del popup */
.popup-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none; /* Oculto por defecto */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Contenedor del popup */
.popup {
  background: #fff;
  border-radius: 10px;
  padding: 20px 30px;
  width: 400px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  position: relative;
}

/* Botón de cerrar */
.popup .close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 18px;
  font-weight: bold;
  color: #555;
  cursor: pointer;
  border: none;
  background: none;
}

.popup .close-btn:hover {
  color: #f00;
}

/* Texto del mensaje */
.popup .popup-text {
  font-size: 16px;
  color: #555;
  margin: 20px 0;
}

.popup .popup-text span {
  font-weight: bold;
  color: #f00; /* Color del "Error" */
}
.cardBox, .cardBoxLarge, .cardBoxbt {
  display: none; /* No visibles al inicio */
}

.popup-alert {
  color: #555;
  background: #ffecec; /* Por defecto para error */
  border: 1px solid #f5aca6; /* Por defecto para error */
  border-radius: 10px;
  font-family: Tahoma, Geneva, Arial, sans-serif;
  font-size: 14px;
  padding: 15px 20px;
  position: fixed; /* Ahora es fixed para depender de la ventana del navegador */
  bottom: 20px; /* Espaciado desde la parte inferior de la pantalla */
  left: 50%; /* Centra horizontalmente respecto a la pantalla */
  transform: translateX(-50%); /* Ajuste para centrar completamente */
  z-index: 1000;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: none; /* Oculto por defecto */
  text-align: center;
  max-width: 90%; /* Asegura que no exceda el ancho del contenedor */
}

.popup-alert.success {
  background: #e9ffd9; /* Verde claro para éxito */
  border: 1px solid #a6ca8a;
  color: #2d6a4f;
}

.popup-alert.error {
  background: #ffecec; /* Rojo claro para error */
  border: 1px solid #f5aca6;
  color: #d00000;
}

.user {
  visibility: hidden;
}

/* Buscador */

.search {
  position: relative;
  width: 400px;
  margin: 0 auto;
}


.search label {
  position: relative;
  width: 100%;
}

.search label input {
  width: 100%;
  height: 40px;
  border-radius: 40px;
  padding: 5px 20px;
  padding-right: 35px;  /* Ajusta el padding para dejar espacio al icono */
  font-size: 18px;
  outline: none;
  border: 3px solid var(--heading-color);
}

.search label ion-icon {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  font-size: 1.2rem;
  cursor: pointer; /* Hace que el icono sea interactivo */
}

.search label ion-icon:hover {
  color: var(--accent-color);
}



.text-green {
  color: #6BD600;
}

.text-red {
  color: rgb(225, 26, 26);
}

/*
  Slider 
  */

.slidercontainer{

    padding: 20px;
    position: absolute;
    left:50%;
    top:55%;
    transform: translate(-50%,-50%);
    width:100%;
    height:90vb;
    background-color: #f5f5f5;
    
}

#slide{
    width:max-content;   
    width:100%;
    height:100%;
}
.item{
    width: clamp(180px, 20vw * 0.8, 200px);
    height:40vh;
    background-position: 50% 50%;
    display: inline-block;
    transition: 0.5s;
    background-size: cover;
    position: absolute;
    z-index: 1;
    top:50%;
    transform: translate(20%,-50%);
    border-radius: 20px;
    box-shadow:  0 30px 50px #505050;
}
.item:nth-child(1),
.item:nth-child(2){
    left:0;
    top:0;
    transform: translate(0,0);
    border-radius: 0;
    width:100%;
    height:100%;
    box-shadow: none;
}
.item:nth-child(3){
    left:50%;
}
.item:nth-child(4){
    left:calc(50% + 220px);
}
.item:nth-child(5){
    left:calc(50% + 440px);
}
.item:nth-child(6) {
    left: calc(50% + 660px);
}
.item:nth-child(7) {
    left: calc(50% + 880px); /* Ajustar para la séptima imagen */
    opacity: 1; /* Asegurarse de que sea visible */
}
.item:nth-child(8) {
    left: calc(50% + 1100px); /* Ajustar para la octava imagen */
    opacity: 1; /* Asegurarse de que sea visible */
}
.item:nth-child(9) {
    left: calc(50% + 1320px); /* Elementos adicionales no visibles */
    opacity: 0;
}
.item:nth-child(n+10) {
    left: calc(50% + 1540px); /* Elementos adicionales no visibles */
    opacity: 0;
}
.item .content{
    position: absolute;
    top:50%;
    left:5.5vw;
    width:30vw;
    min-width: 30vw;
    text-align: left;
    padding:0;
    color:#eee;
    transform: translate(0,-50%);
    display: none;
    font-family: system-ui;
}
.item:nth-child(2) .content{
    display: block;
    z-index: 11111;
}
.item .name{
    font-family: var(--heading-font);
    background-color: rgba(3, 37, 57, 0.75); /* Fondo negro con 80% de opacidad */
    padding: 10px; /* Espaciado interno para que el texto no esté pegado */
    border-radius: 5px; /* Bordes redondeados opcionales */
    color: white; /* Asegúrate de que el texto sea legible */
    display: inline-block; /* Ajusta el ancho al contenido */
    font-size: 2.5vw;
    min-width: 30vw;
    font-weight: bold;
    opacity: 0;
    animation:showcontent 1s ease-in-out 1 forwards
}
.item .des{
    font: var(--default-font);
    background-color: rgba(3, 37, 57, 0.75); /* Fondo negro con 80% de opacidad */
    padding: 10px;
    border-radius: 5px;
    color: white;
    display: inline-block;
    margin-top: 10px; /* Espacio entre .name y .des */
    margin:20px 0;
    font-size: 1.5vw;
    opacity: 0;
    animation:showcontent 1s ease-in-out 0.3s 1 forwards
}
.item button{
    padding:10px 20px;
    border:none;
    opacity: 0;
    animation:showcontent 1s ease-in-out 0.6s 1 forwards
}
@keyframes showcontent{
    from{
        opacity: 0;
        transform: translate(0,100px);
        filter:blur(33px);
    }to{
        opacity: 1;
        transform: translate(0,0);
        filter:blur(0);
    }
}
.buttons{
    position: absolute;
    bottom:30px;
    z-index: 222222;
    text-align: center;
    width:100%;
}
.buttons button{
    width:50px;
    height:50px;
    border-radius: 50%;
    border:1px solid #555;
    transition: 0.5s;
}.buttons button:hover{
    background-color: #bac383;
}


/* ====================== Responsive Design ========================== */




@media (max-width: 1199px) {
  .item{
    transform: translate(25%,-50%);
  }
  .item .content{
    left:5.5vw;
    width:45vw;
    text-align: left;
    padding:0;
    transform: translate(0,-50%);
    font-family: var(--default-font);
  }
  .item .name{
    padding: 10px; /* Espaciado interno para que el texto no esté pegado */
    font-size: 3vw;    
    min-width: 45vw;
  }
  .item .des{
      padding: 10px;
      margin-top: 10px; /* Espacio entre .name y .des */
      margin:20px 0;
      font-size: 2vw;
  }
  .hero t {
    margin-right: 7vw; /* Separa 20px de la derecha */
  }
}