/* 
 * BIOSCIENCES KENYA - "Who We Are" Section Premium Refresh
 * Replaces generic dot with modern Trust Badge and refines section layout
 */

.about-four {
    position: relative;
    overflow: hidden;
}

/* Redesigned Image Container */
.about-four__image {
    position: relative;
    padding-bottom: 30px;
}

/* Background Circle - Soft Glassmorphism */
.about-four__image::before {
    content: '';
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(0, 173, 239, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    position: absolute;
    top: -25px;
    left: -50px;
    border-radius: 50%;
    z-index: 1;
}

/* Premium Trust Badge - Replaces Blue Dot */
.trust-badge {
    position: absolute;
    bottom: -10px;
    right: 20px;
    width: 160px;
    height: 160px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 12;
    box-shadow: 
        0 10px 30px rgba(0, 46, 93, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    animation: float-badge 3s ease-in-out infinite;
    padding: 15px;
}

.trust-badge::before {
    content: '';
    position: absolute;
    top: -2px; bottom: -2px; left: -2px; right: -2px;
    background: linear-gradient(135deg, var(--brand-sky-blue), var(--brand-green));
    border-radius: 50%;
    z-index: -1;
}

.trust-badge__years {
    font-size: 32px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, var(--brand-navy-blue), var(--brand-sky-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 2px;
}

.trust-badge__text {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-navy-blue);
    letter-spacing: 1px;
    line-height: 1.2;
}

.trust-badge__sub {
    font-size: 10px;
    color: var(--brand-green);
    font-weight: 600;
    margin-top: 4px;
}

/* Hide original blue dot from CSS */
.about-four__image::after {
    display: none !important;
}

.about-four__image__icon {
    display: none !important;
}

/* Redesigned Section Title Alignment */
.about-four .sec-title {
    text-align: left;
    margin-bottom: 35px;
}

.about-four .sec-title__tagline {
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1.5px;
    font-size: 13px;
    color: var(--brand-sky-blue);
}

.about-four .sec-title__tagline::before {
    content: '';
    width: 30px;
    height: 2px;
    background-color: var(--brand-sky-blue);
}

.about-four .sec-title__title {
    font-size: 42px;
    font-weight: 800;
    margin-top: 10px;
    color: var(--brand-navy-blue);
}

.about-four-yellow-line {
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--brand-yellow);
    margin: 15px 0 25px;
    border-radius: 2px;
}

/* Animations */
@keyframes float-badge {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .about-four {
        padding: 60px 0 !important;
    }
    .about-four__image {
        margin-bottom: 50px;
        text-align: center;
        display: flex;
        justify-content: center;
    }
    .about-four__image__one {
        width: 320px !important;
        height: 320px !important;
    }
    .trust-badge {
        width: 130px;
        height: 130px;
        bottom: -20px;
        right: 15%;
    }
    .trust-badge__years {
        font-size: 26px;
    }
}
