/*****************************
Fonts
*****************************/
/* Barlow Family */
@font-face {
  font-family: "Gilory-Medium";
  src: url("../fonts/Gilroy/Gilroy-Medium.ttf");
}
@font-face {
  font-family: "Metrophobic";
  src: url("../fonts/Metrophobic/Metrophobic-Regular.ttf");
}
@font-face {
  font-family: "Soho-Medium";
  src: url("../fonts/Soho-Medium/SohoGothicPro-Medium.otf");
}
@font-face {
  font-family: "Soho-Italic";
  src: url("../fonts/Soho-Light/SohoGothicPro-LightItalic.otf");
}
/****************************
End Fonts
****************************/

/***************************
Primary Colours:
 gray: #2F3342
 light-gray: #B9B8B8
 white: #FFFFFF
 green: #05EE55
**************************/
/****************************
#header section
****************************/
#header {
  height: 110px;
  transition: all 0.5s;
  z-index: 997;
  transition: all 0.5s;
  padding: 20px 0;
  position: fixed;
  left: 0;
  top: 10px;
  right: 0;
  transition: all 0.5s;
  z-index: 997;
}

#header.header-scrolled,
#header.header-pages {
  height: 90px;
  padding: 15px 0;
  background-color: rgba(245, 240, 240, 0.85);  
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.3);
  top: 0;
}

#header.header-scrolled #topbar,
#header.header-pages #topbar {
  display:none;
}

#header.header-scrolled img{
  display: none;
}

#header.header-scrolled a{
  color: #28a745;
}

/****************************
End #header section
****************************/


/****************************
#intro section
****************************/
#intro {
  width: 100%;
  height: 100vh;
  position: relative;
  background: #f5f8fd url("../img/Fondo-Header.png") center top no-repeat;
  background-size: cover;
  /* filter: brightness(70%); */
}

#intro img{
  margin:auto;
  display: block;
  padding-top: 2rem;
  filter: brightness(100%) !important;
}

#intro .layer {
    background-color: rgba(0, 0, 0, 0);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#intro .intro-info h2 {
  color: #045154;
  margin-bottom: 40px;
  font-size: 48px;
  font-weight: 700;
  font-family: "Gilory-Medium";
}

#intro .intro-info-small h2 {
  color: #ffffff;
  margin-bottom: 40px;
  font-size: 40px;
  font-weight: 700;
  font-family: "Soho-Italic";
  text-align: center;
}

#intro .descriptionIntro {
    color: #fff;
    font-family: "Soho-Medium";
    font-size: 24px;
}
/****************************
End #intro section
****************************/

/****************************
.main-nav section
****************************/


.main-nav,
.main-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav > ul > li {
  position: relative;
  white-space: nowrap;
  float: left;
}

.main-nav a {
  display: block;
  position: relative;
  color: #ffffff;
  padding: 10px 15px;
  transition: 0.3s;
  font-size: 18px;
  font-family: "Soho-Italic";
  text-transform: capitalize;
  font-weight: 600;
}

.main-nav a:hover,
.main-nav .active > a,
.main-nav li:hover > a {
  color: #05EE55;
  ;
  text-decoration: none;
}

.main-nav .drop-down ul {
  display: block;
  position: absolute;
  left: 0;
  top: calc(100% - 30px);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  padding: 10px 0;
  background: #fff;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: ease all 0.3s;
}

.main-nav .drop-down:hover > ul {
  opacity: 0;
  top: 100%;
  color: rgb(203, 198, 214);
  visibility: visible;
}

.main-nav .drop-down li {
  min-width: 180px;
  position: relative;
}

.main-nav .drop-down ul a {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  color: #becdd1;
}

.main-nav .drop-down ul a:hover,
.main-nav .drop-down ul .active > a,
.main-nav .drop-down ul li:hover > a {
  color: #fff;
}

.main-nav .drop-down > a:after {
  content: "\f107";
  font-family: FontAwesome;
  padding-left: 10px;
}

.main-nav .drop-down .drop-down ul {
  top: 0;
  left: calc(100% - 30px);
}

.main-nav .drop-down .drop-down:hover > ul {
  opacity: 0;
  top: 0;
  left: 100%;
}

.main-nav .drop-down .drop-down > a {
  padding-right: 35px;
}

.main-nav .drop-down .drop-down > a:after {
  content: "\f105";
  position: absolute;
  right: 15px;
}
/****************************
End .main-nav section
****************************/

/****************************
Nosotros section
****************************/
#nosotros {
    background: #ffffff;
    padding-top: 50px;
    padding-bottom: 50px;
}

#nosotros p{
  line-height: 1.5;
  text-align: justify;
}


#nosotros .infoNosotros {
    font-family: "Soho-Italic";
    font-size: 36px;
    color: #0057B8;
    text-align: center;
}

#nosotros .infoNosotros2 {
  font-family: "Soho-Italic";
  font-size: 48px;
  color: #2065C2;
  text-align: center;
}
/****************************
End Nosotros section
****************************/

/****************************
Servicios section
****************************/

#servicios {
    padding-top: 10px;
    padding-bottom: 5px;
}

.itemService {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 400px;
  width: 100%;
  margin-bottom: 5px;
  flex-direction: column;
}

.itemService .serviceDescription {
  text-align: center;
  color:white;
}

.itemService {
  background-size: contain; /* Set background-size to contain */
  background-position: center; /* Optional: Center the background image */
  background-repeat: no-repeat; /* Optional: Prevent background image from repeating */
}

#servicios .descriptionFooterServcios2 {
  color: #dee4eb;
  font-family: "Soho-Medium";
  font-size: 18px;
}





/* Add your existing CSS styles here */

/* Add your existing CSS styles here */

/* Add your existing CSS styles here */

/* Add your existing CSS styles here */

.itemService {
    cursor: pointer;
    transition: transform 0.5s ease, background-image 0.5s ease, filter 0.5s ease, z-index 0.5s ease; /* Add z-index transition */
    position: relative;
    z-index: 1; /* Initial z-index value */
    background-size: cover;
}

.darken {
    filter: brightness(80%);
}

.serviceDescription.hidden {
    display: none;
}

.card-title {
    text-align: center;
    color: white;
}

.card-text {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    font-weight: 600;
    text-align: left; /* Align the text to the left */
    font-size: 14px;
}

.card-text.visible {
    display: block;
}

.itemService:hover {
    transform: scale(1.4); /* Adjust the scale factor as needed */
    z-index: 2; /* Increase z-index on hover */
}



/****************************
End Servicios section
****************************/


/****************************
unidad section
****************************/
#unidad {
  background: #2F3342;
  padding-top: 100px;
  padding-bottom: 50px;
  color: white;
}

#unidad p{
  line-height: 1.5;
  text-align: justify;
}

#unidad .bigMessage {
  font-family: "Soho-Medium";
  font-size: 36px;
  color: #0057B8;
  text-align: center;
  margin: 0 auto;
}

#unidad .bigMessage span {
  border: 3px solid;
  padding: 5px 40px;
  font-family: "Soho-Medium";
  font-size: 24px;
  background: #0057B8;
  color: #fff;
  margin-top: 10%;
  display: inline-block;
}
/****************************
End unidad section
****************************/

/****************************
CONTACTO section
****************************/
#contacto {
  height: 100%;
  background: #2F3342 url("../img/contacto.png") center top no-repeat;
  padding-top: 100px;
  padding-bottom: 50px;
  color: white;
}

#contacto h1{
  text-align: center;
  margin-bottom: 25px;
}

#contacto p{
  line-height: 1.5;
  text-align: justify;
}

#contacto .bigMessage {
  font-family: "Soho-Medium";
  font-size: 36px;
  color: #0057B8;
  text-align: center;
  margin: 0 auto;
}

#contacto .bigMessage span {
  border: 3px solid;
  padding: 5px 40px;
  font-family: "Soho-Medium";
  font-size: 24px;
  background: #0057B8;
  color: #fff;
  margin-top: 10%;
  display: inline-block;
}
/****************************
End CONTACTO section
****************************/
/****************************
Privacy section
****************************/
#privacidad{
  background-color: #2F3342;
}
.privacy{
  padding: 90px;
}
.aviso h3{
  text-align: center;
}
/****************************
End privacy section
****************************/

/****************************
Nosotros section
****************************/
#nosotros{
  background-color: #2F3342;
}

#nosotros img{
 object-fit: cover;
 height: 100%;
 width:  auto;
}
.nosotros{
  padding: 90px;
}

/****************************
End Nosotros section
****************************/


/****************************
Quejas section
****************************/
#quejas{
  background-color: #2F3342;
  width: 100%;
  height: 100vh;
  padding-top: 20px;
}

#quejas h3{
  text-align: center;
}

#quejas img{
  width: 100%;
}
/****************************
End Quejas section
****************************/
/****************************
Footer section
****************************/
#footer {
    background: #d7d4d6;
    color: #0057B8;
    padding: 50px 0;
    font-size: 14px;
    font-family: "Soho-Medium";
    overflow: hidden;
}

#footer #nav-footer ul {
    list-style: none;
}

#footer #nav-footer ul li {
    display: inline;
    margin: 5px 10px;
}

#footer #nav-footer ul li a {
    font-style: "Soho-Medium";
    color: #0057B8;
    padding: 5px 10px;
}

/****************************
End Footer section
****************************/


/* Mobile Navigation */

.mobile-nav {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 9999;
  overflow-y: auto;
  left: -260px;
  width: 260px;
  padding-top: 18px;
  background: rgba(40, 38, 70, 0.8);
  transition: 0.4s;
}

.mobile-nav * {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-nav a {
  display: block;
  position: relative;
  color: #fff;
  padding: 10px 20px;
  font-weight: 500;
}

.mobile-nav a:hover,
.mobile-nav .active > a,
.mobile-nav li:hover > a {
  color: #8dc2fa;
  text-decoration: none;
}

.mobile-nav .drop-down > a:after {
  content: "\f078";
  font-family: FontAwesome;
  padding-left: 10px;
  position: absolute;
  right: 15px;
}

.mobile-nav .active.drop-down > a:after {
  content: "\f077";
}

.mobile-nav .drop-down > a {
  padding-right: 35px;
}

.mobile-nav .drop-down ul {
  display: none;
  overflow: hidden;
}

.mobile-nav .drop-down li {
  padding-left: 20px;
}

.mobile-nav-toggle {
  position: fixed;
  right: 0;
  top: 0;
  z-index: 9998;
  border: 0;
  background: none;
  font-size: 24px;
  transition: all 0.4s;
  outline: none !important;
  line-height: 1;
  cursor: pointer;
  text-align: right;
}

.mobile-nav-toggle i {
  margin: 18px 18px 0 0;
  color: #F1BE48;
}

.mobile-nav-overly {
  width: 100%;
  height: 100%;
  z-index: 9997;
  top: 0;
  left: 0;
  position: fixed;
  background: rgba(40, 38, 70, 0.8);
  overflow: hidden;
  display: none;
}

.mobile-nav-active {
  overflow: hidden;
}

.mobile-nav-active .mobile-nav {
  left: 0;
}

.mobile-nav-active .mobile-nav-toggle i {
  color: #fff;
}



/********************************
MEDIA QUERIES
********************************/

@media (max-width: 1200px) {

  .logo img {
    margin-left: 5%;
  }
}

@media (max-width: 1024px) {
  #footer {
    background: #d7d4d6;
    color: #0057B8;
    padding: 50px 0;
    font-size: 18px;
    font-family: "Soho-Medium";
    background-image: url(../img/plecaFooter.png), url(../img/pleca2Footer.png);
    background-repeat: no-repeat, no-repeat;
    background-position: 1% 100%, 103% 180%;
    overflow: hidden;
}
}

@media (max-width: 600px) {

  header {
    top: 10px;
  }
  #into .intro-info {
    margin-top: 15%;
  }

  #intro .intro-info h2 {
    font-size: 30px;
  }

  #intro .descriptionIntro {
    font-size: 20px;
  }

  #nosotros .infoNosotros {
    font-size: 30px;
  }

  #servicios .msgFooterServicios {
    font-size: 30px;
  }

  #unidad {
    background-position: 380% 100%;
  }

  #unidad .bigMessage  {
    font-size: 30px;
  }

  #footer {
    background: rgba(191, 206, 214, .5);
    color: #0057B8;
    padding: 50px 0;
    font-size: 18px;
    font-family: "Soho-Medium";
    background-image: url(../img/plecaFooter.png);
    background-repeat: no-repeat;
    background-position: 1% 100%;
    overflow: hidden;
}

  #footer #nav-footer ul li {
    margin: 0;
  }


}

.whatsapp-btn i {
  font-size: 24px; /* Adjust the font-size as needed */
  color: #25D366; /* WhatsApp green color */
}

.whatsapp-btn:hover {
  background-color: #128C7E; /* Darker shade on hover */
}

/* MODALS */
/* Modal container */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999; /* Sit on top */
  left: 0;
  top: 0;
  width: 50%;
  height: auto;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.6); /* Black w/ opacity */
}

/* Modal container */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 9999; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 80%;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.6); /* Black w/ opacity */
}

/* Modal content */
.modal-content {
  background-color: #fefefe;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow */
  position: relative;
  max-width: 500px; /* Adjust maximum width of the modal */
  margin: 10% auto; /* Center the modal vertically and horizontally */
}

/* Close button */
.close {
  color: #aaa;
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}



/* Close button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
