 
/* =========================================================
   SSN — AFFILIATION & RECOGNITION
   Premium Responsive UI
========================================================= */

.ssn-affiliation {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding: 105px 0 110px;
    background:
        radial-gradient(circle at 8% 20%, rgba(242,139,0,.10), transparent 28%),
        radial-gradient(circle at 92% 80%, rgba(255,193,7,.10), transparent 30%),
        #fffaf0;
}


/* =========================================================
   BACKGROUND DECORATION
========================================================= */

.ssn-aff-bg {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.ssn-aff-bg-one {
    width: 420px;
    height: 420px;
    left: -240px;
    top: 120px;
    background: rgba(242,139,0,.07);
}

.ssn-aff-bg-two {
    width: 350px;
    height: 350px;
    right: -180px;
    bottom: 50px;
    background: rgba(255,193,7,.08);
}


/* =========================================================
   CONTAINER
========================================================= */

.ssn-aff-container {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HEADING
========================================================= */

.ssn-aff-heading {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.ssn-aff-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 17px;
    margin-bottom: 17px;

    border: 1px solid rgba(242,139,0,.18);
    border-radius: 50px;

    background: rgba(255,255,255,.72);

    color: #d97700;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    box-shadow: 0 8px 25px rgba(92,58,20,.06);
}

.ssn-aff-eyebrow i {
    color: #f28b00;
    font-size: 14px;
}

.ssn-aff-heading h2 {
    margin: 0;

    color: #18191b;

    font-size: clamp(36px, 4vw, 54px);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1.8px;
}

.ssn-aff-heading h2 span {
    color: #f28b00;
}

.ssn-aff-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin: 19px 0 18px;
}

.ssn-aff-line span {
    width: 48px;
    height: 2px;
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        transparent,
        #f28b00
    );
}

.ssn-aff-line span:last-child {
    background: linear-gradient(
        90deg,
        #f28b00,
        transparent
    );
}

.ssn-aff-line i {
    width: 27px;
    height: 27px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f28b00;
    color: #fff;

    font-size: 10px;

    box-shadow: 0 6px 16px rgba(242,139,0,.28);
}

.ssn-aff-heading p {
    max-width: 680px;
    margin: auto;

    color: #66686b;
    font-size: 15px;
    line-height: 1.85;
}


/* =========================================================
   CARD GRID
========================================================= */

.ssn-aff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}


/* =========================================================
   CARD
========================================================= */

.ssn-aff-card {
    position: relative;
    overflow: hidden;

    min-height: 470px;

    padding: 25px 25px 0;

    border: 1px solid rgba(230,210,175,.65);
    border-radius: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.98),
            rgba(255,251,243,.95)
        );

    box-shadow:
        0 15px 45px rgba(80,55,20,.08),
        0 3px 10px rgba(80,55,20,.04);

    transition:
        transform .45s cubic-bezier(.2,.8,.2,1),
        box-shadow .45s ease,
        border-color .45s ease;
}

.ssn-aff-card::before {
    content: "";
    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 4px;

    background: linear-gradient(
        90deg,
        #f28b00,
        #ffc84a,
        #f28b00
    );
}

.ssn-aff-card::after {
    content: "";

    position: absolute;

    width: 170px;
    height: 170px;

    right: -90px;
    top: -90px;

    border-radius: 50%;

    background: rgba(242,139,0,.055);

    transition: transform .5s ease;
}

.ssn-aff-card:hover {
    transform: translateY(-10px);

    border-color: rgba(242,139,0,.28);

    box-shadow:
        0 28px 60px rgba(80,55,20,.13),
        0 8px 20px rgba(242,139,0,.08);
}

.ssn-aff-card:hover::after {
    transform: scale(1.5);
}


/* =========================================================
   CARD TOP
========================================================= */

.ssn-aff-card-top {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 15px;
}

.ssn-aff-number {
    color: #d8d1c6;

    font-size: 13px;
    font-weight: 900;
    letter-spacing: 1px;
}

.ssn-aff-badge {
    padding: 6px 11px;

    border-radius: 30px;

    background: #fff2dc;
    color: #b96800;

    font-size: 10px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
}


/* =========================================================
   LOGO
========================================================= */

.ssn-aff-logo-wrap {
    position: relative;
    z-index: 2;

    width: 155px;
    height: 155px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 5px auto 23px;

    border-radius: 50%;

    background: #fff;

    border: 8px solid #fff;

    box-shadow:
        0 12px 30px rgba(40,30,15,.10),
        0 0 0 1px rgba(242,139,0,.08);

    transition:
        transform .5s ease,
        box-shadow .5s ease;
}

.ssn-aff-logo-wrap::before {
    content: "";

    position: absolute;

    inset: -6px;

    border-radius: 50%;

    border: 1px dashed rgba(242,139,0,.30);

    animation: ssnAffRotate 20s linear infinite;
}

.ssn-aff-card:hover .ssn-aff-logo-wrap {
    transform: translateY(-5px) scale(1.04);

    box-shadow:
        0 18px 40px rgba(40,30,15,.13),
        0 0 0 1px rgba(242,139,0,.18);
}

.ssn-aff-logo-wrap img {
    width: 125px;
    height: 125px;

    object-fit: contain;

    border-radius: 50%;

    display: block;
}


/* =========================================================
   CARD CONTENT
========================================================= */

.ssn-aff-content {
    position: relative;
    z-index: 2;

    text-align: center;
}

.ssn-aff-content h3 {
    margin: 0;

    color: #202124;

    font-size: 20px;
    line-height: 1.3;
    font-weight: 800;
}

.ssn-aff-content h3 small {
    display: block;

    margin-top: 2px;

    color: #202124;

    font-size: 18px;
    font-weight: 800;
}

.ssn-aff-mini-line {
    width: 38px;
    height: 3px;

    margin: 13px auto 13px;

    border-radius: 10px;

    background: linear-gradient(
        90deg,
        #f28b00,
        #ffc84a
    );
}

.ssn-aff-content p {
    margin: 0 auto;

    max-width: 280px;

    color: #727272;

    font-size: 13px;
    line-height: 1.75;
}


/* =========================================================
   CARD FOOTER
========================================================= */

.ssn-aff-card-footer {
    position: absolute;

    left: 25px;
    right: 25px;
    bottom: 0;

    min-height: 58px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid #eee5d8;
}

.ssn-aff-card-footer span {
    display: flex;
    align-items: center;
    gap: 7px;

    color: #9a6900;

    font-size: 11px;
    font-weight: 800;
}

.ssn-aff-card-footer span i {
    color: #f28b00;
}

.ssn-aff-card-footer > i {
    color: #f28b00;

    font-size: 13px;

    transition: transform .3s ease;
}

.ssn-aff-card:hover .ssn-aff-card-footer > i {
    transform: translateX(5px);
}


/* =========================================================
   TRUST STRIP
========================================================= */

.ssn-aff-trust {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;

    margin-top: 55px;

    padding: 22px 25px;

    border: 1px solid rgba(230,210,175,.65);
    border-radius: 20px;

    background: rgba(255,255,255,.76);

    box-shadow:
        0 15px 40px rgba(80,55,20,.06);

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.ssn-aff-trust-item {
    display: flex;
    align-items: center;
    gap: 13px;

    min-width: 0;
}

.ssn-aff-trust-icon {
    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 13px;

    background: #fff2dc;

    color: #f28b00;

    font-size: 17px;
}

.ssn-aff-trust-item strong {
    display: block;

    color: #242528;

    font-size: 12px;
    font-weight: 800;
}

.ssn-aff-trust-item span {
    display: block;

    margin-top: 3px;

    color: #858585;

    font-size: 10px;
}

.ssn-aff-divider {
    width: 1px;
    height: 42px;

    margin: 0 22px;

    background: #e8dfd1;
}


/* =========================================================
   ANIMATION
========================================================= */

@keyframes ssnAffRotate {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .ssn-affiliation {
        padding: 80px 0 85px;
    }

    .ssn-aff-container {
        width: min(94%, 760px);
    }

    .ssn-aff-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ssn-aff-card:last-child {
        grid-column: 1 / -1;
        max-width: 370px;
        width: 100%;
        margin: 0 auto;
    }

    .ssn-aff-trust {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

    .ssn-aff-divider {
        display: none;
    }

    .ssn-aff-trust-item {
        padding: 5px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .ssn-affiliation {
        padding: 65px 0 70px;
    }

    .ssn-aff-container {
        width: calc(100% - 28px);
    }

    .ssn-aff-heading {
        margin-bottom: 38px;
    }

    .ssn-aff-heading h2 {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .ssn-aff-heading p {
        font-size: 13px;
        line-height: 1.75;
    }

    .ssn-aff-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .ssn-aff-card {
        min-height: 455px;
        padding-left: 21px;
        padding-right: 21px;
    }

    .ssn-aff-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .ssn-aff-logo-wrap {
        width: 140px;
        height: 140px;
        margin-bottom: 20px;
    }

    .ssn-aff-logo-wrap img {
        width: 112px;
        height: 112px;
    }

    .ssn-aff-content h3 {
        font-size: 19px;
    }

    .ssn-aff-content h3 small {
        font-size: 17px;
    }

    .ssn-aff-trust {
        grid-template-columns: 1fr;
        gap: 17px;

        margin-top: 35px;

        padding: 20px;
    }

    .ssn-aff-trust-item {
        width: 100%;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

    .ssn-affiliation {
        padding: 55px 0 60px;
    }

    .ssn-aff-heading h2 {
        font-size: 30px;
    }

    .ssn-aff-eyebrow {
        font-size: 10px;
        padding: 8px 13px;
        letter-spacing: 1px;
    }

    .ssn-aff-card {
        min-height: 440px;
        border-radius: 21px;
    }

    .ssn-aff-card-top {
        margin-bottom: 10px;
    }

    .ssn-aff-logo-wrap {
        width: 128px;
        height: 128px;
    }

    .ssn-aff-logo-wrap img {
        width: 103px;
        height: 103px;
    }

    .ssn-aff-content h3 {
        font-size: 18px;
    }

    .ssn-aff-content h3 small {
        font-size: 16px;
    }

    .ssn-aff-content p {
        font-size: 12px;
    }

    .ssn-aff-trust-icon {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
    }

}

 