/*Variables Definition*/

:root {
  --principal-color: #222222;
  --icon-color: #0155ab;
  --second--color: #92db01;
}

/* Reset some default styles for consistent rendering */
*{
  box-sizing: border-box;
  scroll-padding-top: 5rem;
}

body,
h1,
h2,
p,
ul,
li {
  margin: 0;
  padding: 0;
}

/* General Styles */
html {
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", Helvetica, sans-serif;
  line-height: 1.5;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0 20px;
  z-index: 1;
}

/* Navigation Bar Styles */
header{
  width: 100%;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 999999;
}

/*HAMBURGER*/
.hamburger__button {
  cursor: pointer;
  display: inline-block;
  width: 30px;
  height: 30px;
  position: relative;
  margin: auto;
}

.navbar__hamburger {
  display: none;
  flex-direction: column;
  background-color: #333;
  padding: 10px 0;
}

.navbar__hamburger ul {
  list-style-type: none;
  padding: 0;
}

.navbar__hamburger li {
  margin: 10px 0;
}

.navbar__hamburger a {
  text-decoration: none;
  color: #fff;
  font-size: 1.5rem;
}

.hamburger {
  width: 30px;
  height: 3px;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  transition: transform 3s ease-in-out;
}

.menu-open .hamburger {
  transform: rotate(45deg);
}

.menu-open .hamburger::before,
.menu-open .hamburger::after {
  content: "";
  width: 30px;
  height: 3px;
  background-color: #fff;
  position: absolute;
  transition: transform 3s ease-in-out;
}

.menu-open .hamburger::before {
  top: -10px;
  transform: rotate(90deg);
}

.menu-open .hamburger::after {
  top: 10px;
  transform: rotate(-90deg);
}

@media screen and (max-width: 968px){

  .navbar__hamburger{
    display: none;
  }

  .navbar__hamburger.menu-open{
    position: absolute;
    display: block;
    width: 100%;
    top: 100px;
    right: 0;
    padding: 2rem;
  }

  header .container {
    position: relative;
  }
}

.navbar {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: rgba(0, 0, 0, 0); /* Fondo con transparencia */
  backdrop-filter: blur(10px);
  transition: background-color 0.3s ease-in-out;
  color: var(--principal-color);
  padding: 1rem 0;
  font-size: 1.4rem;
  font-weight: 600;
  z-index: 1;
  margin-top: 2rem;
}

.navbar .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo{
  width: 300px;
  height: 100px;
  margin: 0 auto;
}

.navbar__logo img {
  max-width: 100%;
}

.navbar__menu-options {
  list-style: none;
  display: flex;
  justify-content: space-around;
}

.navbar__menu-options2 {
  list-style: none;
  display: flex;
  justify-content: space-between;
}

.menu__option {
  margin-left: 20px;
  float: none;
  display: inline-block;
}
.menu__option:nth-child(1) {
  float: left;
}
.menu__option:nth-child(2) {
  float: left;
}
.menu__option:nth-child(3) {
  float: left;
}

.menu__option:first-of-type{
  margin-left:0;
}

.navbar__icon {
  color: var(--icon-color);
  margin-right: 5px;
}

.menu__link {
  color: var(--principal-color);
  text-decoration: none;
  position: relative;
  transition: all 0.5s;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
}

.menu__link:hover {
  color: var(--icon-color);
  text-decoration: none;
}

.menu__link::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--second--color);
  left: 0;
  bottom: -0.8rem;
  opacity: 0;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -ms-transition: all 0.3s;
  -o-transition: all 0.3s;
}

.menu__link:hover::after {
  opacity: 1;
}

.menu__info{
  text-decoration: none;
  color: black;
}
.email__link {
  text-decoration: none;
}

/* Hero Section Styles */
.section__image {
  width: 100%;
  display: flex;
  align-items: center;
  min-height: 100vh;
  background-image: url(assets/hero5final.png);
  background-size: cover;
  background-position: 50% 50%;
}

.image__hero {
  max-width: 100%;
  height: auto;
}

.image__title {
  
  background-color: rgba(
    0,
    0,
    0,
    0
  ); /* Fondo semi-transparente para el texto */
  color: var(--principal-color); /* Color del texto */
  font-size: 4rem;
}

.image__text {
  font-size: 1.8rem;
  margin-top: 10px;
  background-color: rgba(
    0,
    0,
    0,
    0
  ); /* Fondo semi-transparente para el texto */
  color: var(--principal-color); /* Color del texto */
  width: 30%;
  text-align: justify;
}

.button__area {
  margin-top: 15px;
}

.button__book-now {
  padding: 10px 20px;
  background-color: var(--second--color);
  color: #fff;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1.8rem;
  margin-top: 1.5rem;
}

.button__book-now:hover{
  transform: scale(1.1);
  transition: ease-in-out 0.5s;
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  -webkit-transition: ease-in-out 0.3s;
  -moz-transition: ease-in-out 0.3s;
  -ms-transition: ease-in-out 0.3s;
  -o-transition: ease-in-out 0.3s;
  color: white;
  font-weight: 500;
}

/* SERVICES Section Styles */
.services__section {
  align-items: center;
  background-color: #f3f3f3;
  padding: 8rem;
  min-height: 100vh;
}

.services__container {
  width: 100%;
  background-color: #f9f9f9;
}

.services__section-title {
  margin-top: 5rem;
  margin-bottom: 4rem;
}

.service-each__section-title {
  margin-top: 9rem;
  margin-bottom: 4rem;
}

.services__title {
  position: relative;
  font-size: 3rem;
  text-align: center;
}

.services__title::after {
  content: ""; /* Contenido vacío */
  position: absolute;
  bottom: -0.8rem; /* Alineamos la línea debajo del h2 */
  left: 50%; /* Centramos horizontalmente */
  transform: translateX(-50%); /* Ajustamos la posición exacta */
  width: 10rem; /* Ancho de la línea */
  height: 3px; /* Grosor de la línea */
  background-color: var(--second--color); /* Color de la línea */
  border-radius: 1rem;
}

.services__section-content {
  width: 100%;

  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  text-align: center;
  justify-content: center;
}

.services__section-content .slick-prev:before {
  content: '←';
  color: var(--icon-color);
}

.services__section-content .slick-next:before {
  content: '→';
  color: var(--icon-color);
}


.services__card {
  display: flex;
  flex-direction: column;
  flex-basis: calc(33% - 4rem);
  margin: 2rem 2rem;
  text-align: center;
  box-shadow: 10px 10px 10px -8px rgba(0, 0, 0, 0.22);
  border-radius: 2rem;
  -webkit-border-radius: 2rem;
  -moz-border-radius: 2rem;
  -ms-border-radius: 2rem;
  -o-border-radius: 2rem;
  text-decoration: none;
  color: black;
}

.services__image {
  width: 100%;
  border-radius: 2rem 2rem 0 0;
  overflow: hidden;
  -moz-border-radius: 2rem 2rem 0 0;
  -ms-border-radius: 2rem 2rem 0 0;
  -o-border-radius: 2rem 2rem 0 0;
  -webkit-border-radius: 2rem 2rem 0 0;
  padding-bottom: 75%;
  display: flex;
  position: relative;
}

.service__realimage {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
  transition: all 1s ease-in-out;
  -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 1s ease-in-out;
  -ms-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
}

.services__card:hover .service__realimage{
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
}

.services__texts {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  background-color: white;
  padding: 2.5rem 2rem ;
  border-radius: 0 0 2rem 2rem;
  -webkit-border-radius: 0 0 2rem 2rem;
  -moz-border-radius: 0 0 2rem 2rem;
  -ms-border-radius: 0 0 2rem 2rem;
  -o-border-radius: 0 0 2rem 2rem;
}

.services__card:hover .services__texts{
  background-color: #92db0193;
  color: white;
}

.service__title {
  display: flex;
  font-size: 1.6rem;
  margin: 0.5rem 0;
  justify-content: left;
}

.service__description {
  font-size: 1.3rem;
  margin-top: 0.5rem;
  text-align: justify;
}

.services__stats{
  display: flex;
  justify-content: space-around;
  margin-top: 3rem;
}

.stats__card{
  padding: 2rem;
  text-align: center;
  width: 33%;
}

.services__stats .stats__card:nth-child(2){
  border-right: 2px solid rgb(197, 197, 197);
  border-left: 2px solid rgb(197, 197, 197);
}

.stats__icon{
  font-size: 3rem;
  color: var(--icon-color);
}

.stats__title{
  font-size: 6rem;
  color: var(--second--color);
  margin: 2rem 0 0 0;
  font-weight: 200;
}

.stats__description{
  font-size: 1.5rem;
}

/* Book Service Section Styles */
.book-service {
  margin-top: 10rem;
  padding: 12rem 0;
  min-height: 100vh;
}

.book-service__section-title{

  margin-bottom: 12rem;
}

.book-service__title {
  position: relative;
  font-size: 3rem;
  text-align: center;
  margin: 0.5rem;
}

.book-service__title::after{
  content: ""; /* Contenido vacío */
  position: absolute;
  bottom: -0.8rem; /* Alineamos la línea debajo del h2 */
  left: 50%; /* Centramos horizontalmente */
  transform: translateX(-50%); /* Ajustamos la posición exacta */
  width: 10rem; /* Ancho de la línea */
  height: 3px; /* Grosor de la línea */
  background-color: var(--second--color); /* Color de la línea */
  border-radius: 1rem;
}

.card__title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 4rem;
}

.book-service__cards {
  display: flex;
  flex-direction: row;
}

.book-service__card {
  text-align: center;
  padding: 0 1.5rem;
  border-radius: 5px;
}

.book-service__container-icon {
  font-size: 1.2rem;
  margin: 0 auto;
  width: 6rem;
  height: 6rem;
}

.book-service__img{
  width: 100%;
}

.book-service__description {
  font-size: 1.6rem;
  margin-top: 1rem;
  text-align: justify;
}

.book-service__button-area {
  margin-top: 8rem;
  text-align: center;
}

/* About Section Styles */
.about__section {
  margin-top: 10rem;
  padding: 12rem 0;
  text-align: center;
  background-color: #f3f3f3;
  min-height: 100vh;
}

.about__content {
  display: flex;
  flex-direction: row;
}

.about__texts{
  width: 50%;
  margin-right: 4rem;
}

.about__title {
  position: relative;
  text-align: center;
  font-size: 3rem;
  margin-bottom: 9rem;
}

.about__title::after{
  content: ""; /* Contenido vacío */
  position: absolute;
  bottom: -0.8rem; /* Alineamos la línea debajo del h2 */
  left: 50%; /* Centramos horizontalmente */
  transform: translateX(-50%); /* Ajustamos la posición exacta */
  width: 10rem; /* Ancho de la línea */
  height: 3px; /* Grosor de la línea */
  background-color: var(--second--color); /* Color de la línea */
  border-radius: 1rem;
}

.about__description {
  display: flex;
  font-size: 1.6rem;
  line-height: 1.6;
  text-align: justify;
}

.about__image-container {
  width: 50%;
}

.about__image {
  max-width: 100%;
  border-radius: 20rem;
}


.powr__feed {
  width: 1000px;
  height: 500px;
  background-color: #649cd3;
}

.powr-social-feed {
  width: 1000px;
  height: 500px;
}

.container .feed-id {
    padding: 20px 0;
}

/*Whatsapp*/

.whatsapp__container .whatsapp__link{
  position: fixed;
  transform: all 0.5s ease;
  -webkit-transform: all 0.5s ease;
  -moz-transform: all 0.5s ease;
  -ms-transform: all 0.5s ease;
  -o-transform: all 0.5s ease;
  background-color: #25d366;
  display: block;
  text-align: center;
  box-shadow: 0 0 2rem rgba(0, 0, 0, 0.15);
  border-radius: 5rem;
  -webkit-border-radius: 5rem;
  -moz-border-radius: 5rem;
  -ms-border-radius: 5rem;
  -o-border-radius: 5rem;
  border-right: none;
  color: #fff;
  font-weight: 700;
  font-size: 5rem;
  bottom: 7rem;
  right: 3rem;
  border: 0;
  z-index: 9999;
  width: 7.5rem;
  height: 7.5rem;
  line-height: 7.5rem;
}

.whatsapp__container .whatsapp__link::before{
  content: "";
  position: absolute;
  z-index: -1;
  right: -67.5%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  display: block;
  width: 9rem;
  height: 9rem;
  background-color: #25d366;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
  animation: pulse-border 1500ms ease-out infinite;
  -webkit-animation: pulse-border 2000ms ease-out infinite;
}

.whatsapp__container .whatsapp__link:focus {
  border: none;
  outline: none;
}

@keyframes pulse-border {
  0%{ transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1); opacity: 1; }
  100%{ transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5); opacity: 0; }
}

/*Each service section*/

.service-each_content {
  display: flex;
  flex-direction: row;
}

.service-each__texts{
  margin-bottom: 4rem;
}

.service__image-container {
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  width: 80%;
  height: 30%;
  border-radius: 10rem;
}

.service__image {
  
  width: 100%;
  overflow: hidden;
  display: flex;
  position: relative;
  box-shadow: 10px 10px 10px -8px rgba(0, 0, 0, 0.22);
}

.service__detail {
  display: flex;
  flex-direction: row;
  margin: 2rem auto;
}

.service__detail-icon {
  font-size: 1.8rem;
  margin: 0 1rem 0 0;
  color: var(--icon-color);
}

.service__detail-text {
  display: flex;
  font-size: 1.6rem;
  line-height: 1.6;
  text-align: justify;
}

.before-after__content{
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 3rem;
}

.before-after__before {
  font-size: 2.5rem;
  margin-right: 10rem;
  
}

.before-after__separador{
  border-right: 0.2rem solid var(--second--color);
  margin-right: 1.5rem;
}

.before-after__after {
  font-size: 2.5rem;
  margin-left: 5rem;
}

/* Footer Styles */
footer {
  background-color: var(--icon-color);
  color: #fff;
  text-align: center;
  padding: 10px 0;
  z-index: 1000;
  position: relative;
  bottom: 0;
  width: 100%;
}

footer p {
  font-size: 14px;
}

.social-icons {
  margin-top: 10px;
}

.social-icons .icon {
  font-size: 24px;
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
}

.social-icons .icon:hover {
  color: var(--second--color); /* Cambia el color al pasar el cursor sobre los iconos */
}

/*RESPONSIVE*/

.material-symbols-outlined.hamburger {
  display: none;
}

@media screen and (max-width: 1290px)  {
  .container{
    padding: 0 50px;
  }
}

@media screen and (max-width: 1122px)  {
  .book-service__cards{
    flex-direction: column;
    width: 80%;
    margin: 0 auto;
  }

  .book-service__cards--middle{
    margin: 2rem auto;
  }
}


@media screen and (max-width: 968px) {

  header .container{
    display: flex;
    flex-direction: row;
  }

  .navbar {
    display: none;
  }
  
  .material-symbols-outlined.hamburger {
    text-align: right;
    display: flex;
    align-items: center;
    font-size: 3rem;
  }

  .image__text{
    width: 100%;
  }

  .container {
    padding: 0 2rem;
  }

  .stats__card {
    width: 100%;
  }

  .book-service__cards{
    flex-wrap: wrap;
  }

  .book-service__section-title {
    margin-bottom: 6rem;
  }

  .card__title {
    margin-bottom: 2rem;
  }

  .book-service__card {
    margin-bottom: 3rem;
  }

  .book-service__button-area {
    margin-top: 4rem;
  }
  
  .about__content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 1.5rem;
    width: 80%;
    margin: 0 auto;
  }

  .about__title {
    margin-bottom: 4rem;
  }

  .about__texts {
    width: 100%;
    margin: 0 auto;
  }

  .about__image-container {
    width: 100%;
    margin-top: 5rem;
  }
}

@media screen and (max-width: 500px) {

  .service__description {
    display: none;
  }
    
  .services__section{
    padding: 2rem;
  }
  
  .stats__title{
    font-size: 4rem;
  }
}