/**
* Template Name: Vesperr
* Template URL: https://bootstrapmade.com/vesperr-free-bootstrap-template/
* Updated: Aug 07 2024 with Bootstrap v5.3.3
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* 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", "Product Sans";
  --heading-font: "Raleway",  sans-serif;
  --nav-font: "Poppins",  sans-serif;
}

/* Fonts */
@font-face {
  font-family: ProductSans;
  src: url(https://fonts.googleapis.com/css?family=Google+Sans:100,300,400,500,700,900,100i,300i,400i,500i,700i,900i);
}

/* 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: #444444; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #222222; /* Color for headings, subheadings and title throughout the website */
  --accent-color:  #458cfe;
  --accent-color1: #95baf6;
  --accent-color2: #eca19b;
  --accent-color3: #e7ca7a;
  --accent-color4: #6ec199;
  --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. */
}

/* 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: #444444;  /* The default color of the main navmenu links */
  --nav-hover-color: #3498db; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #444444; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #3498db; /* 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: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --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: #444444;
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  text-decoration: none;
}

.design {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
  cursor:default;
}

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

/*------------------------------*/

@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);
  padding: 0px;
  transition: all 0.5s;
  z-index: 997;
  border: 0.8px solid rgba(169, 169, 169, 0.423);
  display: flex;
  justify-content: center; /* Centra el contenido horizontalmente */
  align-items: center; /* Centra el contenido verticalmente */

}

.header .logo {
  line-height: 1;
  padding-left: 6%;
  transition: transform 0.3s ease-out;
}

.header .logo:hover {
  transform: translateY(-5px) scale(1.05);
}

.header .logo img {
  max-height: 90px;
  width: 200px;
  height: 75px;
  /* margin-right: 12px; */
}

.container-head{
  padding-right: 10%;
  background-color: rgb(243, 249, 255);
}



@media (max-width: 1200px) {
  .header {
    color: var(--default-color);
    background-color: var(--background-color);
    /* padding: 50px 0; */
    transition: all 0.5s;
    z-index: 997;
  }

  .header .logo {
    order: 1;
    /* padding-pa: 10%; */
    
  }

  .container-head{
    padding-right: 0%;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

.btn-getstarted{
  border-radius: 8px;
}

.btn-getstarted i{
  font-style: normal;
}
.form-container {
  display: none;
}
/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/

@media (min-width: 1200px){
  
}

/* Navmenu - Desktop */
@media (min-width: 1200px) {
  
  .navmenu {
    padding: 0%;
    padding-left: 268px;
  }

  .navmenu ul {
    align-content: center;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu ul li {
    position: relative;
    padding: 0%;
  }

  /* .navmenu ul li .nav-sec a{
    padding-left: 100%;
  } */

  .navmenu .nav-sec,
  .navmenu .nav-sec:focus {
    /* color: var(--nav-color); */
    padding: 20px 15px;
    font-size: 18px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
    color: #3498db;
  }

  .navmenu .nav-sec a{
    padding: 10px 15px 10px 15px;
  }

  .navmenu .nav-sec a:hover{
    box-shadow: inset 0 0 0 2px rgba(152, 152, 152, 0.619);
    border-radius: 15px;
  }

  .navmenu .nav-sec.btn-getstarted {
    color: white;
    background: var(--accent-color);
    border: 3px solid var(--accent-color);  /* Corregido */
    font-size: 18px;
    width: 180px;
    transition: 0.3s;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px 10px 10px 10px;
  }
  .is-btn{
    /* background-color: #000000; */
    margin-left: 10%;
  }
  .navmenu .nav-sec.btn-getstarted:hover {
    color: rgb(14, 14, 14);
    border: 3px solid var(--accent-color);  /* Corregido */
    background-color: white;
  }

  .navmenu li:last-child(2) a {
    padding-right: 5px;
  }

  .navmenu li:hover>a {
    color: #3498db;
  }

  .navmenu .dropdown ul {
    margin: 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul div {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul div:hover{
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }

}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .container-fluid {
    padding-right: 5%;
  }

  /* Estilos para el botón de hamburguesa */
  .mobile-nav-toggle {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 4px;
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    padding-right: 5%;
  }

  /* Estilos para los círculos dentro del toggle */
  .mobile-nav-toggle div {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin: auto;
    transition: background-color 0.5s ease; /* Transición suave para los círculos */
  }

  /* Colores personalizados para los círculos */
  .mobile-nav-toggle .amarillo {
    background-color: #FBBC05;
  }

  .mobile-nav-toggle .azul {
    background-color: #4285F4;
  }

  .mobile-nav-toggle .verde {
    background-color: #34A853;
  }

  .mobile-nav-toggle .rojo {
    background-color: #EA4335;
  }

  /* Cambia el color de los círculos cuando el menú está activo */
  .mobile-nav-active .mobile-nav-toggle div {
    display: block;
  }

  /* Estilos para el menú de navegación */
  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  /* Estilos para la lista del menú desplegable */
  .navmenu ul {
    display: none;
    list-style: none;
    position: fixed; /* Cambiado a fixed para que el menú permanezca en su lugar */
    top: 60px; /* Posición desde la parte superior */
    right: 30px; /* Posición desde la derecha */
    margin: 0;
    border-radius: 6px;
    background:none;
    overflow-y: auto;
    transition: opacity 0.3s ease, transform 0.3s ease; /* Transición suave */
    z-index: 9998;
    /* box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1); */
    width: 250px; /* Ancho del menú */
    opacity: 0; /* Inicialmente invisible */
    transform: translateY(-20px); /* Desplazamiento inicial */
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
    opacity: 1; /* Hace el menú visible */
    transform: translateY(0); /* Restablece la posición */
    overflow: hidden;
  }

  /* .mobile-nav-active .navmenu::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(33, 37, 41, 0);
    z-index: 9996;
  } */

  /* Estilos para el toggle cuando el menú está activo */
  .mobile-nav-active .mobile-nav-toggle {
    color: #eb1414;
    position: fixed;
    font-size: 32px;
    top: 16px;
    right: 21px;
    margin-right: 0;
    z-index: 9999;

  }

  .bi-x::before { display: none; }

  .mobile-nav-active .navmenu {
    overflow: hidden;
    inset: 0;
    background: rgba(255, 255, 255, 0); 
  }

  .mobile-nav-active ul {
    padding: none;
  }

  .mobile-nav-active ul li {
    text-align: end;
    padding: 0%;
    margin: 0px;
  }

  .btn1-nav-sec{
    padding-left: 55%;
    /* right: 5px; */
  }
  .btn2-nav-sec{
    padding-left: 1.5%;
  }
  .btn3-nav-sec{
    padding-left: 50%;
  }
  /* .btn1-nav-sec.btn-getstarted{
    padding-left: 100%;
  } */

  /* .mobile-nav-active ul li a {
    color: #8e9093; */
    /* padding: 0px 0px 0px 15px; */
    /* padding-left: 5%; */
    /* width: 100%;
    text-decoration: none;
    font-size: 16px;
    border: 2px solid #4285F4;
    border-radius: 5px;
    transition: color 0.3s ease;
    background-color: white; */
    /* margin: 5px; */
    /* right: 5px; */
  /* } */

  

  .mobile-nav-active ul li a:hover {
    background-color: #4285F4;
    color: white;
  }

  .mobile-nav-active ul li .btn-getstarted {
    padding-left: 45%;
    /* border: 2px solid #4285F4; */
    border-radius: 5px;
  }

  .btn-getstarted i{
    margin-right: 0%;
  }

  .mobile-nav-active ul li .btn-getstarted:hover {
    background-color: #4285F4;
  }

  /* .mobile-nav-active ul li a {
    color: #458cfe;
    background-color: #000000;
    padding: 0px 0px 0px 15px;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
  } */

  /* .mobile-nav-active ul li a {
    color: #458cfe;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
  } */

  /* .mobile-nav-active ul a:hover {
    color: #fff;
  } */

  .mobile-nav-active .colores-burguer {
    display: none;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/

.footer {
  border-top: 1px solid rgb(109, 109, 109);
  background-color: rgb(243, 249, 255);
  color: #000000; /* Texto en blanco */
  padding: 20px 0;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Distribuye la imagen a la izquierda y el texto a la derecha */
  flex-wrap: wrap; /* Para adaptarse a pantallas pequeñas */
}

.logo-footer {
  max-width: 150px; /* Tamaño del logo */
}

.footer-politicas {
  gap: 100px; /* Espacio entre los enlaces */
  flex-wrap: wrap; /* Para que los enlaces no se desborden en pantallas pequeñas */
}

.footer-politicas a {
  color: #4d4d4d;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 5px 10px;
  padding-bottom: -15px;
  border: 2px solid transparent;
  padding-top: 3%;
  transition: all 0.3s ease-in-out;
}

.footer-politicas a:hover {
  border: 2px solid #6e6c68;
  border-radius: 10px;
  
}



/* Ajustes responsivos */
@media (max-width: 768px) {
  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .logo-footer {
    margin-bottom: 15px;
  }
}

/*--------------------------------------------------------------
# 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: 40px;
  height: 40px;
  border-radius: 4px;
  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;
}

/*--------------------------------------------------------------
# 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 {
  --background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 20px 0;
  position: relative;
}

.page-title h1 {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0 0 10px 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: 40px 0;
  scroll-margin-top: 40px;
  overflow: clip;
}

@media (max-width: 1199px) {
  section,
  .section {
    scroll-margin-top: 36px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-top: 0%;
  padding-bottom: 2 0px;
  position: relative;
}

.section-title h1 {
  font-size: 40px;
  font-weight: 700;
  position: relative;
}

.section-title h1:before,
.section-title h1:after {
  content: "";
  width: 50px;
  height: 2px;
  background: var(--accent-color);
  display: inline-block;
}

.section-title h1:before {
  margin: 0 15px 10px 0;
}

.section-title h1:after {
  margin: 0 0 10px 15px;
}

.section-title p {
  margin-bottom: 0;
  text-align: center;
  padding: 5%
}

.close-popup{
  display: none;
}

.section-title h2 { 
  font-size: 25px;
  position: relative;
  color: #646464;
  font-weight: 500;
}
/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 70vh;
  position: relative;
  padding: 90px 0px 90px 0px;
  display: flex;
  align-items: center;
  flex-direction: column; /* Centra elementos verticalmente */
}

.hero .titulo-2 {
  margin: 0%;
  font-size: 75px;
  font-weight: 700;
  line-height: 56px;
  text-align: justify; /* Centra el texto horizontalmente */
}

.hero .titulo-1 {
  margin: 0%;
  font-size: 45px;
  font-weight: 700;
  line-height: 56px;
  text-align: justify; /* Centra el texto horizontalmente */
}

.hero p {
  color: gray;
  margin: 0%;
  font-size: 20px;
  font-weight: 400;
  padding-top: 5%;
  text-align: justify; /* Centra el texto horizontalmente */
}

.hero .btn-get-started {
  font-weight: 700;
  font-size: 25px;
  margin-top: 10%;
  display: inline-block;
  padding: 15px 25px;
  transition: 0.3s;
  color: #ffffff;
  border: 2px solid #3BB54A;
  background-color: #3BB54A;
  border-radius: 15px;
  margin-top: 30px; /* Ajusta esta cantidad para mover más abajo */
  font-weight: bold;
}

.hero .btn-get-started:hover {
  color: rgb(26, 25, 25);
  border-radius: 10px ;
  border: 2px solid #3BB54A;
  background: rgb(255, 255, 255);
}

.hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

.order-lg-2 {
  background-color: #000000;
  height:0px;
  
}

.nav-sec a i{
  font-style: normal;
}

.btn-getstarted a i{
  font-style: normal;
}

@media (max-width: 1200px) {
  .hero {
    padding-top: 5%;
    flex-direction: column;
    align-items: center;
    display: flex;
  }
  
  .hero .titulo-1 {
    font-size: 40px;
    line-height: 40px;
  }

  .hero .titulo-2 {
    font-size: 55px;
    line-height: 55px;
  }

  .hero p {
    font-size: 20px;
    line-height: 25px;
    padding-top: 5%;
  }

  .btn-get-started{
    justify-content: center;
    position: relative;
    justify-items: center;
  }
  .elementos-carta .carta-box .cara-frontal .logo-mas{
    display: none;
  }
}

@media (max-width: 1000px) {
  .hero .container {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
  }

  .hero .text-container {
    text-align: center;
  }

  .titulo-1 {
    font-size: 25px;
    line-height: 30px;
  }
  
  .titulo-2 {
    font-size: 30px;
    line-height: 35px;
  }

  .hero p {
    font-size: 20px;
    line-height: 20px;
    padding-top: 5%;
  }

  .hero .btn-get-started {
    font-size: 15px;
    padding: 20px 35px;
    display: inline-block;
  }


}

@media (max-width: 768px) {
  .hero {
    padding-top: 15%;
    flex-direction: column;
    align-items: center;
    display: flex;
  }

  .hero .titulo-1 {
    font-size: 35px;
    line-height: 30px;
    text-align: center;
    color: #000000;
  }
  
  .hero .titulo-2 {
    font-size: 45px;
    line-height: normal;
    text-align: center;
    color: #000000;
  }

  .hero p {
    font-size: 14px;
    line-height: 15px;
    padding-top: 0%;
    text-align: center;
    margin: 20px;
  }

  .div-btn-start{
    align-items: center;
    padding: 0%;
  }

  .hero .div-btn-start{
    padding: 0%;
    align-self: center;
  }

  .hero .btn-get-started {
    font-size: 15px;
    padding: 10px 20px;      
    display: inline-block;
    justify-content: center;
    text-align: center;
  }

  .header .logo{
    padding: 0%; 
  }

  .nav-sec{
    width: 60px;
    text-align: center;
    margin-left: 2%;
  }

  .btn-getstarted a i{
    margin-right: 5%;
  }

  .hero-img{
    padding: 0%;
  }

  .elementos-carta .carta-box .cara-frontal .logo-rehacer{
    display: none;
  }

  .elementos-carta .carta-box .cara-frontal .logo-mas{
    display: block;
    width: 20px;
    height: 25px;
  }

  .mobile-services-section {
    position: relative;
    border-radius: 20px;
    padding: 20px;
    margin: 5%;
    background: white; /* Fondo del contenido */
    z-index: 1; /* Asegura que el contenido esté por encima */
  }

  .mobile-services-section::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 25px;
    background: conic-gradient(
      #FBBC05 0%, #FBBC05 12.5%, 
      #34A853 12.5%, #34A853 25%, 
      #4285F4 25%, #4285F4 37.5%, 
      #EA4335 37.5%, #EA4335 50%, 
        #FBBC05 50%, #FBBC05 62.5%, 
        #34A853 62.5%, #34A853 75%, 
        #4285F4 75%, #4285F4 87.5%, 
        #EA4335 87.5%, #EA4335 100%
    );

    z-index: -1;
    padding: 5px;
    mask: linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);
    -webkit-mask-composite: xor;
  }

  section, .section {
    padding: 0%;
  }

  .mobile-nav-active ul li .btn-getstarted {
    padding-right: 50%;
  }

  .contact {
    padding-bottom: 30px;
    padding-top: 0%;
  }

  .section-title {
    /* text-align: center; */
    padding-top: 0%;
    padding-bottom: 10px 0px;
    /* position: relative; */
  }

  .close-popup{
    display: block;
  }
}

@keyframes up-down {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-15px);
  }
}

@keyframes up-down-card {
  0% {
    transform: translateY(5px);
  }

  100% {
    transform: translateY(0);
  }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/

.services .service-item4 .cara-frontal:hover{
  --timing: linear(0, 0.3, 0.75, 1);
  transition: all 0.8s;
}

.services .service-item4 .cara-frontal:hover:before,
.services .service-item4 .cara-frontal:hover:after {
  transition: all 0.8s;
}

.services .service-item5 .cara-frontal:hover{
  transition: all 0.8s;
}

.services .service-item5 .cara-frontal:hover:before,
.services .service-item5 .cara-frontal:hover:after {
  transition: all 0.8s;
}
/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.service-item4 .carta {
  border: 3px solid #E74848;
  border-radius: 30px;
}

.service-item4 .carta {
  -webkit-box-shadow: -5px 5px 5px -2px rgba(234,67,53,0.47);
  -moz-box-shadow: -5px 5px 5px -2px rgba(234,67,53,0.47);
  box-shadow: -5px 5px 5px -2px rgba(234,67,53,0.47);
}

/* --------------- service 5 */

.service-item5 .carta {
  border: 3px solid #F9A825;
  border-radius: 30px;
}

.service-item5 .carta {
  -webkit-box-shadow: -4px 6px 9px -2px rgba(217,170,0,1);
  -moz-box-shadow: -4px 6px 9px -2px rgba(217,170,0,1);
  box-shadow: -4px 6px 9px -2px rgba(217,170,0,1);

}

/* ------------------ service 6 */

.service-item6 .carta {
  border: 3px solid #458cfe;
  border-radius: 30px;
}

.service-item6 .carta {
  -webkit-box-shadow: -4px 6px 9px -2px rgba(66,133,244,1);
  -moz-box-shadow: -4px 6px 9px -2px rgba(66,133,244,1);
  box-shadow: -4px 6px 9px -2px rgba(66,133,244,1);
}

/* --------------------- service 7 */


.service-item7 .carta {
  border: 3px solid #43A047;
  border-radius: 30px;
}

.service-item7 .carta {
    -webkit-box-shadow: -4px 6px 9px -2px rgba(52,168,83,1);
  -moz-box-shadow: -4px 6px 9px -2px rgba(52,168,83,1);
  box-shadow: -4px 6px 9px -2px rgba(52,168,83,1);

}

/* -------------- service 8 */

.service-item8 .carta {
  border: 3px solid #E74848;
  border-radius: 30px;
}

.service-item8 .carta {
  -webkit-box-shadow: -4px 6px 9px -2px rgba(234,67,53,1);
  -moz-box-shadow: -4px 6px 9px -2px rgba(234,67,53,1);
  box-shadow: -4px 6px 9px -2px rgba(234,67,53,1);
}

/* ---------------- service 9 */

.service-item9 .carta {
  border: 3px solid #458cfe;
  border-radius: 30px;
}

.service-item9 .carta {
  -webkit-box-shadow: -4px 6px 9px -2px rgba(66,133,244,1);
  -moz-box-shadow: -4px 6px 9px -2px rgba(66,133,244,1);
  box-shadow: -4px 6px 9px -2px rgba(66,133,244,1);

}

/* --------------------service 10 */

.service-item10 .carta {
  border: 3px solid #F9A825;
  border-radius: 30px;
}

.service-item10 .carta {
  -webkit-box-shadow: -4px 6px 9px -2px rgba(217,170,0,1);
  -moz-box-shadow: -4px 6px 9px -2px rgba(217,170,0,1);
  box-shadow: -4px 6px 9px -2px rgba(217,170,0,1);

}

/* -------------service 11 */

.service-item11 .carta {
  border: 3px solid #43A047;
  border-radius: 30px;
}

.service-item11 .carta {
  -webkit-box-shadow: -4px 6px 9px -2px rgba(52,168,83,1);
  -moz-box-shadow: -4px 6px 9px -2px rgba(52,168,83,1);
  box-shadow: -4px 6px 9px -2px rgba(52,168,83,1);
}


/* ---------------------- carta */
.carta-box {
  margin: 20px auto;
  height: 400px;
  width: 90%;
  max-width: 280px;
  position: relative;
  perspective: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carta-box .logo-rehacer{
  height: 25px;
  width: 25px;

}

.carta {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.5s ease-in-out;
}

.carta-box:hover .carta {
  transform: rotateY(180deg);
}

/* Estilos de las caras */
.cara {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 8px rgba(0, 0, 0, 0.1);
  background-color: #fff;
  border-radius: 30px;
  padding: 20px; /* Aumenta el espacio interno */
  text-align: center;
}

/* Cara frontal */
.cara-frontal {
  transform: rotateY(0deg);
}

/* Cara trasera */
.cara-detras {
  transform: rotateY(180deg);
  background-color: #f0f0f0;
}

.cara-detras .texto-detras{
  
  text-align: left;
  padding: 5%;
  color: #060606;
  font-size: 12px;

}

.cara-detras .lista-permisos{
  font-size: 15px;
}

/* Ajustes a los elementos internos */
.cara img {
  max-width: 160px; /* Ajusta el tamaño de la imagen */
  margin-bottom: 15px; /* Agrega margen inferior */
  border-radius: 8px;
}

.cara h2 {
  font-size: 25px;
  margin-bottom: 10px;
  font-weight: bold;
}

.cara p {
  font-size: 12px;
  margin-top: 5px;
  line-height: 1.4;
  word-break: break-word;
}

.cara .logo-mas{
  display: none;
}
/* Diseño movil */
@media (max-width: 768px) {
  .carta-box {
    width: 100%;
    height: 150px;
    perspective: none;
  }
  
  .cara-frontal{
    height: 100%;
    width: 100%;
    padding: 0%;
  }
  
  .cara h2 {
    font-size: 12px;
    margin-left: 20px;
    margin-right: 20px;
  }
  .cara p {
    font-size: 9px;
  }
  .carta-box.expandida {
    width: 90% !important;
  }

  .carta {
    transform: none !important;
    transition: none !important;
  }


  .section-title h1{
    font-size: 20px;
    color: #060606;
  }

  .section-title h2{
    /* padding-top: 10px; */
    font-size: 15px;
  }

  .section-title h1:before,
  .section-title h1:after {
    content: "";
    width: 5px;
    height: 2px;
    background: var(--accent-color);
    display: none;
  }

  .section-title p{
    font-size: 14px;
    margin: 18px;
  }

  .elementos-carta{
    width: 50%;
    height: 50%;
  }

  .elementos-carta .carta {
    border: none;
    border-radius: 0px;
    box-shadow: none;
  }

  .elementos-carta .carta .cara{
    border: none;
    border-radius: 0px;
    box-shadow: none;
  }

  .elementos-carta .carta-box .details .img-fluid{
    width: 100%;
  }

  .popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
  }
  
  .popup-content {
    background-color: rgb(255, 255, 255);
    border-radius: 18px;
    /* padding: 20px; */
    width: 90%;
    height: 59%;
    margin: 0px;
    text-align: center;
    position: relative;
    bottom: -5%;
  }

  .cara img {
    max-width: 160px; /* Ajusta el tamaño de la imagen */
    margin-bottom: 0px; /* Agrega margen inferior */
    border-radius: 8px;
  }

  /* .popup-content::before {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 25px;
    background: conic-gradient(
      #FBBC05 0%, #FBBC05 12.5%, 
      #34A853 12.5%, #34A853 25%, 
      #4285F4 25%, #4285F4 37.5%, 
      #EA4335 37.5%, #EA4335 50%, 
        #FBBC05 50%, #FBBC05 62.5%, 
        #34A853 62.5%, #34A853 75%, 
        #4285F4 75%, #4285F4 87.5%, 
        #EA4335 87.5%, #EA4335 100%
    );
    
    z-index: -1;
    padding: 5px;
    mask: linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);
    -webkit-mask-composite: xor;
  } */
  
  .popup-frontal{
    padding: 20px;
    border-radius: 25px;
  }
  
  .popup-content .content-title{
    
    font-size: 20px;
  }
  
  .popup-frontal img{
    z-index: 30;
    position: relative;
    top: 30%;
  }
  
  .popup-content .popup-detras .content-title{
    font-size: 20px;
  }

/*-----Cuadro amarillo-----------*/  

  .popup-frontal .yellow{
    position: absolute;
    background-color: #FBBC05;
    border: 1px solid #FBBC05;
    padding: 5%;
    border-radius: 15px;
    height: 150px;
    margin-top: -30%;
    left: 12%;
    width: 283px;
    z-index: 30;    
  }

  .popup-content .content-title  {
    position: absolute;
    bottom: 60%;
  }

  
 .popup-frontal .yellow .img-fluid {
  position: relative;
  top: 20%;
 }

/*-------------------------------*/  

/*-----Cuadro azul-----------*/

  .popup-frontal .blue{
    position: absolute;
    background-color: #4285F4;
    border: 1px solid #4285F4;
    padding: 5%;
    border-radius: 15px;
    height: 150px;
    margin-top: -30%;
    left: 12%;
    width: 283px;
    color: var(--surface-color);
    z-index: 30;
  }

  .popup-frontal .blue .img-fluid {
    position: relative;
    top: 35%;
 }
/*-----------------------------*/

/*-----Cuadro rojo-----------*/
  .popup-frontal .red{
    position: absolute;
    background-color: #EA4335;
    border: 1px solid #EA4335;
    padding: 5%;
    border-radius: 15px;
    height: 150px;
    z-index: 30;
    margin-top: -30%;
    left: 12%;
    width: 283px;
    color: var(--surface-color);
    
  }
  

 .popup-frontal .red .img-fluid {
    position: relative;
    top: 35%;
 }
/*----------------------------*/

/*-----Cuadro verde-----------*/

  .popup-frontal .green{
    position: absolute;
    background-color: #34A853;
    border: 1px solid #34A853;
    padding: 5%;
    border-radius: 15px;
    height: 150px;
    margin-top: -38%;
    left: 12%;
    width: 283px;
    z-index: 30;
    color: var(--surface-color);
    
  }

/*---------------------------*/
  .popup-detras {
    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    max-width: 325px;
    height: 350px;
    text-align: center;
    position: relative;
    top: 5%;
    left: 4%;
  }

  .close-popup {
    background-color: #ffffff;
    border: 2px solid #EA4335;
    position: absolute;
    top: -15px;
    right: -15px;
    width: 10%;
    height: 8%;
    border-radius:50%;
    cursor: pointer;
    font-size: 35px;
    z-index: 35;
  }

  .close-popup .ex{
    color: #EA4335;
    margin-top: -30%;
  }


  .popup-content .cara{
    /* position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 8px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    border-radius: 10px; */
    padding: 0px; /* Aumenta el espacio interno */
    text-align: center;
    position: relative;
  }

  .popup-detras p {
    margin-bottom: 15px;
    font-size: 16px;
    
  }
  .popup-detras li {
    margin-bottom: 15px;
    font-size: 16px;
    
  }

  .popup-content .cara-detras {
    transform: none;
    align-items: center;
    background-color: white;
    z-index: 20;
    box-shadow: none;
  }

  .hero{
    padding-bottom: 0%;
  }
}

@media (max-width: 1000px) {
  .section-title h1:before,
  .section-title h1:after {
    content: "";
    width: 5px;
    height: 2px;
    background: var(--accent-color);
    display: none;
  }
}

/* @media (max-width: 1200px) {
  .texto-contacto{
   margin: 10px;
  }

  .texto-contacto .contenido-texto h2{
    font-size: 20px;
  }
  
  .texto-contacto .contenido-texto p{
    font-size: 12px;
  }
  
  .btn-contact-getstarted{
    width: 300px;
    font-size: 22px;
  }
} */


.texto-contacto {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  text-align: center;
  max-width: 600px; /* Controla el ancho máximo */
  width: 100%;
  gap: 15px;
}

.texto-contacto h2 {
  color: #060606;
  font-size: 2rem;
}

.texto-contacto p {
  color: #444444;
  font-size: 1.2rem;
  text-align: justify;
}

.btn-contact-getstarted {
  width: 100%;
  max-width: 400px; /* Se adapta a móviles */
  font-size: 1.2rem;
  border-radius: 10px;
  background-color: var(--accent-color);
  border: 3px solid var(--accent-color);
}

.btn-contact-getstarted:hover {
  background-color: white;
  border-color: var(--accent-color);
  color: #060606;
}

.cuadro-contacto {
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 20px;
  margin: 5px;
  background: white; /* Fondo del contenido */
  z-index: 1; /* Asegura que el contenido esté por encima */
}

.cuadro-contacto::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 25px;
  background: conic-gradient(
    #FBBC05 0%, #FBBC05 12.5%, 
    #34A853 12.5%, #34A853 25%, 
    #4285F4 25%, #4285F4 37.5%, 
    #EA4335 37.5%, #EA4335 50%, 
    #FBBC05 50%, #FBBC05 62.5%, 
    #34A853 62.5%, #34A853 75%, 
    #4285F4 75%, #4285F4 87.5%, 
    #EA4335 87.5%, #EA4335 100%
  );
  
  z-index: -1;
  padding: 5px;
  mask: linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);
  mask-composite: exclude;
  -webkit-mask: linear-gradient(white 0 0) content-box, linear-gradient(white 0 0);
  -webkit-mask-composite: xor;
}

@media screen and ( min-width: 1800px){
  
  .woman{
    margin-top: 22%;
}
}

@media screen and (max-width: 768px ){

  .hero {
    min-height: 80vh;
  }

  .cuadro{
    margin-top: 100%;
    margin-left: 15%;
    width: 300px;
  }  
  .woman{
      position: relative;
      margin-top: -60%;
      margin-left: 35%;
      width: 150px;
    
    }
}

/* ==========================
💻 Estilos para escritorio (>= 768px)
========================== */
@media (min-width: 768px) {

  .texto-contacto {
    padding: 50px;
    max-width: 100%;
  }

  .texto-contacto{
    text-align: justify;
  }

  .texto-contacto h2 {
    width: 50%;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
  }

  .cuadro-contacto::before {
    padding: 10px;
  }

  .texto-contacto p {
    width: 50%;
    text-align: center;
    font-size: 16px;
  }

  .btn-contact-getstarted {
    margin-top: 0px;
    max-width: 400px;
    font-size: 18px;
  }

  .contacto-img .margen-contactos {
    width: 800px;
    height: auto;
    max-height: 500px;
    object-fit: contain;
  }
  .woman{
    position: relative;
    left: 27%;
    width: 48%;
    top: -54cqb;

  }
  
}

/* ==========================
📱 Estilos para móviles (<= 767px)
========================== */
@media (max-width: 767px) {
  
  .texto-contacto {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .texto-contacto h2 {
    font-size: 20px;
    text-align: center;
    margin-bottom: 10px;
  }

  .texto-contacto p {
    font-size: 14px;
    text-align: center;
  }

  .btn-contact-getstarted {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    margin-top: 10px;
  }

  .footer .footer-politicas {
    gap: 0;
  }

  .cuadro-contacto{
    padding: 5%;
  }

  @keyframes submenuEntry {
    0% {
      opacity: 0;
      transform: translateY(-10px) scaleY(0.95);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scaleY(1);
    }
  }
  
/* 2. Aplicar la animación al abrir el submenú */
.mobile-nav-active ul {
  /* tus estilos existentes… */
  list-style: none;
  margin: 0;
  padding: 8px 0;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(60,64,67,0.3), 0 1px 3px rgba(60,64,67,0.15);
  border-radius: 4px;
  
  /* ANIMACIÓN */
  opacity: 0;                    /* estado inicial */
  transform-origin: top center;  /* pivote para el scaleY */
  animation: submenuEntry 0.3s ease-out forwards;
}
/* Enlaces del submenú */
.mobile-nav-active ul li a {
  display: block;
  font-family: 'Roboto', sans-serif; /* Fuente de Google */
  font-size: 18px;                    /* Un poco más grande */
  color: #202124;                     /* Gris oscuro */
  text-decoration: none;
  text-align: center;
  padding: 5px;                 /* Espaciado cómodo */
  min-width: 240px;                   /* Ancho uniforme */
  border-radius: 4px;
  transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

/* Estado hover/activo */
.mobile-nav-active ul li a:hover,
.mobile-nav-active ul li a:focus {
  background-color: rgba(26,115,232,0.1); /* Azul Google suave */
  color: #1a73e8;                          /* Azul Google vivo */
  box-shadow: 0 2px 4px rgba(60,64,67,0.3);
}

/* Opcional: separación entre ítems */
.mobile-nav-active ul li + li {
  margin-top: 4px;
}

.mobile-nav-active ul li a:hover,
.mobile-nav-active ul li a:focus {
  /* Gradiente con los colores oficiales de Google */
  background: linear-gradient(
    135deg,
    #4285F4 0%,
    #34A853 25%,
    #FBBC05 50%,
    #EA4335 75%
  );
  color: #ffffff;                    /* Texto en blanco para contraste */
  box-shadow: 0 2px 4px rgba(60,64,67,0.3);
  transform: translateY(-2px);       /* Ligera elevación */
  transition: background 0.3s ease, transform 0.2s ease;
  .mobile-nav-active ul li a:hover{
    background-color: #4285F4;
    color: white;
  }
}
}

.chat{
  position: fixed;
  z-index: 200;
  width: 80px;
  margin-left: 93.5%;
  margin-top: 30%;
}

.form-container {
    display: none;           /* lo mostramos via JS */
    max-width: 400px;        /* ancho máximo */
    width: 100%;             /* o un ancho fijo, p.ej. 400px */
    margin: 40px auto;       /* 40px de margen arriba, auto a izquierda/derecha */
    /* el resto de tu estilo “Google” */
   
    background: #fff;
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(60,64,67,0.15), 0 1px 3px rgba(60,64,67,0.30);
  }
.modal{
  margin-top: 7%;
}

#main__course-container
{
    background-color: white !important;
    padding-top: 10px;
    padding-bottom: 10px;
}