/* Smooth scrolling for the whole page */
html {
    scroll-behavior: smooth;
}

/* When the page jumps to this button, leave breathing room above it
   so the banner's bottom strip stays visible at the top */
#best-services-btn {
    scroll-margin-top: 150px;
}

@media (max-width: 991px) {
    #best-services-btn {
        scroll-margin-top: 100px;
    }
}
/* Remove focus outline on the highlighted Best Services button
   when it's the scroll target (focused by anchor jump) */
.edu-action-btn:focus,
.edu-action-btn:focus-visible,
.edu-action-btn.is-active:focus,
.edu-action-btn.is-active:focus-visible {
    outline: none !important;
    box-shadow: none !important;
}
/* ============================================================
   BEST SERVICES — section heading + tile grid
   ============================================================ */
.bs-services-section {
    background: #ffffff;
    padding: 50px 0 50px;
}

/* Section eyebrow (matches the gc-intro style) */
.bs-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 16px;
}

.bs-dash {
    display: inline-block;
    width: 50px;
    height: 3px;
    background: #F05165;
    border-radius: 2px;
    flex-shrink: 0;
}

.bs-eyebrow-text {
    color: #00918A;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0;
}

.bs-heading {
    color: #1f1f1f;
    font-weight: 800;
    font-size: 30px;
    line-height: 1.3;
    margin: 0 0 50px;
    text-align: center;
}

/* ============================================================
   Tile grid — 4 columns on desktop, 2 on tablet, 1 on mobile
   ============================================================ */
.bs-tiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* Individual tile = pill button */
.bs-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 10px 10px 10px;
    background: #f8f9fa;
    border: 1.5px solid transparent;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
    min-height: 64px;
}

.bs-tile:hover {
    background: #ffffff;
    border-color: #cfe5ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(26, 77, 136, 0.12);
}

/* Round icon — color is set inline per tile via style="" */
.bs-tile-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.05rem;
}

/* Tile icon image — sized to fit inside the 44px circle */
.bs-tile-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    opacity: 1;            /* fully solid icon */
}

.bs-tile-label {
    color: #2a3a52;
    font-weight: 500;
    font-size:14px;
    line-height: 1.3;
    flex: 1;
}


/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1199px) {
    .bs-tiles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .bs-tiles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bs-heading {
        font-size: 25px;
    }
}

@media (max-width: 576px) {
    .bs-services-section {
        padding: 60px 0;
    }
    .bs-tiles-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .bs-tile {
        padding: 8px 18px 8px 8px;
    }
    .bs-tile-icon {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
    .bs-tile-img {
        width: 20px;
        height: 20px;
    }
    .bs-tile-label {
        font-size: 0.9rem;
    }
     .bs-heading {
        font-size: 20px;
    }
}
/* ============================================================
   Active tile state — shows which sub-service the user is viewing
   ============================================================ */
.bs-tile.is-active {
    background: #F05165  !important;
    border-color: #F05165  !important;
    box-shadow: 0 6px 18px rgba(11, 83, 148, 0.25) !important;
    cursor: default;
}

.bs-tile.is-active:hover {
    transform: none;
    background: #F05165  !important;
    border-color: #F05165  !important;
}

.bs-tile.is-active .bs-tile-label {
    color: #ffffff;
    font-weight: 600;
}