/* Hero Section Container */

.neo-hero-section {
    background-color: var(--primary-color);
    color: #ffffff;
    padding-top: 80px;
    padding-bottom: 40px;
    min-height: 400px;
}

.hero-image {
    margin-bottom: -100px;
    position: relative;
    z-index: 2;
}

.features-header{
   font-family: var(--ReadexPro-Bold);
    font-size: 48px;
    letter-spacing: var(--unnamed-character-spacing-0);
    color: #62539F;
    text-align: left;
    opacity: 1;
}

.features-header-mobile{
   font-family: var(--ReadexPro-Bold);
    font-size: 32px;
    letter-spacing: var(--unnamed-character-spacing-0);
    color: #62539F;
    text-align: left;
    opacity: 1;
    background-color: #EFEDF5;
    width: 100%;
    padding: 12px 12px;
}

.card-name-mobile{
    font-family: var(--ReadexPro-Bold);
    font-size: 24px;
    letter-spacing: var(--unnamed-character-spacing-0);
    color: #62539F;
    text-align: left;
    opacity: 1;
    background-color: #FFFFFF;
    width: 100%;
}

.hero-title {
    font-family: var(--ReadexPro-Bold);
    font-size: 32px;
    letter-spacing: var(--unnamed-character-spacing-0);
    color: var(--unnamed-color-ffffff);
    text-align: left;
    opacity: 1;
}

.hero-description {
    font-family: var(--ReadexPro-Regular);
    font-size: 17px;
    color: #FFFFFFC7;
    max-width: 600px;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .neo-hero-section {
        padding-top: 60px;
        padding-bottom: 60px;
        text-align: left;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-image {
        margin-top: 2rem;
        max-width: 80%;
    }

    .cards-features-section {
        background-color: #fff;
        padding-top: 80px;
    }
}

/* --- Comparison Section General --- */
.cards-features-section {
    background-color: #fff;
    padding-top: 130px;
}

.section-title {
    color: #62539F;
    font-weight: 700;
}

/* --- Desktop Table Styling --- */
.neo-table-wrapper {
    position: relative;
}

.neo-compare-table {
    table-layout: fixed;
    width: 100%;
}

.neo-compare-table td,
.neo-compare-table th {
    word-wrap: break-word;
    white-space: normal !important;
    width: 200px !important;
}

.neo-compare-table thead th {
    background-color: transparent;
    border-bottom: none;
    padding-bottom: 20px;
    vertical-align: bottom;
}

.neo-compare-table tbody tr {
    background-color: #62539F1A;
    border-style: solid;
    border-radius: 4px;
    border-width: 5;
    border-color: #FFFFFF;

}

.neo-compare-table td {
    border: none;
    padding: 15px 10px;
    color: #62539F;
    font-weight: 600;
}

.neo-compare-table td:first-child {
    padding-left: 20px;
}

/* Scroll Arrows for Desktop */
.table-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #62539F;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.8;
    transition: 0.3s;
}

.table-scroll-btn:hover { opacity: 1; }
.table-scroll-btn.left { left: -20px; }
.table-scroll-btn.right { right: -20px; }

#desktopTableContainer {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
#desktopTableContainer::-webkit-scrollbar {
    display: none;
}

/* --- Mobile Specific Styling --- */
.mobile-tabs-container {
    overflow-x: auto;
    white-space: nowrap;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding-bottom: 10px;
}
.mobile-tabs-container::-webkit-scrollbar {
    display: none;
}

.mobile-tab-item {
    font-family: var(--ReadexPro-Bold);
    display: inline-block;
    margin-right: 20px;
    cursor: pointer;
    color: #283462;
    opacity: 43%;
    font-weight: 600;
    transition: 0.3s;
    font-size: 0.9rem;
}

.mobile-tab-item.active {
    font-family: var(--ReadexPro-Bold);
    color: #283462;
    opacity: 100%;
    font-weight: 800;
}

.mobile-card-view {
    display: none;
    background: #FFFFFF;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
}
.mobile-card-view.active {
    display: block;
    animation: fadeIn 0.5s;
}

.mobile-feature-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    border-bottom: 1px solid rgba(106, 76, 147, 0.1);
    background-color: #EFEDF5;
}
.mobile-feature-row:last-child { border-bottom: none; border-radius: 0px 0px 24px 24px;}
.mobile-feature-title { flex: 1;
    text-align: center !important;font-weight: 700; color: #62539F; font-size: 0.9rem; max-width: 45%;}
.mobile-feature-value { flex: 1;
    text-align: center !important;color: #62539F; font-size: 0.9rem; max-width: 45%;}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* --- Desktop Table Styling Fixes --- */

/* Wrapper for the Card Image and Title */
.card-header-unit {
    border: 3px solid #62539F;
    border-radius: 12px;
    overflow: hidden;
}

.card-image-wrapper {
    background-color: #f8f8f8;
}

.card-title-bar {
    background-color: #62539F;
    padding-top: 4px !important;
    padding-bottom: 4px !important;
}

.neo-compare-table thead th {
    padding: 10px 5px;
    border-bottom: none;
}

.card-header-unit img {
    border-top-left-radius: 9px;
    border-top-right-radius: 9px;
    width: 100%;
    height: 100%;
    background-color: #62539F;
}
