/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 600px) {


    .navbar-nav {
        text-align: center;
        margin-top: 30px;
    }

    section {
        padding-left: 6%;
        padding-right: 6%;
    }

    .hero-section {
        padding-bottom: 35%;
    }

    .hero-section h1 {
        font-size: 38px;
        font-weight: bold;
    }

    .hero-section p {
        font-size: 14px;
    }

    .hero-section .subtext {
        text-align: left;
    }

    .input-container {
        height: 100px;
        border-radius: 16px;
    }

    .camera-button {
        display: none;
    }

    /*---------------------------------------------------------------*/
    .feature-section {
        top: -60px;
        padding: 0 20px 0 20px
    }

    /*.card div {*/
    /*    display: none;*/
    /*}*/
    .feature-card {
        min-height: 460px;
    }


    .message-header {
        font-size: 32px;
        line-height: 64.8px;
        font-weight: 700;
        text-align: left;
    }

    /*---------------------------------------------------------------*/
    .images-left-collage {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
    }

    .message-img1-container, .message-img2-container {
        flex: 1;
        max-width: 48%; /* To give a small gap between the two columns */
    }

    .message-img1-container img {
        width: 100%;
        height: auto;
    }

    .message-img2-container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .message-img2-container p, .message-img4-container {
        flex: 1;
        margin: 0;
        text-align: center;
    }

    .message-img4-container {
        border-radius: 0;
        height: 175px;
    }

    .message-img4-container .avatars img {
        width: 40px;
        height: 40px;
    }

    .message-img4-container .highlight {
        font-size: 1.2em;
        margin: 10px 0;
    }

    .message-img4-container .description {
        font-size: 13px;
        font-weight: bold;
    }


    .images-left-collage, .images-right-collage {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .message-img1-container, .message-img2-container, .message-img4-container {
        text-align: center;
        margin-bottom: 20px;
    }

    .message-img4-container {
        margin-bottom: 20px;
    }

    .message-img3-container, .message-img5-container {
        margin-left: 4%;
        margin-right: 4%;
    }

    .message-img5-container {
        border-radius: 0;
        height: 280px;
    }

    .entertain-images {
        height: 60px;
        width: 60px;
    }

    .entertain-images img {
        height: 40px;
        width: 40px;
    }

    .message-img5-container p {
        font-size: 25px;
    }

    .col-5, .col-7 {
        flex: 1 1 100%;
        max-width: 100%;
    }

    /*---------------------------------------------------------------*/
    .avatar-container {
        display: none;
    }

    .avatars {
        gap: 30px;
    }

    .message-img4-container-a {
        top: 43px;
    }

    .avatar-mobile-container {
        display: revert;
    }

    .message-img1-container .text {
        font-size: 20px;
        text-align: center;
        font-weight: bold;
    }

    .message-img2 {
        padding: 0 25px 0 25px;
        border-radius: 10px;
    }

    .message-img2 p {
        font-size: 20px;
        font-weight: bold;
    }

    .message-img1-container {
        border-radius: 0 0 25px 25px;
    }

    /*---------------------------------------------------------------*/
    .header h1 {
        font-size: 32px;
        padding-left: 6%;
        padding-right: 6%;
    }

    .header p {
        font-size: 16px;
        padding-left: 6%;
        padding-right: 6%;
    }

    .get-started button {
        padding: 9px 18px;
        font-size: 14px;
        margin-left: 6%;
    }

    .ai-content-cards {
        overflow: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        padding: 0;
    }

    .ai-content-cards .card div {
        display: revert;
    }

    .content-generator-container .cards {
        flex-direction: row;
        flex-wrap: revert;
        gap: 20px;
    }

    .ai-content-cards::-webkit-scrollbar {
        display: none;
    }

    .content-generator-container {
        background-image: none;
    }

    .content-generator-card {
        margin-bottom: 20px;
        border: 1px #EDEDED solid;
    }

    .content-generator-card div img {
        width: 30px;
        height: 30px;

    }

    .content-generator-card h3 {
        font-size: 24px;
        font-weight: 200;
        padding-top: 22px;
    }

    .content-generator-card p {
        font-size: 16px;
        font-weight: 200;
        padding-top: 22px;
        color: #7E8492;
    }

    /*---------------------------------------------------------------*/
    .testimonial-container {
        background: transparent;
    }

    .testimonial-header p {
        display: none;
    }

    .testimonial-header h2 {
        font-size: 32px;
    }

    .testimonial-image-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        gap: 12px;
    }

    .testimonial-image {
        border-radius: 22px;
    }

    .testimonial-image img {
        top: 100px;
        width: 200px;
        margin-top: 14px;
    }

    .mobile-author p {
        font-size: 12px;
    }

    .mobile-author {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        background: #101010;
        padding: 15px;
        border-radius: 20px;
        width: 75%;
        color: #ffffff;
        /*max-width: 48%;*/
    }

    .author-name {
        font-weight: bold;
        font-size: 18px;
    }

    .mobile-author .nav {
        display: flex;
        width: 100%;
        justify-content: end;
    }

    .mobile-author .nav img {

        height: 20px;
        width: 20px;
    }

    .mobile-author .nav button {
        background: #000;
        color: #fff;
        border: 1px #ffffff solid;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        margin: 0 5px;
        cursor: pointer;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .testimonial-content .author {
        display: none;
    }

    .testimonial-content p {
        font-size: 20px;
        font-weight: normal;
        text-align: left;
    }

    /*---------------------------------------------------------------*/
    .subscribe-container h2 {
        font-size: 36px;
        font-weight: 400;
    }

    .subscribe-container p {
        font-size: 14px;
        color: #EDEDED;
        font-weight: normal;
        margin-top: 20px;
    }

    .subscribe-form {
        margin-top: 100px;
        display: flex;
        flex-direction: column;
    }

    .subscribe-form button {
        margin-top: 10px;
    }

    /*---------------------------------------------------------------*/
    .footer {
        display: none;
    }

    .mobile-footer {
        display: revert;
    }

    .mobile-footer, .footer-section a {
        color: #ffffff;
    }

    /*---------------------------------------------------------------*/
    .legal-communication-container {
        flex-direction: column-reverse;
        padding-right: 6%;
        padding-left: 6%;
    }

    .text-container {
        margin-top: 25px;
        padding: 0;
    }

    .legal-communication-section {
        padding-bottom: 35%;
        padding-top: 10%;
    }

    .legal-communication-section h1 {
        font-size: 32px;
    }

    .legal-communication-section p {
        font-size: 16px;
    }

    .legal-communication-feature-section {
        padding: 0 25px 0 25px;
    }

    .legal-communication-mobile-container {
        flex-direction: column !important;
    }

    /*---------------------------------------------------------------*/
    .contact-form-section-mobile {
        display: revert;
    }

    .contact-text h1 {
        font-size: 32px;
    }

    .contact-text p {
        font-size: 15px;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-section {
        height: 200px;
    }

    .contact-form-section {
        display: none;
    }

    .contact-form-section-mobile h2 {
        font-size: 32px;
    }

    .contact-form-section-mobile p {
        font-size: 18px;
    }

    .contact-form {
        padding: 0;
    }

    .branch-info {
        flex-direction: column;
    }

    .contact-form-section-mobile .branch-info .branch p {
        color: #85898E;
    }

    .contact-form-section-mobile .branch-info .branch h3 {
        font-size: 18px;
        font-weight: bold;
    }

    .faq-section h2 {
        font-size: 32px;
    }

    /*-------------------------------------------------------------*/
    .overlay-section {
        margin-bottom: 400px;
    }

    .overlay-content {
        bottom: -400px;
    }

    .overlay-hero-section {
        display: none;
    }

    .overlay-communication-container {
        flex-direction: column-reverse;
    }

    .overlay-communication-container-2 {
        flex-direction: column;
    }

    .overlay-text-container h1 {
        margin-top: 30px;
        font-size: 32px;
        color: #0E50A7;
    }

    .overlay-communication-container img {
        width: 100%;
        height: auto;
    }

    .overlay-communication-container-2 img {
        width: 100%;
        height: auto;
    }

    .trending-cards {
        flex-direction: column;
    }

    .trending-cards h3 {
        font-size: 32px;
    }

    .trending-cards p {
        font-size: 18px;
    }

    .trending-card {
        padding-bottom: 50px;
        padding-top: 20px;
    }

    .trending-card h3 {
        padding-top: 20px;
        font-size: 24px;
    }

    /*-------------------------------------------------------------*/
    .progress-container {
        overflow-x: auto;
        overflow-y: hidden;
    }

    .progress-button {
        width: 300px !important;
    }

    .progress-container::-webkit-scrollbar {
        display: none;
    }

    .requirements-container {
        /*flex-direction: column;*/
    }

    .requirements {
        width: 50%;
    }

    #prompt {
        font-size: 15px;
        overflow-wrap: break-word;
    }

    .letter-content {
        overflow-x: hidden;
    }

    #payToGetLetter {
        padding: 13px 18px 13px 18px;

    }

    /*-------------------------------------------------------------*/
    .payment-body {
        padding: 10px 15px 10px 15px;
        flex-direction: column;
    }

    .right-column {
        margin-left: 0;
    }

    /*-------------------------------------------------------------*/
    .letter-generated-pay-button-container {
        flex-direction: column;
    }

    .letter-generated-download-pdf {
        padding: 13px 30px 13px 30px;
        margin-left: 50px;
        margin-right: 50px;
    }

    .letter-generated-regenerate {
        padding: 13px 30px 13px 30px;
        margin-left: 50px;
        margin-right: 50px;
    }

    /*-------------------------------------------------------------*/
    .services-section {
        flex-direction: column;
    }

    .service-card {
        flex-direction: column;
        width: 100%;
        height: 260px;
    }

    .service-content {
        max-width: 100%;
    }

    .service-price {
        margin-top: 20px;
        text-align: left;
        width: 100%;
        font-size: 35px;
    }

    #confirmation-modal {
        max-width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /*-------------------------------------------------------------*/
    .testimonial-body {
        display: flex;
        flex-direction: column;
    }
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 601px) and (max-width: 767px) {
    .navbar-nav {
        text-align: center;
        margin-top: 30px;
        font-size: 25px;
    }

    section {
        padding-left: 6%;
        padding-right: 6%;
    }

    .hero-section {
        padding-bottom: 35%;
    }

    .hero-section h1 {
        font-size: 38px;
        font-weight: bold;
    }

    .hero-section p {
        font-size: 14px;
    }

    .hero-section .subtext {
        text-align: left;
    }

    .input-container {
        height: 100px;
        border-radius: 16px;
    }

    .camera-button {
        display: none;
    }

    .feature-section {
        top: -60px;
        padding: 0 20px 0 20px
    }

    .feature-card {
        height: 638px;
    }


    .message-header {
        font-size: 32px;
        line-height: 64.8px;
        font-weight: 700;
        text-align: left;
    }

    .message-img1-container div {
        font-size: 25px;
    }

    .avatars {
        gap: 30px;
    }

    .message-img2 p {
        font-size: 20px;
    }

    .entertain-images {
        height: 45px;
        width: 45px;
    }

    .entertain-images img {
        height: 25px;
        width: 25px;
    }

    .content-generator-container .cards {
        flex-direction: row;
        flex-wrap: revert;
        gap: 20px;
    }

    .ai-content-cards::-webkit-scrollbar {
        display: none;
    }

    .ai-content-cards {
        overflow: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        padding: 0;
    }

    .testimonial-body {
        display: flex;
        flex-direction: column;
    }

    /*---------------------------------------------------------------*/
    .image-container {
        align-items: start;
    }

    .legal-communication-feature-section {
        padding: 0 40px 0 40px !important;
    }

    .legal-communication-feature-card {
        height: 545px;
    }

    /*---------------------------------------------------------------*/
    .contact-form-section-mobile {
        margin-top: 20px;
        display: revert;
    }

    .contact-text h1 {
        font-size: 32px;
    }

    .contact-text p {
        font-size: 15px;
    }

    .contact-content {
        flex-direction: column;
    }

    .contact-section {
        height: 200px;
    }

    .contact-form-section {
        display: none;
    }

    .contact-form-section-mobile h2 {
        font-size: 32px;
    }

    .contact-form-section-mobile p {
        font-size: 18px;
    }

    .contact-form {
        padding: 0;
    }

    .branch-info {
        flex-direction: column;
    }

    .contact-form-section-mobile .branch-info .branch p {
        color: #85898E;
    }

    .contact-form-section-mobile .branch-info .branch h3 {
        font-size: 18px;
        font-weight: bold;
    }

    .faq-section h2 {
        font-size: 32px;
    }


    /*---------------------------------------------------------------*/
    .tablet-mode {
        height: 380px;
    }

    .overlay-communication-container img {
        height: 100%;
        width: 100%;
    }

    .overlay-text-container h1 {
        font-size: 25px;
    }

    .overlay-text-container p {
        font-size: 18px;
    }

    .overlay-text-container-2 h1 {
        font-size: 25px;
    }

    .overlay-text-container-2 p {
        font-size: 18px;
    }

    .overlay-communication-container-2 img {
        height: 100%;
        width: 100%;
    }

    /*---------------------------------------------------------------*/
    #newLetterSubButton {
        margin-top: 20px;
    }

    /*---------------------------------------------------------------*/
    .progress-container {
        overflow-x: auto;
        overflow-y: hidden;
    }

    .progress-container::-webkit-scrollbar {
        display: none;
    }

    .letter-content {
        overflow-x: hidden;
    }

    /*---------------------------------------------------------------*/
    .payment-body {
        /*padding: 10px 15px 10px 15px;*/
        flex-direction: column;
    }

    .right-column {
        margin-left: 0;
    }

    .signature {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
    }

    #sign-clear {
        margin-bottom: 15px;
    }

    /*---------------------------------------------------------------*/
    .services-section {
        flex-direction: column;
    }

    .service-card {
        width: 100%;
    }

    /*---------------------------------------------------------------*/
    .progress-button {
        min-width: 230px;
    }

    .legal-communication-container {
        padding-left: 6%;
        padding-right: 6%;
    }

    .legal-communication-feature-section {
        top: -70px;
    }

    .legal-communication-feature-card {
        height: 250px;
    }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) and (max-width: 992px) {
    .navbar-nav {
        text-align: center;
        margin-top: 30px;
        font-size: 25px;
    }

    .feature-section {
        top: -60px;
        padding: 0 20px 0 20px;
    }

    .message-img1-container div {
        font-size: 26px;
    }

    .entertain-images {
        height: 58px;
        width: 58px;
    }

    .entertain-images img {
        height: 30px;
        width: 30px;
    }

    .message-img2 p {
        font-size: 25px;
    }

    .feature-card {
        height: 518px;
    }

    .content-generator-container .cards {
        flex-direction: row;
        flex-wrap: revert;
        gap: 20px;
    }

    .ai-content-cards::-webkit-scrollbar {
        display: none;
    }

    .ai-content-cards {
        overflow: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        padding: 0;
    }

    .testimonial-content .author {
        width: 100%;
    }

    .testimonial-content .author span {
        font-size: 14px;
    }

    .subscribe-section-container {
        margin-top: 20px;
    }

    #newLetterSubButton {
        margin-top: 20px;
    }

    .legal-communication-feature-section {
        padding: 0 25px 0 25px;
    }

    .legal-communication-feature-card {
        height: 410px;
    }

    .contact-content {
        flex-direction: column;
    }

    .overlay-communication-container img {
        height: 100%;
        width: 100%;
    }

    .overlay-text-container h1 {
        font-size: 35px;
    }

    .overlay-text-container p {
        font-size: 20px;
    }

    .overlay-text-container-2 h1 {
        font-size: 35px;
    }

    .overlay-text-container-2 p {
        font-size: 25px;
    }

    .overlay-communication-container-2 {
        align-items: start;
    }

    .overlay-communication-container-2 img {
        height: 90%;
        width: 100%;
    }

    .services-section {
        flex-direction: column;
    }

    .service-card {
        width: 100%;
    }

    .progress-container {
        overflow-x: auto;
        overflow-y: hidden;
    }

    .progress-container::-webkit-scrollbar {
        display: none;
    }

    .letter-content {
        overflow-x: hidden;
    }

    .progress-button {
        min-width: 230px;
    }

    .legal-communication-container{
        padding-right: 6%;
        padding-left: 6%;
        align-items: start;
    }

    .payment-body {
        padding: 10px 15px 10px 15px;
        flex-direction: column;
    }
}
