/* Existing global styles (from your earlier code) */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
}

body {
    font-family: 'CharterC Regular', sans-serif;
    background-color: transparent;
    color: #333;
    line-height: 1.6;
    background-image: url('../images/backForSite1024.jpg');
    background-repeat: repeat;
    background-position: center center;
    background-attachment: fixed;
    min-height: 100vh;
}

.main-page-content {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 20px;
    padding-bottom: 20px;
    box-sizing: border-box;
    z-index: 1;
}

/* Image Container Styles */
.image-container {
    position: relative;
    width: 60%; /* Responsive width */
    max-width: 1200px; /* Limit maximum width */
    left: -10%;
    margin: 0 auto; /* Center the container */
}

.base-image {
    width: 100%; /* Full width of container */
    height: auto; /* Maintain aspect ratio */
    display: block;
}

.overlay-image {
    position: absolute;
    width: 50%; /* Relative size */
    height: auto;
    top: 50%; /* Adjusted for responsiveness */
    left: 50%; /* Adjusted for responsiveness */
    transform: translate(-40%, -90%);
    z-index: 1;
}

/* Radial Container */
.radial-container {
    position: relative;
    width: 80%; /* Responsive width */
    max-width: 800px; /* Limit maximum width */
    height: auto; /* Adjusts based on content */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

/* Button Group */
.button-group {
    display: flex;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

/* Button Styles (from your earlier code, adjusted) */
.image-button {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 200px;
    height: 80px;
    text-decoration: none;
    border: none;
    justify-content: center;
    align-items: center;
    background-size: cover;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0);
    border-radius: 10px;
}

.image-button.button-1 { background-image: url('../images/button1.png'); }
.image-button.button-2 { background-image: url('../images/button2.png'); }
.image-button.button-3 { background-image: url('../images/button3.png'); }
.image-button.button-4 { background-image: url('../images/button4.png'); }
.image-button.button-5 { background-image: url('../images/button5.png'); }

.button-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
    z-index: 20;
}

.image-button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Organization Name */
.organization-name {
    font-size: 1.8em;
    font-weight: bold;
    color: #151B8D;
    text-align: center;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.15);
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Media Queries */
@media (max-width: 992px) {
    .image-container {
        width: 40%;
    }
    .overlay-image {
        width: 70%;
        top: 50%;
        left: 50%;
    }
    .radial-container {
        width: 90%;
    }
    .image-button {
        width: 200px;
        height: 70px;
    }
    .organization-name {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .image-container {
        width: 95%;
    }
    .overlay-image {
        width: 70%;
        top: 50%;
        left: 50%;
    }
    .radial-container {
        width: 95%;
    }
    .image-button {
        width: 200px;
        height: 70px;
    }
    .button-group {
        flex-direction: column;
        align-items: center;
    }
    .organization-name {
        font-size: 1.2em;
    }
}

@media (max-width: 480px) {
    .image-container {
        width: 80%;
    }
    .overlay-image {
        width: 70%;
        top: 50%;
        left: 50%;
    }
    .radial-container {
        width: 100%;
    }
    .image-button {
        width: 200px;
        height: 70px;
    }
    .organization-name {
        font-size: 1em;
    }
}