body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #f4f4f4;
    overflow-x: hidden;
}

.gallery-container {
    padding: 20px;
    text-align: center;
}

.gallery-title {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.gallery-section {
    /* display: flex; */
    /* justify-content: center; */
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    max-width: 30%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.gallery-section h2 {
    margin-bottom: 15px;
    color: #555;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.image-grid img {
    width: 100%;
    border-radius: 5px;
    border: 1px solid rgb(0, 0, 0);
    transition: transform 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.05);
}

.view-button { 
  
    padding: 10px 20px;
    background-color: rgb(57, 163, 89);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.view-button:hover {
    background-color: rgb(57, 163, 89);
}

/* Modal Styling */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 800;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    position: fixed;
    border-radius: 8px;
    width: 70%;
    text-align: center;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    /* position: relative; */
}

.close-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 0;
}

hr {
    margin-top: 0px;
    border: 0;
    border-top: 1px solid #ddd;
    margin-bottom: 10px;
}

.modal-image {
    max-width: 50%;
    height: auto;
    margin-left: 25%;
    /* align-items: center; */
    border-radius: 5px;
}

.modal-buttons {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
}

.modal-button {
    padding: 10px 20px;
    background-color:rgb(57, 163, 89);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
}

.modal-button:hover {
    background-color: rgb(57, 163, 89);
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}