/* ------------------------------------
   What We Do Section
---------------------------------------*/
.what-we-do {
    padding: 60px 20px;
    text-align: center;
}

.what-we-do .wwd-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #192850;
}

.what-we-do .wwd-header p {
    max-width: 600px;
    margin: 0 auto 40px auto;
    color: #555;
    font-size: 1rem;
}

/* Grid */
.wwd-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Card */
.wwd-card {
    position: relative;
    display: block;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    cursor: pointer;
    text-decoration: none;
    box-shadow: rgba(0, 0, 0, 0.08) 0 4px 12px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.wwd-card:hover {
    transform: translateY(-6px);
    box-shadow: rgba(0, 0, 0, 0.15) 0 6px 18px;
}

.wwd-img img {
    width: 100%;
    height: 170px;
    object-fit: cover;
}

.wwd-card h3 {
    margin: 15px 0;
    font-size: 1.1rem;
    color: #192850;
}

/* Hover Overlay */
.wwd-hover {
    position: absolute;
    inset: 0;
    background: rgba(25, 40, 80, 0.85);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .35s ease, transform .35s ease;
    text-align: center;
}

.wwd-card:hover .wwd-hover {
    opacity: 1;
    transform: translateY(0);
}

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

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

@media(max-width: 480px) {
    .wwd-card h3 {
        font-size: 1rem;
    }
}
