.profile-image {
            width: 280px;
            height: 400px;
            object-fit: cover;
            border-radius: 200px;
            display: block;
        }
        .profile-text-r {
            background-color: rgba(235, 182, 190, 0.5); /* Color del fondo */
            padding: 30px;
            float: right;
            padding-right: 20%;
            margin-left: -50px;
    position: relative;
    z-index: -2;
        }
        .profile-text-r-2 {
            background-color: #d2eeed; /* Color del fondo */
            padding: 30px;
            float: right;
            padding-right: 20%;
            margin-left: -50px;
    position: relative;
    z-index: -2;
        }
        .profile-text-l {
            background-color: #fff7e9; /* Color del fondo */
            padding: 30px;
            float: left;
            padding-left: 20%;
            margin-right: -50px;
    position: relative;
    z-index: -2;
        }
        .profile-text-l p{
            margin-right: 50px;
        }
        .profile-text-r p{
            margin-left: 50px;
        }
        .profile-text-r-2 p{
            margin-left: 50px;
        }
        .tituloProf-l {
            padding-left: 20%;
        }
        .tituloProf-r {
            padding-left: 30px;
        }
        .text-container {
          position: relative;
          height: 180px;
          display: flex;
          align-items: center;
          justify-content: center;
          overflow: hidden;
          margin: 20px 0 25px 0;
        }
        .text-container-large {
            position: relative;
            height: 300px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            margin: 20px 0 50px 0;
          }

        .text-stack {
          position: relative;
          width: 100%;
          height: 100%;
          display: flex;
          align-items: center;
          justify-content: center;
        }
        .link-leer{
            color: #19a697;
            font-size: 18px;
            font-style: italic;
            text-decoration: none;
            font-weight: 700;
            padding: 30px;
        }
        .background-text,
        .foreground-text {
          position: absolute;
          white-space: nowrap;
          text-transform: uppercase;
          letter-spacing: 0.02em;
          line-height: 1;
          text-align: center;
          bottom: 70px;
        }

        .background-text {
          font-size: 125px;
          font-weight: 200;
          color: rgba(19, 50, 61, 0.2);
        }

        .foreground-text {
          font-size: 25px;
          font-weight: 400;
          color: #555;
        }
        .background-text-linea,
        .foreground-text-linea {
          position: absolute;
          text-transform: uppercase;
          letter-spacing: 0.02em;
          line-height: 1;
          text-align: center;
          bottom: 70px;
        }

        .background-text-linea {
          font-size: 125px;
          font-weight: 200;
          color: rgba(19, 50, 61, 0.2);
        }

        .foreground-text-linea {
          font-size: 25px;
          font-weight: 400;
          color: #555;
          position: relative;
    bottom: -20px;
        }
        .background-text-doble,
        .foreground-text-doble {
          position: absolute;
          text-transform: uppercase;
          letter-spacing: 0.02em;
          line-height: 1;
          text-align: center;
          bottom: 83px;
        }

        .background-text-doble {
          font-size: 125px;
          font-weight: 200;
          color: rgba(19, 50, 61, 0.2);
          position: relative;   
          bottom: -40px;
        }

        .foreground-text-doble {
          font-size: 25px;
          font-weight: 400;
          color: #555;
        }
        .technical{
            background-color: #f6dde2;
            padding: 50px 2%;
            color: #616867;
            font-size: 18px;
        }
        .pricFunc{
            background-color: #e08c97;
            padding: 50px auto;

        }
        .pricFunc h2{
            color: #fff;
            text-align: center;
            padding: 0 2rem 0 2rem ;
            margin: 40px 0;
        }
        .pricFunc h4{
            color: #fff;
            text-align: left;
            padding: 0 2rem 0 2rem ;

        }
        .pricFunc p{
            color: #fff;
            text-align: justify;
            padding: 2rem;
        }
        .closemodal{
            margin: 15px;
            position: relative;
            z-index: 200;
        }
        .modal-color{
            background-color: #d2eeed;
        }
        .modal-size{
            padding: 40px;
            margin-top: -60px;
        }
        .nomMedico{
            color: #5b4a99;
            font-weight: 700;
        }
        @media (max-width: 768px) {
            .profile-text {
                border-radius: 30px; /* Bordes redondeados en todas las esquinas */
            }
            .p-30{
                padding-left: 30px;
                padding-right: 30px;
            }
        }
        .profile-section {
            display: flex;
            gap: 2rem;
            position: relative;
            margin-bottom: 6rem;
        }

        .image-container {
            position: relative;
            width: 300px;
            flex-shrink: 0;
            z-index: 2;
        }
        .image-container.abajo{
            position: relative;
            width: 300px;
            flex-shrink: 0;
            z-index: 2;
            top: -170px;
        }

        .profile-image {
            width: 280px;
            height: 400px;
            object-fit: cover;
            border-radius: 200px;
            display: block;
        }

        .background-overlay {
            position: absolute;
            left: -100vw;
            right: 45%;
            height: 180px;
            background-color: #f3f0f5;
            z-index: 1;
        }

        .profile-section:nth-child(odd) .background-overlay {
            top: 0;
            border-radius: 0 30px 0 30px;
        }

        .profile-section:nth-child(even) .background-overlay {
            top: 0;
            border-radius: 0 30px 30px 0;
        }

        .content-section {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            position: relative;
            z-index: 2;
        }

        .doctor-info {
            width: fit-content;
            margin-top: 30px;
        }

        .doctor-title {
            color: #888;
            font-size: 5rem;
            font-weight: 200;
            margin: 0;
            line-height: 1;
        }

        .doctor-name {
            color: #555;
            font-size: 2.5rem;
            margin-bottom: 1.5rem;
        }

        .text-columns-3 {
            column-count: 3;
            column-gap: 2rem;
            text-align: justify;
        }

        .text-columns-2 {
            column-count: 2;
            column-gap: 2rem;
            text-align: justify;
        }
        .profile-section:nth-child(odd) .text-columns {
            margin-top: auto;
        }
        .text-2{
            margin-top: -145px;
        }
        .text-3{
            margin-top: -230px;
        }
        .text-4{
            margin-top: -230px;
        }
        .text-5{
            margin-top: -500px;
        }

        @media (max-width: 992px) {
            .profile-section {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }

            .text-columns-2, .text-columns-3 {
                column-count: 1;
            }

            .image-container {
                width: 250px;
            }

            .content-section {
                align-items: center;
            }

            .background-overlay {
                left: 0;
                right:0;
            }

            .doctor-info {
                width: 100%;
            }
            .profile-text-l {
                background-color: #fff7e9; /* Color del fondo */
                padding: 30px;
                float: left;
                padding-left: 20%;
                margin-right: 0;
                position: relative;
                z-index: -2;
            }
            .text-container {
                height: 100%;

            }
            
        }