/* Portfolio Section */


.portfolio-section {
    padding: 40px 200px;
    background-color: #ffffff;
    border-radius: 8px;
}

.portfolio-title {
    margin: 0px;
    color: #333;
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;

}

/* Grid Layout */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Three columns */
    gap: 20px; /* Space between images */
    justify-items: center;
    padding: 40px 10px;
}

/* Image Container */
.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 350px; /* Larger width for container */
    height: 250px; /* Larger height for container */
    background-color: #ddd; /* Fallback background */
}

/* Image Styling */
.portfolio-item img {
    width: 100%; /* Fills the container width */
    height: 100%; /* Fills the container height */
    object-fit: cover; /* Ensures the image fully covers the container */
    border-radius: 8px; /* Rounded edges */
    transition: transform 0.3s ease; /* Smooth zoom effect */
}

.portfolio-item:hover img {
    transform: scale(1.1); /* Slight zoom effect on hover */
}


.portfolio-item:hover .portfolio-image {
    transform: scale(1.1);
}
    
/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}
    
.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    display: block;
}