.contact-hero-wrapper {
    background-image: url('https://duerdengroup.com/wp-content/uploads/2025/11/DE_web_general-27-scaled.jpg');
    /* min-height: 60vh; */
    min-height: 450px;
  	width: 100%;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    align-items: center;
    padding: 64px;
}

@media (min-width: 577px) and (max-width: 767px) {
    .contact-hero-wrapper {
        min-height: 350px;
        padding: 32px;
    }

    .contact-hero-wrapper .contact-hero-container .contact-hero-content h2 {
        font-size: 48px !important;
    }
}

@media (max-width: 576px) {
    .contact-hero-wrapper {
        padding: 32px 16px;
        min-height: 350px;
    }

    .contact-hero-wrapper .contact-hero-container .contact-hero-content h2 {
        /* font-size: 40px !important; */
        font-size: clamp(32px, 10vw, 40px) !important;
    }

    .contact-hero-wrapper .contact-hero-container .contact-hero-content h4 {
        font-size: 20px !important;
    }
}

/* If the browser supports dynamic viewport units */
/* @supports (height: 1dvh) {
    .contact-hero-wrapper {
        min-height: 60dvh;

    }
} */

.contact-hero-wrapper::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    height: 100%;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 0;
    background-image: radial-gradient(
		  at center center,
		  rgba(255, 140, 140, 0.15) 0,
		  rgba(255, 140, 140, 0.05) 100%
		);
}

.contact-hero-wrapper .contact-hero-container {
    max-width: 1400px;
    margin: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.form-section {
	background: #fff;
}

.contact-hero-wrapper .contact-hero-container .contact-hero-content {
    color: #fff;
    max-width: 800px;
    text-align: center;
}

.contact-hero-wrapper .contact-hero-container .contact-hero-content h1 {
    font-size: 18px;
	color: #fff;
}

.contact-hero-wrapper .contact-hero-container .contact-hero-content h2 {
    font-size: 60px;
    font-weight: bold;
    margin-bottom: 24px;
	color: #fff;
}

.contact-hero-wrapper .contact-hero-container .contact-hero-content h4 {
    font-size: 24px;
    font-weight: 500;
	color: #fff;
}

.contact-hero-wrapper .contact-hero-container .contact-hero-content p {
    font-size: 18px;
	color: #fff;
}



/* form section  */

.form-section {
    width: 100%;
    padding: 64px;
}

@media (min-width: 768px) and (max-width: 1024px) {
    .form-section {
        padding: 32px 24px;
    }
}

@media (max-width: 767px) {
    .form-section {
        padding: 32px 16px;
    }

    .form-section .form-container {
        flex-direction: column-reverse;
    }

    .form-section .form-container .form-wrapper,
    .form-section .form-container .contact-details {
        width: 100% !important;
    }
}

@media (max-width: 576px) {
    .form-section .form-container .form-wrapper form .form-row .form-input {
        width: 100% !important;
    }

    .form-section .form-container .form-wrapper form .form-row {
        flex-direction: column;
    }
}

.form-section .form-intro {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin: 0 auto 32px auto;
    max-width: 1200px;
}

.form-section .form-intro h2 {
    text-align: center;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 32px;
}

@media (min-width: 577px) and (max-width: 767px) {
    .form-section .form-intro h2 {
        font-size: 40px !important;
        margin-bottom: 24px;
    }
}

@media (max-width: 576px) {
    .form-section .form-intro h2 {
        font-size: clamp(32px, 10vw, 40px) !important;
        margin-bottom: 24px;
    }

    .form-section .form-intro p {
        font-size: 16px !important;
    }

    .form-section .form-container .form-wrapper form .form-row .form-input.consent p {
        font-size: 14px;
    }
}

.form-section .form-intro p {
    font-size: 18px;
}

.form-section .form-container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
    gap: 40px;
}

.form-section .form-container .contact-details {
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
}

.form-section .form-container .contact-details .contact-wrapper {
    padding: 16px;
    background-color: #e5ebf3;
    gap: 20px;
    display: flex;
    align-items: center;
    border-radius: 4px;
}

.form-section .form-container .contact-details .contact-wrapper .contact-icon {}

.form-section .form-container .contact-details .contact-wrapper .contact-icon svg {
    width: 40px;
    height: auto;
    max-width: 100%;
    min-width: 40px;
}

.form-section .form-container .contact-details .contact-wrapper .contact-info {}

.form-section .form-container .contact-details .contact-wrapper .contact-info h4 {
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: bold;
}

.form-section .form-container .contact-details .contact-wrapper .contact-info a {
	color: black!important;
}

.form-section .form-container .contact-details .contact-wrapper .contact-info a:hover {
	text-decoration: none;
}

.form-section .form-container .contact-details .contact-wrapper .contact-info p {
    margin-bottom: 0;
}

/* form  */

.form-section .form-container .form-wrapper {
    width: 65%;
}

.form-section .form-container .form-wrapper form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-section .form-container .form-wrapper form .form-row {
    display: flex;
    gap: 20px;
    width: 100%;
}

.form-section .form-container .form-wrapper form .form-row .form-input {
    width: 50%;
    display: flex;
    flex-direction: column;
    position: relative;
    --fl-pad-x: 12px;
    --fl-pad-y: 12px;
    --fl-fs: 16px;
    --fl-fs-small: 12px;
}

.form-section .form-container .form-wrapper form .form-row .form-input>label {
    position: absolute;
    left: var(--fl-pad-x);
    top: calc(var(--fl-pad-y) + 2px);
    font-size: var(--fl-fs);
    line-height: 1;
    background: #fff;
    padding: 0 .35rem;
    transform-origin: left top;
    transition: top .15s ease, font-size .15s ease, color .15s ease, transform .15s ease, opacity .15s ease;
    pointer-events: auto;
    opacity: .85;
}

/* Inputs/textarea: ensure room for label */
.form-section .form-container .form-wrapper form .form-row .form-input input,
.form-section .form-container .form-wrapper form .form-row .form-input textarea,
.form-section .form-container .form-wrapper form .form-row .form-input select {
    padding-left: calc(var(--fl-pad-x) + 0px) !important;
    padding-top: calc(var(--fl-pad-y) + 10px) !important;
    /* a bit more room at top */
}

.form-section .form-container .form-wrapper form .form-row .form-input.invalid::before {
    content: '';
    height: 100%;
    width: 6px;
    background-color: red;
    position: absolute;
    left: -12px;
}

.form-section .form-container .form-wrapper form .form-row .form-input:has(input:focus)>label,
.form-section .form-container .form-wrapper form .form-row .form-input:has(textarea:focus)>label,
.form-section .form-container .form-wrapper form .form-row .form-input:has(select:focus)>label,
.form-section .form-container .form-wrapper form .form-row .form-input:has(input:not(:placeholder-shown))>label,
.form-section .form-container .form-wrapper form .form-row .form-input:has(textarea:not(:placeholder-shown))>label,
.form-section .form-container .form-wrapper form .form-row .form-input:has(select:valid)>label {
    top: -8px;
    font-size: var(--fl-fs-small);
    transform: translateY(0);
    opacity: 1;
}

.form-section .form-container .form-wrapper form .form-row .form-input.service {
    width: 100% !important;
}

.form-section .form-container .form-wrapper form .form-row .form-input.message {
    width: 100%;
}

.form-section .form-container .form-wrapper form .form-row .form-input .validationError {
    color: red;
    margin-top: 8px;
    align-items: center;
    gap: 8px;
    display: none;
}

.form-section .form-container .form-wrapper form .form-row .form-input .validationError .errorMessage {
    font-size: 14px;
}

.form-section .form-container .form-wrapper form .form-row .form-input .validationError.error {
    display: flex !important;
}

.form-section .form-container .form-wrapper form .form-row .form-input.message textarea {
    border: 2px solid black !important;
    padding: 12px 12px !important;
    border-radius: 2px !important;
    transition: box-shadow .2s ease;
}

.form-section .form-container .form-wrapper form .form-row .form-input.service select {
    width: 100%;
    height: 48px;
    border: 2px solid black !important;
    padding: 12px 12px !important;
    border-radius: 2px !important;
    transition: box-shadow .2s ease;
}

/* hide the placeholder text when the select is invalid */
.form-input select:required:invalid {
    color: transparent;
}

/* still show the placeholder inside the dropdown list */
.form-input select option[value=""] {
    color: red !important;
}

.form-input select option {
    color: red !important;
}



.form-section .form-container .form-wrapper form .form-row .form-input input {
    width: 100%;
    height: 48px;
    border: 2px solid black !important;
    padding: 12px 12px !important;
    border-radius: 2px !important;
    transition: box-shadow .2s ease;
}

.form-section .form-container .form-wrapper form .form-row .form-input.consent {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    /* gap: 20px; */
}

.form-section .form-container .form-wrapper form .form-row .form-input.consent .checkbox-wrapper {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}

.form-section .form-container .form-wrapper form .form-row .form-input.consent .checkbox-wrapper a {
	color: black!important;
}

.form-section .form-container .form-wrapper form .form-row .form-input.consent .checkbox-wrapper a:hover {
	text-decoration: none;
}

.form-section .form-container .form-wrapper form .form-row .form-input.consent input[type="checkbox"] {
    height: 20px;
    width: fit-content !important;
    accent-color: red;
}

.form-section .form-container .form-wrapper form .form-row .form-input.consent p {
    margin: 0;
}

/* one rule powers all fields */
.form-input:focus-within input,
.form-input:focus-within textarea,
.form-input:focus-within select {
    outline: 0;
    border-color: #f42525 !important;
    background-color: #f6f3ff;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px #f42525;
}


.form-section .form-container .form-wrapper form .form-row .form-input.submit {
    width: 100%;
}

.form-section .form-container .form-wrapper form .form-row .form-input.submit button {
    display: flex;
    height: 40px;
    padding: 0 20px;
    color: #fff;
    background-color: rgb(0, 165, 111);
    border-radius: 2px;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    border: none !important;
    transition: .2s ease-in-out;
}

.form-section .form-container .form-wrapper form .form-row .form-input.submit button:hover {
    background-color: rgb(2, 122, 82);
    color: #fff;
}

.form-section .form-container .form-wrapper form .form-row .form-input.submit button:disabled {
    background-color: #d3d3d3b7;
    cursor: not-allowed;
}

.form-section .form-container .form-wrapper form .form-row .form-input.submit button:disabled:hover {
    color: black !important;
}


/* extra section at bottom - breakdance  */
.contact-extras-link {
	display: flex;
    width: fit-content;
    height: 50px;
    padding: 0 20px;
    color: #000!important;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 2px;
    text-decoration: none;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    text-wrap: nowrap;
}

.contact-extras-link:hover {
  background-color: #000;
  color: #fff !important;
  border-color: #000;
}

.contact-extras-link:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}

.contact-extras-link:focus {
    outline: none;
}

.contact-extras-link:focus-visible {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #000;
}

.contact-extras-link:active {
  background-color: #000;
  color: #fff !important;
  border-color: #000;
  
}
