@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Funnel+Sans:wght@300;600&display=swap');

:root {
  --primary: #2C6BFA;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Funnel Sans", sans-serif;
  font-optical-sizing: auto;
  line-height: 1.5rem;
}
html {
  scrollbar-color: #007aff transparent;
  scrollbar-width: thin;
}
body {
  width: 100%;
  font-family: "Funnel Sans", sans-serif;
  font-optical-sizing: auto;
  line-height: 1.6;
  padding-top: 4.625rem;
  scrollbar-color: #007aff transparent;
  scrollbar-width: thin;
}

.funnel-display,
.funnel-display h1,
.funnel-display h2,
.funnel-display h3,
.funnel-display h4,
.funnel-display p,
.funnel-display span {
  font-family: "Funnel Display", sans-serif !important;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
}

/* CSS para Elementor */
.elementor-container {
  width: 100%;
  margin: 0 auto;
}

/* Navbar */
.navbar {
  height: 4.625rem;
  padding: 15px 20px;
  background: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.hamburger {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  margin-left: auto;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: black;
  margin: 2px 0;
}

.logo img {
  height: 39px;
}

.navbar-innercontainer {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links {
  display: none;
}

.nav-links ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-size: 1rem;
  padding: 3px 10px;
  border-radius: 9px;
  display: block;
}
.nav-links a:hover {
  background: #f5f5f5;
}

.nav-links a.active {
  background: #f5f5f5;
}

#mobile-full-menu {
  display: none;
}
#mobile-full-menu.active {
  display: flex;
}
#mobile-full-menu .current_page_item {
  background: #F3F3F3;
  color: #1D7DFA;
}
#mobile-full-menu .current_page_item a {
  color: #1D7DFA;
}


.mobile-full-menu {
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 101;
  background: #fff;
  top: 90px;
  padding: 40px 0px;
}
.mobile-full-menu ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  width: 100%;
}
.mobile-full-menu ul li {
  padding-left: 40px;
  height: 50px;
  display: flex;
  align-items: center;
}
.mobile-full-menu ul li a{
  font-size: 16px;
  color: black;
  text-decoration: none;
}

.bluecare-footer-desktop.bluecare-footer {
  display: none;
}

@media screen and (min-width: 768px) {
  html {
    /* font-size: calc(100vw / 1920 * 16); */
    font-size: calc(100vw / 1920 * 16);
  }
  body {
    padding-top: 5.625rem;
  }
  .navbar {
    height: 9.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hamburger {
    display: none;
  }
  .logo img {
    height: 5rem;
  }
  .navbar {
    padding: 1.25rem 5rem;
  }
  .nav-links {
    display: block;
  }
  .nav-links a {
    font-size: 1.4rem;
  }

  .bluecare-footer-desktop.bluecare-footer {
    display: block;
  }
  .bluecare-footer-mobile.bluecare-footer{
    display: none;
  }
}

/* @media screen and (min-width: 1441px) {
  
  .navbar {
    height: 9.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hamburger {
    display: none;
  }
  .logo img {
    height: 5rem;
  }
  .navbar {
    padding: 1.25rem 5rem;
  }
  .nav-links {
    display: block;
  }
  .nav-links a {
    font-size: 1.2rem;
  }
} */

#h1 {
  font-family: 'Funnel Display', sans-serif !important;
  color: var(--primary);
}

/* Acordion */

.accordion-item {
  box-shadow: 0 2px 5px 0px #eee;
  margin-bottom: 30px;
}
.accordion-item:last-child {
  border-bottom: none;
}
.accordion-header {
  font-family: "Funnel Display", sans-serif !important;
  background: #fff;
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
  color: #0033cc;
  cursor: pointer;
  border: none;
  text-align: left;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.accordion-header::after {
  content: '';
  background: url('/wp-content/uploads/2025/03/acordion_arrow_bottom.png') no-repeat center;
  background-size: contain;
  width: 60px;
  height: 60px;
}
.active::after {
  background: url('/wp-content/uploads/2025/03/acordion_arrow_top.png') no-repeat center;
  background-size: contain;
}
.accordion-content {
  display: none;
}
.active + .accordion-content {
  display: block;
}


@media screen and (min-width: 768px) {
  .accordion-item {
    box-shadow: 0 2px 5px 0px #eee;
    margin-bottom: 30px;
  }
  .accordion-item:last-child {
    border-bottom: none;
  }
  .accordion-header {
    padding: 0.938rem;
    font-size: 1.125rem;
  }
  .accordion-header::after {
    width: 3.75rem;
    height: 3.75rem;
  }
}



/* Contact Form */
.wpcf7-form-control {
  border: 0;
  border-bottom: 1px solid #797979;
  color: #000;
  background: transparent;
  width: 100%;
  max-width: 380px;
  font-size: 1.2rem;
  outline: none;
  margin-bottom: 2rem;
}
.wpcf7-form-control::placeholder {
  color: #000;
  opacity: 1;
}

.wpcf7-form-control.wpcf7-select {
  border: 1px solid #797979;
  padding: 5px 1px;
  margin-top: 10px;
}

.wpcf7-form-control.wpcf7-textarea {
  background: #F4F4F4;
  border-radius: 5px;
  margin-top: 10px;
  padding: 10px;
  height: 100px;
}
.wpcf7-form-control.wpcf7-submit {
  background: #FE5736;
  color: white;
  font-weight: bold;
  border: none;
  font-size: 16px;
  padding: 15px 25px;
  border-radius: 35px;
  cursor: pointer;
  text-align: center;
}
.form-message {
  margin-top: 20px;
}
.form-message label {
  font-weight: bold;
  color: #000;
}


/* Ribbon */
.ribbon-container {
  /* display: none; */
  width: 100%;
  height: auto;
  margin: 10px 0;
  overflow: hidden;
}
/* .ribbon-container::before, .ribbon-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 11.25rem;
  height: 50px;
  background: linear-gradient(to right, white, rgba(255, 255, 255, 0));
  pointer-events: none;
  z-index: 1;
  transform: rotate(342deg);

} */
.ribbon-container::before {
  left: -13px;
  top: 33%;
}
.ribbon-container::after {
  right: -10px;
  top: 49%;
  background: linear-gradient(to left, white, rgba(255, 255, 255, 0));
}
.ribbon-container svg {
  width: 104%;
  height: auto;
  margin-left: -10px;
}
.ribbon-container text {
  font-size: 14px;
  font-weight: bold;
  fill: white;
}


.service-ribbon-wrapper.service-ribbon-wrapper-div {
  display: none;
}
.service-ribbon {
  display: none;
  background: linear-gradient(0deg, #E1EBFF 35%, transparent 16%, transparent);
}

.insurance-provider-ribbon {
  display: none;
  background: linear-gradient(0deg, #0b24af 35%, transparent 16%, transparent);
}


@media screen and (min-width: 768px) {
  .ribbon-container {
    display: block;
  }
  .insurance-provider-div::after {
    content: ' ';
    display: block;
    background: #0b24af;
    width: 87.563rem;
    height: 11.45rem;
    clip-path: ellipse(38.563rem 12.563rem at 38.563rem 12.563rem);
    position: absolute;
    top: -11.40rem;
    left: -8.125rem;
  }
  .insurance-provider-ribbon {
    display: block;
  }
  .service-ribbon {
    display: block;
  }
  .service-ribbon-wrapper.service-ribbon-wrapper-div {
    display: flex;
  }

  .service-therapy-div::after {
    content: ' ';
    display: block;
    background: #E1EBFF;
    width: 87.563rem;
    height: 11.45rem;
    clip-path: ellipse(38.563rem 12.563rem at 38.563rem 12.563rem);
    position: absolute;
    top: -11.40rem;
    left: -8.125rem;
  }
}


.families-trust-div::after {
  content: ' ';
  display: block;
  background: #E1EBFF;
  width: 57%;
  height: 11.25rem;
  clip-path: ellipse(57% 100% at 56% 0%);
  position: absolute;
  bottom: -90px;
  right: 0;
}

/* Modal */
.open-modal-btn {
  cursor: pointer;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.modal {
  background: #E8F0FF;
  width: 90%;
  height: 90%;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  transform: scale(0.8);
  transition: transform 0.3s ease-in-out;
}

.modal img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px 0 0 10px;
  padding: 40px 40px 0 40px;
}

.modal-content {
  width: 100%;
  padding: 2.5rem 2.5rem;
  text-align: left;
  background: #E8F0FF;
}

.modal-content h2 {
  margin: 0;
  font-size: 16rem;
  color: #000;
}

.modal-content h3 {
  margin: 5px 0 15px;
  font-size: 12px;
  color: #666;
}

.modal-content p {
  font-size: 13px;
  color: #333;
  line-height: 1.6;
}

/* Clases activas */
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  z-index: 100;
}

.modal.active {
  transform: scale(1);
  overflow-y: scroll;
}
.modal-content .modal-title {
  font-family: 'Funnel Display', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #000;
}
.modal-content .modal-subtitle {
  font-family: 'Funnel Display', sans-serif;
  font-size: 12px;
  color: #4A4A4A;
  font-weight: 300;
}
.modal-content .modal-description {
  font-family: 'Funnel Display', sans-serif;
  font-weight: 300;
  font-size: 13px;
  max-width: 43.125rem;
  color: #000;
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #555;
  transition: color 0.2s ease-in-out;
}

.close-modal:hover {
  color: red;
}

@media screen and (min-width: 768px) {
  .modal {
    display: flex;
    width: 75.813rem;
    height: 41.985rem;
  }
  .modal img {
    width: 40%;
    padding: 0;
  }
  .modal-content {
    width: 60%;
    padding: 2.5rem 2.5rem;
  }

  .modal-content h2 {
    font-size: 1.5rem;
  }
  
  .modal-content h3 {
    font-size: 18px;
  }
  
  .modal-content p {
    font-size: 16px;
  }

  .modal-content .modal-title {
    font-size: 2.188rem;
  }
  .modal-content .modal-subtitle {
    font-size: 1.25rem;
  }
  .modal-content .modal-description {
    font-size: 1.5rem;
  }
  
}


.curved-line {
  position: absolute;
  overflow: visible;
}

.curved-line-wrapper.home-line-comunity {
  position: absolute;
  margin-top: -16.188rem;
}
.curved-line-wrapper.home-line-parent-caregiver {
  position: absolute;
  margin-top: 14rem;
}

.hide-mobile.specification {
  display: none;
}
@media screen and (min-width: 768px) {
  .hide-mobile.specification {
    display: flex;
  }
}

#facebook,
#instagram,
#googlebusiness {
  cursor: pointer;
}


.modal-renewed-logo {
  position: relative;
  width: 75%;
  background: white;
  border-radius: 0.625rem;
  overflow: hidden;
  box-shadow: 0 0.313rem 0.938rem rgba(0,0,0,0.3);
  transform: translateY(-1.25rem);
  transition: transform 0.3s ease-in-out;
  max-height: 80%;
}

.modal-renewed-logo-header {
  background: #2E67F8;
  color: white;
  padding: 20px;
  text-align: center;
  font-size: 22px;
  font-weight: bold;
  position: relative;
  font-family: 'Funnel Display', sans-serif;
  min-height: 100px;
}

.modal-renewed-logo-close {
  position: absolute;
  top: 0.938rem;
  right: 0.938rem;
  border: none;
  background: none;
  font-size: 1.875rem;
  color: white;
  cursor: pointer;
}

.modal-renewed-logo-content {
  /* height: 41.25rem; */
}
.modal-renewed-logo-content img {
  width: 100%;
}


@media screen and (min-width: 768px) {
  /* Estilos del modal */
  .modal-renewed-logo {
    width: 75.75rem;
    max-height: 100vh;
  }

  /* Estilos del encabezado azul */
  .modal-renewed-logo-header {
    background: #2E67F8;
    color: white;
    padding: 3.25rem;
    text-align: center;
    font-size: 1.875rem;
    font-weight: bold;
    position: relative;
    font-family: 'Funnel Display', sans-serif;
    height: 10.063rem;
  }

  /* Estilos del botón de cierre */
  .modal-renewed-logo-close {
    position: absolute;
    top: 0.938rem;
    right: 0.938rem;
    border: none;
    background: none;
    font-size: 1.875rem;
    color: white;
    cursor: pointer;
  }
  .modal-renewed-logo-content {
    height: 41.25rem;
  }
  .modal-renewed-logo-content img {
    width: 100%;
  }
}
