.capsule-grid-container-7da9627d {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.capsule-row-7da9627d {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 1200px;
    width: 100%;
}

.capsule-item-7da9627d {
    display: flex;
    align-items: center;
    gap: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 12px 35px 12px 15px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3),
                inset 0 4px 10px rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.capsule-item-7da9627d::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.capsule-item-7da9627d:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.4),
                inset 0 4px 15px rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.capsule-icon-wrapper-7da9627d {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.capsule-icon-7da9627d {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.capsule-icon-7da9627d svg,
.capsule-icon-7da9627d i {
    width: 22px;
    height: 22px;
    color: #ffffff;
    fill: #ffffff;
}

.capsule-text-7da9627d {
    font-family: 'Montserrat', 'Helvetica Neue', sans-serif;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Row-specific layout strategy for 3 top, 2 bottom on Desktop */
@media (min-width: 1025px) {
    .capsule-item-7da9627d {
        flex: 0 1 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
        box-sizing: border-box;
    }
    
    /* Center the last two elements below */
    .capsule-item-7da9627d:nth-child(4),
    .capsule-item-7da9627d:nth-child(5) {
        flex: 0 1 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }
}

/* Tablet Layout */
@media (max-width: 1024px) and (min-width: 768px) {
    .capsule-item-7da9627d {
        flex: 0 1 calc(50% - 20px);
        max-width: calc(50% - 20px);
        box-sizing: border-box;
    }
}

/* Mobile Layout */
@media (max-width: 767px) {
    .capsule-row-7da9627d {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .capsule-item-7da9627d {
        width: 100%;
        max-width: 320px;
        box-sizing: border-box;
        justify-content: flex-start;
    }
    .capsule-text-7da9627d {
        white-space: normal;
        font-size: 14px;
    }
}
