.hbc-certs {
    position: relative;
    width: 100%;
    aspect-ratio: 1920 / 860;
    overflow: hidden;
    background-color: #1a2230;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.hbc-certs::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.25) 70%, rgba(0,0,0,0.45) 100%);
    pointer-events: none;
}

.hbc-certs-inner {
    position: relative;
    z-index: 2;
    width: 1440px;
    max-width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 80px 50px 60px;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.hbc-certs-title {
    text-align: center;
    font-size: 52px;
    font-weight: 500;
    line-height: 1.3;
    color: #fff;
    margin-bottom: 20px;
}

.hbc-certs-desc {
    text-align: center;
    max-width: 1000px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.44;
    color: rgba(255,255,255,0.9);
}

.hbc-certs-carousel {
    margin-top: 40px;
    position: relative;
    width: 100%;
}

.hbc-certs-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 8px 0;
    scroll-snap-type: x mandatory;
}

.hbc-certs-track::-webkit-scrollbar {
    display: none;
}

.hbc-cert-card {
    flex: 0 0 auto;
    width: 390px;
    height: 246px;
    border-radius: 24px;
    background: rgba(255,255,255,0.28);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    scroll-snap-align: start;
    transition: transform 0.3s;
}

.hbc-cert-card:hover {
    transform: translateY(-4px);
}

.hbc-cert-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 20px 30px;
}

.hbc-certs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.15);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.25s;
    z-index: 3;
}

.hbc-certs-arrow:hover {
    background: #ff7900;
    border-color: #ff7900;
}

.hbc-certs-arrow.prev { left: 10px; }
.hbc-certs-arrow.next { right: 10px; }
.hbc-certs-arrow svg { width: 20px; height: 20px; }

@media (max-width: 900px) {
    .hbc-certs { aspect-ratio: auto; height: auto; background-attachment: scroll; }
    .hbc-certs-inner { padding: 40px 15px 30px; }
    .hbc-certs-title { font-size: 24px; font-weight: 600; margin-bottom: 12px; }
    .hbc-certs-desc { font-size: 13px; line-height: 1.55; margin-bottom: 28px; }
    .hbc-certs-carousel { margin-top: 0; }
    .hbc-cert-card {
        width: 260px;
        height: 160px;
        border-radius: 16px;
    }
    .hbc-cert-card img { padding: 12px 18px; }
    .hbc-certs-arrow { width: 32px; height: 32px; }
    .hbc-certs-arrow svg { width: 14px; height: 14px; }
}
