:root {
    --primary-black: #000000;
    --primary-red: #8B0000;
    --light-gray: #f8f8f8;
    --white: #ffffff;
}

body {
    font-family: 'Gill Sans Bold', Gill Sans;
    margin: 0;
    padding: 0;
    line-height: 1.8;
    color: var(--primary-black);
    font-weight: 300;
    letter-spacing: 0.2px;
    background-color: var(--white);
}

.header {
    background-color: var(--white);
    text-align: center;
    padding: 2rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.logo {
    max-width: 210px;
    height: auto;
    margin: 0 auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section {
    margin-bottom: 1rem;
}

h1, h2, h3 {
    font-family: 'Gill Sans Bold', 'Gill Sans', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
}

h2, h4 {
    font-size: 2rem;
}

hr.spacer {
    border: none;
    border-top: 1px solid #ccc; /* 1px solid, but fainter */
    transform: scaleY(0.5); /* Scales it down vertically */
}

.mission-box {
    padding: 1rem;
    border-radius: 15px;
    margin: 1rem;
    background: var(--primary-red);
    color: var(--white);
}

.vision-box {
    padding: 1rem;
    border-radius: 15px;
    margin: 1rem;
    background: var(--white);
}

.core-box {
    padding: 1rem;
    border-radius: 15px;
    margin: 1rem;
    background: var(--white);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.value-card {
    background-color: var(--white);
    padding: 5px;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    display: flex;
    align-items: flex-start; /* Align items to the top */
    justify-content: space-between;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card h3 {
    color: var(--primary-red);
    margin-bottom: 0;
    font-size: 1rem;
    flex: 1;
}

.value-card p {
    flex: 2;
    margin-left: 1rem;
    align-self: flex-start; /* Align the <p> tag to the top */
}

.contact-section {
    background-color: var(--light-gray);
    padding: 4rem 0;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 3rem;
}

.form-group {
    margin-bottom: 2rem;
    display: flex;
    flex-wrap: wrap;
}

.form-group-half {
    flex: 1;
    min-width: 45%;
    margin-right: 2%;
}

label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 1px;
}
label span {
    color:var(--primary-red);
}

input, textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 2px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}


input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.g-recaptcha {
    margin-bottom: 2rem;
}

button {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-family: 'Gill Sans Bold', 'Gill Sans', sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
    display: block;
    margin: 0 auto;
    width: 100%;
}

button:hover {
    background-color: #660000;
}

@media (max-width: 768px) {
    .container {
        padding: 20px 0;
    }

    .section {
        margin-bottom: 3rem;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .value-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .value-card p {
        margin-left: 0;
        margin-top: 1rem;
    }

    .form-group {
        flex-direction: column;
    }

    .form-group-half {
        min-width: 100%;
        margin-right: 0;
        margin-left: 0;
    }

    .form-group-half + .form-group-half {
        margin-left: 0;
        margin-top: 1rem;
    }
    h1, h2, h3, h4 {
        font-size: 1.5rem;
    }

    input, textarea {
        transform: scale(0.90); /* Scale down */
        transform-origin: 0 0; /* Adjust origin to top-left */
    }

    .g-recaptcha {
        transform: scale(0.88); /* Scale down reCaptcha */
        transform-origin: 0 0; /* Adjust origin to top-left */
    }
}