/**
 * HighPass Expertise Widget Styles
 */

.hp-expertise {
    width: 100%;
}

.hp-expertise__header {
    max-width: 1200px;
    margin: 0 auto 40px;
}

.hp-expertise__title {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 14px;
    letter-spacing: 0.5px;
}

.hp-expertise__title .highlight {
    color: #0096d9;
}

.hp-expertise__title .highlight.with-underline {
    border-bottom: 3px solid #0096d9;
    padding-bottom: 2px;
}

.hp-expertise__description {
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.hp-expertise__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.hp-expertise__item {
    position: relative;
    background: #ffffff;
    padding: 32px 24px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hp-expertise__item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: #0096d9;
}

.hp-expertise__arrow {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0096d9;
    --hp-arrow-rotate: 45deg;
    transform: rotate(var(--hp-arrow-rotate));
    transition: all 0.3s ease;
}

.hp-expertise__arrow i {
    font-size: 20px;
    color: #0096d9;
    transition: color 0.3s ease;
}

.hp-expertise__arrow svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: block;
    transition: fill 0.3s ease;
}

.hp-expertise__item:hover .hp-expertise__arrow {
    transform: rotate(var(--hp-arrow-rotate)) translateX(4px) translateY(-4px);
}

.hp-expertise__icon {
    width: 80px;
    height: 80px;
    background: #1e88c7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.hp-expertise__icon i,
.hp-expertise__icon svg {
    font-size: 48px;
    color: #ffffff;
}

.hp-expertise__item:hover .hp-expertise__icon {
    transform: scale(1.05);
}

.hp-expertise__item-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.hp-expertise__item:hover .hp-expertise__item-title {
    color: #0096d9;
}

/* Responsive */
@media (max-width: 1024px) {
    .hp-expertise__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hp-expertise__title {
        font-size: 28px;
    }

    .hp-expertise__icon {
        width: 70px;
        height: 70px;
    }

    .hp-expertise__icon i,
    .hp-expertise__icon svg {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .hp-expertise__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-expertise__title {
        font-size: 24px;
    }

    .hp-expertise__description {
        font-size: 15px;
    }

    .hp-expertise__item {
        padding: 24px 16px;
    }

    .hp-expertise__icon {
        width: 64px;
        height: 64px;
        margin-bottom: 16px;
    }

    .hp-expertise__icon i,
    .hp-expertise__icon svg {
        font-size: 36px;
    }

    .hp-expertise__item-title {
        font-size: 16px;
    }

    .hp-expertise__arrow {
        width: 28px;
        height: 28px;
        top: 12px;
        right: 12px;
    }

    .hp-expertise__arrow i {
        font-size: 16px;
    }

        .hp-expertise__arrow svg {
            width: 16px;
            height: 16px;
        }
}

@media (max-width: 480px) {
    .hp-expertise__grid {
        grid-template-columns: 1fr;
    }

    .hp-expertise__title {
        font-size: 20px;
    }

    .hp-expertise__description {
        font-size: 14px;
    }

    .hp-expertise__item {
        padding: 20px 16px;
    }

    .hp-expertise__icon {
        width: 56px;
        height: 56px;
        margin-bottom: 14px;
    }

    .hp-expertise__icon i,
    .hp-expertise__icon svg {
        font-size: 32px;
    }

    .hp-expertise__item-title {
        font-size: 15px;
    }
}
