body,
html {
  font-family: "Inter", sans-serif;
  height: 120vh;
}

:root {
  --bs-danger: #df2029;
  --white: #ffffff;
  --light-grey: #535561cf;
  --dark-grey: #454751;
  --pink: ;
}

/* Globals */

.swal2-confirm {
  background-color: #df2029 !important;
  color: white !important;
  border: none !important;
  box-shadow: none !important;
}

.custom_input1 {
  width: 100%;
  margin-bottom: 1.5rem;
  padding: 15px 0px;
  border: none;
  border-bottom: 1px solid #535561a2;
}

.custom_select1 {
  width: 100%;
  margin-bottom: 1.5rem;
  padding: 18px 0px;
  border: none;
  border-bottom: 1px solid #535561a2;
  color: #535561f5;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
}

/* Destop Navbar */

#desktop_menu {
  width: 100%;
  display: flex;
  justify-content: center;
  position: fixed;
  top: 0;
  /* transition: all 0.3s ease; */
  z-index: 1000;
}

@media (max-width: 1160px) {
  #desktop_menu {
    display: none;
  }
}

.desktop_menu_inner_cont {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 0px;
}

@media (min-width: 1400px) {
  .desktop_menu_inner_cont {
    max-width: 1320px;
  }
}

.desktop_menu_initial-menu {
  background-color: transparent;
  color: black;
}

.desktop_menu_scrolled-menu {
  background-color: var(--bs-danger);
  color: var(--white);
}

.desktop_menu_logo_nav_cont {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: var(--bs-danger);
  color: var(--white);
  height: 93px;
}

.desktop_menu_logo {
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: solid 1px#ffffff;
  padding: 0.8rem;
  height: 100%;
}

.desktop_menu_logo img {
  max-width: 200px;
}

.desktop_nav ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
  gap: 4rem;
  margin: 0;
  padding: 0px 1.5rem;
  font-weight: 700;
  background-color: var(--bs-danger);
}

.desktop_nav ul li a {
  text-decoration: none;
  color: inherit;
}

.desktop_menu_contact_info_cont {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.desktop_menu_contact_phone {
  /* width: 103px; */
  min-width: 320px;
  background-color: transparent;
  display: flex;
  justify-content: start;
  align-items: center;
  color: var(--white);
  height: 93px;
  gap: 1rem;
}
.desktop_menu_contact_phone_cont2 {
  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
}

.desktop_menu_contact_phone_cont2 .text1 {
  color: var(--light-grey);
  font-weight: 700;
  font-style: italic;
}
.desktop_menu_contact_phone_cont2 .text2 {
  color: var(--dark-grey);
  font-style: italic;
  font-weight: 900;
  font-size: 1.5rem;
  line-height: 1.5rem;
}

.desktop_menu_scrolled-menu .phone_svg circle {
  fill: var(--white);
}

.desktop_menu_scrolled-menu .phone_svg path {
  fill: var(--bs-danger);
}

.desktop_menu_scrolled-menu .desktop_menu_contact_phone_cont2 .text1 {
  color: var(--white);
}
.desktop_menu_scrolled-menu .desktop_menu_contact_phone_cont2 .text2 {
  color: var(--white);
}

.desktop_menu_contact_email {
  width: 80px;
  height: 93px;
  background-color: var(--bs-danger);
  display: flex;
  justify-content: center;
  align-items: center;
}

.desktop_menu_vertical_line {
  height: 50px;
  width: 2px;
  background-color: var(--white);
}

/* Mobile Menu */

#mobile_menu {
  display: none;
  width: 100%;
  position: fixed;
  top: 0;
  transition: all 0.3s ease;
  z-index: 1000;
  background-color: var(--bs-danger);
}
@media (max-width: 1160px) {
  #mobile_menu {
    display: block;
  }
}

.mobile_menu__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 125px;
}

.mobile_menu__logo {
  max-width: 200px;
}

.mobile_menu__trigger {
  max-width: 30px;
}

.mobile_menu__phone {
  max-width: 30px;
}

.mobile_menu__close {
  display: none;
}

.mobile_menu__collapsed .mobile_menu__open {
  display: none;
}
.mobile_menu__collapsed .mobile_menu__close {
  display: block;
}

.mobile_menu__nav {
  width: 100%;
  background-color: var(--white);
  position: absolute;
}

.mobile_menu__list,
.mobile_menu__sub-list {
  text-align: center;
  padding: 0px 2rem;
  list-style: none;
}

.mobile_menu__item,
.mobile_menu__sub-item {
  padding: 1.5rem 0px;
  position: relative;
  display: flex;
  justify-content: center;
  flex-direction: column;
  position: relative;
}
.mobile_menu__list .mobile_menu__item:not(:last-child) {
  border-bottom: 1px solid #c3c7dc;
}

.mobile_menu__link,
.mobile_menu__sub-link {
  text-decoration: none;
  font-weight: 700;
  color: #383a44;
}

.mobile_menu__sub-link {
  color: var(--bs-danger);
  font-weight: normal;
}

.mobile_menu__arrow-indicator {
  position: absolute;
  top: 2rem;
  right: 0px;
  width: 10px;
}

/* Hide all sub-lists initially */
.mobile_menu__sub-list {
  display: none;
}

/* Rotate the arrow up */
.mobile_menu__arrow-indicator-up {
  display: none; /* Hide the up arrow by default */
}

/* When the submenu is active, show the up arrow and hide the down arrow */
.mobile_menu__item--expanded .mobile_menu__sub-list {
  display: block;
}

.mobile_menu__item--expanded .mobile_menu__arrow-indicator-up {
  display: inline;
}

.mobile_menu__item--expanded .mobile_menu__arrow-indicator-down {
  display: none;
}
.mobile_menu__link--toggle {
  display: block;
}

/* Initial state of the menu */
.mobile_menu__nav {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease; /* Adjust the duration and easing as desired */
}

/* Menu when expanded */
.mobile_menu--active .mobile_menu__nav {
  max-height: 500px; /* Arbitrary max-height large enough to fit the menu; adjust as needed */
}

/* Trigger visibility */
.mobile_menu__trigger.mobile_menu__close {
  display: none;
}

/* When menu is active, adjust triggers */
.mobile_menu--active .mobile_menu__trigger.mobile_menu__open {
  display: none;
}

.mobile_menu--active .mobile_menu__trigger.mobile_menu__close {
  display: inline-block; /* Adjust display type as needed */
}

/* Global components */

.title {
  color: var(--dark-grey);
  font-size: 2.2rem;
  font-weight: 900;
}

@media (max-width: 992px) {
  .title {
    font-size: 30px;
  }
}

.title.title--1 {
  color: var(--dark-grey);
}

.title.title--2 {
  color: var(--white);
}

.title2 {
  color: var(--dark-grey);
  font-size: 1.8rem;
  font-weight: bold;
}

.title2.title--1 {
  color: var(--bs-danger);
}

.paragraph {
  font-size: 1rem;
  margin: 0px;
}
.paragraph--1 {
  color: var(--light-grey);
}
.paragraph--2 {
  color: #d9d9d9;
}

.subtitle {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 44px;
  padding: 0px 1.2rem;
  margin: 0px;
}

.subtitle--2 {
  background-color: #fbebec;
  color: #df2029;
}

.subtitle--1 {
  background-color: #df2029;
  color: #ffffff;
}

.button {
  display: inline-flex;
  align-items: center;
  color: var(--dark-grey);
  height: 61px;
  min-width: 217px;
  position: relative;
  font-size: 18px;
  font-weight: 500;
  transition: all 0.3s;
  overflow: hidden;
  z-index: 1;
  line-height: 1;
  border: none;
  text-decoration: none;
  background-color: var(--white);
  padding: 0px;
}
.button:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--bs-danger);
  transition: all 0.3s;
  border-radius: 3px;
  z-index: -1;
}

.button:hover:before {
  width: 100%;
}

.button__text {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  height: 100%;
  transition: all 0.3s;
}

.button__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  background-color: var(--bs-danger);
  height: 100%;
}

.button:hover .button__text {
  color: white;
}

.button--2 {
  background-color: #454751;
  color: white;
}

.button--3 {
  background-color: transparent;
  color: white;
}

/* Hero section */

.hero_section {
  position: relative;
}

.hero_section_background_image {
  background-image: url("/images/jpg/hero-background.jpg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: absolute;
  filter: grayscale(100%);
  width: 100%;
  height: 100%;
}

.hero_section_opacity_layer {
  background-color: #d9d9d9e9;
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero_section__content {
  position: relative;
  display: flex;
  width: 100%;
  padding: 0px;
  padding-top: 160px;
  z-index: 3;
}

.hero_section__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 500px;
  padding-left: 0.8rem;
}

.hero_section__title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--dark-grey);
}

@media (max-width: 992px) {
  .hero_section__title {
    font-size: 40px;
  }
}

.hero_section__description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--light-grey);
  width: 70%;
}

.hero_section__image {
  flex: 1;
  position: relative;
  width: 100%;
  height: 500px;
}

.hero_section__image-img {
  position: absolute;
  top: 8px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 992px) {
  .hero_section__text {
    text-align: center;
    padding: 0px;
  }
  .hero_section__description {
    width: 100%;
  }
  .hero_section__image-img {
    border-radius: 50px 0px;
    /* padding: 0.8rem; */
  }
  .hero_section__image {
    position: absolute;
  }
  .hero_section {
    padding-bottom: 190px;
    margin-bottom: 288px;
  }
}

/* Nosotros secction */

.nosotros-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
  position: relative;
}

.nosotros-section-bk {
  position: absolute;
  top: 0px;
  height: 100%;
  width: 100%;
  background-image: url("/images/png/background1.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  z-index: -1;
}

.nosotros-section__right img {
  width: 100%;
}

.nosotros-section__left {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.nosotros-section-groups {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.nosotros-section-paragraph {
  font-size: 1rem;
}

@media (max-width: 992px) {
  .nosotros-section-bk {
    background-position: 60%;
  }
  .nosotros-section__left {
    text-align: center;
  }
}

.servicios-section__main-content-title {
  font-size: 24px;
  margin-bottom: 10px;
}

.servicios-section__main-content-description {
  font-size: 16px;
}

/* New CSS */

.servicios-section__sidebar {
  display: flex;
  gap: 1rem;
}

.servicios-section__sidebar-item {
  width: 64px;
  justify-content: center;
  transition: max-width 0.3s ease, opacity 0.3s ease;
  background-color: #535561;
  cursor: pointer;
  display: flex;
  align-items: center;
  border-radius: 15px;
  height: 300px;
  overflow: hidden; /* Ensures that content doesn't overflow */
  max-width: 100px; /* Initial collapsed width */
}

.servicios-section__sidebar-item span {
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  margin: 10px 0;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  opacity: 0.3;
}

.servicios-section__sidebar-item span:hover {
  opacity: 1;
}

.servicios-section__sidebar-item:hover {
  opacity: 1;
}

.servicios-section__main-content {
  flex: 1;
  background-color: #e74c3c;
  color: #ffffff;
  padding: 20px;
  text-align: center;
  display: none; /* Hidden by default for accordion effect */
}

.servicios-section__main-content-title {
  font-size: 24px;
  margin-bottom: 10px;
}

.servicios-section__main-content-description {
  font-size: 16px;
}

.servicios-section__sidebar-item__content {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
  opacity: 0;
  transition: opacity 0.2s ease-in-out; /* 2s transition for the opacity */
  padding: 14px;
}

.servicios-section__sidebar-item__content svg {
  width: 50px;
}
.servicios-section__sidebar-item__content svg path {
  fill: white !important;
}

.servicios-section__sidebar-item__content h4 {
  margin: 0px;
  color: var(--white);
  font-weight: 600;
}

.servicios-section__sidebar-item__content p {
  margin: 0px;
  color: var(--white);
}

.servicios-section__sidebar-item--collapsed {
  background-color: var(--bs-danger);
  flex-grow: 1;
}

.servicios-section__sidebar-item--collapsed span {
  display: none;
}

.servicios-section__sidebar-item--collapsed
  .servicios-section__sidebar-item__content {
  display: flex;
  /* opacity: 1; */
}
.servicios-section__sidebar-item--collapsed.initial
  .servicios-section__sidebar-item__content {
  opacity: 1;
}

.servicios-section__sidebar-item--collapsed.servicios-section__sidebar-item {
  max-width: 300px; /* Expanded width */
}

@media (max-width: 992px) {
  .servicios-section__sidebar {
    flex-direction: column;
    max-width: 100%;
  }
  .servicios-section__sidebar .servicios-section__sidebar-item {
    max-width: 100%;
    justify-content: center;
    width: 100%;
  }
  .servicios-section__sidebar-item span {
    color: #ffffff;
    font-size: 24px;
    font-weight: 600;
    margin: 10px 0;
    writing-mode: horizontal-tb;
    transform: none;
    opacity: 0.3;
  }
}

/* Footer */
.main-footer {
  background-color: #15171c;
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.main-footer a {
  text-decoration: none;
  color: #d9d9d9;
}

.main-footer__logo {
  width: 200px;
}

.main-footer__column {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.main-footer__icons {
  display: flex;
  gap: 14px;
  align-items: center;
}

.contact-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
}

.contact-section__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-section__details {
  border: var(--bs-danger) solid 1px;
  padding: 1.7rem;
}

.contact-section__details h1 {
  font-size: 2rem;
  font-weight: bold;
}

.contact-section__details-item h5 {
  font-weight: bold;
  color: #535561b0;
  margin-bottom: 3.5px;
  font-size: 1.2rem;
}

.contact-section__details-item a {
  text-decoration: none;
  color: var(--light-grey);
}

.contact-section__details-items {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-section__social-icons {
}

@media (max-width: 576px) {
  .contact-section__social-icons {
    width: 100%;
    justify-content: space-between;
  }
  .contact-section__social-icons svg {
    width: 32px;
    height: 32px;
  }

  .contact-section__details {
    width: 100%;
    border: none;
    padding-bottom: 30px;
    border-bottom: var(--bs-danger) solid 1px;
  }
  .contact-section__details {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }
}

/* Servicios */

.servicios-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
  position: relative;
}
.servicios-section:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #454751;
  z-index: -1;
  opacity: 0.9;
}
.servicios-section:after {
  content: ""; /* Ensure the pseudo-element is rendered */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/images/jpg/background-services.jpg"); /* Replace with your image path */
  background-size: cover; /* Adjust the image to cover the entire element */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Prevent repeating the image */
  z-index: -2; /* Ensure the image is above the background color but behind the content */
  /* background-blend-mode: multiply; */
}

.servicios-section__list .servicios-section__item2:not(:last-child) {
  border-right: 1px solid #f8f9fa;
}

.servicios-section__item2-content {
  height: 448px;
}

@media (max-width: 992px) {
  .servicios-section__item2-content {
    height: 448px;
    border: solid 5px #454751;
    border-radius: 15px;
    padding: 15px;
  }
}

/* Testimonios */

.testimonial-section {
  padding-top: 8rem;
  padding-bottom: 8rem;
  position: relative;
}

.testimonial-section:after {
  content: ""; /* Ensure the pseudo-element is rendered */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/images/png/background2.png"); /* Replace with your image path */
  background-size: cover; /* Adjust the image to cover the entire element */
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Prevent repeating the image */
  z-index: -2; /* Ensure the image is above the background color but behind the content */
  /* background-blend-mode: multiply; */
}

.testimonial-card {
  position: relative;
  background-color: var(--white);
}
.testimonial-card h5 {
  color: #808397;
  font-weight: bold;
  font-size: 1.4rem;
}
.testimonial-card h5 > span {
  color: var(--bs-danger);
  font-weight: normal;
  font-size: 0.9rem;
}

.testimonial-card__content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 1rem;
  padding-top: 4rem;
}

.testimonial-card img {
  position: absolute;
  object-fit: cover;
  border-radius: 100%;
  width: 70px;
  height: 70px;
  top: -30px;
  left: 1rem;
  z-index: 1;
}

.circle-shape {
  position: absolute;
  top: -30px;
  left: 0.5rem;
  width: 25px;
  height: 25px;
  background-color: var(--bs-danger);
  border-radius: 100%;
  z-index: 3;
  display: flex;
  justify-content: center;
  align-content: center;
  font-size: 2rem;
  color: var(--white);
  line-height: 41px;
}

.testimonial-section__first_row {
  margin-bottom: 4rem;
}

/* MAP */
#map {
  width: 100%;
  height: 400px;
}

.leaflet-pane .leaflet-overlay-pane {
  z-index: 400;
}
.leaflet-pane .leaflet-marker-pane {
  z-index: 500;
}
.leaflet-pane .leaflet-shadow-pane {
  z-index: 600;
}
.leaflet-pane .leaflet-popup-pane {
  z-index: 700;
}


/* Partners Section */

.partners {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--white-color);
  padding: 7rem  0px;
  padding-bottom: 7rem;
}



.partners__divider {
  height: 50px;
  width: 2px;
  background-color: var(--orange-color);
  margin: 0 20px;
}

.partners__logos {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-grow: 1;
}

.partners__logo {
  max-height: 50px;
  margin: 0 20px;
  opacity: 0.5;
  filter: grayscale(100%);
}

@media (max-width: 1168px) {
  .partners {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  .partners__divider {
    height: 2px;
    width: 80%;
    margin: 0 20px;
  }
}

@media (max-width: 768px) {
  .partners__logos {
    flex-direction: column;
    gap: 4rem;
  }
  .partners__logo {
    filter: grayscale(0%) !important;
  }
}

/* Instagram */
.eapps-instagram-feed-header{
  background-color: transparent !important;
}
.instagram-widget{
  position: relative;
}

.instagram-widget:after {
  content: ""; /* Ensure the pseudo-element is rendered */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("/images/png/background2.png"); /* Replace with your image path */
  background-size: cover; /* Adjust the image to cover the entire element */
  background-position:bottom;
  background-repeat: no-repeat; /* Prevent repeating the image */
  z-index: -2;
}
