/* 8:30AM 5/8/25 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
}
html{
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}
:root {
    --color1-values: 204, 100%, 45%;
    --color2-values: 203, 32%, 14%;
    --color3-values: 0, 0%, 0%;
    --color4-values: 240, 29%, 94%;
    --color5-values: 240, 12%, 97%;
    --color6-values: 0, 0%, 100%;
    --color7-values: 0, 0%, 47%;
    --color8-values: 60, 77%, 53%;
    --color9-values: 128, 53%, 59%;
    --color10-values: 240, 44%, 72%;
    --color11-values: 0, 0%, 80%;
    --color1: hsl(var(--color1-values));
    --color2: hsl(var(--color2-values));
    --color3: hsl(var(--color3-values));
    --color4: hsl(var(--color4-values));
    --color5: hsl(var(--color5-values));
    --color6: hsl(var(--color6-values));
    --color7: hsl(var(--color7-values));
    --color8: hsl(var(--color8-values));
    --color9: hsl(var(--color9-values));
    --color10: hsl(var(--color10-values));
    --color11: hsl(var(--color11-values));
/*
    --color1-preview: hsl(204, 100%, 45%);
    --color2-preview: hsl(203, 32%, 14%);
    --color3-preview: hsl(0, 0%, 0%);
    --color4-preview: hsl(240, 29%, 94%);
    --color5-preview: hsl(240, 12%, 97%);
    --color6-preview: hsl(0, 0%, 100%);
    --color7-preview: hsl(0, 0%, 47%);
    --color8-preview: hsl(60, 77%, 53%);
    --color9-preview: hsl(128, 53%, 59%);
    --color10-preview: hsl(240, 44%, 72%);
    --color11-preview: hsl(0, 0%, 80%);
    -color-preview:hsl(0, 0.00%, 26.70%);
    --color-preview:hsl(0, 0.00%, 40.00%);
*/

    --hero-overlay: linear-gradient(0deg, hsla(var(--color1-values), 0.83), hsla(var(--color1-values), 0.83));
    --black-overlay: linear-gradient(0deg, hsla(var(--color3-values), 0.75), hsla(var(--color3-values), 0.75));
    --testimonials-overlay: linear-gradient(0deg, hsla(var(--color6-values), 0), hsla(var(--color6-values), 0));

    /* FORM HANDLER ERROR & SUCCESS COLORS */
    --success-color: var(--color9);
    --success-bgcolor: color-mix(in srgb, hsl(var(--color1-values)) 10%, white 90%);

    --zip-checker-success-color: var(--color1);
    --zip-checker-success-bgcolor: color-mix(in srgb, hsl(var(--color1-values)) 10%, white 90%);

    --error-values: 2, 64%, 58%;
    --error-color: hsl(var(--error-values));
    --error-bgcolor: color-mix(in srgb, hsl(var(--error-values)) 10%, white 90%);

    /* Gold color for review stars */
    --gold-values: 51, 100%, 50%;
    --gold: hsl(var(--gold-values));
    --gray211-values: 0, 0%, 83%;
    --gray211: hsl(var(--gray211-values));
    --lightgray-values: 0, 0%, 83%;
    --lightgray: hsl(var(--lightgray-values));

    /* POSSIBLE CTA COLOR OPTIONS TO GO WITH THIS COLOR PALLETTE */
    --cta-color1-values: 28, 100%, 50%;
    --cta-color1: hsl(var(--cta-color1-values));
    /*orange*/
    --cta-color2-values: 355, 60%, 50%;
    --cta-color2: hsl(var(--cta-color2-values));
    /*deep red*/
    --cta-color3-values: 43, 100%, 50%;
    --cta-color3: hsl(var(--cta-color3-values));
    /*golden yellow*/
    --cta-color4-values: 175, 100%, 32%;
    --cta-color4: hsl(var(--cta-color4-values));
    /*teal*/

    --cta-color: var(--cta-color1);

    --container-max-width: 1140px;

    --ccc-values: 0, 0%, 80%;
    --ccc: hsl(var(--ccc-values));
}

body {
    background-color: var(--color1);
    font-family: Montserrat, 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 0.75rem;
    font-weight: normal;
}
h1 { 
    font-size: 2em; 
    font-weight: 700;
    line-height: 1.2;
}
h2 { 
    font-size: 1.5em; 
    font-weight: 700;
    line-height: 1.3;
}
h3 { 
    font-size: 1.17em; 
    font-weight: 700;
    line-height: 1.4;
}
h4 { 
    font-size: 1em; 
    font-weight: 700;
    line-height: 1.5;
}
h5 { 
    font-size: 0.83em; 
    font-weight: 700;
    line-height: 1.6;
}
h6 { 
    font-size: 0.67em; 
    font-weight: 700;
    line-height: 1.6;
}


img {
    max-width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: contain;
}

img.landscape{
    aspect-ratio: 3 / 2;
    object-fit: contain;
}
a {
    color: var(--color1);
    font-weight: 600;
    transition: .02s;
}

a:hover {
    color: var(--cta-color2);
    text-decoration: underline;
}

main {
    background-color: var(--color6);
}

/* dark bg */
.container-1 {
    background-color: var(--color1);
    color: var(--color5);
}

.container-1 a {
    color: var(--color5) !important;
}


/* light bg */
.container-2 {
    background-color: var(--color6);
    color: var(--color2);
}


/* 3rd bg */
.container-3 {
    background-color: var(--color5);
    color: var(--color2);
}

/* HR Divider (bottom border of div) */
hr {
    width: 75%;
    border: 0px;
    border-bottom: 1px solid var(--color4);
    margin: 0 auto;
}

/* default buttons */
/* White Button */
.button-one {
    cursor: pointer;
    background-color: var(--cta-color);
    color: var(--color5);
    font-weight: 300;
    font-size: 1rem;
    border-radius: 5px;
    padding: 15px 25px;
    display: inline-block;
    border: 1px solid var(--color6);
    transition: .03s;
    text-decoration: none;
    margin: 0;
    font-weight: normal;
    transition: transform 0.3s ease-in-out;
}

.button-one:hover {
    color: var(--color5);
    text-decoration: none;
    margin: 0;
    font-weight: normal;
    transform: scale(1.1);
}

/* phone number, no background */
.button-two {
    cursor: pointer;
    display: inline-block;
    align-content: center;
    color: var(--cta-color);
    text-decoration: none;
    margin: 0;
    font-weight: normal;
    font-size: 1rem;
    transition: transform 0.3s ease-in-out;
}

.button-two:hover {
    color: var(--cta-color);
    text-decoration: none;
    margin: 0;
    font-weight: normal;
    transform: scale(1.1);
}

/* smaller cta button */
#why-button {
    cursor: pointer;
    background-color: var(--cta-color);
    color: var(--color6);
    text-decoration: none;
    margin: 0;
    font-weight: normal;
    padding: 10px 15px;
    width: max(30%, 100px);
    justify-self: center;
    border-radius: 5px;
    border: 1px solid var(--color6);
    transition: transform 0.3s ease-in-out;
}

#why-button:hover {
    background-color: var(--cta-color);
    text-decoration: none;
    margin: 0;
    font-weight: normal;
    padding: 10px 0px;
    transform: scale(1.1);
}

/* orange form submit button */
.button-three {
    cursor: pointer;
    background-color: var(--cta-color);
    color: var(--color5);
    border: 1px solid var(--color1);
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 0.85rem;
    transition: transform 0.3s ease-in-out;

}

.button-three:hover {
    border: none;
    transform: scale(1.1);
}

a {
    transition: transform 0.3s ease-in-out;
}

/* default icons */
/* dark icon */

#icon-one,
#icon-one-nh

/*no hover */
    {
    color: var(--color1);
}

#icon-one:hover {
    color: var(--color6);
}

/* light icon */
#icon-two,
#icon-two-nh

/*no hover */
    {
    color: var(--color6);
}

#icon-two:hover {
    color: var(--color1);
}

.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* GLOBAL SITE-WIDE RESPONSIVE STYLES */

@media screen and (max-width: 800px) {

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: block !important;
    }

}

@media screen and (max-width: 600px) {
    .content-header {
        padding: 0 20px;
    }
}
@media screen and (max-width: 320px) {
    body {
        width: max(100%, 320px);
    }

    ul,
    ol,
    li {
        margin: 10px 20px 10px 10px;
    }
}
/* END GLOBAL STYLES */
/* BEGIN HEADER NAVBAR STYLES */
/* 830am 5/8/25 */

nav svg {
    fill: var(--color1);
}


#sidebar-active {
    display: none;
}

.open-sidebar-button,
.close-sidebar-button {
    display: none;
}

/* SITE-WIDE HEADER NAV-BAR */

nav {
    height: 60px;
    background-color: var(--color6);
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

nav a {
    font-size: 0.65rem;
    height: 100%;
    padding: 0 10px;
    display: flex;
    align-items: center;
    color: var(--color2);
    transition: .3s;
    text-decoration: none;
    font-weight: normal;
}

nav a:hover {
    color: var(--color1);
    text-decoration: none;
    font-weight: normal;
}

nav .active-page,
#footer .active-page {
    color: var(--color1);
}

nav .logo {
    margin-right: auto;
    width: 250px;
    display: inline-block;
    align-items: center;
}

.navbar-cta {
    cursor: pointer;
    display: inline-block;
    font-size: 1.1rem;
    align-content: center;
    color: var(--cta-color);
    transition: .3sec;
    text-decoration: none;
    font-weight: normal;
}

.navbar-cta:hover {
    color: var(--cta-color);
    text-decoration: none;
    font-weight: normal;
    font-size: 1.1rem;
    scale: 1.1;
}

.links-container {
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}


@media screen and (max-width: 800px) {
    nav {
        position: relative;
    }


    nav .logo {
        margin-right: auto;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    nav .logo img {
        width: 250px;
    }

    .navbar-cta {
        padding-top: 20px;
    }

    nav a {
        box-sizing: border-box;
        height: auto;
        width: 100%;
        padding: 5px 30px;
        justify-content: flex-start;
        font-size: 0.75rem;
    }

    .open-sidebar-button {
        display: block;
        padding: 0 20px;
    }

    .close-sidebar-button {
        display: block;
        padding-top: 13px;
    }

    #sidebar-active:checked~.links-container {
        right: 0;
    }

    #sidebar-active:checked~#overlay {
        background: hsla(var(--color6), 0.0);
        height: 100%;
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 9;
    }

    .links-container {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        position: fixed;
        top: 0;
        right: -100%;
        z-index: 10;
        width: 300px;
        background-color: var(--color6);
        box-shadow: -5px 0 5px hsla(var(--color6), 0.25);
        transition: 0.75s ease-out;
    }
}

/* END HEADER NAVBAR STYLES */
/* BEGIN INTERIOR PAGE STYLES THAT APPEAR ON ALL NON-HOME PAGES */
/* 830am 5/8/25 */

.main{
    background-color: var(--color6) !important;
}

.header2 {
    min-height: 250px;
    background-image: var(--black-overlay), url('https://nashville-handyman.com/images/bgs/header.webp');
    background-position: top center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    color: var(--color5);
    text-align: center;
    align-content: center;
    background-color: var(--color6) !important;
}

.content-header {
    padding: 0 50px;
}

.content-header h1 {
    font-size: 2.7rem;
    font-weight: 600;
    margin: 20px 0;
}

.content-header h2 {
    font-size: 2.3rem;
    line-height: 1.2em;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 0.5em;
}

.content-header hr {
    width: 50%;
    height: 0.005em;
    background-color: var(--color4);
    border: none;
    margin: 0 auto;
}

@media screen and (max-width: 800px) {

    /*content pages */
    .content-header {
        padding: 0 30px;
    }




    /* PHONE OPT-IN POPUP TO DISPLAY BELOW FORM FIELD INSTEAD OF TO THE RIGHT */
    /*
    .optin-popup {
        top: 120% !important;
        left: 0 !important;
        width: max(90% 260px) !important;
        margin-top: 4px !important;
    }
    */

}
/* BEGIN RESPONSIVE AND MEDIA QUERY STYLES */
@media screen and (max-width: 320px) {
    .content-header {
        padding: 0 10px;
    }
}    
/* END RESPONSIVE AND MEDIA QUERY STYLES */
/* END INTERIOR PAGE STYLES */

/* BEGIN ZIP CHECKER STYLES */
/* 830am 5/8/25 */

.zip-checker {
    background-color: var(--color6);
    display: block;
    flex: 1 1 0;
    /* same as flex-grow: 1; flex-shrink: 1; flex-basis: 0; */
    justify-content: flex-start;
    align-items: flex-start;
    padding: 30px;
    height: 90%;
    margin-inline: 30px;
    border-radius: 20px;
}

.zip-checker {
    margin-bottom: 0.5em;
    box-shadow: 0 4px 8px hsla(var(--color6-values), 0.1);
    border-radius: 20px;
    background-color: var(--color6);
    padding: 2em;
    max-width: 600px;
    margin: 0 auto;
}

.zip-checker form {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: baseline;
    margin: 0 auto;
}

.zip-checker form input[type="text"] {
    width: 10ch;
    flex: 0 0 auto;
    border-radius: 5px;
    padding: 5px 5px 9px 5px;
    font-size: 1rem;
}

/*Zip Checker Response */
.zip-response {
    display: none;
    /* Hidden by default */
    font-size: 0.75rem;
    line-height: 1.4;
    max-width: 500px;
    margin: 1em auto;
}

.zip-response .success {
    color: var(--color2) !important;
    background-color: var(--zip-checker-success-bgcolor);
    padding: 0.75em;
    text-align: left;
    /*  border: 1px solid var(--color1); */
    border-left: 4px solid var(--zip-checker-success-color);
    border-radius: 4px;
}

.zip-response .error {
    color: var(--error-color);
    background-color: var(--error-bgcolor);
    padding: 0.75em;
    text-align: left;
    border-left: 4px solid var(--error-color);
    border-radius: 4px;
}

/* END ZIP CHECKER STYLES */
/* Service Area Page */
.sa-hero {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    column-gap: 0.5rem;
    row-gap: 1rem;
    height: 400px;
    max-height: 100%;
    margin: 0 auto;
    /* flex wrap WAS set in responsive.css */
    flex-wrap: wrap;
    height: 100%;
    width: 90%;
    padding: 30px;
}

.sa-hero-left {
    display: block;
    flex: 1 1 0;
    /* same as flex-grow: 1; flex-shrink: 1; flex-basis: 0; */
    color: var(--color2);
    align-items: flex-start;
    align-content: center;
    padding: 30px;
    height: 100%;
}

.sa-hero-right {
    background-color: var(--color6);
    display: block;
    flex: 1 1 0;
    /* same as flex-grow: 1; flex-shrink: 1; flex-basis: 0; */
    justify-content: flex-start;
    align-items: flex-start;
    padding: 30px;
    height: 90%;
    margin-inline: 30px;
    border-radius: 20px;
}

.sa-hero p {
    font-size: 0.85rem;
    color: var(--color5);

    font-weight: 400;
    margin: 10px 0;
}
.sa-hero h2 {
    font-size: 2.3rem;
    line-height: 1.2em;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 0.5em;
}

/* service area page specific styles */
.sa-intro {
    background-color: var(--color6);
    display: flex;
    flex-direction: column;
    flex: 1, 1, auto;
    flex-wrap: nowrap;
    justify-content: center;
    align-content: flex-start;
    align-items: center;
    padding: 30px 20px 0px 20px;
    width: max(320px 100%);
}

.sa-intro .container-2 {
    width: 90%;
    margin: 0 auto;
}

.sa-intro h2,
h3,
h4,
h5,
h6 {
    text-align: center;
}

.sa-intro p {
    text-align: left;
    margin: 30px;
}

.sa-list .container-2 {
    width: 90%;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 0;
}

.sa-list ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Two equal-width columns */
    gap: 10px 30px;
    /* Row gap, column gap */
    list-style: none;
    /* Remove default numbering */
    padding: 0;
}

.sa-list li {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "icon area"
        "icon includes";
    row-gap: 0;
    column-gap: 0.75em;
}

.sa-list li i {
    grid-area: icon;
    /* Make icon bigger */
    font-size: 1.5rem;
    color: var(--color1);
    /* No vertical stretch */
    line-height: 1;
}

.sa-list li a {
    grid-area: area;
    font-weight: bold;
    color: var(--color1);
    text-decoration: none;
    margin: 0;
    padding: 0;
    display: inline;
}

.sa-list li span {
    margin: 0;
    padding: 0;
    display: block;
    line-height: 1.2;
}

.sa-list li .includes {
    grid-area: includes;
    font-size: 0.75rem;
    color: var(--color2);
}


/* BEGIN RESPONSIVE AND MEDIA QUERY STYLES */

@media screen and (max-width: 1080px) {
    .sa-list ol {
        display: flex;
        flex-direction: column;
        gap: 1em;
        /* add some spacing between items */
        padding-left: 50px
    }
    .sa-list .container-2 {
        align-items: flex-start;
        justify-content: flex-start;
    }
}
@media screen and (max-width: 800px) {
    .sa-list ol {
        grid-template-columns: 1fr;
    }
}
@media screen and (max-width: 600px) {
    .sa-list ol {
        gap: 8px 15px;
        padding: 0;
    }
}

/* END RESPONSIVE AND MEDIA QUERY STYLES */
/* BEGIN STAR RATING STYLES */
/* 830am 5/8/25 */

.star-rating {
    display: flex;
    gap: 0px;
    flex-wrap: nowrap;
    margin-top: 12px;
}

.star {
    width: 20px;
    height: 20px;
    -webkit-mask-image: url('https://nashville-handyman.com/images/star.svg');

    mask-image: url('https://nashville-handyman.com/images/star.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    display: inline-block;
}

/* Solid Gold Stars */
.star.full {
    background-color: var(--gold);
}

/* Gradient Partial Star */
.star.partial {
    background: linear-gradient(to right, var(--gold) 70%, hsla(var(--gray211-values), 0.7) 75%, var(--lightgray) 100%);
}

/* END STAR RATING STYLES */

/* BEGIN SERVICE AREA PAGE REVIEWS SECTION STYLES */
/* 830am 5/8/25 */

.leave-review {
    text-align: center;
    font-size: 0.7rem;
    width: max(70%, 300px);
    margin: 0 auto;
    padding: 20px 0;
}

.sa-reviews {
    width: 100%;
    margin: 0 auto;
    padding: 50px 10px;
}

.sa-rev-header {
    width: 75%;
    margin: 0 auto;
    padding: 20px 0;
    text-align: center;
    font-size: 0.70rem;
}

.sa-rev-header h2 {
    font-size: 2.3rem;
    line-height: 1.2em;
    margin: 0 auto;
}

.sa-rev-inner-wrapper {
    position: relative;
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

.sa-rev-wrapper {
    display: flex;
    gap: 20px;
    width: 100%;
    height: 100%;
    overflow: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto !important;
}

.sa-rev-card {
    scroll-snap-align: center;
    position: relative;
    box-sizing: border-box;
    padding: 40px calc(30px + 1rem);
    flex-shrink: 0;
    width: 300px;
    height: 300px;
    background-color: var(--color6);
    border-radius: 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    overflow: visible;
}

/* Inner gold box */
.inner-border {
    position: relative;
    border: 2px solid var(--color1);
    padding: 15px;
    border-radius: 8px 50px 8px 50px;
    /* Space for curve and signature */
    margin: 0 auto;
    width: 100%;
    height: min(100%, 260px);
    box-sizing: border-box;
    overflow: hidden;
}


/* Signature block aligned beside curve */
.signature-block {
    align-self: flex-end;
    margin-top: 10px;
}

.signature {
    font-size: 0.9rem;
    font-weight: bold;
    text-align: right;
    margin: 1px 0;
}

.location {
    font-size: 0.9rem;
    color: var(--color2);
    text-align: right;
    margin: 1px 0;
}

.review-text {
    font-style: italic;
    font-size: 0.9rem;
}

.sa-chevron {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--color1);
    background: var(--color6);
    border-radius: 50%;
    padding: 5px;
    cursor: pointer;
    z-index: 2;
    overflow: visible;
}

.sa-chevron-left {
    left: -20px;
}

.sa-chevron-right {
    right: -20px;
}

/*
.sa-chevron-left::after {
    box-shadow: -8px 0 15px -5px hsla(var(--color3-values), 0.3);
}
*/
/* Shadow only on left */

/* END SERVICE AREA PAGE REVIEWS SECTION STYLES */

/* BEGIN SITE-WIDE FOOTER SECTION */
/* 830AM 5/8/25 */

/* FOOTER CONTACT CTA SECTION
    #contact
     .container (h3)
      .contact-left (h4,h5,p,h5,a.button-two,i)
      .contact-right (p,form,input,select,option,textarea,button.button-three)
       
    */
footer {
    background-color: var(--color1);
    width: max(100% 320px);
    padding: 20px 100px;
}

#contact {
    width: max(80%, 320px);
    background-color: var(--color6);
    color: var(--color2);
    margin: 50px auto;
    padding-top: 20px;
    height: 100%;
    border-radius: 20px;
}

#contact .container-2 {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-content: flex-start;
    row-gap: 30px;
    width: max(80% 320px);
    padding: 30px;
    border-radius: 20px;
}

.contact-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: flex-start;
    align-items: flex-start;
    width: 100%;
    padding: 30px 50px;
    margin: 0;
}

.contact-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-content: flex-start;
    align-self: flex-start;
    width: 100%;
    padding: 0;
    margin: 0;
}

#contact h2 {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 5px;
}

#contact h3 {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-top: 0px;
}

#contact h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

#contact h5 {
    font-size: 1rem;
    font-weight: 600;
    margin: 20px 0;
}

#contact p {
    font-size: 0.75rem;
    text-align: left;
}

.contact-left p {
    margin-bottom: 20px;
    width: 50%;
}

.contact-form {
    width: 100%;
}

/*
 #footer
  .container
   #footer-left (a, img, p, a)
   #footer-right(h5,ol,li,a)
  #copyright (p,a,p,a)

*/
#footer {
    background-color: var(--color6);
    padding: 30px 100px;
    display: flex;
}

#footer .container-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: space-between;
    gap: 10px;

}

#footer-left {
    display: grid;
    justify-content: flex-start;
}

#footer-left p {
    text-align: left;
    font-size: 0.85rem;
    margin-top: 20px;
}

.tospp {
    font-size: 0.60rem;
}

#footer-right {
    display: grid;
    justify-content: flex-end;
}

#footer-right h5 {
    color: var(--color1);
    font-size: 1.2rem;
    font-weight: 450;
}

#footer-right ol {
    list-style: none;
    text-align: right;
    font-size: 0.65rem;
    line-height: 2.0;
}

#footer-right a {
    color: var(--color2);
    text-decoration: none;
    font-weight: normal;
    transition: .3s;
}

#footer-right a:hover {
    color: var(--color1);
    text-decoration: none;
    font-weight: normal;
}

#copyright {
    background-color: var(--color2);
    color: var(--color5);
    text-align: center;
    font-size: 0.85rem;
    line-height: 2rem;
    padding: 10px 0;
}

#copyright a {
    color: var(--color1);
}

#copyright a:hover {
    color: var(--color5);
}

#footer .logo {
    margin: unset;
    width: 173px;
    display: inline-block;
    transition: .3s;
}

#footer .logo:hover {
    color: var(--color1);
    text-decoration: none;
    font-weight: normal;
    scale: 1.1;
}



.footnote {
    font-size: 0.65rem !important;
    margin-left: 10px !important;
}

/* RESPONSIVE FOOTER SECTION STYLES */

@media screen and (max-width: 800px) {

    footer {
        padding: unset;
        padding: 0 20px;
        margin: 0 auto;
    }

    #contact,
    #contact .container-2 {
        flex-wrap: wrap-reverse;
        justify-content: center;
        height: 100%;
        margin: 20px auto;
        width: max(80%, 300px);
    }

    #footer {
        flex-wrap: wrap;
        flex-direction: column;
        padding: 20px;
    }

    #footer .container-2 {
        grid-template-columns: unset;
        justify-content: center;
        align-content: center;
        grid-template-rows: 1fr 1fr;
    }

    #footer-left,
    #footer-left p,
    #footer-right p,
    #footer-right,
    #footer-right h5,
    #footer-right ol {
        justify-content: center;
        text-align: center;
    }

    /* FOOTER LINKS */
    .tospp p,
    .tospp a {   
        color: var(--color1);
        font-size: 0.8rem;
    }
    
    #footer-right ol li a,
    #footer-right a.active {
        line-height: 2.3; 
        font-size: 0.85rem;
    }
    

    #footer-right {
        margin-top: 10px;
    }

    .contact-left {
        padding: 0;
    }
}
@media screen and (max-width: 320px) {
    footer,
    #contact,
    #footer,
    #copyright {
        width: max(100%, 320px);
        padding: 10px;
        max-height: 100%;
        justify-content: center;
        padding: unset;
        padding: 10px;
        margin: 0 auto;
    }

    #contact,
    #contact .container-2 {
        border-radius: 0;
        padding: 0;
        margin: 0;
    }
}
/* END SITE-WIDE FOOTER SECTION */
/* BEGIN FORM FIELD STYLES */
/* 830am 5/8/25 */

form,
.contact-right form,
.hero-right form {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

input,
textarea,
select {
    display: block;
    margin-bottom: 0.75em;
    background-color: var(--color4);
    border: 1px solid var(--color2);
    border-radius: 5px;
    width: 250px;
    max-width: 250px;
    flex: 1 1 0;
    font: inherit;
    font-size: 0.6rem;
    padding: 8px 6px;
    color: var(--color3);
}

textarea {
    word-wrap: normal;
    height: auto;

    padding: 6px;
}

input::placeholder,
textarea::placeholder,
select:invalid {
    font-size: 0.6rem;
    color: var(--color3);
}


/* Error (invalid) style */
input.invalid,
textarea.invalid,
select.invalid {
    background-color: var(--error-bgcolor);
    border: 1px solid var(--error-color);
}

/* Error style when the user focuses the field */
input.invalid:focus,
textarea.invalid:focus,
select.invalid:focus {
    border: 2px solid var(--error-color);
    outline: none;
}

.form-response {
    display: block;
    box-sizing: border-box;
    color: var(--error-color);
    margin: 10px 0;
    font-size: 0.75rem;
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
    width: inherit;
}

.success-msg {
    color: var(--success-color) !important;
}

.error-msg {
    color: var(--error-color);
}

input[name="confirm_phone"],
input[name="verify"],
input[name="confirm_email"] {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* HIDE FORM LABELS FROM PAGE, BUT KEEP THEM FOR SCREEN READERS */
/* ADD class="visible-label" TO LABELS THAT SHOULD BE VISIBLE */
form label:not(.visible-label) { 
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* END FORM FIELD STYLES */

/* BEGIN SCROLL TO TOP STYLES */
/* 830am 5/8/25 */
#scroll-to-top {
    background-color: var(--color6);
    color: var(--color6);
    width: 100%;
}

#to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 30px;
    height: 30px;
    font-size: 1.25rem;
    color: var(--color6);
    background-color: var(--color1);
    border-radius: 50%;
    border: 2px solid var(--color6);
    padding: 20px;
    display: flex;
    justify-content: center;
    align-content: center;
    align-items: center;
    text-align: center;
    transform: scale(0);
    transition: bottom 200ms, transform 200ms;
}

#to-top:hover {
    background-color: var(--color6);
    color: var(--color1);
    border: 2px solid var(--color1);
}

#to-top.show {
    transform: scale(1);
}


@media screen and (max-width: 320px) {
#to-top {
        bottom: 15px;
        right: 15px;
        max-width: 15px;
        max-height: 15px;
        font-size: 0.9rem;
        padding: 15px;
    }
}

/* END SCROLL TO TOP STYLES */
