/* ── Service Category Slider ─────────────────────────────────────────────── */

.gf-cat-slider-wrap {
    padding: 0 0 40px;
}

.gf-cat-slider-inner {
    position: relative;
}

.gf-cat-swiper {
    padding: 8px 4px 8px !important;
    overflow: hidden;
}

/* Card */
.gf-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 16px;
    padding: 28px 16px 22px;
    height: 190px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.gf-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
    border-color: var(--themeht-primary-color);
    text-decoration: none;
    color: inherit;
}

/* Icon */
.gf-cat-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(var(--themeht-primary-color-rgb, 0,133,185), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--themeht-primary-color);
    margin-bottom: 14px;
    transition: background 0.25s, color 0.25s;
    flex-shrink: 0;
}

.gf-cat-card:hover .gf-cat-icon {
    background: var(--themeht-primary-color);
    color: #fff;
}

/* Name */
.gf-cat-name {
    font-size: 14px;
    font-weight: 700;
    color: #1a2332;
    line-height: 1.35;
    margin-bottom: 6px;
}

/* Count */
.gf-cat-count {
    font-size: 12px;
    color: rgba(0,0,0,0.45);
    font-weight: 500;
}

/* Navigation arrows */
.gf-cat-prev,
.gf-cat-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #333;
    font-size: 16px;
    transition: all 0.2s;
}

.gf-cat-prev { left: -6px; top: 50%; }
.gf-cat-next { right: -6px; top: 50%; }

.gf-cat-prev:hover,
.gf-cat-next:hover {
    background: var(--themeht-primary-color);
    border-color: var(--themeht-primary-color);
    color: #fff;
}

/* Pagination dots */
.gf-cat-pagination {
    text-align: center;
    margin-top: 16px;
}

.gf-cat-pagination .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    background: rgba(0,0,0,0.2);
    opacity: 1;
}

.gf-cat-pagination .swiper-pagination-bullet-active {
    background: var(--themeht-primary-color);
    width: 20px;
    border-radius: 3px;
}

/* RTL */
[dir="rtl"] .gf-cat-prev { left: auto; right: -6px; }
[dir="rtl"] .gf-cat-next { right: auto; left: -6px; }

/* ── Accreditations Grid ──────────────────────────────────────────────────── */

.gf-accred-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 6px;
}

.gf-accred-card {
    background: #f7fbfe;
    border: 1px solid rgba(0,133,185,0.1);
    border-radius: 12px;
    padding: 18px 16px 16px;
    transition: box-shadow 0.25s, transform 0.25s;
}

.gf-accred-card:hover {
    box-shadow: 0 8px 28px rgba(0,133,185,0.13);
    transform: translateY(-3px);
}

.gf-accred-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(var(--themeht-primary-color-rgb, 0,133,185), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--themeht-primary-color);
    margin-bottom: 10px;
    transition: background 0.25s, color 0.25s;
}

.gf-accred-card:hover .gf-accred-icon-box {
    background: var(--themeht-primary-color);
    color: #fff;
}


.gf-accred-title {
    font-size: 14px;
    font-weight: 700;
    color: #1a2332;
    margin: 0 0 5px;
    line-height: 1.3;
}

.gf-accred-desc {
    font-size: 12px;
    color: #7A7A7A;
    margin: 0;
    line-height: 1.55;
}

/* Logo image (replaces icon when uploaded) */
.gf-accred-logo-wrap {
    height: 56px;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.gf-accred-logo {
    max-height: 52px;
    max-width: 130px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 576px) {
    .gf-accred-wrap { grid-template-columns: 1fr; }
}
