/* --- Hero top padding for home page --- */
.home-banner {
    padding-top: 6rem !important;
}

/* --- Page background and overlay for Register Interest page --- */
.page-id-118 {
    background: url('https://acscyber.co.uk/wp-content/uploads/2025/06/philip-oroni-yhf1agmtoss-unsplash.jpg') no-repeat center center fixed;
    background-size: cover;
    color: white;
}

.page-id-118::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); /* match homepage overlay tone */
    z-index: 0;
}

.page-id-118 .wp-site-blocks {
    padding-top: 4rem;
    padding-bottom: 4rem;
    position: relative;
    z-index: 1;
}

/* --- Typography to match homepage --- */
.page-id-118 h1,
.page-id-118 h2,
.page-id-118 h3 {
    font-family: 'Bellefair', serif !important;
    font-weight: 400;
    color: white;
}

.page-id-118,
.page-id-118 p,
.page-id-118 label,
.page-id-118 input,
.page-id-118 textarea {
    font-family: 'Inter', sans-serif !important;
    color: white;
}

/* --- Form input & textarea styles --- */
.page-id-118 input,
.page-id-118 textarea {
    background: rgba(255, 255, 255, 0.85);
    color: black;
    border: none;
    padding: 0.75rem;
    width: 100%;
    border-radius: 6px;
    font-size: 1rem;
}

/* Match homepage CTA button styling on Register Interest page */
.page-id-118 .wpforms-submit,
.page-id-118 button[type="submit"] {
    background-color: #2e1cff !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 100px !important;
    font-family: 'Inter', sans-serif !important;
    font-size: clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.204), 1rem) !important;
    font-style: normal !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em !important;
    padding: 0.76rem 1.6rem !important;
    line-height: 1.2 !important;
    text-align: center !important;
    vertical-align: middle !important;
    text-decoration: none !important;
    display: inline-block !important;
    cursor: pointer !important;
    box-shadow: none !important;
    transition: background-color 0.3s ease !important;
    height: auto !important;
    min-height: auto !important;
}


.page-id-118 .wpforms-submit:hover,
.page-id-118 button[type="submit"]:hover {
    background-color: #2010aa !important;
}

/* --- Set label and sublabel text to white --- */
.page-id-118 .wpforms-form label,
.page-id-118 .wpforms-form legend,
.page-id-118 .wpforms-form .wpforms-field-sublabel,
.page-id-118 .wpforms-form .wpforms-required-label {
    color: white !important;
}

/* --- Success message styling --- */
.page-id-118 .wpforms-confirmation-container {
    background-color: rgba(144, 238, 144, 0.85); /* light green w/ opacity */
    font-family: 'Inter', sans-serif;
    padding: 1.25rem 1.5rem;
    border-radius: 6px;
    max-width: 640px;
    margin: 2rem auto;
    font-size: 1rem;
    color: black;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
