body.index {
    background-image: url("workflow.png");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    font-family: verdana, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header {
    background-color: #D98880;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    /* Added margin-bottom to create space under the header */
    margin-bottom: 20px;
}

.header-testimonial-left,
.header-testimonial-right {
    flex: 1;
    color: white;
    font-size: 0.9em;
    line-height: 1.4;
    text-align: center;
    padding: 10px;
    opacity: 0.8;
    max-width: 250px;
}

.header-testimonial-right {
    /* Specific styles for right testimonial if needed, e.g., text-align: right; */
}


.header-testimonial-left p,
.header-testimonial-right p {
    margin: 0 0 5px 0;
    font-style: italic;
}

.header-testimonial-left span,
.header-testimonial-right span {
    font-size: 0.8em;
    opacity: 0.9;
}


.header-center-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    padding: 10px 0;
}

#header-logo {
    max-width: 235px;
    height: auto;
    margin-bottom: 15px;
}

#header-logo img {
    max-width: 100%;
    height: auto;
    display: block;
}

nav {
    margin-bottom: 15px;
}

.header-tagline {
    color: white;
    font-family: verdana, sans-serif;
    font-size: 1.1em;
    margin: 0;
    text-align: center;
    padding: 0 20px;
    max-width: 80%;
}

.main-content-area {
    padding-top: 0;
    margin-top: 0 !important;
    /* min-height is still removed as it caused previous issues */
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 50px;
}


.content-block {
    width: 90%;
    max-width: 800px;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    text-align: center;
}

h1 {
    color: #D98880;
    font-family: verdana, sans-serif;
    font-style: italic;
    font-size: 2.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

span.tan {
    color: #D98880;
    font-size: 1.4em;
    display: block;
    margin-bottom: 30px;
}

a.login-button {
    display: inline-block;
    background-color: white;
    color: #D98880;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid white;
    margin-top: 0;
}

a.login-button:hover {
    background-color: #c07a73;
    color: white;
    border-color: #c07a73;
}

/* Original styles you had, if still needed */
h2 {
    color: #D98880;
    font-family: verdana;
}

p.tan {
    color: #D98880;
}

p.heading {
    color: #D98880;
    font-size: 20px;
}

/* --- Media Queries for further adjustments --- */
@media (max-width: 1024px) {
    header {
        margin-bottom: 15px; /* Adjusted for smaller screens */
    }
    .header-testimonial-left,
    .header-testimonial-right {
        font-size: 0.8em;
        padding: 5px;
        max-width: 200px;
    }
    .main-content-area {
        padding-top: 0;
        margin-top: 0 !important;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 15px 20px;
        margin-bottom: 10px; /* Adjusted for smaller screens when stacked */
    }
    .header-testimonial-left,
    .header-testimonial-right {
        margin-top: 15px;
        max-width: 90%;
        order: 2;
    }
    .header-testimonial-right {
        order: 3;
    }
    .header-center-content {
        order: 1;
        padding: 0;
    }

    #header-logo {
        max-width: 150px;
        margin-bottom: 10px;
    }
    nav {
        margin-bottom: 10px;
    }
    .header-tagline {
        font-size: 1em;
    }
    .main-content-area {
        padding-top: 0;
        margin-top: 0 !important;
    }
    .content-block {
        width: 95%;
        padding: 30px;
    }
    h1 {
        font-size: 2.2em;
    }
    span.tan {
        font-size: 1.2em;
    }
    a.login-button {
        padding: 8px 20px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 15px;
        margin-bottom: 5px; /* Further adjusted for very small screens */
    }
    .header-testimonial-left,
    .header-testimonial-right {
        font-size: 0.8em;
        padding: 5px;
    }
    #header-logo {
        max-width: 120px;
        margin-bottom: 8px;
    }
    nav {
        margin-bottom: 8px;
    }
    .header-tagline {
        font-size: 0.9em;
        padding: 0 15px;
    }
    .main-content-area {
        padding-top: 0;
        margin-top: 0 !important;
    }
    .content-block {
        width: 100%;
        padding: 20px 15px;
        border-radius: 0;
        box-shadow: none;
    }
    h1 {
        font-size: 1.7em;
        margin-bottom: 15px;
    }
    span.tan {
        font-size: 1em;
        margin-bottom: 25px;
    }
    a.login-button {
        padding: 8px 15px;
        font-size: 0.9em;
    }
}