.section-compare-providers-reviews {
    background-color: #F3EEEB;
    padding-bottom: 50px;
}

.section-compare-providers-reviews .section-compare-providers__head__header {
    color: #414141;
    font-size: 2.25vw;
}

.section-compare-providers-reviews .section-compare-providers__head__subheader {
    color: #08B3BE;
}

.section-compare-providers-reviews .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    width: 100%;
}

.section-compare-providers-reviews .section-compare-providers__head {
    text-align: center;
}

.section-compare-providers-reviews .card {
    background: white;
    padding: 40px 0;
}

.section-compare-providers-reviews .filter-section {
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

.section-compare-providers-reviews .filter-label {
    color: #444;
    font-size: 1rem;
    margin-bottom: 25px;
    display: block;
}

.section-compare-providers-reviews .swiper-container-relative {
    position: relative;
}

.section-compare-providers-reviews .logo-swiper {
    width: 100%;
    padding: 20px;
}

.section-compare-providers-reviews .logo-swiper .swiper-wrapper {
    align-items: center;
}

.section-compare-providers-reviews .source-item {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.section-compare-providers-reviews .source-item img {
    opacity: 0.35;
    filter: grayscale(100%);
}

.section-compare-providers-reviews .source-item img {
    max-height: 35px;
    width: auto;
    object-fit: contain;
}

.section-compare-providers-reviews .logo-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.section-compare-providers-reviews .logo-swiper .swiper-slide-active img {
    transform: scale(1.6);
    filter: grayscale(0%);
    opacity: 1;
    display: block;
    margin: 0 auto;
}

.section-compare-providers-reviews .source-item img {
    transition: transform 0.3s ease, margin 0.3s ease, filter 0.3s ease;
}

.section-compare-providers-reviews .active-arrow {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #08B3BE;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.section-compare-providers-reviews .table-content-wrapper {
    padding: 0 40px;
    animation: fadeIn 0.4s ease-out;
}

.section-compare-providers-reviews .is-hidden {
    display: none !important;
}

.section-compare-providers-reviews .table-title {
    color: #08B3BE;
    font-size: 1.75rem;
    font-weight: 700;
    text-align: center;
    margin-top: 0;
    margin-bottom: 1rem;
}

.section-compare-providers-reviews .table-wrapper {
    display: none;
}

.section-compare-providers-reviews table {
    width: 100%;
    border-collapse: collapse;
}

.section-compare-providers-reviews th {
    background-color: #08B3BE;
    color: white;
    padding: 5px 16px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-compare-providers-reviews td {
    padding: 16px;
    vertical-align: middle;
}

.section-compare-providers-reviews .provider-cell {
    display: flex;
    align-items: center;
    gap: 15px;
}

.section-compare-providers-reviews .provider-name {
    font-weight: 600;
    color: #444;
    font-size: 0.95rem;
    white-space: nowrap;
}

.section-compare-providers-reviews tr:nth-child(2n) {
    background-color: #fafafa;
}

.section-compare-providers-reviews .review-link {
    color: #08B3BE;
    font-size: 0.8rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    font-weight: 600;
    border-bottom: 1px dotted;
    letter-spacing: 0.5px;
}

.section-compare-providers-reviews .stat-val,
.section-compare-providers-reviews .rating-val {
    font-weight: 600;
    color: #676767;
    font-size: 1.1rem;
    text-align: center;
}

.section-compare-providers-reviews .highlighted {
    color: #08B3BE;
}

.section-compare-providers-reviews .mobile-provider-swiper {
    width: 100%;
    overflow: visible;
    padding: 20px 0 40px 0 !important;
}

.section-compare-providers-reviews .provider-cell img, .section-compare-providers-reviews .mobile-card img {
    max-height: 40px;
}

.section-compare-providers-reviews .mobile-card {
    background: white;
    padding: 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%; 
    margin: 0;
}

.section-compare-providers-reviews .mobile-provider-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.section-compare-providers-reviews .mobile-card .provider-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 0;
}

.section-compare-providers-reviews .mobile-card .provider-logo-large {
    margin: 0 auto 1.5rem auto;
    display: block;
    object-fit: contain;
}

.section-compare-providers-reviews .mobile-card .rating-label {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 500;
    color: #999;
    letter-spacing: 1.5px;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.section-compare-providers-reviews .mobile-card .rating-number {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
    margin: 0.5rem 0;
}

.section-compare-providers-reviews .mobile-card .reviews-count {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0;
    margin-top: 0;
}

.section-compare-providers-reviews .mobile-card .rating-number, .section-compare-providers-reviews .mobile-card .reviews-count {
    color: #6E6E6E;
}


.section-compare-providers-reviews .mobile-card .rating-number.highlighted, .section-compare-providers-reviews .mobile-card .reviews-count.highlighted {
    color: #08B3BE;
}

.section-compare-providers-reviews .mobile-card .see-reviews-link-mobile {
    color: #08B3BE;
    text-decoration: underline;
    text-decoration-style: dotted;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    margin-top: 1.5rem;
    justify-content: center;
}

.section-compare-providers-reviews .swiper-pagination {
    bottom: 0 !important;
}

.section-compare-providers-reviews .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ddd;
    opacity: 1;
}

.section-compare-providers-reviews .swiper-pagination-bullet-active {
    background: #08B3BE !important;
}

.section-compare-providers-reviews .footer-note {
    margin-top: 25px;
    color: #676767;
    font-size: 0.85rem;
    font-style: italic;
    text-align: left;
    padding: 0 40px;
    font-weight: 500;
}

.section-compare-providers-reviews .logo-text-box {
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (min-width: 768px) {
    .section-compare-providers-reviews .table-wrapper {
        display: block;
    }

    .section-compare-providers-reviews .mobile-card-wrapper {
        display: none;
    }

    .section-compare-providers-reviews .section-compare-providers__head__subheader{
        width: 85%;
        line-height: 1.5em;
    }

    .section-compare-providers-reviews .sort-icon {
        display: flex;
        flex-direction: column;
        justify-content: center;
        line-height: 1;
        transition: opacity 0.2s ease;
    }

    .section-compare-providers-reviews .sort-icon svg {
        display: block;
        margin: -1px 0;
        color: rgba(255, 255, 255, 0.7);
        height: 20px;
        width: 20px;
        transition: all 0.2s ease-in-out;
    }

    .section-compare-providers-reviews th.sortable {
          text-align: center;  
    }

    .section-compare-providers-reviews th[data-dir="asc"] .icon-up {
        color: #ffffff;
        width: 20px;
        height: 20px;
    }
    
    .section-compare-providers-reviews th[data-dir="desc"] .icon-down {
        color: #ffffff;
        width: 20px;
        height: 20px;
    }

    .section-compare-providers-reviews .header-sort-wrapper {
        display: inline-flex;
        align-items: center;
        justify-content: center; 
        gap: 8px;
        vertical-align: middle;
    } 

    .section-compare-providers-reviews .sort-icon svg:not(.active) {
        color: rgba(255, 255, 255, 0.4);
    }

    .section-compare-providers-reviews  .sort-icon svg:not(.active):hover {
        opacity: 1;
        color: #fff;
    }
}

@media (max-width: 767px) {
    .section-compare-providers-reviews .section-compare-providers__head__header {
        font-size: 1.75rem;
    }

    .section-compare-providers-reviews .section-compare-providers__head {
        padding: 2rem 2rem 1rem 2rem;
        margin: 0;
    }

    .section-compare-providers-reviews .section-compare-providers__head__subheader {
        padding-bottom: 0;
        font-size: 16px;
        font-weight: 400;
    }

    .section-compare-providers-reviews .filter-label {
        padding: 0 1rem;
    }

    .section-compare-providers-reviews .table-content-wrapper {
        padding: 0;
        animation: none;
    }

    .section-compare-providers-reviews .filter-section {
        background: white;
        padding-top: 2rem;
        margin-bottom: 0;
    }

    .section-compare-providers-reviews .card {
        margin-top: 0;
        box-shadow: none;
        border-radius: 0;
        border-top: 1px solid #eee;
        background: transparent;
        padding-top: 20px;
    }

    .section-compare-providers-reviews {
        padding-bottom: 2rem;
    }

    .section-compare-providers-reviews .table-title {
        font-size: 1.5rem;
        background: white;
        padding-top: 1rem;
        padding-bottom: 2rem;
    }

    .section-compare-providers-reviews .footer-note {
        margin-top: 2rem;
    }

}

/*Compare Course Providers*/

.section-providers-compare {
    padding-bottom: 50px;
}

.section-providers-compare .section-providers-compare__content .container {
    background: white;
    padding: 3rem 2rem
}

.section-providers-compare .section-providers-compare {
    text-align: center;
}

.section-providers-compare__head {
    width: 100%;
    padding: 3vw 0;
    text-align: center;
    display: inline-block;
}

.section-providers-compare .section-providers-compare__head__header {
    color: #414141;
    font-size: 2.25vw;
    margin-top: 0;
    margin-bottom: 0;
}

.section-providers-compare .section-providers-compare__head__subheader {
    color: #08B3BE;
    line-height: 1.25em;
    font-weight: 400;
    margin: 30px auto 0;
    font-size: 1.6875vw;
    margin-top: 0;
}

.section-providers-compare .comparison-container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-sizing: border-box;
}

.section-providers-compare .table-wrapper {
    width: 100%;
}

.section-providers-compare table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    border: 1px solid #CECECE;
    background-color: #FFFFFF;
}

.section-providers-compare tbody tr:nth-child(even) {
    background-color: #FFFFFF !important;
}

.section-providers-compare tbody tr:nth-child(odd) {

    background-color: #F8F8F8 !important;
}

.section-providers-compare th,
.section-providers-compare td {
    padding: 15px 0;
    text-align: center;
    border-left: 1px solid #CECECE;
    border-bottom: 1px solid #CECECE;
    font-size: 0.85rem;
    font-weight: 500;
}

.section-providers-compare td {
   line-height: 1.2em;
}

.section-providers-compare thead th {
    background-color: #FFFFFF;
    height: 80px;
    vertical-align: middle;
}

.section-providers-compare thead .row-label {
    font-size: 1rem;
}

.section-providers-compare .row-label {
    text-align: left;
    color: #6E6E6E;
    font-weight: 500;
    width: 400px;
    font-size: 0.85rem;
    padding-left: 1rem;
    padding-right: 1rem;
    border-left: 1px solid #CECECE;
    border-bottom: 1px solid #CECECE;
}

.section-providers-compare .label-content {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
}

.section-providers-compare .info-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    background-color: transparent;
    color: #6E6E6E;
    border-radius: 50%;
    font-size: 10px;
    font-family: serif;
    font-style: italic;
    font-weight: bold;
    cursor: pointer;
    border: 1px solid #6E6E6E;
}

.section-providers-compare .info-icon:hover {
    background-color: #6E6E6E;
    color: #fff;
    border: 1px solid #6E6E6E;
}

.section-providers-compare .tooltip-container {
    position: relative;
    display: inline-block;
}

.section-providers-compare .tooltip-text {
    visibility: hidden;
    width: 200px;
    background-color: #414141;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px;
    position: absolute;
    z-index: 99;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.4;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.section-providers-compare .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #414141 transparent transparent transparent;
}

.section-providers-compare .tooltip-container:hover .tooltip-text, .section-providers-compare .tooltip-container.is-active .tooltip-text {
    visibility: visible;
    opacity: 1;
}

.section-providers-compare .more-info-link {
    font-size: 11px;
    color: #08B3BE;
    white-space: nowrap;
    padding-left: 1rem;
    font-weight: 500;
}

.section-providers-compare .more-info-link:hover {
    text-decoration: underline;
}

.section-providers-compare .logo-cell {
    height: 80px;
    background: #fff !important;
    padding: 15px 10px;
}

.section-providers-compare .logo-cell img {
    max-height: 40px;
    margin: 0 auto;
}

.section-providers-compare th.highlight-col , .section-providers-compare td.highlight-col {
    background-color: #E6F7F8 !important;
    border: 1px solid #08B3BE !important;
    position: relative;
    font-weight: 600;
    color: #444;
}

.section-providers-compare th.highlight-col:before, .section-providers-compare td.highlight-col:before {
  box-shadow: inset -15px 0 15px -15px rgba(38,109,160,.2);
  content: " ";
  height: 100%;
  top: 0;
  left: -15px;
  position: absolute;
  width: 15px;
}

.section-providers-compare th.highlight-col:after, .section-providers-compare td.highlight-col:after {
  box-shadow: inset 15px 0 15px -15px rgba(38,109,160,.2);
  content: " ";
  height: 100%;
  position: absolute;
  top: 0;
  right: -15px;
  width: 15px;
}

.section-providers-compare tbody tr:nth-child(odd) td.highlight-col {
    background-color: rgba(8, 180, 190, 0.1) !important;
}

.section-providers-compare .check-mark {
    color: #08B3BE;
    font-size: 2.5rem;
}

.section-providers-compare .cross-mark {
    color: #e57373;
    font-size: 2rem;
}

.section-providers-compare .check-mark, .section-providers-compare .cross-mark {
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-providers-compare .footer-note {
    margin-top: 20px;
    font-style: italic;
    color: #999;
    font-size: 0.9rem;
    text-align: left;
    margin-bottom: 0;
}

.section-providers-compare .mobile-view {
    display: none;
}

@media (max-width: 992px) {
    .section-providers-compare .desktop-table {
        display: none;
    }

    .section-providers-compare .mobile-view {
        display: block;
        width: 100%;
    }

    .section-providers-compare .logo-swiper-container {
        position: relative;
        width: 100%;
        z-index: 10;
    }

    .section-providers-compare .swiper {
        padding: 10px 0 30px 0;
        width: 100%;
        overflow: visible !important;
    }

    .section-providers-compare .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: center;
        background: white;
        border: 1px solid #ccc;
        height: 60px;
        cursor: pointer;
        transition: transform 0.3s ease, border-color 0.3s ease;
        box-sizing: border-box;
        z-index: 1;
    }

    .section-providers-compare .swiper-slide-active {
        border-color: #08B3BE;
        border-width: 2px;
        transform: scale(1.05);
        z-index: 5;
    }

    .section-providers-compare .swiper-slide-active::after {
        content: '';
        position: absolute;
        bottom: -14px;
        left: 50%;
        transform: translateX(-50%);
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 12px solid #08B3BE;
    }

    .section-providers-compare .swiper-slide img {
        max-width: 80%;
        max-height: 30px;
        pointer-events: none;
    }

    .section-providers-compare #mobile-data-display {
        width: 100%;
        border-collapse: collapse;
        background: white;
        border: 1px solid #ddd;
        table-layout: auto;
    }

    .section-providers-compare #mobile-data-display td {
        padding: 14px 12px;
        font-size: 0.8rem;
        vertical-align: middle;
    }

    .section-providers-compare #mobile-data-display td:first-child {
        width: 65%;
        color: #6E6E6E;
        text-align: left;
        font-weight: 500;
    }

    .section-providers-compare #mobile-data-display td:last-child {
        width: 35%;
        text-align: center;
        font-weight: 700;
    }

    .section-providers-compare #mobile-data-display.is-highlighted-provider tr:nth-child(odd) td.mobile-value {
        background-color: #E6F7F8 !important;
        color: #444;
    }

    .section-providers-compare #mobile-data-display.is-highlighted-provider tr:nth-child(even) td.mobile-value {
        background-color: rgba(8, 180, 190, 0.2) !important;
        color: #444;
    }

    .section-providers-compare #mobile-data-display.is-highlighted-provider tr td.mobile-label {
        background-color: #FFFFFF !important;
    }

    .section-providers-compare #mobile-data-display.is-highlighted-provider tr:nth-child(even) td.mobile-label {
        background-color: #F8F8F8 !important;
    }


    .section-providers-compare .fade-in-content {
        animation: tableFade 0.4s ease forwards;
    }

    .section-providers-compare  .section-providers-compare__head {
       padding: 6vw 0;
    }

    .section-providers-compare .section-providers-compare__head__header {
        font-size: 1.75rem;
        margin-bottom: 1rem;

    }

    .section-providers-compare .section-providers-compare__head__subheader {
        padding-bottom: 0;
        font-size: 16px;
        font-weight: 400;
        margin-top: 0;
    }

    .section-providers-compare .section-providers-compare__content .container {
        padding: 1rem;
        width: 100%;
    }

    @keyframes tableFade {
        from {
            opacity: 0;
            transform: translateY(8px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .section-providers-compare .tooltip-text {
        width: 160px;
        left: 0;
        transform: translateX(0);
        bottom: 140%;
        font-size: 11px;
        padding: 10px;
    }

    .section-providers-compare .tooltip-text::after {
        left: 10px;
        margin-left: 0;
    }

    .section-providers-compare #mobile-data-display td {
        overflow: visible !important;
        position: relative;
    }
    
    .section-providers-compare .label-wrapper {
        overflow: visible !important;
    }
}

.hide-on-mobile {
    display: none;
}

@media (min-width: 768px) {
    .hide-on-mobile {
        display: block;
    }

    .hide-on-desktop {
        display: none;
    }
}
