:root {
    --pepulushue: linear-gradient(to right, #062576 0%, #3158BC 40%, #062576 100%);
    --offwhite: rgb(237, 239, 244);
    --offgray: linear-gradient(135deg, #f0efef 0%, #ecf0f3 100%);
    --deepblue: #062576;
}

* 
{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Fira Sans', sans-serif;
    background: var(--offwhite);
    margin: 0;
}

.frame {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-group {
    width: 100%;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    background: var(--pepulushue);
    padding: 32px 0;
}

.title-group {
    width: 347.36px;
    height: 110px;
    display: flex;
    align-items: center;
    user-select: none;
}

.frame-group {
    display: flex;
    align-items: center;
    gap: 50px;
}

.logo-image {
    width: auto;
    height: auto;
    max-height: 110px; /* This should match the height of the title-group */
}

.logo-link {
    text-decoration: none;
}

.text-group {
    display: flex;
    flex-direction: column;
    margin-left: 20px;
    gap: 0;
    align-items: flex-start;
}

.text-object1 {
    font-size: 64px;
    font-weight: bold;
    color: white;
    text-align: left;
    line-height: 1;
    text-shadow: 4px 6px 5px rgba(0, 0, 0, 0.65);
}

.text-object2 {
    font-size: 21px;
    font-weight: bold;
    color: white;
    text-align: left;
    line-height: 1;
    text-shadow: 3px 4px 4px rgba(0, 0, 0, 0.65);
    align-self: center;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 75px 64px;
}

/* NEW BELOW */

.text-rectangle {
    width: 100%;
    max-width: 1500px;
    background: var(--offgray); /* Light gray background */
    border-radius: 5px;
    padding: 22px 27px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 64px; /* Space between text rectangle and buttons */
}

.text-paragraph {
    font-family: 'Assistant', sans-serif;
    font-size: 25px;
    color: #000000;
    line-height: 1.5;
}

/* Subheader Style */
.text-subheader {
    font-family: 'Assistant', sans-serif;
    font-size: 25px;
    font-weight: bold;
    color: #000000;
    margin-top: 16px; /* Adds space between the blank row and subheader */
    margin-bottom: 16px; /* Adds space between subheader and following content */
}

/* Text Rows */
.text-row {
    font-family: 'Assistant', sans-serif;
    font-size: 25px;
    color: #000000;
    line-height: 1.5;
}

/*
.link-row {
    margin-top: 20px;
}
*/

.link-external {
    font-family: 'Assistant', sans-serif;
    color: var(--deepblue);
    font-weight: bold;
    font-size: 25px;
    line-height: 1.5;
    text-decoration: none;
}

/* Buttons Group */
.buttons-group {
    max-width: 1500px; /* Set to same as width of text box */
    display: flex;
    flex-direction: row;
    gap: 20px; /* Space between buttons */
    user-select: none;
}

/* Button Styles */
.button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 175px; /* Fixed height for buttons */
    width: calc((100% / 4) - 15px); /* Four buttons in a row with gap adjustment */
    background: white;
    border-radius: 5px;
    border: 1.5px solid #343434;
    overflow: hidden;
    text-decoration: none; /* Remove underline from links */
    box-sizing: border-box;
}

.button-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
}