/* 
* Premium Modern Styles for Icon Box Widget 
*/

.lcake-icon-box-wrapper {
    display: flex;
    position: relative;
    width: 100%;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: #ffffff;
    border-radius: 24px;
    padding: 30px;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 231, 235, 0.5);
    overflow: hidden;
    gap: 20px;
}

.lcake-icon-box-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.1);
}

/* Icon Positions */
.lcake-icon-box--top {
    flex-direction: column;
}

.lcake-icon-box--left {
    flex-direction: row;
}

.lcake-icon-box--right {
    flex-direction: row-reverse;
}

/* Icon Container */
.lcake-icon-box-icon_wrapper {
    flex-shrink: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(37, 99, 235, 0.15) 100%);
    border-radius: 20px;
    transition: all 0.4s ease;
    box-sizing: border-box;
}

.lcake-icon-box-wrapper:hover .lcake-icon-box-icon_wrapper {
    background-color: #FFFFFF;
    transform: rotate(5deg) scale(1.05);
}

.lcake-icon-box-icon i {
    font-size: 32px;
    color: #3b82f6;
    transition: all 0.4s ease;
}

.lcake-icon-box-icon svg {
    width: 32px;
    height: 32px;
    fill: #3b82f6;
    transition: all 0.4s ease;
}

.lcake-icon-box-wrapper:hover .lcake-icon-box-icon i {
    color: #ffffff;
}

.lcake-icon-box-wrapper:hover .lcake-icon-box-icon svg {
    fill: #ffffff;
}

/* Content Container */
.lcake-icon-box-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Title */
.lcake-icon-box-title {
    margin: 0 0 12px 0;
    color: #111827;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
}

.lcake-icon-box-wrapper:hover .lcake-icon-box-title {
    color: #3b82f6; 
}

/* Description */
.lcake-icon-box-description {
    margin: 0;
    color: #6b7280;
    font-size: 16px;
    line-height: 1.7;
    font-weight: 400;
}

.lcake-icon-box-link {
    text-decoration: none;
    display: inline-block;
}

/* Responsive Overrides */
@media (max-width: 767px) {
    .lcake-icon-box-wrapper {
        padding: 24px;
        gap: 20px;
    }

    .lcake-icon-box--left,
    .lcake-icon-box--right {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}
