﻿.billy-accordion .accordion-flush .accordion-item {
    margin-bottom: 15px;
    border-radius: 16px;
    border: none;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

    .billy-accordion .accordion-flush .accordion-item .accordion-button,
    .billy-accordion .accordion-flush .accordion-item .accordion-button.collapsed {
        border-radius: 16px;
        font-size: 18px;
        padding: 24px 20px;
        padding-right: 40px;
    }

    .billy-accordion .accordion-flush .accordion-item .accordion-button {
        border-bottom-right-radius: 0px;
        border-bottom-left-radius: 0px;
    }

.billy-accordion .accordion-button:not(.collapsed) {
    border-bottom-right-radius: 0px;
    border-bottom-left-radius: 0px;
    background-color: #0F616E;
    color: #ffffff
}

.billy-accordion .accordion-button::after {
    display: none;
}

.billy-accordion .accordion-button.collapsed::before {
    content: '\F4FE';
    font-family: 'bootstrap-icons';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #1D1F1E;
}

.billy-accordion .accordion-button:not(.collapsed)::before {
    content: '\F2EA';
    font-family: 'bootstrap-icons';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    color: #ffffff;
}

.billy-accordion .accordion-button:focus {
    border-color: none;
    box-shadow: none;
}

.fs-18 {
    font-size: 18px;
}

.accordion-item:last-of-type > .accordion-header .accordion-button.collapsed {
    border-bottom-right-radius: 16px!important;
    border-bottom-left-radius: 16px!important;
}

#JoinAffiliateForm {
    height: 62rem!important;
}

.text-billy-darkPrimary {
    color: #045a67;
}

.text-billy-iceBlue {
    color: #E3F4F6;
}

section.bg-billy-iceBlue, .section.bg-billy-iceBlue {
    background-color: #E3F4F6;
}

.section.bg-billy-gray3, section.bg-billy-gray3 {
    background-color: #E5E7EB;
}

.card.card-darkPrimary {
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    border: 2px solid #72c6d0;
    overflow: hidden;
}

.card-header-darkPrimary {
    background-color: #045a67;
    padding: 20px 20px 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 230px;
}

    .card-header-darkPrimary img {
        max-height: 100%;
    }

.card-body-darkPrimary {
    color: #045A67;
    padding: 20px;
}
/* affiliate-card  */

.affiliate-card {
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background-color: #045a67;
    border-radius: 20px 20px 22px 22px;
    display: grid;
    max-width: 270px;
    height: 100%;
    margin: auto;
}

.affiliate-card-header {
    color: white;
    padding: 1rem;
    margin-bottom: 0px;
    font-weight: 500;
}

.affiliate-card-body {
    padding: 1rem;
    background-color: #b2ebf2;
    border-radius: 20px;
}
/* affiliate-step */

.affiliate-container {
    position: relative;
}

.affiliate-step {
    text-align: center;
    position: relative;
    z-index: 2;
}

.affiliate-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(50deg, #fa9101, #fba801);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 25px rgb(255 140 0 / 55%);
    transition: transform 0.3s ease;
}

.affiliate-step:hover .affiliate-icon {
    transform: translateY(-5px);
}

.affiliate-icon svg {
    width: 40px;
    height: 40px;
    stroke: white;
    stroke-width: 2;
    fill: none;
}

.affiliate-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #045A67;
    margin-bottom: 15px;
}

.affiliate-description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
}

.affiliate-arrow-container {
    position: absolute;
    top: 10%;
    left: 0;
    right: 0;
    height: 100px;
    z-index: 1;
    pointer-events: none;
}

.affiliate-curved-arrow {
    position: absolute;
    top: -30px;
}

.affiliate-arrow-1 {
    left: 21%;
    width: 24%;
}

.affiliate-arrow-2 {
    top: -10%;
    right: 22%;
    width: 24%;
}

.affiliate-arrow-path {
    stroke: #d1d5db;
    stroke-width: 1;
    stroke-dasharray: 8, 6;
    fill: none;
    animation: affiliatedash 3s linear infinite;
}

.affiliate-arrow-head {
    fill: #d1d5db;
}

@keyframes affiliatedash {
    to {
        stroke-dashoffset: -28;
    }
}

@media (max-width: 768px) {
    .affiliate-arrow-container {
        display: none;
    }

    .affiliate-step {
        margin-bottom: 40px;
    }

        .affiliate-step:last-child {
            margin-bottom: 0;
        }
}

@media (min-width: 992px) {
    .affiliate-description {
        max-width: 320px;
    }
}