#refer-earn {
    background-image: url("../min-images/refer-earn-bg.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: relative;
    height: 100vh;
    margin-top: 50px;

    @media(max-width: 1440px) {
        height: 120vh;
        margin-top: 45px;
    }

}

@media (min-width: 390px) and (max-width: 844px) {
  #refer-earn {
    height: 100%;
  }
}

.discount-ref {
    display: flex;
    padding: 15px 16px 15px 10px;
    align-items: center;
    gap: 6px;
    border-radius: 100px;
    border: 1px solid var(--Primary, #0076FF);
    background: #FFF;
    width: fit-content;
    margin-bottom: 10px;
    color: #000;
    font-family: Inter;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;

    @media(max-width: 768px) {
        font-size: 13px;
        padding: 10px;
    }
}

.star-icon svg {
    width: 18px;
    height: 18px;

    @media(max-width: 768px) {
        width: auto;
        height: 100%;

    }
}

.disc-blue {
    color: #0076FF;
}

#refer-earn .banner-caption {
    padding: 0 0 0 40px;
    margin: 50px 0 0;
     @media(max-width: 768px) {
        padding: unset;
    }
}

#refer-earn p.section-subtitle {
    padding-bottom: 35px;
    color: #252525;
    font-size: 20px;
    font-weight: 400;

    @media(max-width: 768px) {
        font-size: 16px;
    }
}

/*#refer-earn .refer-earn-upper-left-section{
    margin: 90px auto 0;
}*/

.ai-features {
    padding-top: 70px;

    @media(max-width: 768px) {
        margin-top: 20%;
        padding-bottom: 70px;
    }
}

.svg-feat {
    @media(max-width: 768px) {
        height: 100%;
    }
}

.ai-feat {
    text-align: center;
}

.ai-feat-content {
    text-align: center;
    position: absolute;
    top: 70%;
    padding: 50px;
    background: white;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.int-content {
    padding-bottom: 50px;
}

.refer-earn-title {
    color: #000;
    font-family: Inter;
    font-size: 42px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;

    @media(max-width: 768px) {
        font-size: 28px;
    }
}

.refer-earn-block {
    position: relative;
    width: 100%;
    top: 15%;

    @media(max-width: 1366px) {
        top: 15%;
    }
}

.refer-earn-title span {
    color: #0076FF;
}


.kyl-logo {
    position: absolute;
    top: 35%;
    left: 50%;
    transform: translateX(-50%);

    @media(max-width: 768px) {
        width: 35%;
    }
}

.rewards {
    vertical-align: sub;
}

.refer-earn-box {
    border-radius: 6px;
    background-color: #0276ff;
    width: 520px;
    height: 368px;
    margin: 0 auto;
    padding: 30px;
}

.rewards-title {
    font-size: 30px;
    line-height: 40px;
    font-weight: 600;
}

.rewards-desc {
    font-size: 20px;
    line-height: 31px;
    font-weight: 600;
    padding: 20px 0;
}

.rewards-desc span {
    color: #000;
    background-color: #ffe200;
    border-radius: 3px;
    padding: 1px;
}

.refer-earn-box ul {
    font-size: 18px;
    line-height: 32px;
    font-weight: 600;
}

.refer-earn-box ul li {
    font-size: 16px;
    list-style-position: inside;
}

.refer-earn-box ul li::marker {
    margin: 0 !important;
}

.refer-earn-box img {
    position: absolute;
    right: 30px;
    bottom: 30px;
}

.prgm {
    padding-left: 12px;
}

.work-div img {
    width: 80px;
    height: 80px;
    border: 1px solid #fff;
    border-radius: 50%;
}

.work-div {
    width: 170px;
    height: 225px;
    border-radius: 4px;
    padding: 10px 15px;
    margin: 0 auto;
}

/* Hover state */
.work-div:hover {
    background: #0176FF;
}

/* Text inside the hovered box */
.work-div:hover .work-step,
.work-div:hover .work-desc {
    color: #fff;
}

.hidearrw:before {
    position: unset !important;
    content: unset !important;
    background-image: unset !important;
}

.work-div:before {
    background-image: url("../min-images/arrow-right-yellow.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 36px;
    height: 26px;
    left: -34%;
    top: 27%;
    position: absolute;
    content: "";
    transform: translateY(-50%);
}

.work-step {
    font-size: 14px;
    line-height: 20px;
    padding: 7px 0;
    color: #1111118a;
    font-weight: 500;
}

.work-desc {
    font-size: 16px;
    line-height: 22px;
    font-weight: 500;
}

.bene img {
    vertical-align: middle;
}

.bene {
    list-style-type: none;
    font-size: 18px;
    line-height: 26px;
    color: #222222;
    display: flex;
    align-items: center;
    justify-content: left;
}

#share-leads {
    background: transparent radial-gradient(closest-side at 74% 49%, #0070de 0%, #07388e 100%) 0% 0% no-repeat padding-box;
}

#share-leads .refer-earn-banner-img {
    padding: 40px 0 0 40px;
}

.shareleads-upper-right-section {
    padding: 35px 0 0;
}

.sharelead-title {
    font-size: 36px;
    line-height: 43px;
    font-weight: 400;
}

.refer-earn-form {

    background: #ffffff 0% 0% no-repeat padding-box;
    box-shadow: 0px 11px 12px #07164883;
    border-radius: 8px;
    width: 412px;
    margin: 0 auto;
    padding: 5px 20px;

    @media(max-width: 768px) {
        width: 100%;
    }
}

.grecaptcha-badge {
    display: none !important;
}

.crmForEdtechBanner {
    background-image: unset;
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
}

.insuranceBanner {
    background-image: url("../min-images/edtech-banner-bg.svg") !important;
    background-size: cover;
    background-position: bottom;
    background-repeat: no-repeat;
}

.hidden {
    display: block;
}

@media screen and (min-width: 768px) and (max-width: 820px) {
    .marginbottom {
        margin-bottom: 0px !important;
    }
}

.refer-sub-btn {
    display: flex;
    height: 52px;
    padding: 14px 34px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background-color: #0076FF !important;
    border: unset !important;
}

.fw-500 {
    font-weight: 500;
}

.text-center {
    text-align: center;
}


/* ------------------------------------------- */
/* =========================
   Integrations Section
   ========================= */

/* Integration Tabs */
.integrations-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 20px 0;
    gap: 10px;
}

/* .integrations-tabs .tab-button {
  background: #f0f4fa;
  border: 1px solid #d0d8e8;
  padding: 10px 18px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 15px;
} */
.integrations-tabs .tab-button.active {
    background: #0176ff;
    color: #fff;
    border-color: #0176ff;
}

/* Logos Grid */
.integrations-logos {
    margin-top: 25px;
    text-align: center;
}

.logos-container {
    display: none;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.logos-container.active {
    display: flex;
}

.logo-item img {
    max-width: 140px;
    transition: transform 0.3s;
}

.logo-item img:hover {
    transform: scale(1.05);
}

/* Accordion (Mobile) */
.integrations-accordion {
    margin-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.accordion-item {
    border-bottom: 1px solid #e2e8f0;
}

.accordion-header {
    padding: 12px 15px;
    background: #f9fbfd;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header.active {
    background: #0176ff;
    color: #fff;
}

.accordion-content {
    display: none;
    padding: 15px;
}

.accordion-content.active {
    display: block;
}

/* Responsive */
@media (min-width: 992px) {
    .integrations-accordion {
        display: none;
    }
}

@media (max-width: 991px) {

    .integrations-tabs,
    .integrations-logos {
        display: none;
    }
}

/* ------------ */
.integrations-accordion {
    display: none;
}

.integrations-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
    margin-top: 20px;
    padding: 19px 0px;
    background-color: #C8E2FF;
    border-radius: 999px;
}

.tab-button {
    background-color: white;
    color: #000000;
    padding: 10px 10px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 999px;
    /* Fully rounded */
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tab-button.active {
    background-color: #0176FF;
    color: white;
}

.integrations-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}



.homepage-banner-absolute-image {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 89%;
}

.integrations-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 65px;
    border: 1px solid #CFEAF8;
    border-radius: 20px;
    padding: 40px 110px;
    min-height: 260px;

    .logos-container {
        display: none;

        &.active {
            display: flex;
            flex-wrap: wrap;
            gap: 25px;
        }

        .logo-item {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;

            img {
                max-width: 100%;
                height: 100%;
            }

            &:nth-child(4) {
                margin-left: 55px;
            }
        }
    }

}


@media screen and (max-width: 1024px) {
    .integrations-logos {
        gap: 50px;
        padding: 30px 40px;
        min-height: 200px;
    }

    .integrations-accordion {
        display: none;
    }
}

@media screen and (max-width: 992px) {

    .integrations-logos {
        gap: 50px;
        padding: 30px 40px;
        min-height: 200px;
    }
}

@media screen and (max-width: 700px) {

    .integrations-content {
        display: none;
    }

    .integrations-accordion {
        display: block;

        .accordion-item {
            margin-bottom: 15px;
        }

        .accordion-header {
            background-color: #0076FF;
            color: white;
            padding: 8px 15px;
            font-weight: 600;
            font-size: 14px;
            cursor: pointer;
            position: relative;
            border-radius: 999px;
            display: flex;
            justify-content: space-between;
            align-items: center;

            img.accordion-icon {
                width: auto;
                height: 10px;
                transition: transform 0.3s ease;
            }

            &.active {
                img.accordion-icon {
                    transform: rotate(180deg);
                }

                &::after {
                    content: none;
                    transform: rotate(0deg);
                }
            }

            &::after {
                content: none;
                position: absolute;
                right: 20px;
                font-size: 16px;
                transition: transform 0.3s ease;
            }
        }

        .accordion-content {
            /* max-height: 0; */
            overflow: hidden;
            transition: max-height 0.4s ease;
            padding: 0 20px;

            &.active {
                padding: 10px 0px 15px;
                margin: 20px 0px;
                border-radius: 20px;
                border: 1px solid #CFEAF8;
            }

            .logo-item {
                display: flex;
                justify-content: center;
                align-items: center;
                padding: 10px 0;

                img {
                    max-width: 100%;
                    height: auto;
                }
            }
        }
    }
}

/* Mobile specific styles */
@media (max-width: 767px) {
    .integrations-tabs {
        display: none;
        /* Hide tabs on mobile */
    }

    .integrations-logos {
        display: none;
        /* Hide the desktop logos view */
    }

    .integrations-accordion {
        display: block;
        /* Show accordion on mobile */

        .accordion-header {
            font-size: 14px;
            padding: 10px 15px;
        }
    }
}