/* BASE & GLOBAL STYLES*/
*,
*::before,
*::after {
    box-sizing: border-box;
}

*:focus:not(:focus-visible) {
    outline: none;
}


*:focus-visible {
    outline: 2px solid #0C4C7D;
    outline-offset: 3px;
    border-radius: 4px;
}

body #home-main {
    font-family: 'Lato', sans-serif;
    color: #000000;
    font-size: 1.0625rem;
    line-height: 1.6;
    background-color: #ffffff;
    overflow-x: hidden;
    font-variant-ligatures: none;
    margin: 0;
    padding: 0;
}

/* SHARED CONTAINER - Used by: Impact, Functionality, Reviews, FAQ sections */
#home-main .container {
    width: 100%;
    max-width: 72.5rem;
    margin: 0 auto;
    padding: 4rem 1.25rem;
    overflow: visible;
}

/* SHARED H2 - section-heading - Used by: Impact, Functionality, Reviews, FAQ */
#home-main h2.section-heading {
    font-family: 'Inter', sans-serif;
    color: #000000 !important;
    font-size: 1.875rem !important;
    line-height: 1.3 !important;
    font-weight: 600;
    margin: 0;
    margin-bottom: 0.625rem;
    text-align: center;
}

/* SECTION 1 - HERO SPLIT */
.hero-split-section {
    background: #ffffff;
    position: relative;
}

.hero-split-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 3.5rem 1.25rem;
    width: 100%;
    margin: auto;
    max-width: 72.5rem;
}

.hero-split-left {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.hero-split-left .top-text-content p {
    font-family: 'Lato', sans-serif;
    font-size: 1.25rem;
    line-height: 1.6;
    color: #000;
    text-align: left;
    margin: 0;
    margin-bottom: 20px;
}

.hero-split-left #home-main .top-text-content h1 {
    text-align: left;
}

.hero-split-left .hero-container-button {
    display: flex;
    justify-content: flex-start;
    margin-top: 0.8rem;
    margin-bottom: 0;
    width: auto;
    flex-direction: row;
}

.hero-split-right {
    flex: 1 1 12%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-split-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    display: block;
}

#home-main .top-text-content h1 {
    font-family: 'Inter', sans-serif;
    font-size: 2.1875rem !important;
    color: #0c4c7c;
    margin: 0;
    margin-bottom: 10px;
    line-height: 1.3 !important;
    font-weight: 700;
}


.for-providers a,
.for-providers button,
.for-states a {
    display: flex;
    flex-flow: row nowrap;
    justify-content: center;
    align-items: center;
}

.for-providers {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

.hero-container-button a,
.hero-container-button button {
    text-decoration: none;
    color: #0c4c7c;
    font-size: 1.3125rem;
    font-family: inherit;
    font-weight: 600;
    padding: 15px 34px;
    border: none;
    border-radius: 50px;
    text-align: center;
    white-space: nowrap;
    line-height: 1.5;
    margin: 0;
    width: 100%;
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.10);
    cursor: pointer;
}

.hero-container-button .for-providers a,
.hero-container-button .for-providers button {
    background-color: #faa61c;
    display: flex;
}

.hero-container-button .for-providers a.btn-govt,
.hero-container-button .for-providers button.btn-govt {
    border-radius: 50px;
    border: 2px solid #FAA61C;
    background-color: #FFF !important;
}

.hero-container-button .for-providers a svg,
.hero-container-button .for-providers button svg,
.hero-container-button .for-states a svg {
    width: 25px;
}

.box-arrow {
    width: 25px;
    display: flex;
    margin-left: 10px;
    margin-top: 2px;
}

/* SECTION 2 - THE NUMBERS BEHIND OUR IMPACT */
.impact-section {
    text-align: center;
    background: linear-gradient(0deg, #FFF9EE 0%, #FCD893 100%);
}

.impact-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.impact-card {
    padding: 2rem;
    border-radius: 20px;
    flex: 1;
    min-width: 250px;
    border: 2px solid #F7941D;
    background: #FFF;
}

.impact-card-number {
    font-size: 1.75rem;
    font-weight: 600;
    color: #0c4c7c;
    margin-bottom: 0.5rem;
}

.impact-card-text {
    color: #000;
    font-size: 1.0625rem;
    font-weight: 500;
}

/* SECTION 3 - 70+ TOOLS INCLUDING (FUNCTIONALITY) */
.functionality {
    background: #ffffff;
    text-align: center;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    column-gap: 2.125rem;
    margin-top: 2.5rem;
    text-align: left;
}

.tool-item {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 0 1.5rem 0;
    border-width: 0 0 3px 0;
    border-style: solid;
    border-image: linear-gradient(90deg, #FFE493 40.87%, #FFF 100%) 1;
}

.tool-item:nth-child(-n+3) {
    border-width: 3px 0 3px 0;
    padding-top: 1.5rem;
}

.tool-item-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.tool-icon {
    flex-shrink: 0;
    height: 2.125rem;
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
}

.tool-icon img {
    height: 100%;
    width: auto;
}

.tool-item h3 {
    margin: 0;
}

.tool-item h3 a {
    font-size: 1.25rem !important;
    line-height: 1.3 !important;
    font-weight: 600;
    margin: 0 0 0.25rem 0 !important;
    color: #0C4C7D;
    font-family: 'Lato', sans-serif;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tool-item h3 a:hover {
    text-decoration: underline;
}

.tool-item p {
    font-size: 1.0625rem;
    line-height: 1.6;
    color: #000000;
    margin: 0;
}

/* SECTION 4 - TESTIMONIALS (LOVED BY OUR USERS) */
.testimonials-section {
    width: 100%;
    max-width: 100%;
    text-align: center;
    background-image: linear-gradient(to bottom, #fbecc3, #FEFCF4);
    padding-top: 4rem;
}

#home-main .testimonials-section h2 {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.875rem !important;
    font-weight: 600;
    color: #000;
    margin: 0;
    margin-bottom: 0.625rem;
}

.slider-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 2rem;
    padding-top: 0;
    margin: 0 auto;
    margin-top: 2.5rem;
    padding-bottom: 4rem;
}

.slider-inner-container {
    width: 100%;
    overflow: hidden;
    margin: 0 auto;
    mask-image: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.5) 5%, #ffffff 12%, #ffffff 88%, rgba(255, 255, 255, 0.5) 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(255, 255, 255, 0.5) 5%, #ffffff 12%, #ffffff 88%, rgba(255, 255, 255, 0.5) 95%, transparent 100%);
}

.provider-slider-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 35px;
    gap: 0 15px;
    cursor: pointer;
}

.provider-slider-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonials-section .dot {
    display: inline-block;
    width: 12px;
    height: 10px;
    background-color: #0c4c7c;
    opacity: 0.6;
    border-radius: 25px;
    margin: 0 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials-section .dot.active {
    width: 40px;
    border-radius: 5px;
    background-color: #0c4c7c;
    opacity: 1;
}

.slider-track {
    display: flex;
    width: fit-content;
    will-change: transform;
    gap: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    transition: none;
}

.slider-track.is-jumping {
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#row-1.is-jumping {
    transition: transform 300ms ease;
}

.slider-card {
    width: clamp(240px, 28vw, 400px);
    min-height: 18rem;
    flex-shrink: 0;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card {
    background-color: white;
    padding: 2.5rem 2rem;
    justify-content: flex-start;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    opacity: 1;
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.6s ease, outline-color 0.2s ease-in-out;
    box-shadow: inset 0 0 0 2px #ffae2c;
    position: relative;
    text-align: left;
    outline: 4px solid transparent;
    outline-offset: 4px;
    cursor: auto;
}

.testimonial-card.active {
    background: #ffe8bd;
    z-index: 10;
}

.testimonial-card.active p::before {
    opacity: 1;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.testimonial-img-wrapper {
    flex-shrink: 0;
}

.testimonial-img {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.testimonial-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #000000;
    line-height: 1.2;
    margin-bottom: 0.2rem;
}

.testimonial-card cite {
    font-size: 1.0625rem;
    color: #000000;
    font-weight: 500;
    text-align: left;
    line-height: 24px;
    font-style: normal;
}

.testimonial-body {
    position: relative;
}

.testimonial-card p {
    font-size: 1.0625rem;
    line-height: 1.6;
    text-align: left;
    margin: 0;
    position: relative;
    z-index: 2;
}

.testimonial-card p::before {
    content: "";
    position: absolute;
    background-image: url("https://www.therapservices.net/images/2025-home/icon-quote-left.svg");
    background-size: contain;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    top: -1rem;
    left: -1rem;
    opacity: 0.4;
    z-index: -1;
}

.testimonial-card p::after {
    display: none;
}

.testimonials-section .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 0;
    transition: background-color 0.3s, box-shadow 0.3s;
    padding: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.testimonials-section .slider-arrow svg {
    width: 45px;
    height: 45px;
}

.testimonials-section .slider-arrow path {
    fill: #0c4c7c;
    stroke: #0c4c7c;
    stroke-width: 25;
}

.testimonials-section .slider-arrow:hover:not(:disabled) {
    background-color: white !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.testimonials-section .slider-arrow.prev {
    left: 3%;
}

.testimonials-section .slider-arrow.next {
    right: 3%;
}

/* SECTION 5 - WHAT SERVICES DO YOU DELIVER? */
.swd-section {
    margin-block: 4rem;
    padding: 0;
    text-align: center;
    width: 100%;
    overflow: hidden;
}

.swd-header {
    padding: 0 1rem;
    margin-bottom: 1.5rem;
}

#home-main .swd-header h2 {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.875rem !important;
    color: #000 !important;
    margin: 0;
    line-height: 1.3 !important;
    font-weight: 600 !important;
    margin-bottom: 0.625rem;
}

.swd-section .swd-header p {
    font-size: 1.25rem;
    text-align: center;
    margin-top: 0.6rem;
    margin-left: auto;
    margin-right: auto;
}

.swd-carousel-wrapper {
    width: 100%;
    position: relative;
}

.swd-carousel-viewport {
    width: 100%;
    overflow: hidden;
    padding: 1.5rem 0 1.5rem 1.25rem;
    box-sizing: border-box;
}

.swd-cards-container {
    display: flex;
    gap: 1.25rem;
    transition: transform 0.6s cubic-bezier(0.45, 0.05, 0.55, 0.95);
    will-change: transform;
}

.swd-card {
    flex: 0 0 30rem;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    text-align: left;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.swd-card-idd {
    background-color: #ffdf9c;
}

.swd-card-employment {
    background-color: #d3f4fe;
}

.swd-card-aging {
    background-color: #eaf5d0;
}

.swd-card-autism {
    background-color: #ffdf9c;
}

.swd-card-early {
    background-color: #d3f4fe;
}

.swd-card-behavioral {
    background-color: #eaf5d0;
}

.swd-card h3 {
    font-family: 'Lato', sans-serif !important;
    font-size: 1.25rem !important;
    color: #000 !important;
    margin: 0 0 1rem 0 !important;
    font-weight: 700 !important;
    line-height: 1.5 !important;
}

.swd-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.swd-card ul li {
    color: #000;
    font-size: 1.0625rem;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.5;
}

.swd-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.625rem;
    width: 0.4375rem;
    height: 0.4375rem;
    background-color: #000;
    border-radius: 50%;
}

.swd-pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0;
    padding-bottom: 0rem;
}

.swd-arrow-btn {
    width: 2.8125rem;
    height: 2.8125rem;
    border-radius: 50%;
    border: 2px solid #0c4c7c;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease, opacity 0.3s ease;
    font-weight: 600;
    padding: 3px;
    flex-shrink: 0;
}

.swd-arrow-btn svg {
    width: 2.8125rem;
    height: 2.8125rem;
}

.swd-arrow-btn path {
    fill: #0c4c7c;
    stroke: #0c4c7c;
    stroke-width: 25;
}


.swd-arrow-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* SECTION 6 - THERAP RATINGS AND REVIEWS */
.user-community {
    background: linear-gradient(0deg, #E6F0D1 34.13%, #FAFCF6 100%);
    text-align: center;
}


.user-community .container {
    align-items: center;
    display: flex;
    flex-direction: column;
}

.review-rows {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.review-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    border-radius: 20px;
    border: 2px solid #BDDC80;
    background: rgba(255, 255, 255, 0.70);
    padding: 1.5rem;
    flex-direction: column;
    text-decoration: none;
}

.review-logo {
    height: 5rem;
    width: auto;
    flex-shrink: 0;
}

.review-text {
    font-family: 'Lato', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: #000000;
}

/* SECTION 7 - FREQUENTLY ASKED QUESTIONS */
.faq {
    background: #ffffff;
}

.faq .section-heading {
    text-align: center;
}

.faq-columns {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    margin-top: 2rem;
}

.faq-column {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.faq-summary::-webkit-details-marker {
    display: none;
}

.faq-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: none;
    border: none;
    border-bottom: 2px solid #FFEDC7;
    cursor: pointer;
    text-align: left;
    list-style: none;
}

.faq-item:first-of-type .faq-summary {
    border-top: 2px solid #FFEDC7;
}


span.faq-question {
    font-family: 'Lato', sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    font-weight: 600;
    color: #000000;
}

.faq-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: auto;
    flex-shrink: 0;
    margin-left: 1rem;
}

details.faq-item[open] .faq-summary {
    border-bottom: none;
    padding-bottom: 0.625rem;
}

details.faq-item[open] .faq-icon-plus {
    display: none !important;
}

details.faq-item:not([open]) .faq-icon-minus {
    display: none !important;
}

.faq-content {
    padding: 0 0 1.5rem 0;
    border-bottom: 2px solid #FFEDC7;
}

.faq-content p {
    font-size: 1.0625rem;
    line-height: 1.625rem;
    margin: 0;
}

/* RESPONSIVE  */

@media screen and (max-width: 1600px) {

    .top-text-content p {
        line-height: 35px;
        font-size: 1.3125rem;
    }

    .slider-card {
        width: clamp(220px, 27vw, 360px);
        min-height: 15rem;
        margin-top: 5px;
        margin-bottom: 5px;
    }

    #home-main .testimonials-section h2 {
        font-size: 1.6875rem !important;
    }

    .testimonials-section .slider-arrow svg {
        width: 32px;
        height: 32px;
    }

    .testimonials-section .slider-arrow {
        width: 32px;
        height: 32px;
    }

    #home-main .swd-header h2 {
        font-size: 1.6875rem !important;
    }

    #home-main h2.section-heading {
        font-size: 1.6875rem !important;
    }

    .swd-card {
        flex: 0 0 25rem;
        padding: 1.5rem 2rem;
    }

    .swd-card ul li {
        line-height: 1.875rem;
    }

    .swd-arrow-btn,
    .swd-arrow-btn svg {
        width: 2rem;
        height: 2rem;
    }
}

@media screen and (max-width: 1400px) {

    .top-text-content p {
        line-height: 35px;
    }

    #home-main .testimonials-section h2 {
        font-size: 1.6875rem !important;
    }

    .slider-card {
        width: clamp(200px, 26vw, 320px);
        min-height: 12rem;
    }

    .testimonials-section .slider-arrow {
        top: 45%;
    }

    #home-main .swd-header h2 {
        font-size: 1.6875rem !important;
    }

    .swd-card {
        flex: 0 0 27rem;
        padding: 1.5rem 2rem;
    }

    .swd-card ul li {
        line-height: 1.4;
    }
}

@media screen and (max-width: 1281px) {
    .impact-grid {
        gap: 1.25rem;
    }

    .swd-header {
        max-width: 85%;
        margin: auto;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 1180px) {

    #home-main .container,
    .hero-split-inner {
        max-width: 90%;
    }

    .hero-split-inner {
        align-items: flex-start;
        gap: 1rem;
    }
}

@media screen and (max-width: 1100px) {
    #home-main .top-text-content h1 {
        font-size: 1.875rem !important;
        line-height: 1.2 !important;
    }

    .top-text-content p {
        line-height: 1.6;
        font-size: 1.3125rem;
    }

    .testimonials-section .slider-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .testimonials-section #row-1 {
        transition: transform 0.5s ease-in-out;
    }

    .testimonials-section .slider-arrow {
        display: block;
        z-index: 0;
        width: 40px;
        height: 40px;
        top: 40%;
    }

    .slider-inner-container {
        mask-image: none;
        -webkit-mask-image: none;
    }

    .testimonials-section .slider-card.testimonial-card {
        width: 100%;
        margin: 0 5%;
    }

    .slider-card.testimonial-card.active {
        width: 65%;
    }

    .slider-track {
        gap: 0;
    }

    .testimonial-card p,
    .testimonial-card cite {
        font-size: 1.1rem;
    }

    .testimonials-section .slider-track {
        gap: 20px !important;
    }

    .testimonials-section .slider-card.testimonial-card,
    .testimonials-section .slider-card.testimonial-card.active {
        width: 90vw !important;
        max-width: 600px !important;
        margin: 0 !important;
        flex-shrink: 0 !important;
        max-height: unset;
        padding: 3rem 2rem !important;
    }

    .testimonials-section .testimonial-card {
        padding: 2rem !important;
    }

    #home-main .swd-header h2 {
        font-size: 1.6875rem !important;
    }

    .hero-split-left {
        flex: 1 1 46%;
    }

    .for-providers {
        gap: 0.75rem;
    }

    .hero-container-button a {
        font-size: 1.1875rem;
        padding: 0.75rem 1.25rem;
    }

    .hero-split-left .top-text-content p {
        font-size: 1.1875rem;
        line-height: 1.5;
    }

    .box-arrow {
        width: 1.5rem;
        margin-left: .5rem;
    }

    .hero-split-right {
        flex: 1 1 36%;
    }

}

@media (max-width: 1032px) {
    h2.section-heading {
        text-align: center;
    }
}

@media (max-width: 1024px) {
    .hero-split-inner {
        flex-direction: column;
        gap: 2rem;
    }

    .hero-split-left,
    .hero-split-right {
        flex: 1 1 100%;
        width: 100%;
    }

    #home-main .top-text-content h1 {
        font-size: 2rem !important;
        line-height: 1.2 !important;
        text-align: center;
    }

    .hero-split-left .top-text-content p,
    .hero-split-left #home-main .top-text-content h1 {
        text-align: center;
    }

    .hero-split-left .hero-container-button {
        justify-content: center;
        width: 100%;
    }

    #home-main .container,
    .hero-split-inner {
        width: 100%;
        padding: 3rem 1.25rem;
        max-width: 85%;
    }

    .hero-container-button a {
        font-size: 1.25rem;
        padding: 0.75rem 2rem;
    }

    .hero-split-img {
        max-width: 80%;
    }

    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tool-item:nth-child(3) {
        border-width: 0 0 3px 0;
        padding-top: 0;
    }

    .swd-section {
        padding: 0 1.25rem;
    }

    h2.section-heading {
        font-size: 1.875rem;
        margin-bottom: 2.5rem;
    }

    .testimonials-section {
        padding-top: 3rem;
    }

    .slider-container {
        padding-bottom: 3rem;
    }

    .swd-section {
        margin-block: 3rem;
    }
}

@media screen and (max-width: 900px) {
    .impact-grid {
        flex-wrap: nowrap;
    }

    .impact-card {
        flex: 0 0 calc(33.333% - 1rem);
        min-width: auto;
        padding: 1.5rem;
    }

    .testimonials-section h2 {
        font-size: 1.6875rem !important;
    }

    .slider-card.testimonial-card.active {
        width: 50%;
    }

    #home-main .swd-header h2 {
        font-size: 1.6875rem !important;
    }

    .swd-card {
        flex: 0 0 24rem;
    }

    .swd-section .swd-header p {
        padding-left: 2%;
        padding-right: 2%;
    }

    h2.section-heading {
        font-size: 1.6875rem !important;
        line-height: 1.3 !important;
    }

    .faq-columns {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    .faq-column:nth-child(2) .faq-item:first-child .faq-summary {
        border-top: none;
    }
}

@media (max-width: 768px) {
    .hero-container-button {
        flex-direction: column;
        gap: 15px;
        width: 90%;
    }

    .swd-header {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .for-providers {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .hero-split-img {
        max-width: 85%;
    }

    #home-main .top-text-content h1 {
        font-size: 1.75rem !important;
    }

    .tools-grid {
        grid-template-columns: 1fr;
    }

    .tool-item:nth-child(2) {
        border-width: 0 0 3px 0;
        padding-top: 0;
    }

    .tool-item:nth-child(1) {
        border-width: 3px 0 3px 0;
        padding-top: 1.5rem;
    }

    #home-main .container,
    .hero-split-inner {
        max-width: 100%;
        padding: 3rem 1.75rem;
    }

    .hero-container-button a,
    .hero-container-button button {
        margin: auto;
        width: auto;
    }

    .tool-icon {
        height: 1.625rem;
    }

    .tools-grid {
        margin-top: 1.5rem;
    }

    .review-rows,
    .faq-columns,
    .slider-container,
    .impact-grid {
        margin-top: 1.5rem;
    }

    .review-rows {
        gap: 1.5rem;
        flex-direction: column;
    }

    .review-logo {
        height: auto;
        width: 15rem;
    }

    #home-main h2.section-heading {
        font-size: 1.25rem !important;
    }

    .tool-item h3 a {
        font-size: 1.125rem !important;
    }

    .swd-card h3 {
        font-size: 1.125rem !important;
        margin-bottom: .5rem !important;
    }

    .impact-grid {
        flex-wrap: wrap;
        flex-direction: column;
    }

    .impact-card {
        flex: 0 0 100%;
        padding: 1.25rem;
    }

    #home-main .testimonials-section h2 {
        padding: 0 5%;
        font-size: 1.25rem !important;
    }

    .testimonials-section .slider-card.testimonial-card {
        max-width: 50%;
        margin-left: 5%;
        margin-right: 5%;
        width: 380px;
    }

    .testimonial-card cite {
        font-size: 1.1rem;
        line-height: 1.4;
    }

    .slider-card.testimonial-card.active {
        max-width: 34%;
        width: 100%;
        margin: 0 5%;
    }

    #home-main .swd-header h2 {
        padding: 0 5%;
        font-size: 1.25rem !important;
    }

    .swd-section .swd-header p {
        font-size: 1.0625rem;
        padding: 0 1rem;
    }

    .swd-card ul li {
        line-height: 1.4;
        font-size: 1.0625rem;
    }

    .swd-cards-container {
        margin-left: 1.3rem;
    }

    .swd-card {
        flex: 0 0 23rem;
    }


    .impact-card-number {
        font-size: 1.125rem !important;
        margin-bottom: 0;
        line-height: 1.5;
    }
}

@media only screen and (max-width: 420px) {
    .testimonials-section .slider-card.testimonial-card.active {
        max-width: 15%;
        width: 100%;
        margin: 0 5%;
    }

    .swd-card {
        flex: 0 0 19.875rem;
    }
}


@media screen and (max-width: 390px) {
    .swd-card {
        flex: 0 0 calc(100% - 1.25rem);
        padding: 1.5rem 1.5rem;
    }

    .swd-cards-container {
        margin-left: 0;
    }

    .swd-carousel-viewport {
        padding-left: 1.25rem;
    }

}


@media screen and (min-width: 768px) and (max-width: 1099px) {
    .swd-card {
        flex: 0 0 calc(50% - 1.25rem);
    }
}

@media screen and (min-width: 1100px) and (max-width: 1440px) {
    .swd-card {
        flex: 0 0 calc(33.333% - 1.25rem);
    }
}

@media screen and (min-width: 1441px) {
    .swd-card {
        flex: 0 0 calc(25% - 1.25rem);
    }
}



@media (min-width: 2100px) {

    #home-main .container,
    .hero-split-inner {
        max-width: 1400px;
    }

    #home-main .top-text-content h1 {
        font-size: 2.5rem !important;
    }

    .hero-split-left .top-text-content p {
        font-size: 1.375rem;
    }


    .tool-item p {
        font-size: 1.1875rem !important;
    }

    #home-main h2.section-heading,
    #home-main .testimonials-section h2,
    #home-main .swd-header h2 {
        font-size: 2rem !important;
    }

    .tool-item h3 a,
    .swd-section .swd-header p {
        font-size: 1.375rem !important;
    }

    body,
    span.faq-question,
    .faq-content p,
    .review-text,
    .impact-card-text,
    .swd-card ul li,
    .testimonial-card p {
        font-size: 1.1875rem !important;
    }
}


/* reset wp */
main#main {
    padding: 0 !important;
}

.main-menu {
    padding-bottom: 1% !important;
}

#wrapper #main .fullwidth-box .fusion-row {
    width: 100% !important;
    max-width: 100% !important;
}

.fusion-fullwidth.fullwidth-box.fusion-builder-row-1.fusion-flex-container.has-pattern-background.has-mask-background.nonhundred-percent-fullwidth.non-hundred-percent-height-scrolling {
    margin: 0 !important;
    padding: 0 !important;
}

.fusion-fullwidth {
    padding: 0 !important;
}

.fusion-column-wrapper.fusion-flex-justify-content-flex-start.fusion-content-layout-column {
    margin: 0 !important;
    padding: 0 !important;
}

.fusion-post-content p,
.post-content p {
    margin: unset;
}

.fusion-layout-column {
    margin-bottom: 0;
}


/* modals */
.fusion-checklist .fusion-li-icon,
ul.fusion-checklist .fusion-li-icon {
    padding-top: 15px;
    font-size: 12px;
}

rs-layer a {
    padding-top: 9px !important;
}

@media only screen and (min-width: 600px) {
    rs-layer a {
        padding-left: 25px !important;
        padding-right: 25px !important;
        padding-top: 9px !important;
    }
}

@media only screen and (min-width: 1025px) {

    .fusion-checklist .fusion-li-icon,
    ul.fusion-checklist .fusion-li-icon {
        padding-top: 0px;
        font-size: 12px;
    }
}

@media only screen and (max-width: 1100px) {
    .fusion-checklist .fusion-li-item-content span {
        line-height: 32px !important;
    }

    .fusion-layout-column.fusion_builder_column.fusion-builder-column-2.fusion_builder_column_1_2 {
        margin-bottom: 0;
    }

    .fusion-checklist .fusion-li-icon,
    ul.fusion-checklist .fusion-li-icon {
        font-size: 8px;
    }

    .fusion-fullwidth.fullwidth-box.fusion-builder-row-2.fusion-flex-container.nonhundred-percent-fullwidth.non-hundred-percent-height-scrolling {
        padding-top: 10px !important;
    }

    .fusion-column-wrapper.fusion-column-has-shadow.fusion-flex-justify-content-flex-start.fusion-content-layout-column {
        margin-left: 0;
        margin-right: 0;
    }

    .fusion-fullwidth.fullwidth-box.fusion-builder-row-3.fusion-flex-container.nonhundred-percent-fullwidth.non-hundred-percent-height-scrolling {
        padding-right: 3%;
    }
}

@media only screen and (max-width: 1030px) {

    .fusion-checklist .fusion-li-icon,
    ul.fusion-checklist .fusion-li-icon {
        padding-top: 0px;
        font-size: 12px;
        padding-left: 15px;
    }
}

@media only screen and (max-width: 600px) {
    .fusion-layout-column.fusion_builder_column.fusion-builder-column-2 .fusion-text.fusion-text-1.fusion-text-no-margin {
        font-size: 20px !important;
        line-height: 30px !important;
        padding-bottom: 0px;
        margin-top: 20px;
    }

    .fusion-layout-column.fusion_builder_column.fusion-builder-column-1 {
        padding-bottom: 0px !important;
        margin-bottom: 0px !important;
    }

    .fusion-flex-container.fusion-builder-row-2 .fusion-li-item-content {
        font-size: 16px !important;
    }

    .fusion-checklist .fusion-li-icon,
    ul.fusion-checklist .fusion-li-icon {
        padding-top: 0px;
        font-size: 6px;
        padding-left: 40px;
        margin-top: -12px;
    }

    .fusion-fullwidth.fullwidth-box.fusion-builder-row-3 .fusion-builder-row.fusion-row.fusion-flex-align-items-flex-start {
        padding-right: 26px !important;
        padding-left: 26px !important;
    }

    .fusion-li-item-content {
        line-height: 27px !important;
    }

    ul.fusion-checklist {
        margin-top: 0px !important;
    }

    .fusion-layout-column.fusion_builder_column.fusion-builder-column-2.fusion_builder_column_1_2 ul li.fusion-li-item,
    .fusion-layout-column.fusion_builder_column.fusion-builder-column-3.fusion_builder_column_1_2 ul li.fusion-li-item {
        margin: 0 3% 0 -5%;
    }


    .fusion-imageframe.imageframe-none.imageframe-2.hover-type-none.mobile-image-mobile,
    .fusion-imageframe.imageframe-none.imageframe-2.hover-type-none.mobile-image-mobile img {
        margin: 0 auto;
        display: block;
    }
}

/* Added By Onjon : 09-01-2022 - SF Form Slider */

.custom-modal,
.custom-modal-2 {
    display: none;
    position: fixed;
    overflow: auto;
    background: rgb(0 0 0 / 60%);
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 60px 30px;
    float: right;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: 999;
}


.custom-modal-dialog,
.custom-modal-2-dialog {
    max-width: 680px;
    width: 100%;
    border-radius: 0px;
    position: relative;
    margin-left: auto;
    margin-right: auto;
}

.custom-modal.show-modal .custom-modal-content,
.custom-modal-2.show-modal .custom-modal-2-content {
    transform: translateY(0);
}

.custom-modal-content,
.custom-modal-2-content {
    background: #ffffff;
    padding: 30px 30px;
    border-radius: 10px;
    border: 1px solid #ffc189;
    -webkit-box-shadow: 0 0 40px 15px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 0 40px 15px rgba(0, 0, 0, 0.15);
    box-shadow: 0 0 40px 15px rgba(0, 0, 0, 0.15);
    transform: translateY(-20px);
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

.close-modal,
.close-modal-2 {
    position: absolute;
    top: 6px;
    right: 4px;
    width: 105px;
    opacity: 1;
    color: #000000;
    border: 1px solid #ffffff;
    z-index: 9;
    padding: 0;
    text-align: center;
    line-height: 10px;
    cursor: pointer;
    padding: 14px 1px;
    font-weight: 600;
    border-radius: 10px;
    border: 0;
    width: 0px;
}

.close-modal .round,
.close-modal-2 .round {
    border-radius: 100%;
    background: #ffc189;
    margin-right: 2px;
    padding: 1px 8px 2px 8px;
    margin-left: -6px;
    margin-left: -50px;
}

body.modal-open .custom-modal,
body.modal-open .custom-modal-2 {
    background: rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 0 5px 2px #fff;
    -moz-box-shadow: 0 0 5px 2px #fff;
    box-shadow: 0 0 5px 2px #fff;
}

.custom-modal .custom-modal-body,
.custom-modal-2 .custom-modal-body {
    padding: 0 80px;
    max-height: 570px;
    overflow: hidden;
    overflow-y: auto;
    margin-top: 20px;
}

div#custom-modal-2 .custom-modal-body {
    max-height: 80vh;
}

.custom-modal .custom-modal-body .model-heading,
.custom-modal-2 .custom-modal-body .model-heading {
    font-size: 26px;
    text-align: center;
    line-height: 32px;
    color: #00437c;
    font-weight: 550;
    padding-bottom: 0px;
    margin-bottom: 20px;
    margin-top: -5px;
}

.fusion-imageframe.imageframe-1.mobile-image-desktop img {
    height: 100%;
    width: 100%;
}

.custom-modal .custom-modal-body::-webkit-scrollbar-track,
.custom-modal-2 .custom-modal-body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #f5f5f5;
    border-radius: 20px;
}

.custom-modal .custom-modal-body::-webkit-scrollbar,
.custom-modal-2 .custom-modal-body::-webkit-scrollbar {
    width: 6px;
    background-color: #f5f5f5;
}

.custom-modal .custom-modal-body::-webkit-scrollbar-thumb,
.custom-modal-2 .custom-modal-body::-webkit-scrollbar-thumb {
    border-radius: 20px;
    background-color: orange;
    border: 1px solid #555555;
}

#first-form-web-to-case input,
#other-state-form input,
#comments {
    border: 1px solid #000;
    border-radius: 4px;
    -moz-border-radius: 4px !important;
    -webkit-border-radius: 4px;
    height: 36px;
    margin-bottom: 20px;
    color: #000;
    font-size: 16px;
}

#first-form-web-to-case label,
#choose-state-label,
#other-state-form label {
    font-size: 18px;
    display: block;
    margin-bottom: 10px;
}

#first-form-web-to-case select,
#choose-state,
#other-state-form select,
#first-form-web-to-case select:focus,
#choose-state,
#other-state-form select:focus {
    display: block;
    width: 100%;
    border: 1px solid #ffaa06;
    border-radius: 4px;
    -moz-border-radius: 4px !important;
    -webkit-border-radius: 4px;
    height: 36px;
    margin-bottom: 10px;
    color: #000;
    font-size: 16px;
    outline: 0px;
    background: #fff8ec;
    padding-left: 10px;
    margin-bottom: 25px;
    margin-top: 5px;
}

#first-form-web-to-case .submit-btn,
#other-state-form .submit-btn,
#first-form-web-to-case .submit-btn:focus,
#other-state-form .submit-btn:focus {
    -moz-border-radius: 20px !important;
    -webkit-border-radius: 20px;
    border-radius: 20px !important;
    font-size: 18px !important;
    font-weight: 600;
    font-style: normal;
    line-height: 18px;
    color: #0c4c7c !important;
    background-color: #acca6d !important;
    width: 100%;
    margin-top: 0px;
    cursor: pointer;
    width: 100%;
    padding: 12px;
    border: none;
}

#first-form-web-to-case .radio-btn,
#other-state-form .radio-btn {
    width: 15px;
    margin-bottom: 4px;
}

#first-form-web-to-case .radio_text,
#other-state-form .radio_text {
    margin-left: 5px;
}

#comments {
    height: 150px !important;
}

.required-star {
    margin-left: 8px;
    font-size: 18px;
    color: #b30600;
    font-weight: 600;
}

#first-form-web-to-case label,
#choose-state-label,
#other-state-form label {
    margin-bottom: 0px;
    font-weight: 600;
    line-height: 28px;
}

#first-form-web-to-case input[type="text"],
#other-state-form input[type="text"],
#first-form-web-to-case input[type="email"],
#other-state-form input[type="email"],
#comments {
    -webkit-border-radius: 4px;
    border-radius: 4px;
    height: 36px;
    margin-bottom: 10px;
    color: #000;
    font-size: 16px;
    outline: 0px;
    border: 1px solid #ffaa06;
    background: #fff8ec;
    margin-bottom: 25px;
    width: 100%;
    padding: 0 5px;
    margin-top: 5px;
}

#comments {
    height: 150px;
    margin-bottom: 2px;
}

#first-form-web-to-case input[type="text"]:focus,
#other-state-form input[type="text"]:focus,
#first-form-web-to-case input[type="email"]:focus,
#other-state-form input[type="email"]:focus,
#comments:focus {
    outline: 0 !important;
}

#first-form-web-to-case .radio-btn,
#other-state-form .radio-btn {
    width: 15px;
    height: 22px;
    margin-bottom: 3px;
}

.radio_text {
    font-weight: 500 !important;
}

.custom-modal input[type="radio"]:after,
input[type="radio"]:checked:after,
.close-modal-2 input[type="radio"]:after,
.close-modal-2 input[type="radio"]:checked:after {
    width: 17px;
    height: 17px;
    border-radius: 50%;
    top: -2px;
    left: -1px;
    position: relative;
    background-color: #fff8ec;
    content: "";
    display: inline-block;
    visibility: visible;
    border: 1px solid #ffaa06;
}

.custom-modal input[type="radio"]:checked:after,
.close-modal-2 input[type="radio"]:checked:after {
    background-color: #ffaa06;
    border: 2px solid #fff8ec;
    height: 20px;
    width: 20px;
    left: -2px;
    top: auto;
}

#main {
    padding-top: 0px;
    padding-bottom: 0px;
}

.radio-label {
    font-size: 18px;
    font-weight: 600;
}

@media only screen and (max-width: 768px) {
    .fusion-imageframe.imageframe-none.imageframe-2.hover-type-none.mobile-image-mobile img {
        height: 100%;
        width: 100%;
    }

    .leftColumn h1 {
        padding-top: 0 !important;
    }

    .leftColumn p {
        font-size: 1.25rem;
        margin-bottom: 0;
    }
}

@media only screen and (max-width: 700px) {

    .custom-modal .custom-modal-body .model-heading,
    .custom-modal-2 .custom-modal-body .model-heading {
        font-size: 20px;
        line-height: 28px;
    }

    #first-form-web-to-case label,
    #choose-state-label,
    #other-state-form label,
    .radio-label {
        font-size: 16px;
    }

    #first-form-web-to-case .submit-btn,
    #other-state-form .submit-btn,
    #first-form-web-to-case .submit-btn:focus,
    #other-state-form .submit-btn:focus {
        font-size: 16px !important;
    }
}

@media only screen and (max-width: 610px) {

    .custom-modal .custom-modal-body,
    .close-modal-2 .custom-modal-body {
        padding: 0 10px;
    }

    .custom-modal-content,
    .custom-modal-2 .custom-modal-content {
        padding: 30px 10px;
    }

    .close-modal,
    .close-modal-2 {
        top: 3px;
    }

    .close-modal .round,
    .close-modal-2 .round {
        margin-left: -30px;
    }

    ul.fusion-checklist {
        font-size: 20px !important;
        margin-left: 5% !important;
    }
}

@media only screen and (max-width: 430px) {

    .custom-modal .model-heading .break,
    .custom-modal-2 .model-heading .break {
        display: none;
    }
}

@media only screen and (max-width: 1030px) {
    .fusion-body .fusion-builder-column-1 {
        margin-bottom: 0px !important;
    }
}

.landingpage_green_button {
    padding: 10px 5px 10px !important;
}

a:is(#select-state, #book-a-meeting) img {
    max-width: 300px !important;
}

.landingpage_green_button {
    background-color: transparent !important;
}

.landingpage_green_button {
    margin: 0 auto !important;
    padding: 10px 5px 10px !important;
    border-radius: 35px;
    margin: 5px !important;
}

.top-container-button {
    display: flex;
    flex-flow: row;
    justify-content: flex-start;
    align-items: center;
    margin-left: 5%;
}

/* Media queries for responsiveness */
@media (max-width: 767px) {
    .top-container-button {
        flex-flow: column;
    }
}

@media screen and (min-width: 1100px) and (max-width: 1400px) {
    .landingpage_green_button {
        padding-bottom: 1% !important;
    }
}

@media screen and (max-width: 1100px) {
    .landingpage_green_button {
        background-color: transparent !important;
        padding-bottom: 10% !important;
    }
}

@media screen and (min-width: 1700px) {
    .fusion-fullwidth.fullwidth-box.fusion-builder-row-2.fusion-flex-container.nonhundred-percent-fullwidth.non-hundred-percent-height-scrolling {
        padding-top: 0 !important;
    }
}

@media screen and (min-width: 600px) and (max-width: 1100px) {
    .landingpage_green_button {
        padding-bottom: 2% !important;
    }
}

@media screen and (max-width: 600px) {

    .landingpage_green_button,
    .landingpage_green_button:hover {
        background-color: transparent !important;
        padding-bottom: 0% !important;
        width: 70%;
        display: flex;
        margin: 0 auto !important;
        justify-content: center;
        max-width: 200px !important;
    }

    a:is(#select-state, #book-a-meeting) img {
        max-width: 250px !important;
    }
}

@media only screen and (min-width: 600px) and (max-width: 768px) {
    .topContainer {
        background-size: cover !important;
    }

    .top-container-button {
        justify-content: center;
    }
}

@media only screen and (max-width: 768px) {
    .topContainer .leftColumn h1 {
        padding-top: 0 !important;
    }

    .topContainer .leftColumn p {
        font-size: 1.25rem !important;
        margin-bottom: 0 !important;
    }
}

body.modal-open {
    overflow: hidden !important;
}