/* AB Detailing Industries Widget Styles */

.abi-section {
    padding: 90px 20px;
    background-color: #ffffff;
}

.abi-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Header */
.abi-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.abi-title {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    position: relative;
    display: inline-block;
}

.abi-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background-color: #2563EB;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.abi-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: #2563EB;
    margin: 25px 0 15px 0;
    line-height: 1.4;
}

.abi-desc {
    font-size: 16px;
    color: #64748b;
    line-height: 1.7;
}

/* Grid */
.abi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 20px;
}

/* Card */
.abi-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 24px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.abi-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #2563EB;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.abi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    border-color: #cbd5e1;
}

.abi-card:hover::before {
    transform: scaleY(1);
}

/* Icon */
.abi-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 8px;
    background-color: rgba(37, 99, 235, 0.1);
    color: #2563EB;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.abi-card:hover .abi-card-icon {
    background-color: #2563EB;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

/* Text */
.abi-card-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .abi-section { padding: 60px 15px; }
    .abi-title { font-size: 30px; }
    .abi-subtitle { font-size: 18px; }
    .abi-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
