body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}


/* Styles for the Who Are We page */
.who-are-we {
    text-align: center;
    padding: 5% 5%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-title {
    font-family: 'Grand Hotel', cursive;
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 100;
    margin-bottom: 2rem;
    margin-top: 80px; /* Add margin to prevent overlap with header */
}

.paragraphs {
    text-align: justify;
    margin-bottom: 2rem;
}

.paragraphs p {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.image-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2%;
    width: 100%;
}

.image-row img {
    width: calc((100% - 4%) / 3); /* Distribute width evenly among 3 images with gaps */
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-row img:hover {
    transform: scale(1.05);
}

/* Media Query for tablets */
@media screen and (max-width: 1024px) {
    .who-are-we {
        padding: 5% 5%;
    }
}

/* Media Query for smaller screens (e.g., phones) */
@media screen and (max-width: 768px) {
    .who-are-we {
        padding: 5% 3%;
    }

    .page-title {
        margin-top: 100px; /* Increase top margin for smaller screens */
    }

    .image-row {
        gap: 1%;
    }

    .image-row img {
        width: calc((100% - 2%) / 3); /* Adjust for smaller gap on mobile */
    }
}

/* Image overlay styles (unchanged) */
.image-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 101;
    overflow: hidden;
    align-items: center;
    justify-content: center;
}

.image-overlay img {
    display: flex;
    max-width: 90%;
    max-height: 90%;
    align-items: center;
    justify-content: center;
    margin: 5% auto;
}

.close-button {
    position: absolute;
    top: 15px;
    right: 25px;
    font-size: 50px;
    color: white;
    cursor: pointer;
}
.image-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start; /* Changed from center to allow space for captions */
    gap: 2%;
    width: 100%;
}

.image-container {
    width: calc((100% - 4%) / 3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.image-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.image-caption {
    font-family: 'Grand Hotel', cursive;
    color: #000000;
    font-size: clamp(2rem, 3vw, 2.5rem);
    margin-top: 1rem;
    text-align: center;
}

/* Update your media queries */
@media screen and (max-width: 768px) {
    .image-row {
        gap: 1%;
    }

    .image-container {
        width: calc((100% - 2%) / 3);
    }

    .image-caption {
        font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    }
}
