/* Basic gallery styling remains the same */
.gallery-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    padding: 20px;
}

.gallery-item img {
    /* width: 200px;  Adjust as needed */
    height: 225px; /* Adjust as needed */
    object-fit: cover;
    cursor: pointer;
    border: 2px solid #ddd;
    border-radius: 5px;
    transition: transform 0.2s ease-in-out;
}

.gallery-item img:hover {
    transform: scale(1.05);
}

/* Lightbox styling */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-in-out;
}

#lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    border: 5px solid #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
}

/* New CSS for the close button */
.lightbox-close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease-in-out;
    line-height: 1; /* Ensures the '×' symbol is centered vertically */
    text-shadow: 0 0 5px rgba(0,0,0,0.5); /* Adds a subtle shadow for visibility */
    z-index: 1001; /* Makes sure the button is on top of the lightbox content */
}

.lightbox-close-btn:hover {
    opacity: 1;
}


/* In your style.css */
.gradient-section-green {
    background-image: linear-gradient(to right, #4CAF50, #8BC34A); /* Green gradient */
    color: white;
    padding: 50px;
    text-align: center;
}

.gradient-section-blue {
    background-image: linear-gradient(to right, skyblue, navy); /* Green gradient */
    color: white;
    padding: 50px;
    text-align: center;
}

.gradient-section-orange {
    background-image: linear-gradient(to right, #3AB304, #F08407); /* Green gradient */
    color: black;
    padding: 50px;
    text-align: center;
}

.gradient-section-gray {
    background-image: linear-gradient(to right, #ccc, #111); /* Green gradient */
    color: white;
    padding: 50px;
    text-align: center;
}

/* In your style.css */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 3.6s ease-out, transform 3.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}