.row-one {
    padding-top: 60px;
    padding-bottom: 10px;
    background-color: #8DD9F8;
}

.row-two {
    background-color: #8DD9F8;
    padding-top: 50px;
    padding-bottom: 50px
}

.row-three, .row-five {
    background-color: #79D1F5 ;
    padding-top: 50px;
    padding-bottom: 50px
}

.row-four, .row-six {
    background-color: #8DD9F8;
    padding-top: 50px;
    padding-bottom: 50px
}

.title {
    text-align: center;
    color: #1F3A5F;
    font-size: 3vw;
    line-height: 1.2em;
    font-weight: 600;
    font-style: normal;
    text-decoration: initial;
    letter-spacing: 0px;
    margin-bottom: 20px;
}

.info {
    color: #1F3A5F;
    font-size: 1vw;
    line-height: 1.7em;
    padding: 0 5%;
    text-align: center;
}

.transition {
    transition: .3s cubic-bezier(.3, 0, 0, 1.3)
}

.card-row {
    display: flex;
    justify-content: space-evenly;
    padding: 50px;
    position: relative;
    line-height: 1.4em;
}

.card {
    background-color: #6CB4D9;
    box-shadow: 0px 0px 10px 2px rgba(0, 0, 0, 0.3);
    height: 350px;
    width: 500px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s cubic-bezier(.3, 0, 0, 1.3);
    top: 0;
    border-radius: 16px;
}

.card:hover {
    top: -100px;
    height: 450px;
    width: 500px;
}

card:hover .cta-container {
    display: inline;
    margin-top: 380px;
}

.card:hover .card_circle {
    background-size: cover;
    border-radius: 0;
    margin-top: -130px;
}

.card:hover h3 {
    background: #6CB4D9;
    color: #fff;
    margin-top: 100px;
    padding: 5px;
}

.card:hover p {
    margin-top: 300px;
}

.card_circle {
    background-color: white;
    border-radius: 50%;
    height: 400px;
    margin-left: -75px;
    margin-top: -270px;
    position: absolute;
    width: 651px;
}

.card-row h2 {
    color: white;
    font-size: 1.5vw;
    font-weight: 600;
    margin-top: 150px;
    padding: 0.5rem;
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: 10;
    background: #6CB4D9;
}

.card-row p {
    color: #1F3A5F;
    font-size: 1vw;
    font-weight: normal;
    margin-top: 200px;
    position: absolute;
    text-align: center;
    overflow-y: auto;
    max-height: 150px;
    padding-left: 10px;
    padding-right: 10px;
    line-height: 1.7em;
}

p::-webkit-scrollbar {
    width: 6px;
}

p::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

p::-webkit-scrollbar-thumb {
    background-color: #03045E;
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

p::-webkit-scrollbar-thumb:hover {
    background-color: #03045E;
}

@media screen and (max-width: 1350px) {
    .title {
        font-size: 3.3vw;
    }

    .info {
        font-size: 1.4vw;
    }

    .card-row h2 {
        font-size: 1.9vw;
    }

    .card-row p {
        font-size: 1.2vw;
    }
}

@media screen and (max-width: 2000px) {
    .card-row p {
        padding-top: 20px;
    }
}

@media screen and (max-width: 1800px) {
    .card-row p {
        padding-top: 0;
    }
}

@media screen and (max-width: 1100px) {
    .card-row h2 {
        font-size: 2.1vw;
    }

    .card-row p {
        font-size: 1.4vw;
    }
}

@media (max-width: 1150px) {
    .card-row {
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        display: flex;
        padding-bottom: 0;
    }

    .card {
        margin-bottom: 108px;
    }

    .row-two, .row-three, .row-four, .row-five {
        padding-bottom: 0;
    }
}

@media screen and (max-width: 950px) {
    .title {
        font-size: 4.3vw;
    }

    .info {
        font-size: 1.9vw;
    }

    .card-row h2 {
        font-size: 2.7vw;
    }

    .card-row p {
        font-size: 1.6vw;
    }
}

@media screen and (max-width: 790px) {
    .card-row h2 {
        font-size: 3vw;
    }

    .card-row p {
        font-size: 1.6vw;
    }
}

@media screen and (max-width: 750px) {
    .title {
        font-size: 4.5vw;
    }

    .info {
        font-size: 2vw;
    }

    .card-row h2 {
        font-size: 3.3vw;
    }

    .card-row p {
        font-size: 1.7vw;
    }
}

@media screen and (max-width: 660px) {
    .card-row h2 {
        font-size: 3.5vw;
    }

    .card-row p {
        font-size: 1.9vw;
    }
}

@media screen and (max-width: 620px) {
    .title {
        font-size: 4.9vw;
    }

    .info {
        font-size: 2.6vw;
    }

    .card-row h2 {
        font-size: 3.7vw;
    }

    .card-row p {
        font-size: 2.3vw;
    }
}

@media (max-width: 533px) {
    .card {
        width: 427px;
    }

    .card:hover {
        width: 427px;
    }

    .card_circle {
        width: 577px;
    }
}

@media screen and (max-width: 500px) {
    .title {
        font-size: 5.3vw;
    }

    .info {
        font-size: 2.8vw;
    }

    .card-row h2 {
        font-size: 4vw;
    }

    .card-row p {
        font-size: 2.6vw;
    }
}

@media screen and (max-width: 465px) {
    .title {
        font-size: 5.9vw;
    }

    .info {
        font-size: 3.9vw;
    }

    .card-row h2 {
        font-size: 4.2vw;
    }

    .card-row p {
        font-size: 2.8vw;
    }
}

@media (max-width: 447px) {
    .card {
        width: 370px;
    }

    .card:hover {
        width: 370px;
    }

    .card_circle {
        width: 524px;
    }
}

@media (max-width: 397px) {
    .card {
        width: 331px;
    }

    .card:hover {
        width: 331px;
    }

    .card_circle {
        width: 483px;
    }

    .card-row h2 {
        font-size: 5.3vw;
    }

    .card-row p {
        font-size: 4vw;
    }
}

.row-six .title{
    margin: auto 0.5rem;
}

.chatbox-container {
    display: flex;
    justify-content: space-evenly;
    padding: 50px;
    position: relative;
    padding: 25px 50px 0 50px;
}

.chatbox {
    position: relative;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(119, 119, 119, 0.5);
    height: 550px;
    width: 500px;
}

.chatbox.two{
    position: relative;
    border-radius: 10px;
    box-shadow: 5px 5px 15px rgba(119, 119, 119, 0.5);
    height: 570px;
    width: 500px;
}

.chatbox.two .lower{
    top: 90%;
}

.top-bar {
    width: 100%;
    height: 60px;
    background: #F9FBFF;
    border-radius: 10px 10px 0 0;
}

.avatar {
    width: 40px;
    height: 40px;
    background: #6CB4D9;
    border-radius: 50%;
    position: absolute;
    top: 11px;
    left: 15px;
}

.avatar p {
    color: #F9FBFF;
    margin: 8px 16px;
}

.name {
    position: absolute;
    top: 19px;
    text-transform: uppercase;
    color: #777777;
    font-size: 1.2em;
    font-weight: 600;
    left: 63px;
}

.menu {
    position: absolute;
    right: 10px;
    top: 20px;
    width: 10px;
    height: 20px;
    cursor: pointer;
}

.menu:hover {
    transform: scale(1.1);
    transition: all .3s ease-in;
}

.icons {
    position: absolute;
    color: #6CB4D9;
    padding: 10px;
    top: 5px;
    right: 21px;
    cursor: pointer;
}

.icons .fas {
    padding: 5px;
    opacity: 0.8;
}

.icons .fas:hover {
    transform: scale(1.1);
    transition: all .3s ease-in;
}

.dots {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: #6CB4D9;
    box-shadow: 0px 7px 0px #6CB4D9, 0px 14px 0px #6CB4D9;
}

.middle {
    position: absolute;
    background-color: rgba(249, 251, 255, 0.5);
    width: 100%;
    opacity: 0.85;
    top: 60px;
    height: 80%;
}

.incoming {
    position: absolute;
    width: 55%;
    height: 100%;
    padding: 20px;
    top: 24%;
}

.incoming .bubble {
    background: #6CB4D9; 
}

.bubble {
    position: relative;
    display: inline-block;
    margin-bottom: 5px;
    color: #1F3A5F;
    font-size: 0.8em;
    padding: 10px 10px 10px 12px;
    border-radius: 20px;
}

.lower {
    top: 90%;
}

.outgoing {
    position: absolute;
    padding: 20px;
    right: 0;
    width: 55%;
    height: 100%;
}

.outgoing .bubble {
    background: #fff;
    float: right;
}

.bottom-bar {
    position: absolute;
    width: 100%;
    height: 55px;
    bottom: 0;
    background: #F9FBFF;
    border-radius: 0 0 10px 10px;
}

.left {
    left: 0px;
}

input {
    padding: 7px;
    width: 74%;
    left: 5%;
    position: absolute;
    border: 0;
    top: 13px;
    background: #F9FBFF;
    color: #1F3A5F;
}

input::placeholder {
    color: #1F3A5F;
}

input:focus {
    color: #777777;
    outline: 0;
}

.chat button {
    position: absolute;
    border: 0;
    font-size: 1em;
    color: #6CB4D9;
    top: 19px;
    opacity: 0.8;
    right: 17px;
    cursor: pointer;
    outline: 0;
}

.chat button:hover {
    transform: scale(1.1);
    transition: all .3s ease-in-out;
    color: #79C7C5;
}

.btn-one{
    font-weight: 500;
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, rgba(58, 65, 111, 0.5) 0 -3px 0 inset;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
    margin: 0.5rem auto;
}
.btn-one:hover{
    transform: translateY(-2px);
    box-shadow: rgba(45, 35, 66, 0.4) 0 4px 8px, rgba(45, 35, 66, 0.3) 0 7px 13px -3px, rgba(58, 65, 111, 0.5) 0 -3px 0 inset;
}
.btn-one:active{
    transform: translateY(2px);
    box-shadow: rgba(45, 35, 66, 0.4) 0 2px 4px inset;
}

.bubble.button{
    display: flex;
    flex-direction: column;
}

#incoming-msg-1,
#incoming-msg-2,
#incoming-msg-one,
#incoming-msg-two  {
    opacity: 0;
    transition: opacity 0.5s ease-in;
}
#incoming-msg-1.visible,
#incoming-msg-2.visible,
#incoming-msg-one.visible,
#incoming-msg-two.visible  {
    opacity: 1;
}
#final-msg-one, #final-msg-two {
    opacity: 0;
    transition: opacity 0.3s ease-in;
}
#final-msg-one.visible, #final-msg-two.visible {
    opacity: 1;
}

@media (max-width: 1200px) {
    .chatbox, .chatbox.two{
        width: 420px;
    }
    .incoming, .outgoing{
        width: 60%;
    }
    
}

@media (max-width: 991px) {
    .chatbox-container{
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }
}

@media (max-width: 500px) {
    .chatbox, .chatbox.two {
        width: 370px;
    }
    .incoming, .outgoing{
        width: 65%;
    }
}

@media (max-width: 400px) {
    .chatbox, .chatbox.two {
        width: 310px;
    }
    .avatar p {
        color: #F9FBFF;
        margin: 7px 15px;
    }
    .name{
        left: 60px;
        font-size: 1em;
    }
    .incoming, .outgoing{
        width: 75%;
    }
}

@media (max-width: 350px) {
    .card {
        width: 270px;
    }
    .card_circle {
        width: 415px;
    }
    .card:hover {
        width: 270px;
    }
    .chatbox, .chatbox.two {
        width: 290px;
        min-width: 287px;
    }
    .incoming, .outgoing{
        width: 80%;
    }
}