/* === ICON CAROUSEL === */
.icon-carousel-section {
    max-width: 1100px;
    margin: 0 auto 40px auto;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 0 20px;
    /* Add padding to prevent touching edges on smaller screens */
    box-sizing: border-box;
}

.carousel-viewport {
    flex-grow: 1;
    overflow-x: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE */
    scroll-behavior: smooth;
    padding: 5px 2px;
    /* space for shadows */
}

.carousel-viewport::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    gap: 15px;
    width: max-content;
    /* Allow track to grow */
}

.icon-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 170px;
    transition: all 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.icon-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
    border-color: #0043a9;
}

.icon-circle {
    width: 40px;
    height: 40px;
    background-color: #dbeaff;
    /* Light blue */
    color: #0043a9;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
}

.card-text {
    color: #2c2a29;
    font-weight: 700;
    font-size: 12px;
    line-height: 1.3;
}

/* Nav Buttons */
.carousel-nav {
    width: 40px;
    height: 40px;
    border: 2px solid #0043a9;
    border-radius: 12px;
    background: #fff;
    color: #0043a9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
    font-size: 16px;
}

.carousel-nav:hover {
    background-color: #0043a9;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .icon-carousel-section {
        margin: 0 10px 20px 10px;
    }

    .carousel-nav {
        display: none;
        /* Hide arrows on mobile, rely on touch scroll */
    }

    .icon-card {
        min-width: 160px;
    }
}