.com-hero {
    width: 100%;
    height: 800px;
    position: relative;
    user-select: none;
    text-align: center;
}

.com-hero video {
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.com-hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    backdrop-filter: brightness(50%) blur(5px);
    display: flex;
    flex-direction: column;
    flex-wrap: wrap-reverse;
    justify-content: center;
    align-items: center;
}

.com-hero-overlay h1 {
    font-size: 6rem;
    margin: 0;
}

.com-hero-overlay span {
    color: var(--compliment-color);
}

.com-hero-overlay h3 {
    font-size: 3rem;
    margin: 0;
}


/* RES-HOME-BANNER */
.com-banner {
    width: 100%;
    height: fit-content;
    padding: 100px 0px;
    background-color: var(--main-color);
    color: white;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    text-align: center;
    box-shadow: inset 0px -11px 5px -10px var(black); 
    text-align: center;
}

.form-template-wrapper {
    box-shadow: 0px 0px 4px 0px var(--shadow-color);
    padding: 20px;
    border-radius: 10px;
    transition: box-shadow 0.3s ease-in-out;
    backdrop-filter: brightness(80%);
}

.form-template-wrapper:hover {
    box-shadow: 0px 0px 8px 0px var(--shadow-color);
}

.form-template-wrapper h2 {
    margin: 40px 0px 0px 0px;
    text-align: center;
}

.form-template-wrapper p {
    text-align: center;
}


.form-template {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
}

.form-template-row {
    display: flex;
    flex-direction: column;
}

.form-template-row label{
    text-align: left;
}

.form-template-row input, textarea, select {
    outline: none;
    border: solid 2px transparent;
    border-radius: 2px;
    padding: 3px;
    font-family: inherit;
    transition: border 0.3s ease-in-out;
    width: 400px;
    color: black;
}

.form-template-row textarea {
    resize: none;
    width: 400px;
    height: 100px;
}

.form-template-row input:focus, textarea:focus, select:focus {
    border: solid 2px var(--main-color);
}

.form-template-row-submit {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0px;
}

.form-template input[type=submit] {
    outline: none;
    border: none;
    width: fit-content;
    padding: 10px;
    border-radius: 5px;
    color: black;
    font-family: inherit;
    font-weight: 500;
    background-color: var(--bright-color);
    transition: all 0.3s ease-in-out;
}

.form-template input[type=submit]:hover {
    background-color: var(--highlight-color);
    color: white;
    cursor: pointer;
}

.com-banner-content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

.com-banner-content h1 {
    font-size: 4rem;
    text-align: center;
    align-self: center;
}

.com-banner-content span {
    color: var(--compliment-color);
}

.com-banner-content p {
    font-size: 2.25rem;
    text-align: left;
    line-height: 2.75rem;
}

.banner-content-image-wrap {
    overflow: hidden;
    border-radius: 20px;
    width: 300px;
    height: 200px;
}

.banner-content-image-wrap img {
    width: 100%;
    height: 100%;
}

/* com-HOME-SERVICES */

.com-services {
    padding: 100px 0px;
    width: 100%;
    height: fit-content;
    background-color: #d1d1d1;
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.com-services h2 {
    font-size: 4rem;
    margin: 0px 0px 50px 0px;
    text-align: center;
}

.com-services h3 {
    font-size: 3rem;
    font-weight: 300;
    margin: 30px 0px 0px 0px;
}

.com-services .gold-line {
    margin: 10px 0px 30px 0px;
}

.com-services-row {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
}

.services-card {
    border-radius: 5px;
    box-shadow: 0px 0px 4px 0px gray;
    transition: box-shadow 0.3s ease-in-out;
    width: 300px;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.services-card-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    text-align: center;
    margin-top: 20px;
    font-size: 2rem;
    color: white;
}

.services-card-hover-content {
    position: absolute;
    left: 0;
    margin: 0;
    z-index: 3;
    top: 75%;
    width: 100%;
    height: 30%;
    backdrop-filter: brightness(50%) blur(3px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.services-card-hover-content .button {
    font-size: 1.5rem;
    background-color: var(--compliment-color);
    color: black;
}

.services-card-hover-content .button:hover {
    font-size: 1.5rem;
    background-color: var(--dark-compliment-color);
    color: black;
}

.services-card img{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
    z-index: 1;
}

.services-card:hover {
    box-shadow: 0px 0px 12px 0px gray;
}

/* com-HOME-CERTIFICATION */
.com-cert {
    width: 100%;
    height: fit-content;
    padding: 100px 0px;
    background-color: var(--bright-color);
    color: black;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.com-cert h2 {
    font-size: 4rem;
    margin: 0px 0px 0px 0px;
}

.com-cert img {
    max-width: 80vw;
    margin: 30px 0px 30px 0px;
}

.com-cert .button {
    margin-top: 50px;
    font-size: 2.25rem;
}

.com-cert .gold-line {
    margin: 20px 0px 30px 0px;
}

/* com-REMODELS */
.com-remodel {
    max-width: 100%;
    height: fit-content;
    padding: 100px 20px;
    background-color: var(--main-color);
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    flex-wrap: wrap;
}

.remodel-image-wrap {
    width: 550px;
    max-width: 90vw;
    height: 400px;
    overflow: hidden;
    border-radius: 5px;
    margin-top: 100px;
}

.remodel-image-wrap img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: left;
}

.com-remodel-content {
    width: 1000px;
    max-width: 90%;
}

.com-remodel-content h2 {
    font-size: 4rem;
    margin: 0px;
}

.com-remodel-content .gold-line {
    margin: 20px 0px 10px 0px;
}

.com-remodel-content li, p {
    font-size: 2rem;
}

.com-remodel-content ul {
    list-style: none;
    padding: 0;
}

.com-remodel-content ul li{
    margin-top: 10px;
    margin-left: 0px;
}

.com-remodel-content ul > li > span{
    color: var(--compliment-color);
}

.com-remodel-content ul li::before{
    display: inline-block;
    height: 30px;
    width: 30px;
    content: "";
    background-image: url(/imageserver/UserMedia/avilasroofingandconstruction/remodel-2025/check.svg);
    vertical-align: middle;
    margin-right: 20px;
}

.com-remodel .com-remodel-content > .button {
    color: black;
    background-color: var(--compliment-color);
    margin-top: 20px;
}

.com-remodel .com-remodel-content .button:hover {
    background-color: var(--dark-compliment-color);
}

/* New form changes */
.btn-primary {
    background-color: var(--compliment-color);
    transition: background-color 0.3s ease-in-out;
    color: white;
}

/* MEDIA QUERIES */
@media only screen and (max-width: 915px) {
    .com-banner-content {
        width: 80%;
    }
}