.portfolio-hero {
    width: 100%;
    padding: 120px 20px 80px;
    text-align: center;
    background: linear-gradient(#002f57, #004a80);
    color: white;
    margin-top: 138px;
}

.portfolio-hero h1 {
    font-size: 42px;
    font-weight: 700;
}

.portfolio-hero p {
    font-size: 18px;
    margin-top: 10px;
    opacity: 0.9;
}


.portfolio-section {
    padding: 70px 20px;
    background: #f5f7fb;
}

.portfolio-container {
    max-width: 1200px;
    margin: auto;

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.portfolio-item {
    overflow: hidden;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.08);
    transition: 0.3s ease;
    width: 100%;
    height: 200px;
}

.portfolio-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: 0.35s ease-in-out;
}

.portfolio-item:hover {
    transform: translateY(-6px);
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

@media (max-width: 600px) {
    .portfolio-hero h1 {
        font-size: 32px;
    }

    .portfolio-item img {
        height: 200px;
    }
}

.whatsapp-container {
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 9999;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 10px;
    }

    .whatsapp-button {
        width: 65px;
        height: 65px;
        border: none;
        border-radius: 50%;
        background: #25D366;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.2s ease;
    }

    .whatsapp-button:hover {
        transform: scale(1.08);
    }

    .whatsapp-button img {
        width: 34px;
        height: 34px;
    }

    .whatsapp-box {
        display: none;
        width: 280px;
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 8px 25px rgba(0,0,0,0.18);
        padding: 15px;
        animation: fadeUp 0.25s ease;
    }

    .whatsapp-box h4 {
        margin: 0 0 12px;
        font-size: 16px;
        color: #222;
    }

    .whatsapp-box a {
        display: block;
        text-decoration: none;
        background: #25D366;
        color: #fff;
        padding: 10px 12px;
        border-radius: 10px;
        margin-bottom: 10px;
        font-size: 14px;
        font-weight: 600;
        transition: background 0.2s ease;
    }

    .whatsapp-box a:hover {
        background: #1ebe5d;
    }

    .whatsapp-box a:last-child {
        margin-bottom: 0;
    }

    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }