/* --- Global & Utility Styles --- */
*{
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    /* Using your light blue background color */
    background-color: #d5d5e9; 
}

/* This is the master wrapper that centers and limits the site width */
.site-header, .main-content-wrapper {
    max-width: 1200px;
    margin: 0 auto; /* Centers the whole layout */
}

/* --- Header Layout (Logo & Title) --- */
.header-content {
    display: flex;
    align-items: center;
    padding-top: 20px;
    border-bottom: 2px solid #353564;
}

.header-logo-area {
    /* Adjusted to align with the 15% left column */
    width: 15%
    min-width: 60px;
    padding-left: 10px;
}

.header-logo-area .logo-link img {
    height: 250px; /* Consistent logo height */
    width: 280px;
    padding-left: 10px;
    display: block;
}

.header-title-area {
    /* Adjusted to align with the 70% center column */
    width: auto;
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.site-title-image {
    height:60px;
    width: 800px;
    margin-right: 0;
    flex-shrink: 0;
    object-fit: fill;
}

.header-right-area {
    /* Adjusted to align with the 15% right column */
    width: 0%; 
}

/* --- Main Content Layout (3 Columns) --- */
.main-content-wrapper {
    display: grid;
    /* Defines the three columns: Left (15%), Center (70%), Right (15%) */
    grid-template-columns: 15% 70% 15%;
}

.left-column, .right-column {
    padding: 20px 10px;
}

.center-column {
    /* Primary content area */
    background-color: #ffffff; /* Should be white */
    
    /* CRUCIAL FIX: Ensure content has enough internal space */
    padding: 30px 40px; 
    
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* --- Navigation Buttons --- */
.button-container {
    display: flex;
    justify-content: space-evenly;
    margin: 30px 0;
    flex-wrap: nowrap;
    /* Removed width/max-width/margin-auto from here as .center-column padding handles it */
}
.button {
    padding: 12px 24px;
    font-size: 1.1em;
    font-weight: 700;
    background-color: #f2ea22;
    color: #353564;
    max-width: 30%;
    text-align: center;
    border: none;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s;
}
.button:hover{
    background-color: #E0D61D;
    box-shadow:0 6px 8px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px); /* Fixed the 'tanslateY' typo */
}

/* --- Hero Section Styles --- */
.hero-section {
    width: 100%;
    padding: 20px 0 40px;
    text-align: center;
}

.hero-section .tagline {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 2.2em;
    line-height: 1.2;
    color: #353564;
    /* Centers and contains the text lines */
    max-width: 800px; 
    margin: 10px auto; 
    padding: 0; /* Remove internal padding, let .center-column padding do the work */
}

.hero-section .tagline:nth-child(2) {
    font-size: 1.4em;
    font-weight: 400;
    margin-top: 20px;
    color: #555;
}

/* --- Footer Styles --- */
footer {
    /* Using your dark blue brand colour for a solid footer */
    background-color: #c2c2df;
    color: #ffffff;
    text-align: center;
    padding: 20px;
}
.footer-links {
    margin-top: 10px;
}
.footer-links a {
    color: #ffffff;
    text-decoration: none;
}
.footer-links a:hover {
    text-decoration: underline;
}
