html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background: url('../images/background_main.png') no-repeat center center fixed;
    background-size: cover;
    background-attachment: fixed;
    color: #FFFFFF;
}

main {
    min-height: 100%;
    padding-bottom: 80px; /* space for footer */
}

/* Sections spaced inside the layout */
section {
    margin: 60px 0;
    display: flex;
    justify-content: center;
}

/* Main card layout */
.section-card {
    background-color: rgba(42, 33, 58, 0.90);
    padding: 40px;
    width: 70%;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Headings & text */
.section-card h1,
.section-card h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #FFFFFF;
}

.section-card p,
.section-card label {
    font-size: 16px;
    line-height: 1.6;
    color: #DDDDDD;
}

/* Form layout */
.section-card form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
}

.section-card input,
.section-card textarea {
    padding: 12px;
    border-radius: 10px;
    border: none;
    background-color: #3A2A50;
    color: #FFFFFF;
    font-size: 14px;
    resize: vertical;
}

.section-card input:focus,
.section-card textarea:focus {
    outline: 2px solid #8A6FCB;
    background-color: #463669;
}

.section-card button {
    background-color: #8A6FCB;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    align-self: flex-start;
}

.section-card button:hover {
    background-color: #7A5DB2;
}
