/* bollards-premium.css - Innovative Security Design Layer */

/* 1. Innovative Grid & Alignment */
.security-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
    justify-content: center;
}

.security-card-wrapper {
    flex: 0 1 calc(33.333% - 20px);
    margin-bottom: 20px;
}

/* 2. Innovative Security Card Design */
.security-card {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: relative;
}

/* Card Accent - Steel/Security Blue */
.security-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #002147;
    transition: width 0.3s ease;
}

.security-card:hover::before {
    width: 6px;
    background: #28a745; /* Brand Green on hover */
}

/* 3. Image Container */
.security-img-container {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

.security-img-container img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.security-card:hover .security-img-container img {
    transform: scale(1.08);
}

/* 4. Content Alignment */
.security-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.security-content h4 {
    color: #002147;
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.security-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0;
}

/* 5. Innovative Hover State */
.security-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 33, 71, 0.1);
    border-color: #28a745;
}

/* 6. Responsive Rules (Innovative & Fluid) */
@media (max-width: 991px) {
    .security-card-wrapper {
        flex: 0 1 calc(50% - 15px);
    }
}

@media (max-width: 767px) {
    .security-card-wrapper {
        flex: 0 1 100%;
    }
    
    .security-content {
        padding: 20px;
        text-align: center;
    }
    
    .security-img-container {
        height: 200px;
    }
}

/* Entrance Animation Enhancement */
.security-card-wrapper.wow {
    visibility: hidden;
}
